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