Sha256: f9bd244d8855768f41512ba40bea883b742f9761ad1ba1af3ebd3af6742087ce

Contents?: true

Size: 210 Bytes

Versions: 8

Compression:

Stored size: 210 Bytes

Contents

module Paperclip
  class AttachmentOptions < Hash
    def initialize(options)
      options = {:validations => []}.merge(options)
      options.each do |k, v|
        self.[]=(k, v)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
paperclip-v2_7-patched-ruby-1_8_6-2.7.5 lib/paperclip/attachment_options.rb
paperclip-2.7.5 lib/paperclip/attachment_options.rb
paperclip-2.7.4 lib/paperclip/attachment_options.rb
paperclip-2.7.2 lib/paperclip/attachment_options.rb
paperclip-2.8.0 lib/paperclip/attachment_options.rb
paperclip-2.7.1 lib/paperclip/attachment_options.rb
paperclip-2.7.0 lib/paperclip/attachment_options.rb
paperclip-2.6.0 lib/paperclip/attachment_options.rb