colorputs
Color in p and puts method!
Description
Colorputs provides a beatiful color printing for Ruby console-based applications
Instalation
gem install colorputs
Examples of usage
p 'Hello world!', :red
Will print out "Hello world!" colored in red.
Availables colors and modes
Symbol | Color/Mode |
---|---|
:red | Red |
:blue | Blue |
:green | Green |
:yellow | Yellow |
:cyan | Cyan |
:magenta | Magenta |
:white | White |
:black | Black |
:rainbow | Rainbow colors! |