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: 17,562 of 188,339
Downloads: 99,267
Daily
Ranking: 16,550 of 188,315
Downloads: 25
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 40,791 | 29,316 | gom-script |
| 51,229 | 21,595 | klear |
| 65,070 | 15,586 | tg-can-controls-gateway |
| 73,754 | 12,966 | mssql_mysql_migrator |
| 94,902 | 8,703 | ascii-tracker |
| 131,422 | 4,734 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,087,820,008 | bundler |
| 10 | 1,191,537,815 | rake |
| 20 | 1,084,226,097 | rspec-mocks |
| 29 | 936,556,175 | rspec |
| 100 | 431,985,381 | byebug |
| 149 | 304,118,495 | daemons |
| 389 | 118,711,886 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |