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: 218 of 187,922
Downloads: 204,883,570

Daily

Ranking: 201 of 187,912
Downloads: 165,502

Depended by

RankDownloadsName
238188,995,931xcodeproj
361121,890,734cocoapods
421109,828,549danger
448101,715,933cork
1,83815,829,247r10k
6,222820,799rake_terraform
6,616707,235rake_docker
7,108596,774sym
10,117283,766xcprofiler
11,131233,085cocoapods-update-if-you-dare
11,322225,797m-git
14,375140,047rake_ssh
15,365124,212rake_circle_ci
15,506122,267rake_github
18,68488,599cocoaseeds
19,71681,282gct
19,81880,585simple-feed
21,80769,357rake_git_crypt
23,55261,947require_dir
24,28859,353dupervisor

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster