Class: Paperclip::Style
- Inherits:
-
Object
- Object
- Paperclip::Style
- Defined in:
- lib/simple_crop/paperclip_patches/style.rb
Instance Method Summary collapse
Instance Method Details
#processor_options ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/simple_crop/paperclip_patches/style.rb', line 3 def args = {} @other_args.each do |k,v| args[k] = v.respond_to?(:call) ? v.call() : v end [:processors, :geometry, :format, :whiny, :convert_options, :name].each do |k| (arg = send(k)) && args[k] = arg end args end |