lib/pdf/reader/cmap.rb in pdf-reader-1.4.0 vs lib/pdf/reader/cmap.rb in pdf-reader-1.4.1

- old
+ new

@@ -66,14 +66,14 @@ @map.size end # Convert a glyph code into one or more Codepoints. # - # Returns an array of Fixnums. + # Returns an array of Integers. # def decode(c) # TODO: implement the conversion - return c unless c.class == Fixnum + return c unless Integer === c @map[c] end private