The Ruby ANSI project is a brilliant collection of ANSI escape code related libraries enabling ANSI code based colorization and stylization of console output in a variety of formats and layouts.

Included in the library are the Code module, which is the heart of the system, a Mixin module for including color methods into your own classes, a Logger, a ProgressBar, a String subclass and more. The library also includes a Terminal module which provides information about the current output device.

Click Here to Learn More