method
wrap
v7.0.0 -
Show latest stable
- Class:
ActiveSupport::Notifications::Fanout::Subscribers::Matcher
wrap(pattern)public
No documentation available.
# File activesupport/lib/active_support/notifications/fanout.rb, line 148
def self.wrap(pattern)
if String === pattern
pattern
elsif pattern.nil?
AllMessages.new
else
new(pattern)
end
end