doc/ex/image.rb in rmagick-1.8.3 vs doc/ex/image.rb in rmagick-1.9.0
- old
+ new
@@ -1,8 +1,7 @@
require 'rvg/rvg'
-include Magick
-rvg = RVG.new(525, 270) do |canvas|
+rvg = Magick::RVG.new(525, 270) do |canvas|
canvas.background_fill = 'white'
canvas.rect(524, 269).styles(:fill=>'none', :stroke=>'blue', :stroke_width=>1)
hat = ::Magick::Image.read('images/Flower_Hat.jpg').first