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,490 of 187,922
Downloads: 98,922
Daily
Ranking: 21,298 of 187,912
Downloads: 23
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 40,670 | 29,171 | gom-script |
| 51,083 | 21,482 | klear |
| 64,937 | 15,506 | tg-can-controls-gateway |
| 73,685 | 12,867 | mssql_mysql_migrator |
| 94,689 | 8,654 | ascii-tracker |
| 131,215 | 4,699 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,041,798,299 | bundler |
| 10 | 1,176,150,329 | rake |
| 19 | 1,075,332,750 | rspec-mocks |
| 28 | 929,651,273 | rspec |
| 100 | 427,613,359 | byebug |
| 145 | 303,095,292 | daemons |
| 390 | 117,718,080 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |