lib/config/options.rb in config-1.5.0 vs lib/config/options.rb in config-1.5.1

- old
+ new

@@ -186,9 +186,16 @@ s end # Try to convert string to a correct type def __value(v) - Integer(v) rescue Float(v) rescue v + case v + when 'false' + false + when 'true' + true + else + Integer(v) rescue Float(v) rescue v + end end end end