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