doc/ex/cbezier4.rb in rmagick-2.13.4 vs doc/ex/cbezier4.rb in rmagick-2.14.0

- old
+ new

@@ -1,7 +1,7 @@ -#! /usr/local/bin/ruby -w -require 'RMagick' +#!/usr/bin/env ruby -w +require 'rmagick' imgl = Magick::ImageList.new imgl.new_image(390, 360, Magick::HatchFill.new('white','lightcyan2')) gc = Magick::Draw.new @@ -34,10 +34,9 @@ gc.text(29,33, "'20,30'") gc.text(329,330, "'320,330'") gc.text(329,180, "'320,180'") gc.draw(imgl) -imgl.border!(1,1, "lightcyan2") +imgl.border!(1,1, 'lightcyan2') imgl.write('cbezier4.gif') exit(0) -