Class: Prawn::DocumentBuilder::LayoutModification
- Defined in:
- lib/prawn/document_builder/modifications/layout_modification.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
#execute, #initialize, #restore_params, #save_params, #setup, #teardown
Constructor Details
This class inherits a constructor from Prawn::DocumentBuilder::Command
Instance Method Details
#new_page(document, layout) ⇒ Object
4 5 6 |
# File 'lib/prawn/document_builder/modifications/layout_modification.rb', line 4 def new_page(document, layout) document.start_new_page(params) end |