aboutsummaryrefslogblamecommitdiff
path: root/devel/ruby-term-ansicolor/pkg-descr
blob: 4009426f937a947d76c5220b412a66a9a40916cc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                    
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/