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 197,744
Downloads: 251,592,117
Daily
Ranking: 342 of 197,724
Downloads: 250,437
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 242 | 229,483,340 | xcodeproj |
| 375 | 142,686,991 | cocoapods |
| 432 | 128,035,821 | danger |
| 466 | 118,883,651 | cork |
| 1,949 | 16,833,421 | r10k |
| 6,792 | 841,957 | rake_terraform |
| 7,234 | 723,020 | rake_docker |
| 7,335 | 700,064 | sym |
| 9,939 | 362,945 | cocoapods-update-if-you-dare |
| 10,826 | 301,208 | xcprofiler |
| 12,344 | 227,137 | m-git |
| 14,988 | 153,400 | rake_ssh |
| 15,370 | 146,178 | rake_github |
| 15,784 | 138,883 | rake_circle_ci |
| 19,555 | 94,540 | cocoaseeds |
| 20,060 | 90,595 | simple-feed |
| 20,472 | 87,606 | gct |
| 21,143 | 83,076 | rake_git_crypt |
| 21,617 | 80,135 | clintegracon |
| 21,627 | 80,049 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |