Method: Origami::Object#document
- Defined in:
- lib/origami/object.rb
#document ⇒ Object
Returns the PDF which the object belongs to.
580 581 582 583 584 585 |
# File 'lib/origami/object.rb', line 580 def document if self.indirect? then @document else @parent.document unless @parent.nil? end end |