class ActiveSupport::Notifications::Fanout::Subscribers::Matcher

def self.wrap(pattern)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.wrap: (String pattern) -> String

This signature was generated using 21 samples from 2 applications.

def self.wrap(pattern)
  if String === pattern
    pattern
  elsif pattern.nil?
    AllMessages.new
  else
    new(pattern)
  end
end