Exception: SpriteFactory::Library::ImageMagick::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SpriteFactory::Library::ImageMagick::Error
- Defined in:
- lib/sprite_factory/library/image_magick.rb
Overview
Represents an error from an underlying ImageMagick call
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(msg, command, args, output) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, command, args, output) ⇒ Error
Returns a new instance of Error.
11 12 13 14 15 16 |
# File 'lib/sprite_factory/library/image_magick.rb', line 11 def initialize(msg, command, args, output) super(msg) @command = command @args = args @output = output end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
8 9 10 |
# File 'lib/sprite_factory/library/image_magick.rb', line 8 def args @args end |
#command ⇒ Object (readonly)
Returns the value of attribute command.
7 8 9 |
# File 'lib/sprite_factory/library/image_magick.rb', line 7 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
9 10 11 |
# File 'lib/sprite_factory/library/image_magick.rb', line 9 def output @output end |