lib/fig_newton/missing.rb in fig_newton-0.13 vs lib/fig_newton/missing.rb in fig_newton-0.14
- old
+ new
@@ -26,10 +26,10 @@
end
private
def type_known?(value)
- known_types = [String, Integer, TrueClass, FalseClass, Symbol]
+ known_types = [String, Integer, TrueClass, FalseClass, Symbol, Float]
known_types.any? { |type| value.kind_of? type }
end
end
end