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