Exception: Magick::BinMagick::DestroyedImageError

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

Overview

Raises when an Magick::BinMagick::Image instance is being initialized with a destroyed image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ DestroyedImageError

Returns a new instance of DestroyedImageError.



35
36
37
38
# File 'lib/rmagick/bin_magick/bin_magick_error.rb', line 35

def initialize(message)
  @message = message
  super
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



33
34
35
# File 'lib/rmagick/bin_magick/bin_magick_error.rb', line 33

def message
  @message
end