Class: MonkeyPatcher::AppendedMethodInfo
- Defined in:
- lib/monkey_patcher.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#name ⇒ Object
Returns the value of attribute name.
-
#origin ⇒ Object
Returns the value of attribute origin.
Instance Method Summary collapse
Instance Attribute Details
#desc ⇒ Object
Returns the value of attribute desc.
13 14 15 |
# File 'lib/monkey_patcher.rb', line 13 def desc @desc end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/monkey_patcher.rb', line 13 def name @name end |
#origin ⇒ Object
Returns the value of attribute origin.
13 14 15 |
# File 'lib/monkey_patcher.rb', line 13 def origin @origin end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/monkey_patcher.rb', line 14 def to_s "#{name} - patched in #{origin || 'an untraced file'} - #{desc}" end |