>> 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

Required Ruby Version

None

Authors

Chris Wanstrath

Versions

  1. 1.2 February 10, 2010 (5.5 KB)
  2. 1.1 July 25, 2007 (4.5 KB)
  3. 1.0 November 09, 2006 (4 KB)

SHA 256 checksum