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,895 of 192,062
Downloads: 100,649
Daily
Ranking: 20,569 of 192,034
Downloads: 40
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 41,499 | 29,736 | gom-script |
| 51,857 | 22,007 | klear |
| 66,034 | 15,771 | tg-can-controls-gateway |
| 74,271 | 13,254 | mssql_mysql_migrator |
| 96,070 | 8,814 | ascii-tracker |
| 132,625 | 4,808 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,334,693,029 | bundler |
| 8 | 1,289,326,548 | rake |
| 22 | 1,127,799,615 | rspec-mocks |
| 29 | 969,971,018 | rspec |
| 102 | 451,934,879 | byebug |
| 158 | 309,484,877 | daemons |
| 399 | 123,278,881 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |