manual/table/position.rb in prawn-1.0.0 vs manual/table/position.rb in prawn-1.1.0
- old
+ new
@@ -7,10 +7,10 @@
#
require File.expand_path(File.join(File.dirname(__FILE__),
%w[.. example_helper]))
filename = File.basename(__FILE__).gsub('.rb', '.pdf')
-Prawn::Example.generate(filename) do
+Prawn::ManualBuilder::Example.generate(filename) do
data = [["The quick brown fox jumped over the lazy dogs."]] * 2
text "Left:"
table data, :position => :left
move_down 10