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