manual/images/plain_image.rb in prawn-1.0.0 vs manual/images/plain_image.rb in prawn-1.1.0
- old
+ new
@@ -10,9 +10,9 @@
#
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
text "The image will go right below this line of text."
image "#{Prawn::DATADIR}/images/pigs.jpg"
end