Class: UnboundMethod
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner ⇒ Object
Returns the value of attribute owner.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/backports/1.8.7/method/name.rb', line 17 def name @name end |
#owner ⇒ Object
Returns the value of attribute owner.
17 18 19 |
# File 'lib/backports/1.8.7/method/name.rb', line 17 def owner @owner end |
Instance Method Details
#bind_with_additional_info(to) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/backports/1.8.7/method/name.rb', line 19 def bind_with_additional_info(to) bound = bind_without_additional_info(to) bound.name = name bound.owner = owner bound.receiver = to bound end |