doc/ex/skewy.rb in rmagick-2.13.4 vs doc/ex/skewy.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(250, 250, Magick::HatchFill.new('white','lightcyan2')) gc = Magick::Draw.new @@ -42,6 +42,6 @@ gc.gravity(Magick::SouthGravity) gc.text(10, 20, "'+y'") gc.draw(imgl) imgl.border!(1,1, 'lightcyan2') -imgl.write("skewy.gif") +imgl.write('skewy.gif')