doc/ex/pattern2.rb in rmagick-2.16.0 vs doc/ex/pattern2.rb in rmagick-3.0.0

- old
+ new

@@ -14,13 +14,13 @@ # Set the fill to the hat "pattern." Draw an ellipse gc.fill('hat') gc.ellipse(150, 75, 140, 70, 0, 360) # Create a canvas to draw on -img = Magick::Image.new(300, 150, Magick::HatchFill.new('white','lightcyan2',8)) +img = Magick::Image.new(300, 150, Magick::HatchFill.new('white', 'lightcyan2', 8)) # Draw the ellipse using the fill gc.draw(img) -img.border!(1,1, 'lightcyan2') +img.border!(1, 1, 'lightcyan2') img.write('pattern2.gif') exit