instance method
expand
Ruby on Rails 7.0.10
Since v7.0.10 Last seen in v7.1.6Available in: v7.0.10 v7.1.6
Signature
expand(target, value, block)
No documentation comment.
Parameters
-
targetreq -
valuereq -
blockreq
Source
# File activesupport/lib/active_support/callbacks.rb, line 483
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 483
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Callbacks::CallTemplate::InstanceExec2