Class: Yoda::Model::NodeSignatures::Send
- Inherits:
-
Base
- Object
- Base
- Yoda::Model::NodeSignatures::Send
show all
- Defined in:
- lib/yoda/model/node_signatures/send.rb
Instance Attribute Summary
Attributes inherited from Base
#node_info
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #node_range, #node_type_description, #type_descriptions
Instance Method Details
#defined_files ⇒ Array<(String, Integer, Integer)>
14
15
16
|
# File 'lib/yoda/model/node_signatures/send.rb', line 14
def defined_files
node_info.method_candidates.map { |function| function.primary_source }.compact
end
|
#descriptions ⇒ Object
5
6
7
|
# File 'lib/yoda/model/node_signatures/send.rb', line 5
def descriptions
[node_type_description, *function_descriptions]
end
|
#function_descriptions ⇒ Object
9
10
11
|
# File 'lib/yoda/model/node_signatures/send.rb', line 9
def function_descriptions
node_info.method_candidates.map { |function| Descriptions::FunctionDescription.new(function) }
end
|