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: 233 of 180,416
Downloads: 134,772,359

Daily

Ranking: 192 of 180,403
Downloads: 127,626

Depended by

RankDownloadsName
243129,125,854xcodeproj
35888,917,018cocoapods
49070,319,686danger
59164,254,107cork
1,57314,157,837r10k
5,570763,302rake_terraform
5,909664,855rake_docker
7,841347,244sym
9,542238,859xcprofiler
9,967220,574m-git
11,709161,161cocoapods-update-if-you-dare
14,787106,378rake_ssh
16,98184,708rake_circle_ci
17,63779,795rake_github
17,67379,541cocoaseeds
19,15670,210gct
20,66162,922simple-feed
22,79754,536require_dir
23,42352,500dupervisor
25,70946,093clintegracon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconkigster