instance method
publish
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
publish(name, *args)
No documentation comment.
Parameters
-
namereq -
argsrest
Source
# File activesupport/lib/active_support/notifications/fanout.rb, line 51
def publish(name, *args)
listeners_for(name).each { |s| s.publish(name, *args) }
end
Defined in activesupport/lib/active_support/notifications/fanout.rb line 51
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Fanout