Class Method
In: lib/backports/1.8.7/method.rb
lib/backports/1.9.1/proc.rb
Parent: Object

Methods

Attributes

name  [RW] 
owner  [RW] 
receiver  [RW] 

Public Instance methods

[Source]

    # File lib/backports/1.9.1/proc.rb, line 10
10:     def to_proc_with_lambda_tracking
11:       proc = to_proc_without_lambda_tracking
12:       proc.instance_variable_set :@is_lambda, true
13:       proc
14:     end

[Source]

    # File lib/backports/1.8.7/method.rb, line 5
 5:     def unbind_with_additional_info
 6:       unbind_without_additional_info.tap do |unbound|
 7:         unbound.name = name
 8:         unbound.owner = owner
 9:       end
10:     end

[Validate]