Class: Analyst::Entities::SingletonMethod
- Inherits:
-
Entity
- Object
- Entity
- Analyst::Entities::SingletonMethod
- Defined in:
- lib/analyst/entities/method.rb
Instance Method Summary collapse
- #full_name ⇒ Object
- #name ⇒ Object
-
#target ⇒ Object
NOTE: not a public API – used by Entities::Class.
Instance Method Details
#full_name ⇒ Object
35 36 37 |
# File 'lib/analyst/entities/method.rb', line 35 def full_name parent.full_name + '::' + name end |
#name ⇒ Object
31 32 33 |
# File 'lib/analyst/entities/method.rb', line 31 def name ast.children[1].to_s end |
#target ⇒ Object
NOTE: not a public API – used by Entities::Class
26 27 28 29 |
# File 'lib/analyst/entities/method.rb', line 26 def target target, name, params, content = ast.children target end |