manual/text/leading.rb in prawn-1.0.0 vs manual/text/leading.rb in prawn-1.1.0

- old
+ new

@@ -1,7 +1,7 @@ # encoding: utf-8 -# +# # Leading is the additional space between lines of text. # # The leading can be set using the <code>default_leading</code> method which # applies to the rest of the document or until it is changed, or inline in the # text methods with the <code>:leading</code> option. @@ -10,16 +10,16 @@ # 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 string = "Hey, what did you do with the space between my lines? " * 10 text string, :leading => 0 - + move_down 20 default_leading 5 text string - + move_down 20 text string, :leading => 10 end