Module: Hanami::Utils::ShellColor
- Defined in:
- gems/gems/hanami-utils-1.3.3/lib/hanami/utils/shell_color.rb,
gems/gems/hanami-utils-1.3.8/lib/hanami/utils/shell_color.rb
Overview
Shell helper for colorizing STDOUT
It doesn’t check if you’re writing to a file or anything, so you have to check that yourself before using this module.
Defined Under Namespace
Classes: UnknownColorCodeError
Class Method Summary collapse
-
.call(input, color:) ⇒ String
Colorizes output 8 colors available: black, red, green, yellow, blue, magenta, cyan, and gray.