Categories: None [Edit]

colored2

https://rubygems.org/gems/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: 575 of 155,931
Downloads: 16,011,712

Daily

Ranking: 273 of 155,910
Downloads: 46,760

Depended by

RankDownloadsName
25030,602,778xcodeproj
51319,585,589cocoapods
8678,208,927danger
9357,145,422cork
6,688132,707sym
7,537105,709rake_terraform
8,43487,002rake_docker
9,04878,106xcprofiler
14,95837,942cocoaseeds
16,50133,432cocoapods-update-if-you-dare
20,15325,569clintegracon
27,33917,461require_dir
28,98316,246dupervisor
31,72014,532simple-feed
48,0658,607shhh
51,8987,754arli
52,8577,566dnsmadeeasy
61,8046,086stool
67,5005,308arduino-library
68,8915,147ormdev

Depends on

RankDownloadsName
6455,434,847rspec
11320,164,333rake
8329,077,580codeclimate-test-reporter

Owners

#GravatarHandle
1iconkigster