0.0
Low commit activity in last 3 years
No release in over a year
Colorize strings for terminal output
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.3
~> 13.0
 Project Readme

Gem Version

StringColor

Output color text in console

Installation

Add this line to your application's Gemfile:

gem 'string_color'

And then execute:

$ bundle

Or install it yourself as:

$ gem install string_color

Usage

puts "This is red text".red

Available color

  • White - white
  • Red - red
  • Light red - light_red
  • Green - green
  • Light green - light_green
  • Yellow - yellow
  • Blue - blue
  • Light blue - light_blue
  • Purple - purple
  • Light purple - light_purple
  • Brown - brown
  • Cyan - cyan
  • Light cyan - light_cyan
  • Light gray - light_gray
  • Dark gray - dark_gray

Contributing

  1. Fork it ( https://github.com/YouSysAdmin/ruby_string_color/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request