method
call
v2.3.8 -
Show latest stable
- Class:
ActiveSupport::Callbacks::Callback
call(*args, &block)public
No documentation available.
# File activesupport/lib/active_support/callbacks.rb, line 165
def call(*args, &block)
evaluate_method(method, *args, &block) if should_run_callback?(*args)
rescue LocalJumpError
raise ArgumentError,
"Cannot yield from a Proc type filter. The Proc must take two " +
"arguments and execute #call on the second argument."
end