Sha256: 0832d0c63ef7691c85843d89d5f7987a6806bba7a214c0dbb5421eb139debbb0

Contents?: true

Size: 158 Bytes

Versions: 15

Compression:

Stored size: 158 Bytes

Contents

module Paperclip
  class AttachmentOptions < Hash
    def initialize(options)
      options.each do |k, v|
        self.[]=(k, v)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
paperclip-3.4.2 lib/paperclip/attachment_options.rb
paperclip-3.4.1 lib/paperclip/attachment_options.rb
paperclip-3.4.0 lib/paperclip/attachment_options.rb
paperclip-3.3.1 lib/paperclip/attachment_options.rb
paperclip-3.2.1 lib/paperclip/attachment_options.rb
paperclip-3.3.0 lib/paperclip/attachment_options.rb
paperclip-3.2.0 lib/paperclip/attachment_options.rb
paperclip-3.1.4 lib/paperclip/attachment_options.rb
paperclip-3.1.2 lib/paperclip/attachment_options.rb
paperclip-3.1.1 lib/paperclip/attachment_options.rb
paperclip-3.1.0 lib/paperclip/attachment_options.rb
paperclip-3.0.4 lib/paperclip/attachment_options.rb
paperclip-3.0.3 lib/paperclip/attachment_options.rb
cloudfuji_paperclip-3.0.3 lib/paperclip/attachment_options.rb
paperclip-3.0.2 lib/paperclip/attachment_options.rb