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: 218 of 186,938
Downloads: 197,617,935
Daily
Ranking: 216 of 186,929
Downloads: 142,370
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
237 | 182,286,533 | xcodeproj |
366 | 118,307,807 | cocoapods |
420 | 106,652,500 | danger |
441 | 98,742,852 | cork |
1,809 | 15,629,352 | r10k |
6,155 | 815,891 | rake_terraform |
6,546 | 702,508 | rake_docker |
7,172 | 567,313 | sym |
10,039 | 279,520 | xcprofiler |
11,157 | 225,324 | m-git |
11,195 | 224,223 | cocoapods-update-if-you-dare |
14,297 | 137,690 | rake_ssh |
15,348 | 121,265 | rake_circle_ci |
15,570 | 118,237 | rake_github |
18,633 | 86,850 | cocoaseeds |
19,662 | 79,602 | gct |
19,762 | 78,880 | simple-feed |
21,884 | 67,331 | rake_git_crypt |
23,418 | 60,969 | require_dir |
24,097 | 58,623 | dupervisor |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |