Categories: None [Edit]
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: 222 of 184,150
Downloads: 168,535,751
Daily
Ranking: 199 of 184,132
Downloads: 156,338
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
239 | 158,659,036 | xcodeproj |
365 | 104,934,563 | cocoapods |
422 | 90,050,946 | danger |
463 | 82,976,622 | cork |
1,723 | 14,876,475 | r10k |
5,886 | 798,902 | rake_terraform |
6,239 | 693,046 | rake_docker |
7,314 | 477,643 | sym |
9,873 | 260,194 | xcprofiler |
10,624 | 224,494 | m-git |
11,354 | 195,549 | cocoapods-update-if-you-dare |
14,287 | 127,199 | rake_ssh |
15,511 | 109,524 | rake_circle_ci |
15,807 | 105,850 | rake_github |
18,248 | 83,486 | cocoaseeds |
19,306 | 76,308 | gct |
19,800 | 73,349 | simple-feed |
23,149 | 58,216 | require_dir |
23,780 | 56,111 | rake_git_crypt |
23,789 | 56,082 | dupervisor |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |