lib/bulldog/processor/image_magick.rb in bulldog-0.0.8 vs lib/bulldog/processor/image_magick.rb in bulldog-0.0.9
- old
+ new
@@ -8,15 +8,15 @@
attr_accessor :identify_path
end
def initialize(*args)
super
- @tree = ArgumentTree.new(styles)
end
- def process
- return if styles.empty?
- super
+ def process(styles, options={})
+ @tree = ArgumentTree.new(styles)
+ super or
+ return
run_convert
end
# Input image attributes --------------------------------------