From 2bebcbe327866499cfa06ebcd359bd94f4c97e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=BCrlimann?= Date: Thu, 16 Jun 2011 03:28:10 -0700 Subject: [PATCH] Add (opts={}) parameter to initialize definition for custom Prawn::Document class. --- README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index d8e975e..31e46bd 100644 --- a/README.rdoc +++ b/README.rdoc @@ -61,7 +61,7 @@ application_helper.rb module ApplicationHelper class Foo < Prawn::Document - def initialize + def initialize(opts={}) super text "Foo" text "Bar"