diff --git a/lib/prawn/view.rb b/lib/prawn/view.rb index 434ac5d60..00dc23e7d 100644 --- a/lib/prawn/view.rb +++ b/lib/prawn/view.rb @@ -11,6 +11,12 @@ module Prawn # class Greeter # include Prawn::View # + # # Optional override: allows you to set document options or even use + # # a custom document class + # def document + # @document ||= Prawn::Document.new(page_size: 'A4') + # end + # # def initialize(name) # @name = name # end