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,343 of 196,694
Downloads: 103,703
Daily
Ranking: 17,208 of 196,654
Downloads: 22
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 42,366 | 30,275 | gom-script |
| 52,470 | 22,598 | klear |
| 67,002 | 16,117 | tg-can-controls-gateway |
| 74,978 | 13,643 | mssql_mysql_migrator |
| 97,328 | 9,017 | ascii-tracker |
| 134,673 | 4,915 | usb-detection-sensor |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,725,968,350 | bundler |
| 8 | 1,410,025,467 | rake |
| 22 | 1,190,681,926 | rspec-mocks |
| 29 | 1,017,686,770 | rspec |
| 108 | 478,522,782 | byebug |
| 168 | 316,260,265 | daemons |
| 414 | 129,457,531 | guard-rspec |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | joe-sixpack |