Class: Origami::FDF::Revision

Inherits:
Object
  • Object
show all
Defined in:
lib/origami/extensions/fdf.rb

Overview

:nodoc;

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fdf) ⇒ Revision

Returns a new instance of Revision.



94
95
96
97
98
99
# File 'lib/origami/extensions/fdf.rb', line 94

def initialize(fdf)
    @document = fdf
    @body = {}
    @xreftable = nil
    @trailer = nil
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



91
92
93
# File 'lib/origami/extensions/fdf.rb', line 91

def body
  @body
end

#documentObject

Returns the value of attribute document.



90
91
92
# File 'lib/origami/extensions/fdf.rb', line 90

def document
  @document
end

#trailerObject

Returns the value of attribute trailer.



92
93
94
# File 'lib/origami/extensions/fdf.rb', line 92

def trailer
  @trailer
end

#xreftableObject

Returns the value of attribute xreftable.



91
92
93
# File 'lib/origami/extensions/fdf.rb', line 91

def xreftable
  @xreftable
end

Instance Method Details

#each_object(&b) ⇒ Object



106
107
108
# File 'lib/origami/extensions/fdf.rb', line 106

def each_object(&b)
    @body.each_value(&b)
end

#objectsObject



110
111
112
# File 'lib/origami/extensions/fdf.rb', line 110

def objects
    @body.values
end