andrewtdunn / colorizr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Summary

A gem to add color to terminal output.

##Usage

To include in code:

require 'colorizr'

To see a sample list of available colors:

String.sample_colors

To use on any string :

"Sample String".(color_name)

Example:

puts "Julio".green prints "Julio" in green to the terminal

##Installation

within project directory:

  • gem build colorizr.gemspec
  • gem install colorizr-0.0.1.gem

About


Languages

Language:Ruby 100.0%