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,402
Downloads: 135,079,785
Daily
Ranking: 192 of 180,392
Downloads: 137,543
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
243 | 129,404,675 | xcodeproj |
358 | 89,084,826 | cocoapods |
488 | 70,483,782 | danger |
590 | 64,411,672 | cork |
1,574 | 14,168,836 | r10k |
5,573 | 763,782 | rake_terraform |
5,913 | 665,460 | rake_docker |
7,828 | 348,977 | sym |
9,545 | 238,994 | xcprofiler |
9,963 | 220,675 | m-git |
11,688 | 161,727 | cocoapods-update-if-you-dare |
14,779 | 106,494 | rake_ssh |
16,964 | 84,902 | rake_circle_ci |
17,609 | 80,008 | rake_github |
17,661 | 79,603 | cocoaseeds |
19,142 | 70,310 | gct |
20,629 | 63,052 | simple-feed |
22,791 | 54,553 | require_dir |
23,414 | 52,510 | dupervisor |
25,701 | 46,115 | clintegracon |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |