Ansicode

  http://death.rubyforge.org

DESCRIPTION

Module which makes it very easy to use ANSI codes. This is very nice for beautifying shell output.

FEATURES/ISSUES

RELEASE NOTES

Please see RELEASE file.

SYNOPSIS

The ANSICode module defines ANSI codes as methods.

   include ANSICode

   p red, "Hello", blue, "World"
   => "\e[31mHello\e[34mWorld"

   p red { "Hello" } + blue { "World" }
   => "\e[31mHello\e[0m\e[34mWorld\e[0m"

Thes mehods can also be called as module methods, eg. ‘ANSICode.red’.

HOW TO INSTALL

Describe your installation procedure here.

To install with RubyGems simply open a console and type:

  gem install ansicode

Local installation requires Setup.rb (gem install setup), then download the tarball package and type:

  tar -xvzf ansicode-1.0.0.tgz
  cd ansicode-1.0.0
  sudo setup.rb all

Windows users use ‘ruby setup.rb all’.

COPYING

Copyright © 2004 Coding Dead

This program is ditributed unser the terms of the LGPLv3 license.

See LICENSE file for details.

Files

Classes/Modules

Methods

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.