Class: GunDog::MethodOwnerStackFrame

Inherits:
Struct
  • Object
show all
Defined in:
lib/gun_dog/method_owner_stack_frame.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



2
3
4
# File 'lib/gun_dog/method_owner_stack_frame.rb', line 2

def klass
  @klass
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



2
3
4
# File 'lib/gun_dog/method_owner_stack_frame.rb', line 2

def method_name
  @method_name
end

Instance Method Details

#to_sObject



3
4
5
# File 'lib/gun_dog/method_owner_stack_frame.rb', line 3

def to_s
  "#{klass}##{method_name}"
end