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: 223 of 199,228
Downloads: 258,779,239

Daily

Ranking: 225 of 199,184
Downloads: 240,974

Depended by

RankDownloadsName
244235,634,911xcodeproj
379145,411,228cocoapods
434130,463,962danger
466121,237,522cork
1,96516,971,966r10k
6,837845,447rake_terraform
7,307725,108rake_docker
7,362713,107sym
9,833381,577cocoapods-update-if-you-dare
10,911302,662xcprofiler
12,477227,312m-git
15,086154,771rake_ssh
15,429148,312rake_github
15,850140,337rake_circle_ci
19,73195,105cocoaseeds
20,09892,177simple-feed
20,56288,523gct
21,06785,023require_dir
21,13784,621rake_git_crypt
21,47182,495clintegracon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster