lib/combine_pdf.rb in combine_pdf-0.2.37 vs lib/combine_pdf.rb in combine_pdf-1.0.0
- old
+ new
@@ -136,10 +136,10 @@
# PDF object types cross reference:
# Indirect objects, references, dictionaries and streams are Hash
# arrays are Array
# strings are String
# names are Symbols (String.to_sym)
-# numbers are Fixnum or Float
+# numbers are Integer or Float (Numeric)
# boolean are TrueClass or FalseClass
## test performance with:
## puts Benchmark.measure { pdf = CombinePDF.new(file); pdf.save "test.pdf" } # PDFEditor.new_pdf
## demo: file_name = "~/Ruby/pdfs/encrypted.pdf"; pdf=0; puts Benchmark.measure { pdf = CombinePDF.new(file_name); pdf.save "test.pdf" }