Class: Imagga::ImageInfoBase
- Inherits:
-
Object
- Object
- Imagga::ImageInfoBase
- Defined in:
- lib/imagga/image.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ImageInfoBase
constructor
A new instance of ImageInfoBase.
Constructor Details
#initialize(opts = {}) ⇒ ImageInfoBase
Returns a new instance of ImageInfoBase.
15 16 17 |
# File 'lib/imagga/image.rb', line 15 def initialize(opts={}) self.class.fields.each { |field| send("#{field}=", opts[field]) } end |