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