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 186,938
Downloads: 197,617,935

Daily

Ranking: 216 of 186,929
Downloads: 142,370

Depended by

RankDownloadsName
237182,286,533xcodeproj
366118,307,807cocoapods
420106,652,500danger
44198,742,852cork
1,80915,629,352r10k
6,155815,891rake_terraform
6,546702,508rake_docker
7,172567,313sym
10,039279,520xcprofiler
11,157225,324m-git
11,195224,223cocoapods-update-if-you-dare
14,297137,690rake_ssh
15,348121,265rake_circle_ci
15,570118,237rake_github
18,63386,850cocoaseeds
19,66279,602gct
19,76278,880simple-feed
21,88467,331rake_git_crypt
23,41860,969require_dir
24,09758,623dupervisor

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster