Module: CarrierWave::Uploader::Processing

Defined in:
lib/carrierwave/uploader/processing.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#process!(new_file = nil) ⇒ Object

Apply all process callbacks added through CarrierWave.process



73
74
75
76
77
78
79
# File 'lib/carrierwave/uploader/processing.rb', line 73

def process!(new_file=nil)
  if enable_processing
    self.class.processors.each do |method, args|
      self.send(method, *args)
    end
  end
end