lib/king_konf/decoder.rb in king_konf-0.1.7 vs lib/king_konf/decoder.rb in king_konf-0.1.8

- old
+ new

@@ -24,7 +24,11 @@ def integer(value, **) Integer(value) rescue ArgumentError raise ConfigError, "#{value.inspect} is not an integer" end + + def float(value, **) + Float(value) + end end end