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: 233 of 180,402
Downloads: 135,079,785

Daily

Ranking: 192 of 180,392
Downloads: 137,543

Depended by

RankDownloadsName
243129,404,675xcodeproj
35889,084,826cocoapods
48870,483,782danger
59064,411,672cork
1,57414,168,836r10k
5,573763,782rake_terraform
5,913665,460rake_docker
7,828348,977sym
9,545238,994xcprofiler
9,963220,675m-git
11,688161,727cocoapods-update-if-you-dare
14,779106,494rake_ssh
16,96484,902rake_circle_ci
17,60980,008rake_github
17,66179,603cocoaseeds
19,14270,310gct
20,62963,052simple-feed
22,79154,553require_dir
23,41452,510dupervisor
25,70146,115clintegracon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster