Method: Prawn::View#document
- Defined in:
- lib/prawn/view.rb
#document ⇒ Object
Lazily instantiates a Prawn::Document object.
You can also redefine this method in your own classes to use a custom document class.
60 61 62 |
# File 'lib/prawn/view.rb', line 60 def document @document ||= Prawn::Document.new end |