instance method inverted_lambda

Ruby on Rails 7.0.10

Since v7.0.10 Last seen in v7.1.6

Available in: v7.0.10 v7.1.6

Signature

inverted_lambda()

No documentation comment.

Source
# File activesupport/lib/active_support/callbacks.rb, line 427
          def inverted_lambda
            lambda do |target, value, &block|
              !(@override_target || target).send(@method_name, target, &block)
            end
          end

Defined in activesupport/lib/active_support/callbacks.rb line 427 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Callbacks::CallTemplate::ObjectCall

Type at least 2 characters to search.

↑↓ navigate · open · esc close