doc/ex/rotate.rb in rmagick-2.13.4 vs doc/ex/rotate.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(200, 200, Magick::HatchFill.new('white','lightcyan2')) gc = Magick::Draw.new @@ -32,14 +32,13 @@ gc.font_style(Magick::NormalStyle) gc.fill('black') gc.stroke('transparent') gc.text(8, 15, "'0,0'") -gc.text(110, 16, "x") -gc.text(12, 115, "y") +gc.text(110, 16, 'x') +gc.text(12, 115, 'y') gc.draw(imgl) -imgl.border!(1,1, "lightcyan2") +imgl.border!(1,1, 'lightcyan2') -imgl.write("rotate.gif") - +imgl.write('rotate.gif')