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: 225 of 183,092
Downloads: 158,268,205
Daily
Ranking: 190 of 183,073
Downloads: 155,665
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
238 | 149,629,968 | xcodeproj |
363 | 100,314,629 | cocoapods |
428 | 83,794,221 | danger |
493 | 77,083,764 | cork |
1,678 | 14,641,284 | r10k |
5,801 | 790,842 | rake_terraform |
6,142 | 687,605 | rake_docker |
7,396 | 444,801 | sym |
9,734 | 255,617 | xcprofiler |
10,402 | 224,168 | m-git |
11,380 | 187,082 | cocoapods-update-if-you-dare |
14,464 | 120,588 | rake_ssh |
15,834 | 102,445 | rake_circle_ci |
16,215 | 98,438 | rake_github |
18,048 | 82,506 | cocoaseeds |
19,227 | 74,802 | gct |
19,833 | 71,393 | simple-feed |
23,120 | 57,048 | require_dir |
23,730 | 54,934 | dupervisor |
25,688 | 49,099 | rake_git_crypt |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |