Module | Nanoc::CLI::ANSIStringColorizer |
In: |
lib/nanoc/cli/ansi_string_colorizer.rb
|
A simple ANSI colorizer for strings. When given a string and a list of attributes, it returns a colorized string.
MAPPING | = | { :bold => "\e[1m", :red => "\e[31m", :green => "\e[32m", :yellow => "\e[33m", :blue => "\e[34m" | TODO complete mapping |