Method: ActiveSupport::Notifications::Fanout::Subscribers.wrap_all
- Defined in:
- activesupport/lib/active_support/notifications/fanout.rb
.wrap_all(pattern, subscriber) ⇒ Object
111 112 113 114 115 116 117 |
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 111 def self.wrap_all(pattern, subscriber) unless pattern AllMessages.new(subscriber) else subscriber end end |