Method: ActiveSupport::Callbacks::CallTemplate::ProcCall#inverted_lambda
- Defined in:
- lib/active_support/callbacks.rb
#inverted_lambda ⇒ Object
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 |