instance method
call
Ruby on Rails 8.0.4
Since v7.1.6Signature
call(event)
No documentation comment.
Parameters
-
eventreq
Source
# File activesupport/lib/active_support/subscriber.rb, line 136
def call(event)
method = event.name[0, event.name.index(".")]
send(method, event)
end
Defined in activesupport/lib/active_support/subscriber.rb line 136
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Subscriber