Method: Origami::Object#document
- Defined in:
- lib/origami/object.rb
#document ⇒ Object
Returns the PDF which the object belongs to.
561 562 563 564 565 566 |
# File 'lib/origami/object.rb', line 561 def document if self.indirect? then @document else @parent.document unless @parent.nil? end end |