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: 232 of 181,568
Downloads: 144,570,278

Daily

Ranking: 195 of 181,553
Downloads: 192,584

Depended by

RankDownloadsName
241137,459,295xcodeproj
35994,100,815cocoapods
45475,736,207danger
56469,449,411cork
1,62214,392,400r10k
5,654778,934rake_terraform
6,010678,264rake_docker
7,611392,020sym
9,651245,701xcprofiler
10,168221,992m-git
11,520173,391cocoapods-update-if-you-dare
14,737111,154rake_ssh
16,44392,460rake_circle_ci
16,94988,055rake_github
17,82481,299cocoaseeds
19,07972,944gct
20,26666,835simple-feed
23,01055,603require_dir
23,62653,541dupervisor
26,02746,782clintegracon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster