Class: Paperclip::AttachmentOptions

Inherits:
Hash
  • Object
show all
Defined in:
lib/paperclip/attachment_options.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ AttachmentOptions

Returns a new instance of AttachmentOptions.



3
4
5
6
7
# File 'lib/paperclip/attachment_options.rb', line 3

def initialize(options)
  options.each do |k, v|
    self.[]=(k, v)
  end
end