lib/schemacop/validator/float_validator.rb in schemacop-2.3.2 vs lib/schemacop/validator/float_validator.rb in schemacop-2.4.0
- old
+ new
@@ -1,5 +1,5 @@
module Schemacop
class FloatValidator < NumberValidator
- register symbols: :float, klasses: Float
+ register symbols: :float, klasses: Float, before: NumberValidator
end
end