method

new

rails latest stable - Class: ActiveSupport::Notifications::Fanout::Subscribers::Evented
new(pattern, delegate)
public

No documentation available.

# File activesupport/lib/active_support/notifications/fanout.rb, line 382
          def initialize(pattern, delegate)
            @pattern = Matcher.wrap(pattern)
            @delegate = delegate
            @silenceable = delegate.respond_to?(:silenced?)
            @can_publish = delegate.respond_to?(:publish)
            @can_publish_event = delegate.respond_to?(:publish_event)
          end