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,327 of 196,079
Downloads: 103,195
Daily
Ranking: 20,345 of 196,051
Downloads: 23
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 42,237 | 30,260 | gom-script |
| 52,413 | 22,550 | klear |
| 66,876 | 16,107 | tg-can-controls-gateway |
| 74,845 | 13,632 | mssql_mysql_migrator |
| 97,160 | 9,012 | ascii-tracker |
| 134,343 | 4,911 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,664,465,017 | bundler |
| 8 | 1,393,380,379 | rake |
| 22 | 1,181,077,377 | rspec-mocks |
| 29 | 1,010,274,160 | rspec |
| 108 | 474,791,946 | byebug |
| 168 | 315,336,941 | daemons |
| 411 | 128,590,571 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |