Class: MonkeyPatcher::AppendedMethodInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/monkey_patcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descObject

Returns the value of attribute desc.



13
14
15
# File 'lib/monkey_patcher.rb', line 13

def desc
  @desc
end

#nameObject

Returns the value of attribute name.



13
14
15
# File 'lib/monkey_patcher.rb', line 13

def name
  @name
end

#originObject

Returns the value of attribute origin.



13
14
15
# File 'lib/monkey_patcher.rb', line 13

def origin
  @origin
end

Instance Method Details

#to_sObject



14
15
16
# File 'lib/monkey_patcher.rb', line 14

def to_s
  "#{name} - patched in #{origin || 'an untraced file'} - #{desc}"
end