class Method

Attributes

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

Public Instance Methods

to_proc_with_lambda_tracking() click to toggle source
# File lib/backports/1.9.1/proc.rb, line 10
def to_proc_with_lambda_tracking
  proc = to_proc_without_lambda_tracking
  proc.instance_variable_set :@is_lambda, true
  proc
end
unbind_with_additional_info() click to toggle source
# 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