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 180,702
Downloads: 137,570,018

Daily

Ranking: 210 of 180,689
Downloads: 93,117

Depended by

RankDownloadsName
242131,653,158xcodeproj
35790,490,591cocoapods
48271,805,955danger
58265,666,774cork
1,59114,241,267r10k
5,599767,747rake_terraform
5,949669,641rake_docker
7,741362,304sym
9,592239,962xcprofiler
10,025221,235m-git
11,655164,649cocoapods-update-if-you-dare
14,783107,496rake_ssh
16,83686,735rake_circle_ci
17,43882,079rake_github
17,71980,054cocoaseeds
19,14770,933gct
20,53864,027simple-feed
22,83954,881require_dir
23,47152,830dupervisor
25,79446,296clintegracon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster