Class: Analyst::Entities::Pair
- Defined in:
- lib/analyst/entities/pair.rb
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
#classes, #conditionals, #constants, #file_path, #full_name, handles_node, #initialize, #inspect, #line_number, #location, #method_calls, #methods, #modules, #origin_source, #source, #top_level_classes, #top_level_constants, #top_level_modules
Constructor Details
This class inherits a constructor from Analyst::Entities::Entity
Instance Method Details
#key ⇒ Object
8 9 10 |
# File 'lib/analyst/entities/pair.rb', line 8 def key process_node(ast.children[0]) end |
#value ⇒ Object
12 13 14 |
# File 'lib/analyst/entities/pair.rb', line 12 def value process_node(ast.children[1]) end |