Exception: FreeImage::Error
- Inherits:
-
StandardError
- Object
- StandardError
- FreeImage::Error
- Defined in:
- lib/free-image/errors.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
readonly
Returns the value of attribute format.
Instance Method Summary collapse
-
#initialize(format, message) ⇒ Error
constructor
A new instance of Error.
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, ) @format = format super() end |
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format.
17 18 19 |
# File 'lib/free-image/errors.rb', line 17 def format @format end |