instance method
make_lambda
Ruby on Rails 7.1.6
Since v7.0.10 Last seen in v7.1.6Available in: v7.0.10 v7.1.6
Signature
make_lambda()
No documentation comment.
Source
# File activesupport/lib/active_support/callbacks.rb, line 401
def make_lambda
lambda do |target, value, &block|
target.send(@method_name, &block)
end
end
Defined in activesupport/lib/active_support/callbacks.rb line 401
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Callbacks::CallTemplate::MethodCall