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

- old
+ new

@@ -1,10 +1,10 @@ -#! /usr/local/bin/ruby -w -require 'RMagick' +#!/usr/bin/env ruby -w +require 'rmagick' # Demonstrate the Image#shear method. -img = Magick::Image.read("images/Flower_Hat.jpg").first +img = Magick::Image.read('images/Flower_Hat.jpg').first img = img.shear(-30,-30) #img.display img.write('shear.jpg') exit