Class: IconGenerator::Error
- Inherits:
-
Thor::Error
- Object
- Thor::Error
- IconGenerator::Error
- Defined in:
- lib/icon_generator/error.rb
Instance Method Summary collapse
-
#initialize(message = "Icon generation failed") ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = "Icon generation failed") ⇒ Error
Returns a new instance of Error.
3 4 5 |
# File 'lib/icon_generator/error.rb', line 3 def initialize( = "Icon generation failed") super(Thor::Shell::Color.new.set_color , :red) end |