# File lib/puppet/network/rights.rb, line 239 239: def match?(key) 240: # if we are a namespace compare directly 241: return self.key == namespace_to_key(key) if acl_type == :name 242: 243: # otherwise match with the regex 244: return self.key.match(key) 245: end