instance method expand

Ruby on Rails 7.1.6

Since v7.0.10 Last seen in v7.1.6

Available in: v7.0.10 v7.1.6

Signature

expand(target, value, block)

No documentation comment.

Parameters

target req
value req
block req
Source
# File activesupport/lib/active_support/callbacks.rb, line 486
          def expand(target, value, block)
            raise ArgumentError unless block
            [target, @override_block || block, :instance_exec, target, block]
          end

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

Defined in ActiveSupport::Callbacks::CallTemplate::InstanceExec2

Type at least 2 characters to search.

↑↓ navigate · open · esc close