# File lib/puppet/parameter.rb, line 128 128: def match?(test_value) 129: # First look for normal values 130: if value = @strings.find { |v| v.match?(test_value) } 131: return value 132: end 133: 134: # Then look for a regex match 135: @regexes.find { |v| v.match?(test_value) } 136: end