method
new
v4.2.9 -
Show latest stable
- Class:
ActiveSupport::Notifications::Fanout::Subscribers::Evented
new(pattern, delegate)public
No documentation available.
# File activesupport/lib/active_support/notifications/fanout.rb, line 85
def initialize(pattern, delegate)
@pattern = pattern
@delegate = delegate
@can_publish = delegate.respond_to?(:publish)
end