method
matches?
v3.0.9 -
Show latest stable
- Class:
ActiveSupport::Notifications::Fanout::Subscriber
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