class ChefCLI::PolicyfileLock
def validate_attr_key(key)
def validate_attr_key(key) unless key.is_a?(String) raise InvalidPolicyfileAttribute, "Attribute keys must be Strings (other types are not allowed in JSON). You gave: #{key.inspect} (#{key.class})" end end