Class PDF::Reader::Reference
In: lib/pdf/reader/reference.rb
Parent: Object

An internal PDF::Reader class that represents an indirect reference to a PDF Object

Methods

==   eql?   hash   new   to_a   to_i  

Attributes

gen  [R] 
id  [R] 

Public Class methods

Create a new Reference to an object with the specified id and revision number

Public Instance methods

returns true if the provided object points to the same PDF Object as the current object

eql?(obj)

Alias for #==

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

returns the current Reference object in an array with a single element

returns the ID of this reference. Use with caution, ignores the generation id

[Validate]