method

inverted_lambda

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: InstanceExec2
inverted_lambda() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/callbacks.rb, line 498
          def inverted_lambda
            lambda do |target, value, &block|
              raise ArgumentError unless block
              !target.instance_exec(target, block, &@override_block)
            end
          end
Register or log in to add new notes.