lib/formulario/fields/integer.rb in formulario-0.1.3 vs lib/formulario/fields/integer.rb in formulario-0.1.4
- old
+ new
@@ -6,8 +6,9 @@
def self.build(raw_value)
new Integer(raw_value)
rescue ArgumentError, TypeError => e
ExceptionalValue.new(raw_value, reasons: ['needs to represent an integer'])
end
+
end
end
end