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: 221 of 183,471
Downloads: 161,985,424
Daily
Ranking: 207 of 183,459
Downloads: 72,281
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
238 | 153,108,041 | xcodeproj |
362 | 102,057,288 | cocoapods |
423 | 86,049,451 | danger |
478 | 79,202,191 | cork |
1,695 | 14,712,867 | r10k |
5,833 | 793,781 | rake_terraform |
6,172 | 689,811 | rake_docker |
7,376 | 454,710 | sym |
9,772 | 257,230 | xcprofiler |
10,467 | 224,288 | m-git |
11,365 | 189,657 | cocoapods-update-if-you-dare |
14,390 | 122,963 | rake_ssh |
15,703 | 105,010 | rake_circle_ci |
16,056 | 101,164 | rake_github |
18,119 | 82,869 | cocoaseeds |
19,264 | 75,333 | gct |
19,785 | 72,338 | simple-feed |
23,096 | 57,537 | require_dir |
23,719 | 55,422 | dupervisor |
24,914 | 51,657 | rake_git_crypt |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |