class Analyst::Entities::SingletonMethod

Public Instance Methods

full_name() click to toggle source
# File lib/analyst/entities/method.rb, line 49
def full_name
  parent.full_name + '::' + name
end
name() click to toggle source
# File lib/analyst/entities/method.rb, line 45
def name
  ast.children[1].to_s
end
target() click to toggle source

NOTE: not a public API – used by Entities::Class

# File lib/analyst/entities/method.rb, line 40
def target
  target, name, params, content = ast.children
  target
end