Class: Method
- Defined in:
- lib/vendor/backports-3.3.5/lib/backports/1.8.7/method/name.rb,
lib/vendor/backports-3.3.5/lib/backports/1.9.1/proc/lambda.rb
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.
5 6 7 |
# File 'lib/vendor/backports-3.3.5/lib/backports/1.8.7/method/name.rb', line 5 def name @name end |
#owner ⇒ Object
Returns the value of attribute owner.
5 6 7 |
# File 'lib/vendor/backports-3.3.5/lib/backports/1.8.7/method/name.rb', line 5 def owner @owner end |
#receiver ⇒ Object
Returns the value of attribute receiver.
5 6 7 |
# File 'lib/vendor/backports-3.3.5/lib/backports/1.8.7/method/name.rb', line 5 def receiver @receiver end |
Instance Method Details
#to_proc_with_lambda_tracking ⇒ Object
16 17 18 19 20 |
# File 'lib/vendor/backports-3.3.5/lib/backports/1.9.1/proc/lambda.rb', line 16 def to_proc_with_lambda_tracking proc = to_proc_without_lambda_tracking proc.send :__is_lambda__=, true proc end |
#unbind_with_additional_info ⇒ Object
7 8 9 10 11 12 |
# File 'lib/vendor/backports-3.3.5/lib/backports/1.8.7/method/name.rb', line 7 def unbind_with_additional_info unbound = unbind_without_additional_info unbound.name = name unbound.owner = owner unbound end |