Class: Analyst::Entities::InstanceMethod

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

Instance Method Summary collapse

Instance Method Details

#full_nameObject



8
9
10
# File 'lib/analyst/entities/method.rb', line 8

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

#nameObject



5
6
7
# File 'lib/analyst/entities/method.rb', line 5

def name
  ast.children.first.to_s
end