method
matches?
v4.1.8 -
Show latest stable
- Class:
ActiveSupport::Notifications::Fanout::Subscribers::Evented
matches?(subscriber_or_name)public
No documentation available.
# File activesupport/lib/active_support/notifications/fanout.rb, line 103
def matches?(subscriber_or_name)
self === subscriber_or_name ||
@pattern && @pattern === subscriber_or_name
end