Skip to content

Commit

Permalink
Add documentation about document configuration
Browse files Browse the repository at this point in the history
Echoes #802

Rubocoped

Rubocoped
  • Loading branch information
sowenjub authored and pointlessone committed May 22, 2019
1 parent c61c5d4 commit c5842a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/prawn/view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5842a2

Please sign in to comment.