Class: Analyst::Entities::InstanceMethod
- Defined in:
- lib/analyst/entities/method.rb
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
#classes, #handle_send_node, #initialize, #inspect, #method_calls, #top_level_classes, #top_level_modules
Constructor Details
This class inherits a constructor from Analyst::Entities::Entity
Instance Method Details
#full_name ⇒ Object
8 9 10 |
# File 'lib/analyst/entities/method.rb', line 8 def full_name parent.full_name + '#' + name end |
#name ⇒ Object
5 6 7 |
# File 'lib/analyst/entities/method.rb', line 5 def name ast.children.first.to_s end |