Class: Analyst::Entities::ClassMethod

Inherits:
Entity
  • Object
show all
Defined in:
lib/analyst/entities/method.rb

Overview

TODO HERE

Instance Attribute Summary

Attributes inherited from Entity

#parent

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_nameObject



18
19
20
# File 'lib/analyst/entities/method.rb', line 18

def full_name
  parent.full_name + '::' + name
end

#nameObject



15
16
17
# File 'lib/analyst/entities/method.rb', line 15

def name
  ast.children.first.to_s
end