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,773 of 189,968
Downloads: 99,921
Daily
Ranking: 50,715 of 189,933
Downloads: 3
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 41,138 | 29,556 | gom-script |
| 51,495 | 21,835 | klear |
| 65,596 | 15,676 | tg-can-controls-gateway |
| 74,018 | 13,117 | mssql_mysql_migrator |
| 95,571 | 8,757 | ascii-tracker |
| 131,995 | 4,774 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,223,052,755 | bundler |
| 8 | 1,249,142,844 | rake |
| 21 | 1,108,011,513 | rspec-mocks |
| 29 | 955,025,919 | rspec |
| 102 | 443,018,525 | byebug |
| 153 | 307,130,062 | daemons |
| 393 | 121,244,048 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |