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: 229 of 182,595
Downloads: 153,823,507

Daily

Ranking: 194 of 182,583
Downloads: 137,910

Depended by

RankDownloadsName
240145,153,964xcodeproj
36198,149,407cocoapods
43581,253,453danger
51074,698,971cork
1,65514,562,276r10k
5,758787,469rake_terraform
6,108684,517rake_docker
7,465426,114sym
9,699252,618xcprofiler
10,313223,828m-git
11,437181,633cocoapods-update-if-you-dare
14,465118,546rake_ssh
15,901100,337rake_circle_ci
16,31996,129rake_github
17,96082,104cocoaseeds
19,17374,122gct
19,83470,450simple-feed
23,08256,525require_dir
23,70454,434dupervisor
26,24647,122clintegracon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster