Small Ruby library that colors strings using ANSI escape sequences.
It's possible to use constants:
include Term::ANSIColor
print red, bold, "red bold", reset, "\n"
or
print red(bold("red bold")), "\n"
WWW: http://term-ansicolor.rubyforge.org/
devel/ruby-term-ansicolor: Update and move origin
term-ansicolor is now a rubygem, and is at version 1.1.4.
PR: ports/177856
Approved by: maintainer timeout (clsung, 16 days)
Small Ruby library that colors strings using ANSI escape sequences.
It's possible to use constants:
include Term::ANSIColor
print red, bold, "red bold", reset, "\n"
or
print red(bold("red bold")), "\n"
WWW: http://term-ansicolor.rubyforge.org/