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: 16,024 of 180,671
Downloads: 93,802
Daily
Ranking: 22,234 of 180,660
Downloads: 23
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
38,556 | 26,999 | gom-script |
49,176 | 19,639 | klear |
61,717 | 14,482 | tg-can-controls-gateway |
72,698 | 11,418 | mssql_mysql_migrator |
91,154 | 7,998 | ascii-tracker |
127,006 | 4,318 | usb-detection-sensor |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,101,349,740 | bundler |
13 | 877,610,073 | rspec-mocks |
16 | 861,639,035 | rake |
24 | 771,889,602 | rspec |
93 | 324,370,824 | byebug |
130 | 243,048,943 | daemons |
388 | 83,665,783 | guard-rspec |
Owners
# | Gravatar | Handle |
---|---|---|
1 | joe-sixpack |