lib/prawn-rails/config.rb in prawn-rails-0.1.0 vs lib/prawn-rails/config.rb in prawn-rails-0.1.1

- old
+ new

@@ -1,10 +1,12 @@ require 'ostruct' module PrawnRails extend self - @config = OpenStruct.new + @config = OpenStruct.new(:page_layout => :portrait, + :page_size => "A4", + :skip_page_creation => false) def config begin block_given? ? yield(@config) : @config rescue => e