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: 219 of 197,085
Downloads: 248,251,739

Daily

Ranking: 274 of 197,066
Downloads: 47,838

Depended by

RankDownloadsName
243226,521,708xcodeproj
375141,294,039cocoapods
427126,795,128danger
466117,706,160cork
1,94716,771,948r10k
6,766840,964rake_terraform
7,201722,607rake_docker
7,335694,119sym
10,016352,884cocoapods-update-if-you-dare
10,782300,348xcprofiler
12,295227,105m-git
14,957152,666rake_ssh
15,370145,028rake_github
15,772138,045rake_circle_ci
19,48794,392cocoaseeds
20,03490,084simple-feed
20,39887,419gct
21,19882,214rake_git_crypt
21,70379,217clintegracon
21,95877,655require_dir

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster