Sha256: a87394ea364eedcb31a336203cad44018a066f8cf102ac3d66ec6f9c1ec28d14

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

require "carrierwave-picture/version"
require "carrierwave-picture/picture_converter"
require "carrierwave-picture/picture_helper"

module Carrierwave::Picture
  require 'carrierwave-picture/railtie' if defined?(Rails)

  def prepare_picture(options = {})
    PictureConverter.convert(current_path)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
carrierwave-picture-0.3.3 lib/carrierwave-picture.rb
carrierwave-picture-0.2.2 lib/carrierwave-picture.rb