class Origami::PPKLite::Revision

Attributes

body[RW]
document[RW]
trailer[R]
xreftable[RW]

Public Class Methods

new(adbk) click to toggle source
# File lib/origami/extensions/ppklite.rb, line 102
def initialize(adbk)
    @document = adbk
    @body = {}
    @xreftable = nil
    @trailer = nil
end

Public Instance Methods

each_object(&b) click to toggle source
# File lib/origami/extensions/ppklite.rb, line 114
def each_object(&b)
    @body.each_value(&b)
end
objects() click to toggle source
# File lib/origami/extensions/ppklite.rb, line 118
def objects
    @body.values
end
trailer=(trl) click to toggle source
# File lib/origami/extensions/ppklite.rb, line 109
def trailer=(trl)
    trl.document = @document
    @trailer = trl
end