lib/prawn/document.rb in prawn-0.4.0 vs lib/prawn/document.rb in prawn-0.4.1

- old
+ new

@@ -53,10 +53,10 @@ # pdf.font "Times-Roman" # pdf.text content, :at => [200,720], :size => 32 # end # def self.generate(filename,options={},&block) - pdf = Prawn::Document.new(options,&block) + pdf = new(options,&block) pdf.render_file(filename) end # Creates a new PDF Document. The following options are available: #