Class: Method
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/backports/1.8.7/method.rb', line 3 def name @name end |
#owner ⇒ Object
Returns the value of attribute owner.
3 4 5 |
# File 'lib/backports/1.8.7/method.rb', line 3 def owner @owner end |
#receiver ⇒ Object
Returns the value of attribute receiver.
3 4 5 |
# File 'lib/backports/1.8.7/method.rb', line 3 def receiver @receiver end |
Instance Method Details
#unbind_with_additional_info ⇒ Object
5 6 7 8 9 10 |
# File 'lib/backports/1.8.7/method.rb', line 5 def unbind_with_additional_info unbind_without_additional_info.tap do |unbound| unbound.name = name unbound.owner = owner end end |