lib/koine/attributes/adapter/boolean.rb in koine-attributes-1.1.0 vs lib/koine/attributes/adapter/boolean.rb in koine-attributes-1.2.0

- old
+ new

@@ -29,10 +29,10 @@ attr_reader :false_values def coerce_not_nil(value) return true if true_values.include?(value) return false if false_values.include?(value) - raise ArgumentError, "Invalid argument '#{value}'" + raise InvalidAttributeError.new("Invalid argument '#{value}'", attribute_name) end end end end end