Sha256: 537814a6b7b5b3cf6c9addbb130be55454cb21b805f1d6bf840dac53ca62830e

Contents?: true

Size: 266 Bytes

Versions: 32

Compression:

Stored size: 266 Bytes

Contents

module CarrierWave
  module RMagick
    def quality(percentage)
      manipulate! do |img|
        img.write(current_path){ self.quality = percentage } unless img.quality == percentage
        img = yield(img) if block_given?
        img
      end
    end
  end
end

Version data entries

32 entries across 31 versions & 1 rubygems

Version Path
keppler-2.1.3 installer/core/config/initializers/carrierwave.rb
keppler-2.1.2 installer/core/config/initializers/carrierwave.rb
keppler-2.1.1 installer/core/config/initializers/carrierwave.rb
keppler-2.1.pre.p1 installer/core/config/initializers/carrierwave.rb
keppler-2.1 installer/core/config/initializers/carrierwave.rb
keppler-2.0.7 installer/core/config/initializers/carrierwave.rb
keppler-2.0.6 installer/core/config/initializers/carrierwave.rb
keppler-2.0.5 installer/core/config/initializers/carrierwave.rb
keppler-2.0.4.p1 installer/core/config/initializers/carrierwave.rb
keppler-2.0.4.pre.p1 installer/core/config/initializers/carrierwave.rb
keppler-2.0.4 installer/core/config/initializers/carrierwave.rb
keppler-2.0.3 installer/core/config/initializers/carrierwave.rb