Method: PDF::Reader::Reference#hash

Defined in:
lib/pdf/reader/reference.rb

#hashObject

returns a hash based on the PDF::Reference this object points to. Two different Reference objects that point to the same PDF Object will return an identical hash



62
63
64
# File 'lib/pdf/reader/reference.rb', line 62

def hash
  "#{self.id}:#{self.gen}".hash
end