# File lib/puppet/network/rights.rb, line 247 247: def match?(key) 248: # if we are a namespace compare directly 249: return self.key == namespace_to_key(key) if acl_type == :name 250: 251: # otherwise match with the regex 252: self.key.match(key) 253: end