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

Defined in:
lib/active_support/callbacks.rb

#inverted_lambdaObject



521
522
523
524
525
# File 'lib/active_support/callbacks.rb', line 521

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