examples/animated_gif.rb in mojo_magick-0.5.6 vs examples/animated_gif.rb in mojo_magick-0.5.7
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby
#
require 'mojo_magick'
-MojoMagick::convert(nil, 'animated.gif') do |c|
+MojoMagick.convert(nil, 'animated.gif') do |c|
c.size '200x200'
c.delay 100
c.image_block do # first layer
c.background 'blue'
c.fill 'white'
@@ -17,6 +17,5 @@
c.fill 'red'
c.gravity 'southeast'
c.label 'SE'
end
end
-