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,560 of 198,843
Downloads: 104,965
Daily
Ranking: 16,774 of 198,817
Downloads: 66
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 42,855 | 30,500 | gom-script |
| 53,107 | 22,772 | klear |
| 67,095 | 16,473 | tg-can-controls-gateway |
| 75,652 | 13,795 | mssql_mysql_migrator |
| 98,328 | 9,091 | ascii-tracker |
| 136,045 | 4,957 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,982,684,715 | bundler |
| 8 | 1,472,449,177 | rake |
| 22 | 1,227,223,870 | rspec-mocks |
| 29 | 1,044,925,331 | rspec |
| 109 | 493,203,598 | byebug |
| 174 | 319,651,022 | daemons |
| 424 | 132,722,582 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |