lib/koine/attributes/adapter/integer.rb in koine-attributes-0.2.3 vs lib/koine/attributes/adapter/integer.rb in koine-attributes-0.3.0

- old
+ new

@@ -1,9 +1,11 @@ module Koine module Attributes module Adapter class Integer < Base - def coerce(value) + private + + def coerce_not_nil(value) Integer(value) end end end end