public
Description: Fast, Nimble PDF Writer for Ruby
Homepage: http://prawn.majesticseacreature.com
Clone URL: git://github.com/sandal/prawn.git
fix options
sandal (author)
Sat Oct 25 09:26:00 -0700 2008
commit  0199d0032fa01011bb2d4de974cdad2bf5a14b6d
tree    37685d30e457e941f35d25d0640a4b1340aaa81d
parent  69ba7fa9435f0d803af4ff1fc99df4bde290bf80
...
59
60
61
62
63
64
65
66
...
77
78
79
80
81
82
 
 
 
83
84
85
...
59
60
61
 
 
62
63
64
...
75
76
77
 
 
 
78
79
80
81
82
83
0
@@ -59,8 +59,6 @@ module Prawn
0
     #
0
     # <tt>:page_size</tt>:: One of the Document::PageGeometry::SIZES [LETTER]
0
     # <tt>:page_layout</tt>:: Either <tt>:portrait</tt> or <tt>:landscape</tt>
0
-    # <tt>:on_page_start</tt>:: Optional proc run at each page start
0
-    # <tt>:on_page_stop</tt>:: Optional proc  run at each page stop   
0
     # <tt>:left_margin</tt>:: Sets the left margin in points [ 0.5 inch]
0
     # <tt>:right_margin</tt>:: Sets the right margin in points [ 0.5 inch]
0
     # <tt>:top_margin</tt>:: Sets the top margin in points [ 0.5 inch]
0
@@ -77,9 +75,9 @@ module Prawn
0
     #   pdf = Prawn::Document.new(:page_size => "A4", :page_layout => :landscape)    
0
     #
0
     def initialize(options={},&block)   
0
-       Prawn.verify_options [:page_size, :page_layout, :on_page_start,
0
-         :on_page_stop, :left_margin, :right_margin, :top_margin,
0
-         :bottom_margin, :skip_page_creation, :compress, :skip_encoding, :text_options ], options
0
+       Prawn.verify_options [:page_size, :page_layout, :left_margin, 
0
+         :right_margin, :top_margin, :bottom_margin, :skip_page_creation, 
0
+         :compress, :skip_encoding, :text_options ], options
0
          
0
        @objects = []
0
        @info    = ref(:Creator => "Prawn", :Producer => "Prawn")

Comments