lib/combine_pdf/renderer.rb in combine_pdf-0.2.37 vs lib/combine_pdf/renderer.rb in combine_pdf-1.0.0

- old
+ new

@@ -18,10 +18,10 @@ return format_string_to_pdf object elsif object.is_a?(Symbol) return format_name_to_pdf object elsif object.is_a?(Array) return format_array_to_pdf object - elsif object.is_a?(Integer) || object.is_a?(Float) || object.is_a?(TrueClass) || object.is_a?(FalseClass) + elsif object.is_a?(Numeric) || object.is_a?(TrueClass) || object.is_a?(FalseClass) return object.to_s elsif object.is_a?(Hash) return format_hash_to_pdf object else return ''