Class: Prawn::DocumentBuilder::LayoutModification

Inherits:
Command
  • Object
show all
Defined in:
lib/prawn/document_builder/modifications/layout_modification.rb

Instance Attribute Summary

Attributes inherited from Command

#box, #name, #params

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