Project

c32

0.0
No commit activity in last 3 years
No release in over 3 years
Makes it easier to read debug messages using coloured text.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Introducing the c32 gem

Usage

require 'c32'

class Tester
  using ColouredText

  def foo()
    
    puts "ColouredText".highlight + ' provided by the ' + "c32".bold + ' gem'
    puts 
    puts "wow".debug
    puts "no action taken".warn
    puts "something went wrong".error
    puts "Connected ".info
  end
end

Tester.new.foo

Sample output

screenshot of coloured text in the command-line

Resources

colouredtext color colour text gem debug colorize colourize