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: 221 of 183,471
Downloads: 161,985,424

Daily

Ranking: 207 of 183,459
Downloads: 72,281

Depended by

RankDownloadsName
238153,108,041xcodeproj
362102,057,288cocoapods
42386,049,451danger
47879,202,191cork
1,69514,712,867r10k
5,833793,781rake_terraform
6,172689,811rake_docker
7,376454,710sym
9,772257,230xcprofiler
10,467224,288m-git
11,365189,657cocoapods-update-if-you-dare
14,390122,963rake_ssh
15,703105,010rake_circle_ci
16,056101,164rake_github
18,11982,869cocoaseeds
19,26475,333gct
19,78572,338simple-feed
23,09657,537require_dir
23,71955,422dupervisor
24,91451,657rake_git_crypt

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster