Module: ANSI::Constants

Included in:
Code
Defined in:
lib/ansi/constants.rb

Overview

Converts CHART and SPECIAL_CHART entries into constants. So for example, the CHART entry for :red becomes:

ANSI::Constants::RED  #=> "\e[31m"

The ANSI Constants are include into ANSI::Code and can be included any where will they would be of use.