method

matches?

rails latest stable - Class: ActiveSupport::Notifications::Fanout::Subscriber

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

matches?(subscriber_or_name)
public

No documentation available.

# File activesupport/lib/active_support/notifications/fanout.rb, line 54
        def matches?(subscriber_or_name)
          self === subscriber_or_name ||
            @pattern && @pattern === subscriber_or_name
        end