como 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +5 -0
- data/Rakefile +30 -0
- data/doc/Como/ArgsParseState.html +50 -50
- data/doc/Como/ComoCommon.html +137 -10
- data/doc/Como/MainOpt.html +57 -129
- data/doc/Como/Opt/ErrorWithData.html +10 -10
- data/doc/Como/Opt/InvalidOption.html +1 -1
- data/doc/Como/Opt/MissingArgument.html +1 -1
- data/doc/Como/Opt.html +864 -819
- data/doc/Como/RuleCheck.html +86 -86
- data/doc/Como/RuleDisplay.html +89 -80
- data/doc/Como/Spec.html +297 -170
- data/doc/Como.html +283 -38
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +8 -2
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +183 -147
- data/doc/top-level-namespace.html +1 -1
- data/examples/como_simple +14 -0
- data/examples/como_subcmd +38 -0
- data/lib/como.rb +169 -76
- data/lib/version.rb +11 -0
- data/test/como_rule_1 +1 -1
- data/test/como_subcmd_rule +2 -2
- metadata +5 -2
data/doc/Como/Opt.html
CHANGED
@@ -206,6 +206,7 @@ and "value" methods.</p>
|
|
206
206
|
<span class='symbol'>:check_invalid</span> <span class='op'>=></span> <span class='kw'>true</span><span class='comma'>,</span>
|
207
207
|
<span class='symbol'>:tab</span> <span class='op'>=></span> <span class='int'>12</span><span class='comma'>,</span>
|
208
208
|
<span class='symbol'>:help_exit</span> <span class='op'>=></span> <span class='kw'>true</span><span class='comma'>,</span>
|
209
|
+
<span class='symbol'>:copyright</span> <span class='op'>=></span> <span class='kw'>true</span><span class='comma'>,</span>
|
209
210
|
<span class='rbrace'>}</span></pre></dd>
|
210
211
|
|
211
212
|
</dl>
|
@@ -213,6 +214,12 @@ and "value" methods.</p>
|
|
213
214
|
|
214
215
|
|
215
216
|
|
217
|
+
|
218
|
+
|
219
|
+
<h3 class="inherited">Constants inherited
|
220
|
+
from <span class='object_link'><a href="ComoCommon.html" title="Como::ComoCommon (class)">ComoCommon</a></span></h3>
|
221
|
+
<p class="inherited"><span class='object_link'><a href="ComoCommon.html#VERSION-constant" title="Como::ComoCommon::VERSION (constant)">ComoCommon::VERSION</a></span></p>
|
222
|
+
|
216
223
|
|
217
224
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
218
225
|
<ul class="summary">
|
@@ -633,6 +640,30 @@ and "value" methods.</p>
|
|
633
640
|
<p>Return author.</p>
|
634
641
|
</div></span>
|
635
642
|
|
643
|
+
</li>
|
644
|
+
|
645
|
+
|
646
|
+
<li class="public ">
|
647
|
+
<span class="summary_signature">
|
648
|
+
|
649
|
+
<a href="#configGet-class_method" title="configGet (class method)">+ (Object) <strong>configGet</strong> </a>
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
</span>
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
<span class="summary_desc"><div class='inline'>
|
664
|
+
<p>Return default config for Como options.</p>
|
665
|
+
</div></span>
|
666
|
+
|
636
667
|
</li>
|
637
668
|
|
638
669
|
|
@@ -657,6 +688,30 @@ and "value" methods.</p>
|
|
657
688
|
<p>Overlay Opt default configuration options.</p>
|
658
689
|
</div></span>
|
659
690
|
|
691
|
+
</li>
|
692
|
+
|
693
|
+
|
694
|
+
<li class="public ">
|
695
|
+
<span class="summary_signature">
|
696
|
+
|
697
|
+
<a href="#configSet-class_method" title="configSet (class method)">+ (Object) <strong>configSet</strong>(config) </a>
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
</span>
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
|
707
|
+
|
708
|
+
|
709
|
+
|
710
|
+
|
711
|
+
<span class="summary_desc"><div class='inline'>
|
712
|
+
<p>Set default config for Como options.</p>
|
713
|
+
</div></span>
|
714
|
+
|
660
715
|
</li>
|
661
716
|
|
662
717
|
|
@@ -1918,30 +1973,6 @@ subcommands.</p>
|
|
1918
1973
|
|
1919
1974
|
|
1920
1975
|
|
1921
|
-
<span class="summary_desc"><div class='inline'>
|
1922
|
-
<p>Usage info for Opt:s.</p>
|
1923
|
-
</div></span>
|
1924
|
-
|
1925
|
-
</li>
|
1926
|
-
|
1927
|
-
|
1928
|
-
<li class="public ">
|
1929
|
-
<span class="summary_signature">
|
1930
|
-
|
1931
|
-
<a href="#usageNormalOld-instance_method" title="#usageNormalOld (instance method)">- (Object) <strong>usageNormalOld</strong> </a>
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
</span>
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
1976
|
<span class="summary_desc"><div class='inline'>
|
1946
1977
|
<p>Usage info for Opt:s.</p>
|
1947
1978
|
</div></span>
|
@@ -1986,7 +2017,7 @@ subcommands.</p>
|
|
1986
2017
|
|
1987
2018
|
|
1988
2019
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="ComoCommon.html" title="Como::ComoCommon (class)">ComoCommon</a></span></h3>
|
1989
|
-
<p class="inherited"><span class='object_link'><a href="ComoCommon.html#getIo-class_method" title="Como::ComoCommon.getIo (method)">getIo</a></span>, <span class='object_link'><a href="ComoCommon.html#setIo-class_method" title="Como::ComoCommon.setIo (method)">setIo</a></span></p>
|
2020
|
+
<p class="inherited"><span class='object_link'><a href="ComoCommon.html#getIo-class_method" title="Como::ComoCommon.getIo (method)">getIo</a></span>, <span class='object_link'><a href="ComoCommon.html#runHook-class_method" title="Como::ComoCommon.runHook (method)">runHook</a></span>, <span class='object_link'><a href="ComoCommon.html#setHook-class_method" title="Como::ComoCommon.setHook (method)">setHook</a></span>, <span class='object_link'><a href="ComoCommon.html#setIo-class_method" title="Como::ComoCommon.setIo (method)">setIo</a></span></p>
|
1990
2021
|
<div id="constructor_details" class="method_details_list">
|
1991
2022
|
<h2>Constructor Details</h2>
|
1992
2023
|
|
@@ -2051,27 +2082,27 @@ subcommands.</p>
|
|
2051
2082
|
<pre class="lines">
|
2052
2083
|
|
2053
2084
|
|
2054
|
-
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2085
|
+
1042
|
2086
|
+
1043
|
2087
|
+
1044
|
2088
|
+
1045
|
2089
|
+
1046
|
2090
|
+
1047
|
2091
|
+
1048
|
2092
|
+
1049
|
2093
|
+
1050
|
2094
|
+
1051
|
2095
|
+
1052
|
2096
|
+
1053
|
2097
|
+
1054
|
2098
|
+
1055
|
2099
|
+
1056
|
2100
|
+
1057
|
2101
|
+
1058
|
2102
|
+
1059</pre>
|
2072
2103
|
</td>
|
2073
2104
|
<td>
|
2074
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2105
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1042</span>
|
2075
2106
|
|
2076
2107
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_doc'>doc</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
2077
2108
|
<span class='ivar'>@parent</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -2129,12 +2160,12 @@ subcommands.</p>
|
|
2129
2160
|
<pre class="lines">
|
2130
2161
|
|
2131
2162
|
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2163
|
+
1020
|
2164
|
+
1021
|
2165
|
+
1022</pre>
|
2135
2166
|
</td>
|
2136
2167
|
<td>
|
2137
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2168
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1020</span>
|
2138
2169
|
|
2139
2170
|
<span class='kw'>def</span> <span class='id identifier rubyid_config'>config</span>
|
2140
2171
|
<span class='ivar'>@config</span>
|
@@ -2172,12 +2203,12 @@ subcommands.</p>
|
|
2172
2203
|
<pre class="lines">
|
2173
2204
|
|
2174
2205
|
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2206
|
+
1008
|
2207
|
+
1009
|
2208
|
+
1010</pre>
|
2178
2209
|
</td>
|
2179
2210
|
<td>
|
2180
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2211
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1008</span>
|
2181
2212
|
|
2182
2213
|
<span class='kw'>def</span> <span class='id identifier rubyid_doc'>doc</span>
|
2183
2214
|
<span class='ivar'>@doc</span>
|
@@ -2243,24 +2274,24 @@ given.</p>
|
|
2243
2274
|
<pre class="lines">
|
2244
2275
|
|
2245
2276
|
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2277
|
+
1438
|
2278
|
+
1439
|
2279
|
+
1440
|
2280
|
+
1441
|
2281
|
+
1442
|
2282
|
+
1443
|
2283
|
+
1444
|
2284
|
+
1445
|
2285
|
+
1446
|
2286
|
+
1447
|
2287
|
+
1448
|
2288
|
+
1449
|
2289
|
+
1450
|
2290
|
+
1451
|
2291
|
+
1452</pre>
|
2261
2292
|
</td>
|
2262
2293
|
<td>
|
2263
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2294
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1438</span>
|
2264
2295
|
|
2265
2296
|
<span class='kw'>def</span> <span class='id identifier rubyid_given'>given</span><span class='lparen'>(</span> <span class='id identifier rubyid_yieldOpt'>yieldOpt</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_prog'>prog</span> <span class='rparen'>)</span>
|
2266
2297
|
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
@@ -2310,12 +2341,12 @@ given.</p>
|
|
2310
2341
|
<pre class="lines">
|
2311
2342
|
|
2312
2343
|
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2344
|
+
999
|
2345
|
+
1000
|
2346
|
+
1001</pre>
|
2316
2347
|
</td>
|
2317
2348
|
<td>
|
2318
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2349
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 999</span>
|
2319
2350
|
|
2320
2351
|
<span class='kw'>def</span> <span class='id identifier rubyid_longOpt'>longOpt</span>
|
2321
2352
|
<span class='ivar'>@longOpt</span>
|
@@ -2353,12 +2384,12 @@ given.</p>
|
|
2353
2384
|
<pre class="lines">
|
2354
2385
|
|
2355
2386
|
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2387
|
+
993
|
2388
|
+
994
|
2389
|
+
995</pre>
|
2359
2390
|
</td>
|
2360
2391
|
<td>
|
2361
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2392
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 993</span>
|
2362
2393
|
|
2363
2394
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
2364
2395
|
<span class='ivar'>@name</span>
|
@@ -2396,12 +2427,12 @@ given.</p>
|
|
2396
2427
|
<pre class="lines">
|
2397
2428
|
|
2398
2429
|
|
2399
|
-
|
2400
|
-
|
2401
|
-
|
2430
|
+
989
|
2431
|
+
990
|
2432
|
+
991</pre>
|
2402
2433
|
</td>
|
2403
2434
|
<td>
|
2404
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2435
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 989</span>
|
2405
2436
|
|
2406
2437
|
<span class='kw'>def</span> <span class='id identifier rubyid_parent'>parent</span>
|
2407
2438
|
<span class='ivar'>@parent</span>
|
@@ -2439,12 +2470,12 @@ given.</p>
|
|
2439
2470
|
<pre class="lines">
|
2440
2471
|
|
2441
2472
|
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2473
|
+
1023
|
2474
|
+
1024
|
2475
|
+
1025</pre>
|
2445
2476
|
</td>
|
2446
2477
|
<td>
|
2447
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2478
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1023</span>
|
2448
2479
|
|
2449
2480
|
<span class='kw'>def</span> <span class='id identifier rubyid_rules'>rules</span>
|
2450
2481
|
<span class='ivar'>@rules</span>
|
@@ -2482,12 +2513,12 @@ given.</p>
|
|
2482
2513
|
<pre class="lines">
|
2483
2514
|
|
2484
2515
|
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2516
|
+
996
|
2517
|
+
997
|
2518
|
+
998</pre>
|
2488
2519
|
</td>
|
2489
2520
|
<td>
|
2490
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2521
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 996</span>
|
2491
2522
|
|
2492
2523
|
<span class='kw'>def</span> <span class='id identifier rubyid_shortOpt'>shortOpt</span>
|
2493
2524
|
<span class='ivar'>@shortOpt</span>
|
@@ -2525,12 +2556,12 @@ given.</p>
|
|
2525
2556
|
<pre class="lines">
|
2526
2557
|
|
2527
2558
|
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2559
|
+
1017
|
2560
|
+
1018
|
2561
|
+
1019</pre>
|
2531
2562
|
</td>
|
2532
2563
|
<td>
|
2533
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2564
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1017</span>
|
2534
2565
|
|
2535
2566
|
<span class='kw'>def</span> <span class='id identifier rubyid_subcmd'>subcmd</span>
|
2536
2567
|
<span class='ivar'>@subcmd</span>
|
@@ -2568,12 +2599,12 @@ given.</p>
|
|
2568
2599
|
<pre class="lines">
|
2569
2600
|
|
2570
2601
|
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2602
|
+
1014
|
2603
|
+
1015
|
2604
|
+
1016</pre>
|
2574
2605
|
</td>
|
2575
2606
|
<td>
|
2576
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2607
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1014</span>
|
2577
2608
|
|
2578
2609
|
<span class='kw'>def</span> <span class='id identifier rubyid_subopt'>subopt</span>
|
2579
2610
|
<span class='ivar'>@subopt</span>
|
@@ -2611,12 +2642,12 @@ given.</p>
|
|
2611
2642
|
<pre class="lines">
|
2612
2643
|
|
2613
2644
|
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2645
|
+
1002
|
2646
|
+
1003
|
2647
|
+
1004</pre>
|
2617
2648
|
</td>
|
2618
2649
|
<td>
|
2619
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2650
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1002</span>
|
2620
2651
|
|
2621
2652
|
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
2622
2653
|
<span class='ivar'>@type</span>
|
@@ -2654,12 +2685,12 @@ given.</p>
|
|
2654
2685
|
<pre class="lines">
|
2655
2686
|
|
2656
2687
|
|
2657
|
-
|
2658
|
-
|
2659
|
-
|
2688
|
+
1005
|
2689
|
+
1006
|
2690
|
+
1007</pre>
|
2660
2691
|
</td>
|
2661
2692
|
<td>
|
2662
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2693
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1005</span>
|
2663
2694
|
|
2664
2695
|
<span class='kw'>def</span> <span class='id identifier rubyid_value'>value</span>
|
2665
2696
|
<span class='ivar'>@value</span>
|
@@ -2703,23 +2734,23 @@ list of all options.</p>
|
|
2703
2734
|
<pre class="lines">
|
2704
2735
|
|
2705
2736
|
|
2706
|
-
|
2707
|
-
|
2708
|
-
|
2709
|
-
|
2710
|
-
|
2711
|
-
|
2712
|
-
|
2713
|
-
|
2714
|
-
|
2715
|
-
|
2716
|
-
|
2717
|
-
|
2718
|
-
|
2719
|
-
|
2737
|
+
889
|
2738
|
+
890
|
2739
|
+
891
|
2740
|
+
892
|
2741
|
+
893
|
2742
|
+
894
|
2743
|
+
895
|
2744
|
+
896
|
2745
|
+
897
|
2746
|
+
898
|
2747
|
+
899
|
2748
|
+
900
|
2749
|
+
901
|
2750
|
+
902</pre>
|
2720
2751
|
</td>
|
2721
2752
|
<td>
|
2722
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2753
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 889</span>
|
2723
2754
|
|
2724
2755
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='rparen'>)</span>
|
2725
2756
|
|
@@ -2766,12 +2797,12 @@ list of all options.</p>
|
|
2766
2797
|
<pre class="lines">
|
2767
2798
|
|
2768
2799
|
|
2769
|
-
|
2770
|
-
|
2771
|
-
|
2800
|
+
853
|
2801
|
+
854
|
2802
|
+
855</pre>
|
2772
2803
|
</td>
|
2773
2804
|
<td>
|
2774
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2805
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 853</span>
|
2775
2806
|
|
2776
2807
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_addOpt'>addOpt</span><span class='lparen'>(</span> <span class='id identifier rubyid_opt'>opt</span> <span class='rparen'>)</span>
|
2777
2808
|
<span class='cvar'>@@opts</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span> <span class='id identifier rubyid_opt'>opt</span>
|
@@ -2807,12 +2838,12 @@ list of all options.</p>
|
|
2807
2838
|
<pre class="lines">
|
2808
2839
|
|
2809
2840
|
|
2810
|
-
|
2811
|
-
|
2812
|
-
|
2841
|
+
918
|
2842
|
+
919
|
2843
|
+
920</pre>
|
2813
2844
|
</td>
|
2814
2845
|
<td>
|
2815
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2846
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 918</span>
|
2816
2847
|
|
2817
2848
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_author'>author</span>
|
2818
2849
|
<span class='cvar'>@@main</span><span class='period'>.</span><span class='id identifier rubyid_author'>author</span>
|
@@ -2820,6 +2851,47 @@ list of all options.</p>
|
|
2820
2851
|
</td>
|
2821
2852
|
</tr>
|
2822
2853
|
</table>
|
2854
|
+
</div>
|
2855
|
+
|
2856
|
+
<div class="method_details ">
|
2857
|
+
<h3 class="signature " id="configGet-class_method">
|
2858
|
+
|
2859
|
+
+ (<tt>Object</tt>) <strong>configGet</strong>
|
2860
|
+
|
2861
|
+
|
2862
|
+
|
2863
|
+
|
2864
|
+
|
2865
|
+
</h3><div class="docstring">
|
2866
|
+
<div class="discussion">
|
2867
|
+
|
2868
|
+
<p>Return default config for Como options.</p>
|
2869
|
+
|
2870
|
+
|
2871
|
+
</div>
|
2872
|
+
</div>
|
2873
|
+
<div class="tags">
|
2874
|
+
|
2875
|
+
|
2876
|
+
</div><table class="source_code">
|
2877
|
+
<tr>
|
2878
|
+
<td>
|
2879
|
+
<pre class="lines">
|
2880
|
+
|
2881
|
+
|
2882
|
+
971
|
2883
|
+
972
|
2884
|
+
973</pre>
|
2885
|
+
</td>
|
2886
|
+
<td>
|
2887
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 971</span>
|
2888
|
+
|
2889
|
+
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_configGet'>configGet</span>
|
2890
|
+
<span class='cvar'>@@config</span>
|
2891
|
+
<span class='kw'>end</span></pre>
|
2892
|
+
</td>
|
2893
|
+
</tr>
|
2894
|
+
</table>
|
2823
2895
|
</div>
|
2824
2896
|
|
2825
2897
|
<div class="method_details ">
|
@@ -2848,12 +2920,12 @@ list of all options.</p>
|
|
2848
2920
|
<pre class="lines">
|
2849
2921
|
|
2850
2922
|
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
2923
|
+
965
|
2924
|
+
966
|
2925
|
+
967</pre>
|
2854
2926
|
</td>
|
2855
2927
|
<td>
|
2856
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2928
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 965</span>
|
2857
2929
|
|
2858
2930
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_configOverlay'>configOverlay</span><span class='lparen'>(</span> <span class='id identifier rubyid_config'>config</span> <span class='rparen'>)</span>
|
2859
2931
|
<span class='cvar'>@@config</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span> <span class='id identifier rubyid_config'>config</span> <span class='rparen'>)</span>
|
@@ -2861,6 +2933,48 @@ list of all options.</p>
|
|
2861
2933
|
</td>
|
2862
2934
|
</tr>
|
2863
2935
|
</table>
|
2936
|
+
</div>
|
2937
|
+
|
2938
|
+
<div class="method_details ">
|
2939
|
+
<h3 class="signature " id="configSet-class_method">
|
2940
|
+
|
2941
|
+
+ (<tt>Object</tt>) <strong>configSet</strong>(config)
|
2942
|
+
|
2943
|
+
|
2944
|
+
|
2945
|
+
|
2946
|
+
|
2947
|
+
</h3><div class="docstring">
|
2948
|
+
<div class="discussion">
|
2949
|
+
|
2950
|
+
<p>Set default config for Como options. User can manipulate the defaults with
|
2951
|
+
"preHook".</p>
|
2952
|
+
|
2953
|
+
|
2954
|
+
</div>
|
2955
|
+
</div>
|
2956
|
+
<div class="tags">
|
2957
|
+
|
2958
|
+
|
2959
|
+
</div><table class="source_code">
|
2960
|
+
<tr>
|
2961
|
+
<td>
|
2962
|
+
<pre class="lines">
|
2963
|
+
|
2964
|
+
|
2965
|
+
978
|
2966
|
+
979
|
2967
|
+
980</pre>
|
2968
|
+
</td>
|
2969
|
+
<td>
|
2970
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 978</span>
|
2971
|
+
|
2972
|
+
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_configSet'>configSet</span><span class='lparen'>(</span> <span class='id identifier rubyid_config'>config</span> <span class='rparen'>)</span>
|
2973
|
+
<span class='cvar'>@@config</span> <span class='op'>=</span> <span class='id identifier rubyid_config'>config</span>
|
2974
|
+
<span class='kw'>end</span></pre>
|
2975
|
+
</td>
|
2976
|
+
</tr>
|
2977
|
+
</table>
|
2864
2978
|
</div>
|
2865
2979
|
|
2866
2980
|
<div class="method_details ">
|
@@ -2889,12 +3003,12 @@ list of all options.</p>
|
|
2889
3003
|
<pre class="lines">
|
2890
3004
|
|
2891
3005
|
|
2892
|
-
|
2893
|
-
|
2894
|
-
|
3006
|
+
865
|
3007
|
+
866
|
3008
|
+
867</pre>
|
2895
3009
|
</td>
|
2896
3010
|
<td>
|
2897
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3011
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 865</span>
|
2898
3012
|
|
2899
3013
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_current'>current</span>
|
2900
3014
|
<span class='cvar'>@@subcmd</span>
|
@@ -2930,12 +3044,12 @@ list of all options.</p>
|
|
2930
3044
|
<pre class="lines">
|
2931
3045
|
|
2932
3046
|
|
2933
|
-
|
2934
|
-
|
2935
|
-
|
3047
|
+
931
|
3048
|
+
932
|
3049
|
+
933</pre>
|
2936
3050
|
</td>
|
2937
3051
|
<td>
|
2938
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3052
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 931</span>
|
2939
3053
|
|
2940
3054
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_default'>default</span>
|
2941
3055
|
<span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_main'>main</span><span class='period'>.</span><span class='id identifier rubyid_default'>default</span>
|
@@ -2971,12 +3085,12 @@ list of all options.</p>
|
|
2971
3085
|
<pre class="lines">
|
2972
3086
|
|
2973
3087
|
|
2974
|
-
|
2975
|
-
|
2976
|
-
|
3088
|
+
947
|
3089
|
+
948
|
3090
|
+
949</pre>
|
2977
3091
|
</td>
|
2978
3092
|
<td>
|
2979
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3093
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 947</span>
|
2980
3094
|
|
2981
3095
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_defaultOpt'>defaultOpt</span><span class='lparen'>(</span> <span class='id identifier rubyid_doc'>doc</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>No doc.</span><span class='tstring_end'>"</span></span> <span class='rparen'>)</span>
|
2982
3096
|
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'><default></span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'><default></span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:default</span><span class='comma'>,</span> <span class='id identifier rubyid_doc'>doc</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
|
@@ -3012,12 +3126,12 @@ list of all options.</p>
|
|
3012
3126
|
<pre class="lines">
|
3013
3127
|
|
3014
3128
|
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3129
|
+
953
|
3130
|
+
954
|
3131
|
+
955</pre>
|
3018
3132
|
</td>
|
3019
3133
|
<td>
|
3020
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3134
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 953</span>
|
3021
3135
|
|
3022
3136
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
3023
3137
|
<span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_main'>main</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span>
|
@@ -3053,12 +3167,12 @@ list of all options.</p>
|
|
3053
3167
|
<pre class="lines">
|
3054
3168
|
|
3055
3169
|
|
3056
|
-
|
3057
|
-
|
3058
|
-
|
3170
|
+
959
|
3171
|
+
960
|
3172
|
+
961</pre>
|
3059
3173
|
</td>
|
3060
3174
|
<td>
|
3061
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3175
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 959</span>
|
3062
3176
|
|
3063
3177
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_each_given'>each_given</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
3064
3178
|
<span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_main'>main</span><span class='period'>.</span><span class='id identifier rubyid_each_given'>each_given</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
@@ -3095,12 +3209,12 @@ after '--').</p>
|
|
3095
3209
|
<pre class="lines">
|
3096
3210
|
|
3097
3211
|
|
3098
|
-
|
3099
|
-
|
3100
|
-
|
3212
|
+
925
|
3213
|
+
926
|
3214
|
+
927</pre>
|
3101
3215
|
</td>
|
3102
3216
|
<td>
|
3103
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3217
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 925</span>
|
3104
3218
|
|
3105
3219
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_external'>external</span>
|
3106
3220
|
<span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_main'>main</span><span class='period'>.</span><span class='id identifier rubyid_external'>external</span>
|
@@ -3136,17 +3250,17 @@ after '--').</p>
|
|
3136
3250
|
<pre class="lines">
|
3137
3251
|
|
3138
3252
|
|
3139
|
-
|
3140
|
-
|
3141
|
-
|
3142
|
-
|
3143
|
-
|
3144
|
-
|
3145
|
-
|
3146
|
-
|
3253
|
+
871
|
3254
|
+
872
|
3255
|
+
873
|
3256
|
+
874
|
3257
|
+
875
|
3258
|
+
876
|
3259
|
+
877
|
3260
|
+
878</pre>
|
3147
3261
|
</td>
|
3148
3262
|
<td>
|
3149
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3263
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 871</span>
|
3150
3264
|
|
3151
3265
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_findOpt'>findOpt</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
3152
3266
|
<span class='id identifier rubyid_idx'>idx</span> <span class='op'>=</span> <span class='cvar'>@@opts</span><span class='period'>.</span><span class='id identifier rubyid_index'>index</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='id identifier rubyid_name'>name</span> <span class='kw'>end</span>
|
@@ -3187,12 +3301,12 @@ after '--').</p>
|
|
3187
3301
|
<pre class="lines">
|
3188
3302
|
|
3189
3303
|
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3304
|
+
937
|
3305
|
+
938
|
3306
|
+
939</pre>
|
3193
3307
|
</td>
|
3194
3308
|
<td>
|
3195
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3309
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 937</span>
|
3196
3310
|
|
3197
3311
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_full'>full</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_doc'>doc</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>No doc.</span><span class='tstring_end'>"</span></span> <span class='rparen'>)</span>
|
3198
3312
|
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_doc'>doc</span> <span class='rparen'>)</span>
|
@@ -3228,12 +3342,12 @@ after '--').</p>
|
|
3228
3342
|
<pre class="lines">
|
3229
3343
|
|
3230
3344
|
|
3231
|
-
|
3232
|
-
|
3233
|
-
|
3345
|
+
847
|
3346
|
+
848
|
3347
|
+
849</pre>
|
3234
3348
|
</td>
|
3235
3349
|
<td>
|
3236
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3350
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 847</span>
|
3237
3351
|
|
3238
3352
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_main'>main</span>
|
3239
3353
|
<span class='cvar'>@@main</span>
|
@@ -3269,12 +3383,12 @@ after '--').</p>
|
|
3269
3383
|
<pre class="lines">
|
3270
3384
|
|
3271
3385
|
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3386
|
+
906
|
3387
|
+
907
|
3388
|
+
908</pre>
|
3275
3389
|
</td>
|
3276
3390
|
<td>
|
3277
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3391
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 906</span>
|
3278
3392
|
|
3279
3393
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_progname'>progname</span>
|
3280
3394
|
<span class='cvar'>@@main</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span>
|
@@ -3310,12 +3424,12 @@ after '--').</p>
|
|
3310
3424
|
<pre class="lines">
|
3311
3425
|
|
3312
3426
|
|
3313
|
-
|
3314
|
-
|
3315
|
-
|
3427
|
+
882
|
3428
|
+
883
|
3429
|
+
884</pre>
|
3316
3430
|
</td>
|
3317
3431
|
<td>
|
3318
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3432
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 882</span>
|
3319
3433
|
|
3320
3434
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_reset'>reset</span>
|
3321
3435
|
<span class='cvar'>@@opts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -3351,13 +3465,13 @@ after '--').</p>
|
|
3351
3465
|
<pre class="lines">
|
3352
3466
|
|
3353
3467
|
|
3354
|
-
|
3355
|
-
|
3356
|
-
|
3357
|
-
|
3468
|
+
841
|
3469
|
+
842
|
3470
|
+
843
|
3471
|
+
844</pre>
|
3358
3472
|
</td>
|
3359
3473
|
<td>
|
3360
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3474
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 841</span>
|
3361
3475
|
|
3362
3476
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_setMain'>setMain</span><span class='lparen'>(</span> <span class='id identifier rubyid_main'>main</span> <span class='rparen'>)</span>
|
3363
3477
|
<span class='cvar'>@@main</span> <span class='op'>=</span> <span class='id identifier rubyid_main'>main</span>
|
@@ -3394,12 +3508,12 @@ after '--').</p>
|
|
3394
3508
|
<pre class="lines">
|
3395
3509
|
|
3396
3510
|
|
3397
|
-
|
3398
|
-
|
3399
|
-
|
3511
|
+
859
|
3512
|
+
860
|
3513
|
+
861</pre>
|
3400
3514
|
</td>
|
3401
3515
|
<td>
|
3402
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3516
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 859</span>
|
3403
3517
|
|
3404
3518
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_setSubcmd'>setSubcmd</span><span class='lparen'>(</span> <span class='id identifier rubyid_opt'>opt</span> <span class='rparen'>)</span>
|
3405
3519
|
<span class='cvar'>@@subcmd</span> <span class='op'>=</span> <span class='id identifier rubyid_opt'>opt</span>
|
@@ -3435,12 +3549,12 @@ after '--').</p>
|
|
3435
3549
|
<pre class="lines">
|
3436
3550
|
|
3437
3551
|
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3552
|
+
942
|
3553
|
+
943
|
3554
|
+
944</pre>
|
3441
3555
|
</td>
|
3442
3556
|
<td>
|
3443
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3557
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 942</span>
|
3444
3558
|
|
3445
3559
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_subcmd'>subcmd</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_doc'>doc</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>No doc.</span><span class='tstring_end'>"</span></span> <span class='rparen'>)</span>
|
3446
3560
|
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='symbol'>:subcmd</span><span class='comma'>,</span> <span class='id identifier rubyid_doc'>doc</span><span class='comma'>,</span> <span class='kw'>false</span> <span class='rparen'>)</span>
|
@@ -3476,12 +3590,12 @@ after '--').</p>
|
|
3476
3590
|
<pre class="lines">
|
3477
3591
|
|
3478
3592
|
|
3479
|
-
|
3480
|
-
|
3481
|
-
|
3593
|
+
912
|
3594
|
+
913
|
3595
|
+
914</pre>
|
3482
3596
|
</td>
|
3483
3597
|
<td>
|
3484
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3598
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 912</span>
|
3485
3599
|
|
3486
3600
|
<span class='kw'>def</span> <span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span>
|
3487
3601
|
<span class='cvar'>@@main</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span>
|
@@ -3523,16 +3637,16 @@ after '--').</p>
|
|
3523
3637
|
<pre class="lines">
|
3524
3638
|
|
3525
3639
|
|
3526
|
-
|
3527
|
-
|
3528
|
-
|
3529
|
-
|
3530
|
-
|
3531
|
-
|
3532
|
-
|
3640
|
+
1368
|
3641
|
+
1369
|
3642
|
+
1370
|
3643
|
+
1371
|
3644
|
+
1372
|
3645
|
+
1373
|
3646
|
+
1374</pre>
|
3533
3647
|
</td>
|
3534
3648
|
<td>
|
3535
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3649
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1368</span>
|
3536
3650
|
|
3537
3651
|
<span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
3538
3652
|
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='id identifier rubyid_argByName'>argByName</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
@@ -3573,16 +3687,16 @@ after '--').</p>
|
|
3573
3687
|
<pre class="lines">
|
3574
3688
|
|
3575
3689
|
|
3576
|
-
|
3577
|
-
|
3578
|
-
|
3579
|
-
|
3580
|
-
|
3581
|
-
|
3582
|
-
|
3690
|
+
1423
|
3691
|
+
1424
|
3692
|
+
1425
|
3693
|
+
1426
|
3694
|
+
1427
|
3695
|
+
1428
|
3696
|
+
1429</pre>
|
3583
3697
|
</td>
|
3584
3698
|
<td>
|
3585
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3699
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1423</span>
|
3586
3700
|
|
3587
3701
|
<span class='kw'>def</span> <span class='id identifier rubyid_apply'>apply</span><span class='lparen'>(</span> <span class='id identifier rubyid_default'>default</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
3588
3702
|
<span class='kw'>if</span> <span class='id identifier rubyid_given'>given</span>
|
@@ -3642,12 +3756,12 @@ after '--').</p>
|
|
3642
3756
|
<pre class="lines">
|
3643
3757
|
|
3644
3758
|
|
3645
|
-
|
3646
|
-
|
3647
|
-
|
3759
|
+
1082
|
3760
|
+
1083
|
3761
|
+
1084</pre>
|
3648
3762
|
</td>
|
3649
3763
|
<td>
|
3650
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3764
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1082</span>
|
3651
3765
|
|
3652
3766
|
<span class='kw'>def</span> <span class='id identifier rubyid_applyConfig'>applyConfig</span><span class='lparen'>(</span> <span class='id identifier rubyid_config'>config</span> <span class='rparen'>)</span>
|
3653
3767
|
<span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span> <span class='id identifier rubyid_config'>config</span> <span class='rparen'>)</span>
|
@@ -3683,26 +3797,26 @@ after '--').</p>
|
|
3683
3797
|
<pre class="lines">
|
3684
3798
|
|
3685
3799
|
|
3686
|
-
|
3687
|
-
|
3688
|
-
|
3689
|
-
|
3690
|
-
|
3691
|
-
|
3692
|
-
|
3693
|
-
|
3694
|
-
|
3695
|
-
|
3696
|
-
|
3697
|
-
|
3698
|
-
|
3699
|
-
|
3700
|
-
|
3701
|
-
|
3702
|
-
|
3800
|
+
1510
|
3801
|
+
1511
|
3802
|
+
1512
|
3803
|
+
1513
|
3804
|
+
1514
|
3805
|
+
1515
|
3806
|
+
1516
|
3807
|
+
1517
|
3808
|
+
1518
|
3809
|
+
1519
|
3810
|
+
1520
|
3811
|
+
1521
|
3812
|
+
1522
|
3813
|
+
1523
|
3814
|
+
1524
|
3815
|
+
1525
|
3816
|
+
1526</pre>
|
3703
3817
|
</td>
|
3704
3818
|
<td>
|
3705
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3819
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1510</span>
|
3706
3820
|
|
3707
3821
|
<span class='kw'>def</span> <span class='id identifier rubyid_argById'>argById</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
3708
3822
|
<span class='kw'>if</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='kw'>nil</span> <span class='op'>||</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='symbol'>:default</span>
|
@@ -3752,26 +3866,26 @@ after '--').</p>
|
|
3752
3866
|
<pre class="lines">
|
3753
3867
|
|
3754
3868
|
|
3755
|
-
|
3756
|
-
|
3757
|
-
|
3758
|
-
|
3759
|
-
|
3760
|
-
|
3761
|
-
|
3762
|
-
|
3763
|
-
|
3764
|
-
|
3765
|
-
|
3766
|
-
|
3767
|
-
|
3768
|
-
|
3769
|
-
|
3770
|
-
|
3771
|
-
|
3869
|
+
1490
|
3870
|
+
1491
|
3871
|
+
1492
|
3872
|
+
1493
|
3873
|
+
1494
|
3874
|
+
1495
|
3875
|
+
1496
|
3876
|
+
1497
|
3877
|
+
1498
|
3878
|
+
1499
|
3879
|
+
1500
|
3880
|
+
1501
|
3881
|
+
1502
|
3882
|
+
1503
|
3883
|
+
1504
|
3884
|
+
1505
|
3885
|
+
1506</pre>
|
3772
3886
|
</td>
|
3773
3887
|
<td>
|
3774
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3888
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1490</span>
|
3775
3889
|
|
3776
3890
|
<span class='kw'>def</span> <span class='id identifier rubyid_argByName'>argByName</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
3777
3891
|
<span class='kw'>if</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='kw'>nil</span> <span class='op'>||</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='symbol'>:default</span>
|
@@ -3821,46 +3935,46 @@ after '--').</p>
|
|
3821
3935
|
<pre class="lines">
|
3822
3936
|
|
3823
3937
|
|
3824
|
-
|
3825
|
-
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3834
|
-
|
3835
|
-
|
3836
|
-
|
3837
|
-
|
3838
|
-
|
3839
|
-
|
3840
|
-
|
3841
|
-
|
3842
|
-
|
3843
|
-
|
3844
|
-
|
3845
|
-
|
3846
|
-
|
3847
|
-
|
3848
|
-
|
3849
|
-
|
3850
|
-
|
3851
|
-
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3855
|
-
|
3856
|
-
|
3857
|
-
|
3858
|
-
|
3859
|
-
|
3860
|
-
|
3938
|
+
1099
|
3939
|
+
1100
|
3940
|
+
1101
|
3941
|
+
1102
|
3942
|
+
1103
|
3943
|
+
1104
|
3944
|
+
1105
|
3945
|
+
1106
|
3946
|
+
1107
|
3947
|
+
1108
|
3948
|
+
1109
|
3949
|
+
1110
|
3950
|
+
1111
|
3951
|
+
1112
|
3952
|
+
1113
|
3953
|
+
1114
|
3954
|
+
1115
|
3955
|
+
1116
|
3956
|
+
1117
|
3957
|
+
1118
|
3958
|
+
1119
|
3959
|
+
1120
|
3960
|
+
1121
|
3961
|
+
1122
|
3962
|
+
1123
|
3963
|
+
1124
|
3964
|
+
1125
|
3965
|
+
1126
|
3966
|
+
1127
|
3967
|
+
1128
|
3968
|
+
1129
|
3969
|
+
1130
|
3970
|
+
1131
|
3971
|
+
1132
|
3972
|
+
1133
|
3973
|
+
1134
|
3974
|
+
1135</pre>
|
3861
3975
|
</td>
|
3862
3976
|
<td>
|
3863
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3977
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1099</span>
|
3864
3978
|
|
3865
3979
|
<span class='kw'>def</span> <span class='id identifier rubyid_check'>check</span><span class='lparen'>(</span> <span class='id identifier rubyid_argsState'>argsState</span> <span class='rparen'>)</span>
|
3866
3980
|
|
@@ -4000,21 +4114,21 @@ after '--').</p>
|
|
4000
4114
|
<pre class="lines">
|
4001
4115
|
|
4002
4116
|
|
4003
|
-
|
4004
|
-
|
4005
|
-
|
4006
|
-
|
4007
|
-
|
4008
|
-
|
4009
|
-
|
4010
|
-
|
4011
|
-
|
4012
|
-
|
4013
|
-
|
4014
|
-
|
4117
|
+
1348
|
4118
|
+
1349
|
4119
|
+
1350
|
4120
|
+
1351
|
4121
|
+
1352
|
4122
|
+
1353
|
4123
|
+
1354
|
4124
|
+
1355
|
4125
|
+
1356
|
4126
|
+
1357
|
4127
|
+
1358
|
4128
|
+
1359</pre>
|
4015
4129
|
</td>
|
4016
4130
|
<td>
|
4017
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4131
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1348</span>
|
4018
4132
|
|
4019
4133
|
<span class='kw'>def</span> <span class='id identifier rubyid_checkAlso'>checkAlso</span><span class='lparen'>(</span> <span class='id identifier rubyid_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_error'>error</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_check'>check</span> <span class='rparen'>)</span>
|
4020
4134
|
<span class='kw'>begin</span>
|
@@ -4073,61 +4187,61 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4073
4187
|
<pre class="lines">
|
4074
4188
|
|
4075
4189
|
|
4076
|
-
|
4077
|
-
|
4078
|
-
|
4079
|
-
|
4080
|
-
|
4081
|
-
|
4082
|
-
|
4083
|
-
|
4084
|
-
|
4085
|
-
|
4086
|
-
|
4087
|
-
|
4088
|
-
|
4089
|
-
|
4090
|
-
|
4091
|
-
|
4092
|
-
|
4093
|
-
|
4094
|
-
|
4095
|
-
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4099
|
-
|
4100
|
-
|
4101
|
-
|
4102
|
-
|
4103
|
-
|
4104
|
-
|
4105
|
-
|
4106
|
-
|
4107
|
-
|
4108
|
-
|
4109
|
-
|
4110
|
-
|
4111
|
-
|
4112
|
-
|
4113
|
-
|
4114
|
-
|
4115
|
-
|
4116
|
-
|
4117
|
-
|
4118
|
-
|
4119
|
-
|
4120
|
-
|
4121
|
-
|
4122
|
-
|
4123
|
-
|
4124
|
-
|
4125
|
-
|
4126
|
-
|
4127
|
-
|
4190
|
+
1269
|
4191
|
+
1270
|
4192
|
+
1271
|
4193
|
+
1272
|
4194
|
+
1273
|
4195
|
+
1274
|
4196
|
+
1275
|
4197
|
+
1276
|
4198
|
+
1277
|
4199
|
+
1278
|
4200
|
+
1279
|
4201
|
+
1280
|
4202
|
+
1281
|
4203
|
+
1282
|
4204
|
+
1283
|
4205
|
+
1284
|
4206
|
+
1285
|
4207
|
+
1286
|
4208
|
+
1287
|
4209
|
+
1288
|
4210
|
+
1289
|
4211
|
+
1290
|
4212
|
+
1291
|
4213
|
+
1292
|
4214
|
+
1293
|
4215
|
+
1294
|
4216
|
+
1295
|
4217
|
+
1296
|
4218
|
+
1297
|
4219
|
+
1298
|
4220
|
+
1299
|
4221
|
+
1300
|
4222
|
+
1301
|
4223
|
+
1302
|
4224
|
+
1303
|
4225
|
+
1304
|
4226
|
+
1305
|
4227
|
+
1306
|
4228
|
+
1307
|
4229
|
+
1308
|
4230
|
+
1309
|
4231
|
+
1310
|
4232
|
+
1311
|
4233
|
+
1312
|
4234
|
+
1313
|
4235
|
+
1314
|
4236
|
+
1315
|
4237
|
+
1316
|
4238
|
+
1317
|
4239
|
+
1318
|
4240
|
+
1319
|
4241
|
+
1320</pre>
|
4128
4242
|
</td>
|
4129
4243
|
<td>
|
4130
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4244
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1269</span>
|
4131
4245
|
|
4132
4246
|
<span class='kw'>def</span> <span class='id identifier rubyid_checkMissing'>checkMissing</span>
|
4133
4247
|
|
@@ -4212,25 +4326,25 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4212
4326
|
<pre class="lines">
|
4213
4327
|
|
4214
4328
|
|
4215
|
-
|
4216
|
-
|
4217
|
-
|
4218
|
-
|
4219
|
-
|
4220
|
-
|
4221
|
-
|
4222
|
-
|
4223
|
-
|
4224
|
-
|
4225
|
-
|
4226
|
-
|
4227
|
-
|
4228
|
-
|
4229
|
-
|
4230
|
-
|
4329
|
+
1325
|
4330
|
+
1326
|
4331
|
+
1327
|
4332
|
+
1328
|
4333
|
+
1329
|
4334
|
+
1330
|
4335
|
+
1331
|
4336
|
+
1332
|
4337
|
+
1333
|
4338
|
+
1334
|
4339
|
+
1335
|
4340
|
+
1336
|
4341
|
+
1337
|
4342
|
+
1338
|
4343
|
+
1339
|
4344
|
+
1340</pre>
|
4231
4345
|
</td>
|
4232
4346
|
<td>
|
4233
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4347
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1325</span>
|
4234
4348
|
|
4235
4349
|
<span class='kw'>def</span> <span class='id identifier rubyid_checkRule'>checkRule</span>
|
4236
4350
|
|
@@ -4279,51 +4393,51 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4279
4393
|
<pre class="lines">
|
4280
4394
|
|
4281
4395
|
|
4282
|
-
|
4283
|
-
|
4284
|
-
|
4285
|
-
|
4286
|
-
|
4287
|
-
|
4288
|
-
|
4289
|
-
|
4290
|
-
|
4291
|
-
|
4292
|
-
|
4293
|
-
|
4294
|
-
|
4295
|
-
|
4296
|
-
|
4297
|
-
|
4298
|
-
|
4299
|
-
|
4300
|
-
|
4301
|
-
|
4302
|
-
|
4303
|
-
|
4304
|
-
|
4305
|
-
|
4306
|
-
|
4307
|
-
|
4308
|
-
|
4309
|
-
|
4310
|
-
|
4311
|
-
|
4312
|
-
|
4313
|
-
|
4314
|
-
|
4315
|
-
|
4316
|
-
|
4317
|
-
|
4318
|
-
|
4319
|
-
|
4320
|
-
|
4321
|
-
|
4322
|
-
|
4323
|
-
|
4324
|
-
</td>
|
4325
|
-
<td>
|
4326
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4396
|
+
1665
|
4397
|
+
1666
|
4398
|
+
1667
|
4399
|
+
1668
|
4400
|
+
1669
|
4401
|
+
1670
|
4402
|
+
1671
|
4403
|
+
1672
|
4404
|
+
1673
|
4405
|
+
1674
|
4406
|
+
1675
|
4407
|
+
1676
|
4408
|
+
1677
|
4409
|
+
1678
|
4410
|
+
1679
|
4411
|
+
1680
|
4412
|
+
1681
|
4413
|
+
1682
|
4414
|
+
1683
|
4415
|
+
1684
|
4416
|
+
1685
|
4417
|
+
1686
|
4418
|
+
1687
|
4419
|
+
1688
|
4420
|
+
1689
|
4421
|
+
1690
|
4422
|
+
1691
|
4423
|
+
1692
|
4424
|
+
1693
|
4425
|
+
1694
|
4426
|
+
1695
|
4427
|
+
1696
|
4428
|
+
1697
|
4429
|
+
1698
|
4430
|
+
1699
|
4431
|
+
1700
|
4432
|
+
1701
|
4433
|
+
1702
|
4434
|
+
1703
|
4435
|
+
1704
|
4436
|
+
1705
|
4437
|
+
1706</pre>
|
4438
|
+
</td>
|
4439
|
+
<td>
|
4440
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1665</span>
|
4327
4441
|
|
4328
4442
|
<span class='kw'>def</span> <span class='id identifier rubyid_cmdline'>cmdline</span>
|
4329
4443
|
<span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -4398,12 +4512,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4398
4512
|
<pre class="lines">
|
4399
4513
|
|
4400
4514
|
|
4401
|
-
|
4402
|
-
|
4403
|
-
|
4515
|
+
1484
|
4516
|
+
1485
|
4517
|
+
1486</pre>
|
4404
4518
|
</td>
|
4405
4519
|
<td>
|
4406
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4520
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1484</span>
|
4407
4521
|
|
4408
4522
|
<span class='kw'>def</span> <span class='id identifier rubyid_default'>default</span>
|
4409
4523
|
<span class='id identifier rubyid_argByName'>argByName</span><span class='lparen'>(</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
@@ -4439,14 +4553,14 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4439
4553
|
<pre class="lines">
|
4440
4554
|
|
4441
4555
|
|
4442
|
-
|
4443
|
-
|
4444
|
-
|
4445
|
-
|
4446
|
-
|
4556
|
+
1390
|
4557
|
+
1391
|
4558
|
+
1392
|
4559
|
+
1393
|
4560
|
+
1394</pre>
|
4447
4561
|
</td>
|
4448
4562
|
<td>
|
4449
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4563
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1390</span>
|
4450
4564
|
|
4451
4565
|
<span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
4452
4566
|
<span class='id identifier rubyid_suball'>suball</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_o'>o</span><span class='op'>|</span>
|
@@ -4484,14 +4598,14 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4484
4598
|
<pre class="lines">
|
4485
4599
|
|
4486
4600
|
|
4487
|
-
|
4488
|
-
|
4489
|
-
|
4490
|
-
|
4491
|
-
|
4601
|
+
1398
|
4602
|
+
1399
|
4603
|
+
1400
|
4604
|
+
1401
|
4605
|
+
1402</pre>
|
4492
4606
|
</td>
|
4493
4607
|
<td>
|
4494
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4608
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1398</span>
|
4495
4609
|
|
4496
4610
|
<span class='kw'>def</span> <span class='id identifier rubyid_each_given'>each_given</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
4497
4611
|
<span class='id identifier rubyid_suball'>suball</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_o'>o</span><span class='op'>|</span>
|
@@ -4529,12 +4643,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4529
4643
|
<pre class="lines">
|
4530
4644
|
|
4531
4645
|
|
4532
|
-
|
4533
|
-
|
4534
|
-
|
4646
|
+
1749
|
4647
|
+
1750
|
4648
|
+
1751</pre>
|
4535
4649
|
</td>
|
4536
4650
|
<td>
|
4537
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4651
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1749</span>
|
4538
4652
|
|
4539
4653
|
<span class='kw'>def</span> <span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
4540
4654
|
<span class='const'>STDERR</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='embexpr_beg'>#{</span><span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_progname'>progname</span><span class='rbrace'>}</span><span class='tstring_content'> error: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_str'>str</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
@@ -4570,20 +4684,20 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4570
4684
|
<pre class="lines">
|
4571
4685
|
|
4572
4686
|
|
4573
|
-
|
4574
|
-
|
4575
|
-
|
4576
|
-
|
4577
|
-
|
4578
|
-
|
4579
|
-
|
4580
|
-
|
4581
|
-
|
4582
|
-
|
4583
|
-
|
4687
|
+
1735
|
4688
|
+
1736
|
4689
|
+
1737
|
4690
|
+
1738
|
4691
|
+
1739
|
4692
|
+
1740
|
4693
|
+
1741
|
4694
|
+
1742
|
4695
|
+
1743
|
4696
|
+
1744
|
4697
|
+
1745</pre>
|
4584
4698
|
</td>
|
4585
4699
|
<td>
|
4586
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4700
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1735</span>
|
4587
4701
|
|
4588
4702
|
<span class='kw'>def</span> <span class='id identifier rubyid_findOpt'>findOpt</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
4589
4703
|
<span class='kw'>if</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='kw'>nil</span>
|
@@ -4627,16 +4741,16 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4627
4741
|
<pre class="lines">
|
4628
4742
|
|
4629
4743
|
|
4630
|
-
|
4631
|
-
|
4632
|
-
|
4633
|
-
|
4634
|
-
|
4635
|
-
|
4636
|
-
|
4744
|
+
1406
|
4745
|
+
1407
|
4746
|
+
1408
|
4747
|
+
1409
|
4748
|
+
1410
|
4749
|
+
1411
|
4750
|
+
1412</pre>
|
4637
4751
|
</td>
|
4638
4752
|
<td>
|
4639
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4753
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1406</span>
|
4640
4754
|
|
4641
4755
|
<span class='kw'>def</span> <span class='id identifier rubyid_givenCount'>givenCount</span>
|
4642
4756
|
<span class='id identifier rubyid_cnt'>cnt</span> <span class='op'>=</span> <span class='int'>0</span>
|
@@ -4676,12 +4790,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4676
4790
|
<pre class="lines">
|
4677
4791
|
|
4678
4792
|
|
4679
|
-
|
4680
|
-
|
4681
|
-
|
4793
|
+
1460
|
4794
|
+
1461
|
4795
|
+
1462</pre>
|
4682
4796
|
</td>
|
4683
4797
|
<td>
|
4684
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4798
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1460</span>
|
4685
4799
|
|
4686
4800
|
<span class='kw'>def</span> <span class='id identifier rubyid_givenSubcmd'>givenSubcmd</span>
|
4687
4801
|
<span class='lparen'>(</span> <span class='ivar'>@subcmd</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_o'>o</span><span class='op'>|</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_given'>given</span> <span class='kw'>end</span> <span class='rparen'>)</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
|
@@ -4717,15 +4831,15 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4717
4831
|
<pre class="lines">
|
4718
4832
|
|
4719
4833
|
|
4720
|
-
|
4721
|
-
|
4722
|
-
|
4723
|
-
|
4724
|
-
|
4725
|
-
|
4834
|
+
1530
|
4835
|
+
1531
|
4836
|
+
1532
|
4837
|
+
1533
|
4838
|
+
1534
|
4839
|
+
1535</pre>
|
4726
4840
|
</td>
|
4727
4841
|
<td>
|
4728
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4842
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1530</span>
|
4729
4843
|
|
4730
4844
|
<span class='kw'>def</span> <span class='id identifier rubyid_hasArg'>hasArg</span>
|
4731
4845
|
<span class='kw'>case</span> <span class='ivar'>@type</span>
|
@@ -4764,15 +4878,15 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4764
4878
|
<pre class="lines">
|
4765
4879
|
|
4766
4880
|
|
4767
|
-
|
4768
|
-
|
4769
|
-
|
4770
|
-
|
4771
|
-
|
4772
|
-
|
4881
|
+
1539
|
4882
|
+
1540
|
4883
|
+
1541
|
4884
|
+
1542
|
4885
|
+
1543
|
4886
|
+
1544</pre>
|
4773
4887
|
</td>
|
4774
4888
|
<td>
|
4775
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4889
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1539</span>
|
4776
4890
|
|
4777
4891
|
<span class='kw'>def</span> <span class='id identifier rubyid_hasMany'>hasMany</span>
|
4778
4892
|
<span class='kw'>case</span> <span class='ivar'>@type</span>
|
@@ -4812,15 +4926,15 @@ exclusive.</p>
|
|
4812
4926
|
<pre class="lines">
|
4813
4927
|
|
4814
4928
|
|
4815
|
-
|
4816
|
-
|
4817
|
-
|
4818
|
-
|
4819
|
-
|
4820
|
-
|
4929
|
+
1564
|
4930
|
+
1565
|
4931
|
+
1566
|
4932
|
+
1567
|
4933
|
+
1568
|
4934
|
+
1569</pre>
|
4821
4935
|
</td>
|
4822
4936
|
<td>
|
4823
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4937
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1564</span>
|
4824
4938
|
|
4825
4939
|
<span class='kw'>def</span> <span class='id identifier rubyid_isExclusive'>isExclusive</span>
|
4826
4940
|
<span class='kw'>case</span> <span class='ivar'>@type</span>
|
@@ -4859,15 +4973,15 @@ exclusive.</p>
|
|
4859
4973
|
<pre class="lines">
|
4860
4974
|
|
4861
4975
|
|
4862
|
-
|
4863
|
-
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
|
4976
|
+
1548
|
4977
|
+
1549
|
4978
|
+
1550
|
4979
|
+
1551
|
4980
|
+
1552
|
4981
|
+
1553</pre>
|
4868
4982
|
</td>
|
4869
4983
|
<td>
|
4870
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4984
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1548</span>
|
4871
4985
|
|
4872
4986
|
<span class='kw'>def</span> <span class='id identifier rubyid_isRequired'>isRequired</span>
|
4873
4987
|
<span class='kw'>case</span> <span class='ivar'>@type</span>
|
@@ -4906,15 +5020,15 @@ exclusive.</p>
|
|
4906
5020
|
<pre class="lines">
|
4907
5021
|
|
4908
5022
|
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
5023
|
+
1573
|
5024
|
+
1574
|
5025
|
+
1575
|
5026
|
+
1576
|
5027
|
+
1577
|
5028
|
+
1578</pre>
|
4915
5029
|
</td>
|
4916
5030
|
<td>
|
4917
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5031
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1573</span>
|
4918
5032
|
|
4919
5033
|
<span class='kw'>def</span> <span class='id identifier rubyid_isSwitch'>isSwitch</span>
|
4920
5034
|
<span class='kw'>case</span> <span class='ivar'>@type</span>
|
@@ -4953,12 +5067,12 @@ exclusive.</p>
|
|
4953
5067
|
<pre class="lines">
|
4954
5068
|
|
4955
5069
|
|
4956
|
-
|
4957
|
-
|
4958
|
-
|
5070
|
+
1378
|
5071
|
+
1379
|
5072
|
+
1380</pre>
|
4959
5073
|
</td>
|
4960
5074
|
<td>
|
4961
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5075
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1378</span>
|
4962
5076
|
|
4963
5077
|
<span class='kw'>def</span> <span class='id identifier rubyid_opt'>opt</span>
|
4964
5078
|
<span class='ivar'>@shortOpt</span> <span class='op'>?</span> <span class='ivar'>@shortOpt</span> <span class='op'>:</span> <span class='ivar'>@longOpt</span>
|
@@ -5018,18 +5132,18 @@ exclusive.</p>
|
|
5018
5132
|
<pre class="lines">
|
5019
5133
|
|
5020
5134
|
|
5021
|
-
|
5022
|
-
|
5023
|
-
|
5024
|
-
|
5025
|
-
|
5026
|
-
|
5027
|
-
|
5028
|
-
|
5029
|
-
|
5135
|
+
1472
|
5136
|
+
1473
|
5137
|
+
1474
|
5138
|
+
1475
|
5139
|
+
1476
|
5140
|
+
1477
|
5141
|
+
1478
|
5142
|
+
1479
|
5143
|
+
1480</pre>
|
5030
5144
|
</td>
|
5031
5145
|
<td>
|
5032
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5146
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1472</span>
|
5033
5147
|
|
5034
5148
|
<span class='kw'>def</span> <span class='id identifier rubyid_params'>params</span>
|
5035
5149
|
<span class='id identifier rubyid_map'>map</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -5071,133 +5185,133 @@ exclusive.</p>
|
|
5071
5185
|
<pre class="lines">
|
5072
5186
|
|
5073
5187
|
|
5074
|
-
1023
|
5075
|
-
1024
|
5076
|
-
1025
|
5077
|
-
1026
|
5078
|
-
1027
|
5079
|
-
1028
|
5080
|
-
1029
|
5081
|
-
1030
|
5082
|
-
1031
|
5083
|
-
1032
|
5084
|
-
1033
|
5085
|
-
1034
|
5086
|
-
1035
|
5087
|
-
1036
|
5088
|
-
1037
|
5089
|
-
1038
|
5090
|
-
1039
|
5091
|
-
1040
|
5092
|
-
1041
|
5093
|
-
1042
|
5094
|
-
1043
|
5095
|
-
1044
|
5096
|
-
1045
|
5097
|
-
1046
|
5098
|
-
1047
|
5099
|
-
1048
|
5100
|
-
1049
|
5101
|
-
1050
|
5102
|
-
1051
|
5103
|
-
1052
|
5104
|
-
1053
|
5105
|
-
1054
|
5106
|
-
1055
|
5107
|
-
1056
|
5108
|
-
1057
|
5109
|
-
1058
|
5110
|
-
1059
|
5111
|
-
1060
|
5112
|
-
1061
|
5113
|
-
1062
|
5114
|
-
1063
|
5115
|
-
1064
|
5116
|
-
1065
|
5117
|
-
1066
|
5118
|
-
1067
|
5119
|
-
1068
|
5120
|
-
1069
|
5121
|
-
1070
|
5122
|
-
1071
|
5123
|
-
1072
|
5124
|
-
1073
|
5125
|
-
1074
|
5126
|
-
1075
|
5127
|
-
1076
|
5128
|
-
1077
|
5129
|
-
1078
|
5130
|
-
1079
|
5131
|
-
1080
|
5132
|
-
1081
|
5133
|
-
1082
|
5134
|
-
1083
|
5135
|
-
1084
|
5136
|
-
1085
|
5137
|
-
1086
|
5138
|
-
1087
|
5139
|
-
1088
|
5140
|
-
1089
|
5141
|
-
1090
|
5142
|
-
1091
|
5143
|
-
1092
|
5144
|
-
1093
|
5145
|
-
1094
|
5146
|
-
1095
|
5147
|
-
1096
|
5148
|
-
1097
|
5149
|
-
1098
|
5150
|
-
1099
|
5151
|
-
1100
|
5152
|
-
1101
|
5153
|
-
1102
|
5154
|
-
1103
|
5155
|
-
1104
|
5156
|
-
1105
|
5157
|
-
1106
|
5158
|
-
1107
|
5159
|
-
1108
|
5160
|
-
1109
|
5161
|
-
1110
|
5162
|
-
1111
|
5163
|
-
1112
|
5164
|
-
1113
|
5165
|
-
1114
|
5166
|
-
1115
|
5167
|
-
1116
|
5168
|
-
1117
|
5169
|
-
1118
|
5170
|
-
1119
|
5171
|
-
1120
|
5172
|
-
1121
|
5173
|
-
1122
|
5174
|
-
1123
|
5175
|
-
1124
|
5176
|
-
1125
|
5177
|
-
1126
|
5178
|
-
1127
|
5179
|
-
1128
|
5180
|
-
1129
|
5181
|
-
1130
|
5182
|
-
1131
|
5183
|
-
1132
|
5184
|
-
1133
|
5185
|
-
1134
|
5186
|
-
1135
|
5187
|
-
1136
|
5188
|
-
1137
|
5189
|
-
1138
|
5190
|
-
1139
|
5191
5188
|
1140
|
5192
5189
|
1141
|
5193
5190
|
1142
|
5194
5191
|
1143
|
5195
5192
|
1144
|
5196
5193
|
1145
|
5197
|
-
1146
|
5194
|
+
1146
|
5195
|
+
1147
|
5196
|
+
1148
|
5197
|
+
1149
|
5198
|
+
1150
|
5199
|
+
1151
|
5200
|
+
1152
|
5201
|
+
1153
|
5202
|
+
1154
|
5203
|
+
1155
|
5204
|
+
1156
|
5205
|
+
1157
|
5206
|
+
1158
|
5207
|
+
1159
|
5208
|
+
1160
|
5209
|
+
1161
|
5210
|
+
1162
|
5211
|
+
1163
|
5212
|
+
1164
|
5213
|
+
1165
|
5214
|
+
1166
|
5215
|
+
1167
|
5216
|
+
1168
|
5217
|
+
1169
|
5218
|
+
1170
|
5219
|
+
1171
|
5220
|
+
1172
|
5221
|
+
1173
|
5222
|
+
1174
|
5223
|
+
1175
|
5224
|
+
1176
|
5225
|
+
1177
|
5226
|
+
1178
|
5227
|
+
1179
|
5228
|
+
1180
|
5229
|
+
1181
|
5230
|
+
1182
|
5231
|
+
1183
|
5232
|
+
1184
|
5233
|
+
1185
|
5234
|
+
1186
|
5235
|
+
1187
|
5236
|
+
1188
|
5237
|
+
1189
|
5238
|
+
1190
|
5239
|
+
1191
|
5240
|
+
1192
|
5241
|
+
1193
|
5242
|
+
1194
|
5243
|
+
1195
|
5244
|
+
1196
|
5245
|
+
1197
|
5246
|
+
1198
|
5247
|
+
1199
|
5248
|
+
1200
|
5249
|
+
1201
|
5250
|
+
1202
|
5251
|
+
1203
|
5252
|
+
1204
|
5253
|
+
1205
|
5254
|
+
1206
|
5255
|
+
1207
|
5256
|
+
1208
|
5257
|
+
1209
|
5258
|
+
1210
|
5259
|
+
1211
|
5260
|
+
1212
|
5261
|
+
1213
|
5262
|
+
1214
|
5263
|
+
1215
|
5264
|
+
1216
|
5265
|
+
1217
|
5266
|
+
1218
|
5267
|
+
1219
|
5268
|
+
1220
|
5269
|
+
1221
|
5270
|
+
1222
|
5271
|
+
1223
|
5272
|
+
1224
|
5273
|
+
1225
|
5274
|
+
1226
|
5275
|
+
1227
|
5276
|
+
1228
|
5277
|
+
1229
|
5278
|
+
1230
|
5279
|
+
1231
|
5280
|
+
1232
|
5281
|
+
1233
|
5282
|
+
1234
|
5283
|
+
1235
|
5284
|
+
1236
|
5285
|
+
1237
|
5286
|
+
1238
|
5287
|
+
1239
|
5288
|
+
1240
|
5289
|
+
1241
|
5290
|
+
1242
|
5291
|
+
1243
|
5292
|
+
1244
|
5293
|
+
1245
|
5294
|
+
1246
|
5295
|
+
1247
|
5296
|
+
1248
|
5297
|
+
1249
|
5298
|
+
1250
|
5299
|
+
1251
|
5300
|
+
1252
|
5301
|
+
1253
|
5302
|
+
1254
|
5303
|
+
1255
|
5304
|
+
1256
|
5305
|
+
1257
|
5306
|
+
1258
|
5307
|
+
1259
|
5308
|
+
1260
|
5309
|
+
1261
|
5310
|
+
1262
|
5311
|
+
1263</pre>
|
5198
5312
|
</td>
|
5199
5313
|
<td>
|
5200
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5314
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1140</span>
|
5201
5315
|
|
5202
5316
|
<span class='kw'>def</span> <span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span> <span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='id identifier rubyid_checkInvalids'>checkInvalids</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='rparen'>)</span>
|
5203
5317
|
|
@@ -5374,12 +5488,12 @@ exclusive.</p>
|
|
5374
5488
|
<pre class="lines">
|
5375
5489
|
|
5376
5490
|
|
5377
|
-
|
5378
|
-
|
5379
|
-
|
5491
|
+
1090
|
5492
|
+
1091
|
5493
|
+
1092</pre>
|
5380
5494
|
</td>
|
5381
5495
|
<td>
|
5382
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5496
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1090</span>
|
5383
5497
|
|
5384
5498
|
<span class='kw'>def</span> <span class='id identifier rubyid_setRuleCheck'>setRuleCheck</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_rule'>rule</span> <span class='rparen'>)</span>
|
5385
5499
|
<span class='ivar'>@rules</span> <span class='op'>=</span> <span class='id identifier rubyid_rule'>rule</span>
|
@@ -5430,21 +5544,21 @@ exclusive.</p>
|
|
5430
5544
|
<pre class="lines">
|
5431
5545
|
|
5432
5546
|
|
5433
|
-
|
5434
|
-
|
5435
|
-
|
5436
|
-
|
5437
|
-
|
5438
|
-
|
5439
|
-
|
5440
|
-
|
5441
|
-
|
5442
|
-
|
5443
|
-
|
5444
|
-
|
5547
|
+
1065
|
5548
|
+
1066
|
5549
|
+
1067
|
5550
|
+
1068
|
5551
|
+
1069
|
5552
|
+
1070
|
5553
|
+
1071
|
5554
|
+
1072
|
5555
|
+
1073
|
5556
|
+
1074
|
5557
|
+
1075
|
5558
|
+
1076</pre>
|
5445
5559
|
</td>
|
5446
5560
|
<td>
|
5447
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5561
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1065</span>
|
5448
5562
|
|
5449
5563
|
<span class='kw'>def</span> <span class='id identifier rubyid_setSubopt'>setSubopt</span><span class='lparen'>(</span> <span class='id identifier rubyid_opts'>opts</span><span class='comma'>,</span> <span class='id identifier rubyid_subs'>subs</span> <span class='rparen'>)</span>
|
5450
5564
|
<span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
@@ -5489,12 +5603,12 @@ exclusive.</p>
|
|
5489
5603
|
<pre class="lines">
|
5490
5604
|
|
5491
5605
|
|
5492
|
-
|
5493
|
-
|
5494
|
-
|
5606
|
+
1591
|
5607
|
+
1592
|
5608
|
+
1593</pre>
|
5495
5609
|
</td>
|
5496
5610
|
<td>
|
5497
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5611
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1591</span>
|
5498
5612
|
|
5499
5613
|
<span class='kw'>def</span> <span class='id identifier rubyid_setUsageFooter'>setUsageFooter</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
5500
5614
|
<span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:footer</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_str'>str</span>
|
@@ -5530,12 +5644,12 @@ exclusive.</p>
|
|
5530
5644
|
<pre class="lines">
|
5531
5645
|
|
5532
5646
|
|
5533
|
-
|
5534
|
-
|
5535
|
-
|
5647
|
+
1585
|
5648
|
+
1586
|
5649
|
+
1587</pre>
|
5536
5650
|
</td>
|
5537
5651
|
<td>
|
5538
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5652
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1585</span>
|
5539
5653
|
|
5540
5654
|
<span class='kw'>def</span> <span class='id identifier rubyid_setUsageHeader'>setUsageHeader</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
5541
5655
|
<span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:header</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_str'>str</span>
|
@@ -5584,12 +5698,12 @@ exclusive.</p>
|
|
5584
5698
|
<pre class="lines">
|
5585
5699
|
|
5586
5700
|
|
5587
|
-
|
5588
|
-
|
5589
|
-
|
5701
|
+
1557
|
5702
|
+
1558
|
5703
|
+
1559</pre>
|
5590
5704
|
</td>
|
5591
5705
|
<td>
|
5592
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5706
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1557</span>
|
5593
5707
|
|
5594
5708
|
<span class='kw'>def</span> <span class='id identifier rubyid_silent?'>silent?</span>
|
5595
5709
|
<span class='ivar'>@type</span> <span class='op'>==</span> <span class='symbol'>:silent</span>
|
@@ -5625,12 +5739,12 @@ exclusive.</p>
|
|
5625
5739
|
<pre class="lines">
|
5626
5740
|
|
5627
5741
|
|
5628
|
-
|
5629
|
-
|
5630
|
-
|
5742
|
+
1384
|
5743
|
+
1385
|
5744
|
+
1386</pre>
|
5631
5745
|
</td>
|
5632
5746
|
<td>
|
5633
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5747
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1384</span>
|
5634
5748
|
|
5635
5749
|
<span class='kw'>def</span> <span class='id identifier rubyid_suball'>suball</span>
|
5636
5750
|
<span class='ivar'>@subopt</span> <span class='op'>+</span> <span class='ivar'>@subcmd</span>
|
@@ -5666,35 +5780,39 @@ exclusive.</p>
|
|
5666
5780
|
<pre class="lines">
|
5667
5781
|
|
5668
5782
|
|
5669
|
-
|
5670
|
-
|
5671
|
-
|
5672
|
-
|
5673
|
-
|
5674
|
-
|
5675
|
-
|
5676
|
-
|
5677
|
-
|
5678
|
-
|
5679
|
-
|
5680
|
-
|
5681
|
-
|
5682
|
-
|
5683
|
-
|
5684
|
-
|
5685
|
-
|
5686
|
-
|
5687
|
-
|
5688
|
-
|
5689
|
-
|
5690
|
-
|
5691
|
-
|
5783
|
+
1710
|
5784
|
+
1711
|
5785
|
+
1712
|
5786
|
+
1713
|
5787
|
+
1714
|
5788
|
+
1715
|
5789
|
+
1716
|
5790
|
+
1717
|
5791
|
+
1718
|
5792
|
+
1719
|
5793
|
+
1720
|
5794
|
+
1721
|
5795
|
+
1722
|
5796
|
+
1723
|
5797
|
+
1724
|
5798
|
+
1725
|
5799
|
+
1726
|
5800
|
+
1727
|
5801
|
+
1728
|
5802
|
+
1729
|
5803
|
+
1730
|
5804
|
+
1731</pre>
|
5805
|
+
</td>
|
5806
|
+
<td>
|
5807
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1710</span>
|
5692
5808
|
|
5693
5809
|
<span class='kw'>def</span> <span class='id identifier rubyid_suboptDoc'>suboptDoc</span>
|
5694
5810
|
|
5695
5811
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
5696
5812
|
<span class='comment'># format = Proc.new do |s,d| ( " %-#{@config[ :tab ]}s%s\n" % [ s, d ] ) end
|
5697
5813
|
</span>
|
5814
|
+
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
5815
|
+
|
5698
5816
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> Options:\n</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_hasSubcmd'>hasSubcmd</span> <span class='op'>&&</span> <span class='id identifier rubyid_hasVisibleOptions'>hasVisibleOptions</span>
|
5699
5817
|
|
5700
5818
|
<span class='ivar'>@subopt</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_o'>o</span><span class='op'>|</span>
|
@@ -5781,23 +5899,23 @@ exclusive.</p>
|
|
5781
5899
|
<pre class="lines">
|
5782
5900
|
|
5783
5901
|
|
5784
|
-
|
5785
|
-
|
5786
|
-
|
5787
|
-
|
5788
|
-
|
5789
|
-
|
5790
|
-
|
5791
|
-
|
5792
|
-
|
5793
|
-
|
5794
|
-
|
5795
|
-
|
5796
|
-
|
5797
|
-
|
5902
|
+
1604
|
5903
|
+
1605
|
5904
|
+
1606
|
5905
|
+
1607
|
5906
|
+
1608
|
5907
|
+
1609
|
5908
|
+
1610
|
5909
|
+
1611
|
5910
|
+
1612
|
5911
|
+
1613
|
5912
|
+
1614
|
5913
|
+
1615
|
5914
|
+
1616
|
5915
|
+
1617</pre>
|
5798
5916
|
</td>
|
5799
5917
|
<td>
|
5800
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5918
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1604</span>
|
5801
5919
|
|
5802
5920
|
<span class='kw'>def</span> <span class='id identifier rubyid_usage'>usage</span><span class='lparen'>(</span> <span class='id identifier rubyid_doExit'>doExit</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_ruleHelp'>ruleHelp</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
5803
5921
|
|
@@ -5844,27 +5962,25 @@ exclusive.</p>
|
|
5844
5962
|
<pre class="lines">
|
5845
5963
|
|
5846
5964
|
|
5847
|
-
|
5848
|
-
|
5849
|
-
|
5850
|
-
|
5851
|
-
|
5852
|
-
|
5853
|
-
|
5854
|
-
|
5855
|
-
|
5856
|
-
|
5857
|
-
1524</pre>
|
5965
|
+
1631
|
5966
|
+
1632
|
5967
|
+
1633
|
5968
|
+
1634
|
5969
|
+
1635
|
5970
|
+
1636
|
5971
|
+
1637
|
5972
|
+
1638
|
5973
|
+
1639
|
5974
|
+
1640</pre>
|
5858
5975
|
</td>
|
5859
5976
|
<td>
|
5860
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5977
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1631</span>
|
5861
5978
|
|
5862
5979
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageCommand'>usageCommand</span>
|
5863
5980
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
5864
5981
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\
|
5865
5982
|
Subcommand \"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='rbrace'>}</span><span class='tstring_content'>\" usage:
|
5866
5983
|
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fullCommand'>fullCommand</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_cmdline'>cmdline</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>
|
5867
|
-
|
5868
5984
|
</span><span class='tstring_end'>"</span></span>
|
5869
5985
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='id identifier rubyid_suboptDoc'>suboptDoc</span>
|
5870
5986
|
|
@@ -5901,16 +6017,16 @@ exclusive.</p>
|
|
5901
6017
|
<pre class="lines">
|
5902
6018
|
|
5903
6019
|
|
5904
|
-
|
5905
|
-
|
5906
|
-
|
5907
|
-
|
5908
|
-
|
5909
|
-
|
5910
|
-
|
6020
|
+
1621
|
6021
|
+
1622
|
6022
|
+
1623
|
6023
|
+
1624
|
6024
|
+
1625
|
6025
|
+
1626
|
6026
|
+
1627</pre>
|
5911
6027
|
</td>
|
5912
6028
|
<td>
|
5913
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6029
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1621</span>
|
5914
6030
|
|
5915
6031
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageIfHelp'>usageIfHelp</span>
|
5916
6032
|
<span class='kw'>if</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>help</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_given'>given</span>
|
@@ -5950,28 +6066,28 @@ exclusive.</p>
|
|
5950
6066
|
<pre class="lines">
|
5951
6067
|
|
5952
6068
|
|
5953
|
-
|
5954
|
-
|
5955
|
-
|
5956
|
-
|
5957
|
-
|
5958
|
-
|
5959
|
-
|
5960
|
-
|
5961
|
-
|
5962
|
-
|
5963
|
-
|
5964
|
-
|
5965
|
-
|
5966
|
-
|
5967
|
-
|
5968
|
-
|
5969
|
-
|
5970
|
-
|
5971
|
-
|
6069
|
+
1643
|
6070
|
+
1644
|
6071
|
+
1645
|
6072
|
+
1646
|
6073
|
+
1647
|
6074
|
+
1648
|
6075
|
+
1649
|
6076
|
+
1650
|
6077
|
+
1651
|
6078
|
+
1652
|
6079
|
+
1653
|
6080
|
+
1654
|
6081
|
+
1655
|
6082
|
+
1656
|
6083
|
+
1657
|
6084
|
+
1658
|
6085
|
+
1659
|
6086
|
+
1660
|
6087
|
+
1661</pre>
|
5972
6088
|
</td>
|
5973
6089
|
<td>
|
5974
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6090
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1643</span>
|
5975
6091
|
|
5976
6092
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageNormal'>usageNormal</span>
|
5977
6093
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
@@ -5995,77 +6111,6 @@ exclusive.</p>
|
|
5995
6111
|
</td>
|
5996
6112
|
</tr>
|
5997
6113
|
</table>
|
5998
|
-
</div>
|
5999
|
-
|
6000
|
-
<div class="method_details ">
|
6001
|
-
<h3 class="signature " id="usageNormalOld-instance_method">
|
6002
|
-
|
6003
|
-
- (<tt>Object</tt>) <strong>usageNormalOld</strong>
|
6004
|
-
|
6005
|
-
|
6006
|
-
|
6007
|
-
|
6008
|
-
|
6009
|
-
</h3><div class="docstring">
|
6010
|
-
<div class="discussion">
|
6011
|
-
|
6012
|
-
<p>Usage info for Opt:s.</p>
|
6013
|
-
|
6014
|
-
|
6015
|
-
</div>
|
6016
|
-
</div>
|
6017
|
-
<div class="tags">
|
6018
|
-
|
6019
|
-
|
6020
|
-
</div><table class="source_code">
|
6021
|
-
<tr>
|
6022
|
-
<td>
|
6023
|
-
<pre class="lines">
|
6024
|
-
|
6025
|
-
|
6026
|
-
1527
|
6027
|
-
1528
|
6028
|
-
1529
|
6029
|
-
1530
|
6030
|
-
1531
|
6031
|
-
1532
|
6032
|
-
1533
|
6033
|
-
1534
|
6034
|
-
1535
|
6035
|
-
1536
|
6036
|
-
1537
|
6037
|
-
1538
|
6038
|
-
1539
|
6039
|
-
1540
|
6040
|
-
1541
|
6041
|
-
1542
|
6042
|
-
1543
|
6043
|
-
1544</pre>
|
6044
|
-
</td>
|
6045
|
-
<td>
|
6046
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1527</span>
|
6047
|
-
|
6048
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_usageNormalOld'>usageNormalOld</span>
|
6049
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
6050
|
-
|
6051
|
-
<span class='kw'>if</span> <span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:header</span> <span class='rbracket'>]</span>
|
6052
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
6053
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:header</span> <span class='rbracket'>]</span>
|
6054
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
6055
|
-
<span class='kw'>end</span>
|
6056
|
-
|
6057
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='id identifier rubyid_usageCommand'>usageCommand</span>
|
6058
|
-
|
6059
|
-
<span class='kw'>if</span> <span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:footer</span> <span class='rbracket'>]</span>
|
6060
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:footer</span> <span class='rbracket'>]</span>
|
6061
|
-
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
6062
|
-
<span class='kw'>end</span>
|
6063
|
-
|
6064
|
-
<span class='id identifier rubyid_str'>str</span>
|
6065
|
-
<span class='kw'>end</span></pre>
|
6066
|
-
</td>
|
6067
|
-
</tr>
|
6068
|
-
</table>
|
6069
6114
|
</div>
|
6070
6115
|
|
6071
6116
|
<div class="method_details ">
|
@@ -6095,12 +6140,12 @@ href="http://'file'">Opt</a>".</p>
|
|
6095
6140
|
<pre class="lines">
|
6096
6141
|
|
6097
6142
|
|
6098
|
-
|
6099
|
-
|
6100
|
-
|
6143
|
+
1416
|
6144
|
+
1417
|
6145
|
+
1418</pre>
|
6101
6146
|
</td>
|
6102
6147
|
<td>
|
6103
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6148
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1416</span>
|
6104
6149
|
|
6105
6150
|
<span class='kw'>def</span> <span class='op'>~</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
6106
6151
|
<span class='ivar'>@value</span>
|
@@ -6115,7 +6160,7 @@ href="http://'file'">Opt</a>".</p>
|
|
6115
6160
|
</div>
|
6116
6161
|
|
6117
6162
|
<div id="footer">
|
6118
|
-
Generated on Wed
|
6163
|
+
Generated on Wed Jul 9 14:02:43 2014 by
|
6119
6164
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
6120
6165
|
0.8.6.1 (ruby-1.9.3).
|
6121
6166
|
</div>
|