lib/koine/attributes/adapter/integer.rb in koine-attributes-1.0.0 vs lib/koine/attributes/adapter/integer.rb in koine-attributes-1.1.0
- old
+ new
@@ -3,10 +3,10 @@
module Adapter
class Integer < Base
private
def coerce_not_nil(value)
- Integer(value)
+ wrap_errors { Integer(value) }
end
end
end
end
end