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: 229 of 182,595
Downloads: 153,823,507
Daily
Ranking: 194 of 182,583
Downloads: 137,910
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
240 | 145,153,964 | xcodeproj |
361 | 98,149,407 | cocoapods |
435 | 81,253,453 | danger |
510 | 74,698,971 | cork |
1,655 | 14,562,276 | r10k |
5,758 | 787,469 | rake_terraform |
6,108 | 684,517 | rake_docker |
7,465 | 426,114 | sym |
9,699 | 252,618 | xcprofiler |
10,313 | 223,828 | m-git |
11,437 | 181,633 | cocoapods-update-if-you-dare |
14,465 | 118,546 | rake_ssh |
15,901 | 100,337 | rake_circle_ci |
16,319 | 96,129 | rake_github |
17,960 | 82,104 | cocoaseeds |
19,173 | 74,122 | gct |
19,834 | 70,450 | simple-feed |
23,082 | 56,525 | require_dir |
23,704 | 54,434 | dupervisor |
26,246 | 47,122 | clintegracon |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |