Exception: FreeImage::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/free-image/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(format, message) ⇒ Error

Returns a new instance of Error.



19
20
21
22
# File 'lib/free-image/errors.rb', line 19

def initialize(format, message)
  @format = format
  super(message)
end

Instance Attribute Details

#formatObject (readonly)

Returns the value of attribute format.



17
18
19
# File 'lib/free-image/errors.rb', line 17

def format
  @format
end