Categories: None [Edit]
applix
ApplixHash#from_argv builds hashes from ARGV like argument vectors
according to following examples:
'-f' --> { :f => true }
'--flag' --> { :flag => true }
'--flag:false' --> { :flag => false }
'--flag=false' --> { :flag => 'false' }
'--option=value' --> { :option => "value" }
'--int=1' --> { :int => "1" }
'--float=2.3' --> { :float => "2.3" }
'--float:2.3' --> { :float => 2.3 }
'--txt="foo bar"' --> { :txt => "foo bar" }
'--txt:'"foo bar"'' --> { :txt => "foo bar" }
'--txt:%w{foo bar}' --> { :txt => ["foo", "bar"] }
'--now:Time.now' --> { :now => #<Date: 3588595/2,0,2299161> }
remaining arguments(non flag/options) are inserted as [:arguments,
args], eg:
Hash.from_argv %w(--foo --bar=loo 123 now)
becomes
{ :foo => true, :bar => 'loo', :arguments => ["123", "now"] }
Total
Ranking: 18,070 of 192,565
Downloads: 100,863
Daily
Ranking: 37,775 of 192,541
Downloads: 5
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 41,615 | 29,811 | gom-script |
| 51,964 | 22,081 | klear |
| 66,142 | 15,834 | tg-can-controls-gateway |
| 74,329 | 13,318 | mssql_mysql_migrator |
| 96,277 | 8,839 | ascii-tracker |
| 132,818 | 4,828 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,383,922,898 | bundler |
| 8 | 1,308,632,851 | rake |
| 22 | 1,135,797,542 | rspec-mocks |
| 29 | 975,891,622 | rspec |
| 102 | 455,601,054 | byebug |
| 160 | 310,414,564 | daemons |
| 399 | 124,077,183 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |