Categories: None [Edit]

colored2

https://rubygems.org/gems/colored2
https://github.com/kigster/colored2
This is a heavily modified fork of http://github.com/defunkt/colored gem, with many sensible pull requests combined. Since the authors of the original gem no longer support it, this might, perhaps, be considered a good alternative. Simple gem that adds various color methods to String class, and can be used as follows: require 'colored2' puts 'this is red'.red puts 'this is red with a yellow background'.red.on.yellow puts 'this is red with and italic'.red.italic puts 'this is green bold'.green.bold << ' and regular'.green puts 'this is really bold blue on white but reversed'.bold.blue.on.white.reversed puts 'this is regular, but '.red! << 'this is red '.yellow! << ' and yellow.'.no_color! puts ('this is regular, but '.red! do 'this is red '.yellow! do ' and yellow.'.no_color! end end)

Total

Ranking: 218 of 187,224
Downloads: 200,018,665

Daily

Ranking: 207 of 187,196
Downloads: 152,109

Depended by

RankDownloadsName
236184,522,223xcodeproj
362119,492,439cocoapods
422107,699,445danger
44599,715,493cork
1,81315,703,842r10k
6,171817,929rake_terraform
6,573704,250rake_docker
7,145577,255sym
10,066281,220xcprofiler
11,173227,176cocoapods-update-if-you-dare
11,223225,509m-git
14,336138,456rake_ssh
15,361122,515rake_circle_ci
15,571119,631rake_github
18,63187,690cocoaseeds
19,67580,332gct
19,79279,574simple-feed
21,87768,025rake_git_crypt
23,48161,344require_dir
24,19658,889dupervisor

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster