class PDF::Ref

Attributes

gen[RW]
id[RW]

Public Class Methods

new(pdf, gen, id) click to toggle source
# File misc/pdfparse.rb, line 257
def initialize(pdf, gen, id)
        @pdf, @gen, @id = pdf, gen, id
end

Public Instance Methods

deref(depth=1) click to toggle source
# File misc/pdfparse.rb, line 265
def deref(depth=1)
        @pdf.deref(self, depth)
end
inspect() click to toggle source
# File misc/pdfparse.rb, line 261
def inspect
        "#<Ref @pdf=#{@pdf.object_id.to_s(16)} @gen=#@gen @id=#@id>"
end
method_missing(*a, &b) click to toggle source
# File misc/pdfparse.rb, line 269
def method_missing(*a, &b)
        deref.send(*a, &b)
end