All Projects → defunkt → Colored

defunkt / Colored

Licence: mit
Colors in your terminal. Unmaintained.

Programming Languages

ruby
36898 projects - #4 most used programming language

cute.

puts "this is red".red

puts "this is red with a blue background (read: ugly)".red_on_blue

puts "this is red with an underline".red.underline

puts "this is really bold and really blue".bold.blue

logger.debug "hey this is broken!".red_on_yellow # in rails

puts Color.red "This is red" # but this part is mostly untested

Windows users: You will need the Win32 Console Ansi gem. Get it:

$ gem install win32console

chris[at]ozmm[dot]org => http://github.com/defunkt

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].