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: 223 of 199,228
Downloads: 258,779,239
Daily
Ranking: 225 of 199,184
Downloads: 240,974
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 244 | 235,634,911 | xcodeproj |
| 379 | 145,411,228 | cocoapods |
| 434 | 130,463,962 | danger |
| 466 | 121,237,522 | cork |
| 1,965 | 16,971,966 | r10k |
| 6,837 | 845,447 | rake_terraform |
| 7,307 | 725,108 | rake_docker |
| 7,362 | 713,107 | sym |
| 9,833 | 381,577 | cocoapods-update-if-you-dare |
| 10,911 | 302,662 | xcprofiler |
| 12,477 | 227,312 | m-git |
| 15,086 | 154,771 | rake_ssh |
| 15,429 | 148,312 | rake_github |
| 15,850 | 140,337 | rake_circle_ci |
| 19,731 | 95,105 | cocoaseeds |
| 20,098 | 92,177 | simple-feed |
| 20,562 | 88,523 | gct |
| 21,067 | 85,023 | require_dir |
| 21,137 | 84,621 | rake_git_crypt |
| 21,471 | 82,495 | clintegracon |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |