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: 15,993 of 180,543
Downloads: 93,686
Daily
Ranking: 18,561 of 180,534
Downloads: 22
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
38,532 | 26,952 | gom-script |
49,120 | 19,602 | klear |
61,652 | 14,457 | tg-can-controls-gateway |
72,685 | 11,391 | mssql_mysql_migrator |
91,070 | 7,988 | ascii-tracker |
126,925 | 4,312 | usb-detection-sensor |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,086,615,891 | bundler |
13 | 874,703,326 | rspec-mocks |
16 | 857,173,529 | rake |
23 | 769,656,811 | rspec |
93 | 322,795,471 | byebug |
130 | 242,066,331 | daemons |
388 | 83,239,735 | guard-rspec |
Owners
# | Gravatar | Handle |
---|---|---|
1 | joe-sixpack |