class ActiveSupport::Notifications::Fanout::Subscribers::Evented

def matches?(subscriber_or_name)

def matches?(subscriber_or_name)
  self === subscriber_or_name ||
    @pattern && @pattern === subscriber_or_name
end