Method: ActiveSupport::Callbacks::CallTemplate::ProcCall#inverted_lambda

Defined in:
activesupport/lib/active_support/callbacks.rb

#inverted_lambdaObject



479
480
481
482
483
# File 'activesupport/lib/active_support/callbacks.rb', line 479

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