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 197,744
Downloads: 251,592,117

Daily

Ranking: 342 of 197,724
Downloads: 250,437

Depended by

RankDownloadsName
242229,483,340xcodeproj
375142,686,991cocoapods
432128,035,821danger
466118,883,651cork
1,94916,833,421r10k
6,792841,957rake_terraform
7,234723,020rake_docker
7,335700,064sym
9,939362,945cocoapods-update-if-you-dare
10,826301,208xcprofiler
12,344227,137m-git
14,988153,400rake_ssh
15,370146,178rake_github
15,784138,883rake_circle_ci
19,55594,540cocoaseeds
20,06090,595simple-feed
20,47287,606gct
21,14383,076rake_git_crypt
21,61780,135clintegracon
21,62780,049require_dir

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster