# File lib/puppet/util/log.rb, line 33
33:         def self.match?(obj)
34:             # Convert single-word strings into symbols like :console and :syslog
35:             if obj.is_a? String and obj =~ /^\w+$/
36:                 obj = obj.downcase.intern
37:             end
38: 
39:             @matches.each do |thing|
40:                 # Search for direct matches or class matches
41:                 return true if thing === obj or thing == obj.class.to_s
42:             end
43:             return false
44:         end