Skip to content

Commit

Permalink
Merge pull request #3 from huerlisi/patch-1
Browse files Browse the repository at this point in the history
Add (opts={}) parameter to initialize definition for custom Prawn::Document
  • Loading branch information
Whoops committed Jun 16, 2011
2 parents f00a311 + 2bebcbe commit d693caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -61,7 +61,7 @@ application_helper.rb

module ApplicationHelper
class Foo < Prawn::Document
def initialize
def initialize(opts={})
super
text "Foo"
text "Bar"
Expand Down

0 comments on commit d693caa

Please sign in to comment.