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

- old
+ new

@@ -1,6 +1,6 @@ -#! /usr/local/bin/ruby -w -require 'RMagick' +#!/usr/bin/env ruby -w +require 'rmagick' # Demonstrate the Image#negate_channel method img = Magick::Image.read('images/Flower_Hat.jpg').first result = img.negate_channel(false, Magick::GreenChannel)