Sha256: cf870be174f0569d8ef7d6ae1587f173e63b205a5d88e9f09232d5659d99938d
Contents?: true
Size: 257 Bytes
Versions: 8
Compression:
Stored size: 257 Bytes
Contents
require "thor/error" require "thor/shell/color" module Prez class Error < Thor::Error def initialize(msg) super colorize(msg) end private def colorize(msg) Thor::Shell::Color.new.set_color msg, :red, :bold end end end
Version data entries
8 entries across 8 versions & 1 rubygems