Sha256: f25c48f56e86481719abd3e3055dd087e62951cbf97eb0637081614f111933fb

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

module CarrierWave
  module Processor
    module Dsl
      def carrierwave_processor name, options={}, &block
        if name
          ::CarrierWave::Processor.processors ||= {}
          return ::CarrierWave::Processor.processors[name] = {:block => block, :options => options}
        end
        nil
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
carrierwave-processor-1.1.2 lib/carrierwave/processor/dsl.rb
carrierwave-processor-1.1.1 lib/carrierwave/processor/dsl.rb
carrierwave-processor-1.1.0 lib/carrierwave/processor/dsl.rb
carrierwave-processor-1.0.3 lib/carrierwave/processor/dsl.rb
carrierwave-processor-1.0.2 lib/carrierwave/processor/dsl.rb