Method: ActiveSupport::Callbacks::CallTemplate::ProcCall#make_lambda

Defined in:
lib/active_support/callbacks.rb

#make_lambdaObject



515
516
517
518
519
# File 'lib/active_support/callbacks.rb', line 515

def make_lambda
  lambda do |target, value, &block|
    (@override_target || target).call(target, value, &block)
  end
end