Exception: Magick::BinMagick::IOError

Inherits:
BinMagickError show all
Defined in:
lib/rmagick/bin_magick/bin_magick_error.rb

Overview

Raises on an I/O operation fail.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ IOError

Returns a new instance of IOError.



23
24
25
26
# File 'lib/rmagick/bin_magick/bin_magick_error.rb', line 23

def initialize(message)
  @message = message
  super
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



21
22
23
# File 'lib/rmagick/bin_magick/bin_magick_error.rb', line 21

def message
  @message
end