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 184,912
Downloads: 176,896,589
Daily
Ranking: 197 of 184,894
Downloads: 115,787
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
237 | 165,543,783 | xcodeproj |
361 | 109,046,266 | cocoapods |
415 | 95,382,059 | danger |
445 | 88,066,506 | cork |
1,750 | 15,078,297 | r10k |
5,963 | 802,411 | rake_terraform |
6,330 | 695,242 | rake_docker |
7,299 | 497,326 | sym |
9,932 | 264,034 | xcprofiler |
10,750 | 224,682 | m-git |
11,298 | 202,510 | cocoapods-update-if-you-dare |
14,230 | 130,335 | rake_ssh |
15,394 | 112,876 | rake_circle_ci |
15,687 | 109,275 | rake_github |
18,388 | 83,828 | cocoaseeds |
19,437 | 76,738 | gct |
19,766 | 74,641 | simple-feed |
23,045 | 59,431 | rake_git_crypt |
23,142 | 59,117 | require_dir |
23,773 | 56,980 | dupervisor |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |