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: 233 of 180,416
Downloads: 134,772,359
Daily
Ranking: 192 of 180,403
Downloads: 127,626
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
243 | 129,125,854 | xcodeproj |
358 | 88,917,018 | cocoapods |
490 | 70,319,686 | danger |
591 | 64,254,107 | cork |
1,573 | 14,157,837 | r10k |
5,570 | 763,302 | rake_terraform |
5,909 | 664,855 | rake_docker |
7,841 | 347,244 | sym |
9,542 | 238,859 | xcprofiler |
9,967 | 220,574 | m-git |
11,709 | 161,161 | cocoapods-update-if-you-dare |
14,787 | 106,378 | rake_ssh |
16,981 | 84,708 | rake_circle_ci |
17,637 | 79,795 | rake_github |
17,673 | 79,541 | cocoaseeds |
19,156 | 70,210 | gct |
20,661 | 62,922 | simple-feed |
22,797 | 54,536 | require_dir |
23,423 | 52,500 | dupervisor |
25,709 | 46,093 | clintegracon |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |