Class: Prawn::DocumentBuilder::PathModification

Inherits:
Command
  • Object
show all
Defined in:
lib/prawn/document_builder/modifications/path_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

#stroke(document, layout) ⇒ Object



4
5
6
# File 'lib/prawn/document_builder/modifications/path_modification.rb', line 4

def stroke(document, layout)
  document.stroke
end