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 198,430
Downloads: 255,242,996
Daily
Ranking: 201 of 198,401
Downloads: 241,230
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 243 | 232,622,352 | xcodeproj |
| 376 | 144,082,689 | cocoapods |
| 433 | 129,294,660 | danger |
| 467 | 120,104,368 | cork |
| 1,956 | 16,901,303 | r10k |
| 6,812 | 843,078 | rake_terraform |
| 7,267 | 723,744 | rake_docker |
| 7,348 | 706,874 | sym |
| 9,906 | 371,318 | cocoapods-update-if-you-dare |
| 10,872 | 302,177 | xcprofiler |
| 12,410 | 227,206 | m-git |
| 15,044 | 153,947 | rake_ssh |
| 15,416 | 147,037 | rake_github |
| 15,822 | 139,423 | rake_circle_ci |
| 19,640 | 94,743 | cocoaseeds |
| 20,068 | 91,366 | simple-feed |
| 20,535 | 87,910 | gct |
| 21,180 | 83,537 | rake_git_crypt |
| 21,357 | 82,367 | require_dir |
| 21,551 | 81,242 | clintegracon |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |