lib/koine/attributes/adapter/float.rb in koine-attributes-0.2.3 vs lib/koine/attributes/adapter/float.rb in koine-attributes-0.3.0
- old
+ new
@@ -1,9 +1,11 @@
module Koine
module Attributes
module Adapter
class Float < Base
- def coerce(value)
+ private
+
+ def coerce_not_nil(value)
Float(value)
end
end
end
end