instance method
call
Ruby on Rails 4.2.9
Since v4.1.16 Last seen in v4.2.9Available in: v4.1.16 v4.2.9
Signature
call(*args)
No documentation comment.
Parameters
-
argsrest
Source
# File activesupport/lib/active_support/callbacks.rb, line 503
def call(*args)
@before.each { |b| b.call(*args) }
value = @call.call(*args)
@after.each { |a| a.call(*args) }
value
end
Defined in activesupport/lib/active_support/callbacks.rb line 503
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Callbacks::CallbackSequence