Module: ANSI::Constants

### Home Classes Methods

### In Files

- lib/ansi/constants.rb

### Files

- COPYING.rdoc
- DEMO.rdoc
- HISTORY.rdoc
- README.rdoc

### Class/Module Index

Quicksearch

- ANSI
- ANSI::BBCode
- ANSI::Chain
- ANSI::Code
- ANSI::Columns
- ANSI::Constants
- ANSI::Diff
- ANSI::HexDump
- ANSI::Logger
- ANSI::Mixin
- ANSI::ProgressBar
- ANSI::String
- ANSI::Table
- ANSI::Terminal
- Object
- String

No matching classes.

# ANSI::Constants

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.

[Validate]

Generated with the Darkfish Rdoc Generator 2.