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
- Fork it ( https://github.com/YouSysAdmin/ruby_string_color/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request