class IconGenerator::Error
Public Class Methods
new(message = "Icon generation failed")
click to toggle source
Colors the given error message red and sends it up to Thor::Error's initialize method.
@param message [String] the message for the current Error
Calls superclass method
# File lib/icon_generator/error.rb, line 7 def initialize(message = "Icon generation failed") super(Thor::Shell::Color.new.set_color message, :red) end