Sha256: d4a0f57b6080b70b2d4b52476404a1073f55676311211ab02b31da918b060c9e
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
module IconGenerator class Error < Thor::Error # 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 def initialize(message = "Icon generation failed") super(Thor::Shell::Color.new.set_color message, :red) end end end
Version data entries
4 entries across 4 versions & 1 rubygems