doc/ex/shear.rb in rmagick-2.16.0 vs doc/ex/shear.rb in rmagick-3.0.0
- old
+ new
@@ -2,9 +2,9 @@
require 'rmagick'
# Demonstrate the Image#shear method.
img = Magick::Image.read('images/Flower_Hat.jpg').first
-img = img.shear(-30,-30)
-#img.display
+img = img.shear(-30, -30)
+# img.display
img.write('shear.jpg')
exit