Class: Paperclip::AttachmentOptions
- Inherits:
-
Hash
- Object
- Hash
- Paperclip::AttachmentOptions
- Defined in:
- lib/paperclip/attachment_options.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ AttachmentOptions
constructor
A new instance of AttachmentOptions.
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() .each do |k, v| self.[]=(k, v) end end |