idati / colorizr

colorize String => ruby gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

colorizr (colorize String => ruby gem)

##Overview/Summary The colorizr Gem, written in ruby, colorize your String in different colors. Simular to the Colorize Gem. Technically spoken the colorizr Gem reopen the class_methods.rb from the colorize Gem and changes the colors. ###features

p String.colors
String.sample_colors
"Thats a String".new_color
##Usage instructions First of all to see which colors are available use the command
p String.colors

The command "String.sample_colors" shows you examples of the output.

String.sample_colors

Finally the example String "Hello World" should be drawn in red

"Hello World".red

##Installation instructions using thisdefault settings.

gem install colorizr-0.0.3.gem

About

colorize String => ruby gem


Languages

Language:Ruby 100.0%