como 0.2.0 → 0.2.1
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 +2 -0
- data/doc/Como/ArgsParseState.html +50 -50
- data/doc/Como/ComoCommon.html +1 -1
- data/doc/Como/MainOpt.html +35 -35
- data/doc/Como/Opt/ErrorWithData.html +1 -1
- data/doc/Como/Opt/InvalidOption.html +1 -1
- data/doc/Como/Opt/MissingArgument.html +1 -1
- data/doc/Como/Opt.html +269 -255
- data/doc/Como/RuleCheck.html +58 -58
- data/doc/Como/RuleDisplay.html +71 -71
- data/doc/Como/Spec.html +2 -2
- data/doc/Como.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/como.rb +17 -11
- data/lib/version.rb +1 -1
- data/test/golden/subcmd.txt +18 -0
- data/test/test_como.rb +1 -1
- data/test/test_subcmd +2 -0
- metadata +2 -2
data/doc/Como/Opt.html
CHANGED
@@ -2499,13 +2499,6 @@ given.</p>
|
|
2499
2499
|
<pre class="lines">
|
2500
2500
|
|
2501
2501
|
|
2502
|
-
1628
|
2503
|
-
1629
|
2504
|
-
1630
|
2505
|
-
1631
|
2506
|
-
1632
|
2507
|
-
1633
|
2508
|
-
1634
|
2509
2502
|
1635
|
2510
2503
|
1636
|
2511
2504
|
1637
|
@@ -2513,10 +2506,17 @@ given.</p>
|
|
2513
2506
|
1639
|
2514
2507
|
1640
|
2515
2508
|
1641
|
2516
|
-
1642
|
2509
|
+
1642
|
2510
|
+
1643
|
2511
|
+
1644
|
2512
|
+
1645
|
2513
|
+
1646
|
2514
|
+
1647
|
2515
|
+
1648
|
2516
|
+
1649</pre>
|
2517
2517
|
</td>
|
2518
2518
|
<td>
|
2519
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
2519
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1635</span>
|
2520
2520
|
|
2521
2521
|
<span class='kw'>def</span> <span class='id identifier rubyid_given'>given</span><span class='lparen'>(</span> <span class='id identifier rubyid_optArg'>optArg</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>
|
2522
2522
|
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
@@ -3985,16 +3985,16 @@ after '–').</p>
|
|
3985
3985
|
<pre class="lines">
|
3986
3986
|
|
3987
3987
|
|
3988
|
-
|
3989
|
-
|
3990
|
-
|
3991
|
-
|
3992
|
-
|
3993
|
-
|
3994
|
-
|
3988
|
+
1561
|
3989
|
+
1562
|
3990
|
+
1563
|
3991
|
+
1564
|
3992
|
+
1565
|
3993
|
+
1566
|
3994
|
+
1567</pre>
|
3995
3995
|
</td>
|
3996
3996
|
<td>
|
3997
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
3997
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1561</span>
|
3998
3998
|
|
3999
3999
|
<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>
|
4000
4000
|
<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>
|
@@ -4161,20 +4161,20 @@ after '–').</p>
|
|
4161
4161
|
<pre class="lines">
|
4162
4162
|
|
4163
4163
|
|
4164
|
-
1609
|
4165
|
-
1610
|
4166
|
-
1611
|
4167
|
-
1612
|
4168
|
-
1613
|
4169
|
-
1614
|
4170
|
-
1615
|
4171
4164
|
1616
|
4172
4165
|
1617
|
4173
4166
|
1618
|
4174
|
-
1619
|
4167
|
+
1619
|
4168
|
+
1620
|
4169
|
+
1621
|
4170
|
+
1622
|
4171
|
+
1623
|
4172
|
+
1624
|
4173
|
+
1625
|
4174
|
+
1626</pre>
|
4175
4175
|
</td>
|
4176
4176
|
<td>
|
4177
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4177
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1616</span>
|
4178
4178
|
|
4179
4179
|
<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>
|
4180
4180
|
<span class='kw'>if</span> <span class='id identifier rubyid_given'>given</span>
|
@@ -4279,13 +4279,6 @@ after '–').</p>
|
|
4279
4279
|
<pre class="lines">
|
4280
4280
|
|
4281
4281
|
|
4282
|
-
1700
|
4283
|
-
1701
|
4284
|
-
1702
|
4285
|
-
1703
|
4286
|
-
1704
|
4287
|
-
1705
|
4288
|
-
1706
|
4289
4282
|
1707
|
4290
4283
|
1708
|
4291
4284
|
1709
|
@@ -4295,10 +4288,17 @@ after '–').</p>
|
|
4295
4288
|
1713
|
4296
4289
|
1714
|
4297
4290
|
1715
|
4298
|
-
1716
|
4291
|
+
1716
|
4292
|
+
1717
|
4293
|
+
1718
|
4294
|
+
1719
|
4295
|
+
1720
|
4296
|
+
1721
|
4297
|
+
1722
|
4298
|
+
1723</pre>
|
4299
4299
|
</td>
|
4300
4300
|
<td>
|
4301
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4301
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1707</span>
|
4302
4302
|
|
4303
4303
|
<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>
|
4304
4304
|
<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>
|
@@ -4348,13 +4348,6 @@ after '–').</p>
|
|
4348
4348
|
<pre class="lines">
|
4349
4349
|
|
4350
4350
|
|
4351
|
-
1680
|
4352
|
-
1681
|
4353
|
-
1682
|
4354
|
-
1683
|
4355
|
-
1684
|
4356
|
-
1685
|
4357
|
-
1686
|
4358
4351
|
1687
|
4359
4352
|
1688
|
4360
4353
|
1689
|
@@ -4364,10 +4357,17 @@ after '–').</p>
|
|
4364
4357
|
1693
|
4365
4358
|
1694
|
4366
4359
|
1695
|
4367
|
-
1696
|
4360
|
+
1696
|
4361
|
+
1697
|
4362
|
+
1698
|
4363
|
+
1699
|
4364
|
+
1700
|
4365
|
+
1701
|
4366
|
+
1702
|
4367
|
+
1703</pre>
|
4368
4368
|
</td>
|
4369
4369
|
<td>
|
4370
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4370
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1687</span>
|
4371
4371
|
|
4372
4372
|
<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>
|
4373
4373
|
<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>
|
@@ -4606,21 +4606,21 @@ after '–').</p>
|
|
4606
4606
|
<pre class="lines">
|
4607
4607
|
|
4608
4608
|
|
4609
|
-
1534
|
4610
|
-
1535
|
4611
|
-
1536
|
4612
|
-
1537
|
4613
|
-
1538
|
4614
|
-
1539
|
4615
|
-
1540
|
4616
4609
|
1541
|
4617
4610
|
1542
|
4618
4611
|
1543
|
4619
4612
|
1544
|
4620
|
-
1545
|
4613
|
+
1545
|
4614
|
+
1546
|
4615
|
+
1547
|
4616
|
+
1548
|
4617
|
+
1549
|
4618
|
+
1550
|
4619
|
+
1551
|
4620
|
+
1552</pre>
|
4621
4621
|
</td>
|
4622
4622
|
<td>
|
4623
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4623
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1541</span>
|
4624
4624
|
|
4625
4625
|
<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>
|
4626
4626
|
<span class='kw'>begin</span>
|
@@ -4679,13 +4679,6 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4679
4679
|
<pre class="lines">
|
4680
4680
|
|
4681
4681
|
|
4682
|
-
1454
|
4683
|
-
1455
|
4684
|
-
1456
|
4685
|
-
1457
|
4686
|
-
1458
|
4687
|
-
1459
|
4688
|
-
1460
|
4689
4682
|
1461
|
4690
4683
|
1462
|
4691
4684
|
1463
|
@@ -4730,10 +4723,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4730
4723
|
1502
|
4731
4724
|
1503
|
4732
4725
|
1504
|
4733
|
-
1505
|
4726
|
+
1505
|
4727
|
+
1506
|
4728
|
+
1507
|
4729
|
+
1508
|
4730
|
+
1509
|
4731
|
+
1510
|
4732
|
+
1511
|
4733
|
+
1512</pre>
|
4734
4734
|
</td>
|
4735
4735
|
<td>
|
4736
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4736
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1461</span>
|
4737
4737
|
|
4738
4738
|
<span class='kw'>def</span> <span class='id identifier rubyid_checkMissing'>checkMissing</span>
|
4739
4739
|
|
@@ -4818,13 +4818,6 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4818
4818
|
<pre class="lines">
|
4819
4819
|
|
4820
4820
|
|
4821
|
-
1510
|
4822
|
-
1511
|
4823
|
-
1512
|
4824
|
-
1513
|
4825
|
-
1514
|
4826
|
-
1515
|
4827
|
-
1516
|
4828
4821
|
1517
|
4829
4822
|
1518
|
4830
4823
|
1519
|
@@ -4833,10 +4826,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4833
4826
|
1522
|
4834
4827
|
1523
|
4835
4828
|
1524
|
4836
|
-
1525
|
4829
|
+
1525
|
4830
|
+
1526
|
4831
|
+
1527
|
4832
|
+
1528
|
4833
|
+
1529
|
4834
|
+
1530
|
4835
|
+
1531
|
4836
|
+
1532</pre>
|
4837
4837
|
</td>
|
4838
4838
|
<td>
|
4839
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4839
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1517</span>
|
4840
4840
|
|
4841
4841
|
<span class='kw'>def</span> <span class='id identifier rubyid_checkRule'>checkRule</span>
|
4842
4842
|
|
@@ -4885,13 +4885,6 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4885
4885
|
<pre class="lines">
|
4886
4886
|
|
4887
4887
|
|
4888
|
-
1820
|
4889
|
-
1821
|
4890
|
-
1822
|
4891
|
-
1823
|
4892
|
-
1824
|
4893
|
-
1825
|
4894
|
-
1826
|
4895
4888
|
1827
|
4896
4889
|
1828
|
4897
4890
|
1829
|
@@ -4927,10 +4920,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
4927
4920
|
1859
|
4928
4921
|
1860
|
4929
4922
|
1861
|
4930
|
-
1862
|
4923
|
+
1862
|
4924
|
+
1863
|
4925
|
+
1864
|
4926
|
+
1865
|
4927
|
+
1866
|
4928
|
+
1867
|
4929
|
+
1868
|
4930
|
+
1869</pre>
|
4931
4931
|
</td>
|
4932
4932
|
<td>
|
4933
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
4933
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1827</span>
|
4934
4934
|
|
4935
4935
|
<span class='kw'>def</span> <span class='id identifier rubyid_cmdline'>cmdline</span>
|
4936
4936
|
<span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -5006,12 +5006,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5006
5006
|
<pre class="lines">
|
5007
5007
|
|
5008
5008
|
|
5009
|
-
|
5010
|
-
|
5011
|
-
|
5009
|
+
1681
|
5010
|
+
1682
|
5011
|
+
1683</pre>
|
5012
5012
|
</td>
|
5013
5013
|
<td>
|
5014
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5014
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1681</span>
|
5015
5015
|
|
5016
5016
|
<span class='kw'>def</span> <span class='id identifier rubyid_default'>default</span>
|
5017
5017
|
<span class='id identifier rubyid_argByName'>argByName</span><span class='lparen'>(</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
@@ -5047,14 +5047,14 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5047
5047
|
<pre class="lines">
|
5048
5048
|
|
5049
5049
|
|
5050
|
-
|
5051
|
-
|
5052
|
-
|
5053
|
-
|
5054
|
-
|
5050
|
+
1583
|
5051
|
+
1584
|
5052
|
+
1585
|
5053
|
+
1586
|
5054
|
+
1587</pre>
|
5055
5055
|
</td>
|
5056
5056
|
<td>
|
5057
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5057
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1583</span>
|
5058
5058
|
|
5059
5059
|
<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>
|
5060
5060
|
<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>
|
@@ -5092,14 +5092,14 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5092
5092
|
<pre class="lines">
|
5093
5093
|
|
5094
5094
|
|
5095
|
-
|
5096
|
-
|
5097
|
-
|
5098
|
-
|
5099
|
-
|
5095
|
+
1591
|
5096
|
+
1592
|
5097
|
+
1593
|
5098
|
+
1594
|
5099
|
+
1595</pre>
|
5100
5100
|
</td>
|
5101
5101
|
<td>
|
5102
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5102
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1591</span>
|
5103
5103
|
|
5104
5104
|
<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>
|
5105
5105
|
<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>
|
@@ -5175,13 +5175,13 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5175
5175
|
<pre class="lines">
|
5176
5176
|
|
5177
5177
|
|
5178
|
-
|
5179
|
-
|
5180
|
-
|
5181
|
-
|
5178
|
+
1951
|
5179
|
+
1952
|
5180
|
+
1953
|
5181
|
+
1954</pre>
|
5182
5182
|
</td>
|
5183
5183
|
<td>
|
5184
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5184
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1951</span>
|
5185
5185
|
|
5186
5186
|
<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='comma'>,</span> <span class='id identifier rubyid_nl'>nl</span> <span class='op'>=</span> <span class='kw'>false</span> <span class='rparen'>)</span>
|
5187
5187
|
<span class='id identifier rubyid_nl'>nl</span> <span class='op'>=</span> <span class='id identifier rubyid_nl'>nl</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> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
@@ -5218,12 +5218,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5218
5218
|
<pre class="lines">
|
5219
5219
|
|
5220
5220
|
|
5221
|
-
|
5222
|
-
|
5223
|
-
|
5221
|
+
1958
|
5222
|
+
1959
|
5223
|
+
1960</pre>
|
5224
5224
|
</td>
|
5225
5225
|
<td>
|
5226
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5226
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1958</span>
|
5227
5227
|
|
5228
5228
|
<span class='kw'>def</span> <span class='id identifier rubyid_errornl'>errornl</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
5229
5229
|
<span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span><span class='comma'>,</span> <span class='kw'>true</span> <span class='rparen'>)</span>
|
@@ -5259,12 +5259,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5259
5259
|
<pre class="lines">
|
5260
5260
|
|
5261
5261
|
|
5262
|
-
|
5263
|
-
|
5264
|
-
|
5262
|
+
1982
|
5263
|
+
1983
|
5264
|
+
1984</pre>
|
5265
5265
|
</td>
|
5266
5266
|
<td>
|
5267
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5267
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1982</span>
|
5268
5268
|
|
5269
5269
|
<span class='kw'>def</span> <span class='id identifier rubyid_evalCheck'>evalCheck</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_check'>check</span> <span class='rparen'>)</span>
|
5270
5270
|
<span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='op'>&</span><span class='id identifier rubyid_check'>check</span>
|
@@ -5300,13 +5300,13 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5300
5300
|
<pre class="lines">
|
5301
5301
|
|
5302
5302
|
|
5303
|
-
|
5304
|
-
|
5305
|
-
|
5306
|
-
|
5303
|
+
1964
|
5304
|
+
1965
|
5305
|
+
1966
|
5306
|
+
1967</pre>
|
5307
5307
|
</td>
|
5308
5308
|
<td>
|
5309
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5309
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1964</span>
|
5310
5310
|
|
5311
5311
|
<span class='kw'>def</span> <span class='id identifier rubyid_fatal'>fatal</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
5312
5312
|
<span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
@@ -5343,30 +5343,30 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5343
5343
|
<pre class="lines">
|
5344
5344
|
|
5345
5345
|
|
5346
|
-
1891
|
5347
|
-
1892
|
5348
|
-
1893
|
5349
|
-
1894
|
5350
|
-
1895
|
5351
|
-
1896
|
5352
|
-
1897
|
5353
5346
|
1898
|
5354
5347
|
1899
|
5355
5348
|
1900
|
5356
|
-
1901
|
5349
|
+
1901
|
5350
|
+
1902
|
5351
|
+
1903
|
5352
|
+
1904
|
5353
|
+
1905
|
5354
|
+
1906
|
5355
|
+
1907
|
5356
|
+
1908</pre>
|
5357
5357
|
</td>
|
5358
5358
|
<td>
|
5359
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5359
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1898</span>
|
5360
5360
|
|
5361
5361
|
<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>
|
5362
5362
|
<span class='kw'>if</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='kw'>nil</span>
|
5363
|
-
<span class='id identifier
|
5363
|
+
<span class='id identifier rubyid_subopt'>subopt</span><span class='period'>.</span><span class='id identifier rubyid_detect'>detect</span> <span class='lbrace'>{</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_prim?'>prim?</span><span class='lparen'>(</span> <span class='symbol'>:default</span> <span class='rparen'>)</span> <span class='rbrace'>}</span>
|
5364
5364
|
<span class='kw'>elsif</span> <span class='id identifier rubyid_str'>str</span><span class='lbracket'>[</span><span class='int'>0</span><span class='op'>..</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--</span><span class='tstring_end'>"</span></span>
|
5365
|
-
<span class='id identifier
|
5366
|
-
<span class='kw'>elsif</span> <span class='id identifier rubyid_str'>str</span><span class='lbracket'>[</span><span class='int'>0</span><span class='op'>..</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'
|
5367
|
-
<span class='id identifier
|
5365
|
+
<span class='id identifier rubyid_subopt'>subopt</span><span class='period'>.</span><span class='id identifier rubyid_detect'>detect</span> <span class='lbrace'>{</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_longOpt'>longOpt</span> <span class='op'>==</span> <span class='id identifier rubyid_str'>str</span> <span class='rbrace'>}</span>
|
5366
|
+
<span class='kw'>elsif</span> <span class='id identifier rubyid_str'>str</span><span class='lbracket'>[</span><span class='int'>0</span><span class='op'>..</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>-</span><span class='tstring_end'>"</span></span>
|
5367
|
+
<span class='id identifier rubyid_subopt'>subopt</span><span class='period'>.</span><span class='id identifier rubyid_detect'>detect</span> <span class='lbrace'>{</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_opt'>opt</span> <span class='op'>==</span> <span class='id identifier rubyid_str'>str</span> <span class='rbrace'>}</span>
|
5368
5368
|
<span class='kw'>else</span>
|
5369
|
-
<span class='id identifier rubyid_suball'>suball</span><span class='period'>.</span><span class='id identifier rubyid_detect'>detect</span> <span class='lbrace'>{</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
|
5369
|
+
<span class='id identifier rubyid_suball'>suball</span><span class='period'>.</span><span class='id identifier rubyid_detect'>detect</span> <span class='lbrace'>{</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_str'>str</span> <span class='rbrace'>}</span>
|
5370
5370
|
<span class='kw'>end</span>
|
5371
5371
|
<span class='kw'>end</span></pre>
|
5372
5372
|
</td>
|
@@ -5400,16 +5400,16 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5400
5400
|
<pre class="lines">
|
5401
5401
|
|
5402
5402
|
|
5403
|
-
|
5404
|
-
|
5405
|
-
|
5406
|
-
|
5407
|
-
|
5408
|
-
|
5409
|
-
|
5403
|
+
1599
|
5404
|
+
1600
|
5405
|
+
1601
|
5406
|
+
1602
|
5407
|
+
1603
|
5408
|
+
1604
|
5409
|
+
1605</pre>
|
5410
5410
|
</td>
|
5411
5411
|
<td>
|
5412
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5412
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1599</span>
|
5413
5413
|
|
5414
5414
|
<span class='kw'>def</span> <span class='id identifier rubyid_givenCount'>givenCount</span>
|
5415
5415
|
<span class='id identifier rubyid_cnt'>cnt</span> <span class='op'>=</span> <span class='int'>0</span>
|
@@ -5449,12 +5449,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5449
5449
|
<pre class="lines">
|
5450
5450
|
|
5451
5451
|
|
5452
|
-
|
5453
|
-
|
5454
|
-
|
5452
|
+
1657
|
5453
|
+
1658
|
5454
|
+
1659</pre>
|
5455
5455
|
</td>
|
5456
5456
|
<td>
|
5457
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5457
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1657</span>
|
5458
5458
|
|
5459
5459
|
<span class='kw'>def</span> <span class='id identifier rubyid_givenSubcmd'>givenSubcmd</span>
|
5460
5460
|
<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>
|
@@ -5490,17 +5490,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5490
5490
|
<pre class="lines">
|
5491
5491
|
|
5492
5492
|
|
5493
|
-
|
5494
|
-
|
5495
|
-
|
5496
|
-
|
5497
|
-
|
5498
|
-
|
5499
|
-
|
5500
|
-
|
5493
|
+
1733
|
5494
|
+
1734
|
5495
|
+
1735
|
5496
|
+
1736
|
5497
|
+
1737
|
5498
|
+
1738
|
5499
|
+
1739
|
5500
|
+
1740</pre>
|
5501
5501
|
</td>
|
5502
5502
|
<td>
|
5503
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5503
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1733</span>
|
5504
5504
|
|
5505
5505
|
<span class='kw'>def</span> <span class='id identifier rubyid_hasSwitchStyleDoc'>hasSwitchStyleDoc</span>
|
5506
5506
|
<span class='kw'>if</span> <span class='lparen'>(</span> <span class='id identifier rubyid_prim?'>prim?</span><span class='lparen'>(</span> <span class='symbol'>:none</span> <span class='rparen'>)</span> <span class='op'>&&</span> <span class='op'>!</span><span class='id identifier rubyid_prim?'>prim?</span><span class='lparen'>(</span> <span class='symbol'>:many</span> <span class='rparen'>)</span> <span class='rparen'>)</span> <span class='op'>||</span>
|
@@ -5541,12 +5541,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5541
5541
|
<pre class="lines">
|
5542
5542
|
|
5543
5543
|
|
5544
|
-
|
5545
|
-
|
5546
|
-
|
5544
|
+
1571
|
5545
|
+
1572
|
5546
|
+
1573</pre>
|
5547
5547
|
</td>
|
5548
5548
|
<td>
|
5549
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5549
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1571</span>
|
5550
5550
|
|
5551
5551
|
<span class='kw'>def</span> <span class='id identifier rubyid_opt'>opt</span>
|
5552
5552
|
<span class='ivar'>@shortOpt</span> <span class='op'>?</span> <span class='ivar'>@shortOpt</span> <span class='op'>:</span> <span class='ivar'>@longOpt</span>
|
@@ -5607,18 +5607,18 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5607
5607
|
<pre class="lines">
|
5608
5608
|
|
5609
5609
|
|
5610
|
-
1662
|
5611
|
-
1663
|
5612
|
-
1664
|
5613
|
-
1665
|
5614
|
-
1666
|
5615
|
-
1667
|
5616
|
-
1668
|
5617
5610
|
1669
|
5618
|
-
1670
|
5611
|
+
1670
|
5612
|
+
1671
|
5613
|
+
1672
|
5614
|
+
1673
|
5615
|
+
1674
|
5616
|
+
1675
|
5617
|
+
1676
|
5618
|
+
1677</pre>
|
5619
5619
|
</td>
|
5620
5620
|
<td>
|
5621
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5621
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1669</span>
|
5622
5622
|
|
5623
5623
|
<span class='kw'>def</span> <span class='id identifier rubyid_params'>params</span>
|
5624
5624
|
<span class='id identifier rubyid_map'>map</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -5783,7 +5783,14 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5783
5783
|
1445
|
5784
5784
|
1446
|
5785
5785
|
1447
|
5786
|
-
1448
|
5786
|
+
1448
|
5787
|
+
1449
|
5788
|
+
1450
|
5789
|
+
1451
|
5790
|
+
1452
|
5791
|
+
1453
|
5792
|
+
1454
|
5793
|
+
1455</pre>
|
5787
5794
|
</td>
|
5788
5795
|
<td>
|
5789
5796
|
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1325</span>
|
@@ -5887,10 +5894,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5887
5894
|
<span class='comment'># Search for default option.
|
5888
5895
|
</span> <span class='id identifier rubyid_o'>o</span> <span class='op'>=</span> <span class='id identifier rubyid_findOpt'>findOpt</span><span class='lparen'>(</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
5889
5896
|
<span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_o'>o</span>
|
5890
|
-
<span class='id identifier
|
5891
|
-
|
5892
|
-
|
5893
|
-
|
5897
|
+
<span class='kw'>if</span> <span class='ivar'>@subcmd</span><span class='period'>.</span><span class='id identifier rubyid_any?'>any?</span>
|
5898
|
+
<span class='id identifier rubyid_raise'>raise</span> \
|
5899
|
+
<span class='const'>InvalidOption</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
5900
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Unknown subcmd: \"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"...</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5901
|
+
<span class='kw'>self</span> <span class='rparen'>)</span>
|
5902
|
+
<span class='kw'>else</span>
|
5903
|
+
<span class='id identifier rubyid_raise'>raise</span> \
|
5904
|
+
<span class='const'>InvalidOption</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
5905
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>No default option specified to allow \"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"...</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
5906
|
+
<span class='kw'>self</span> <span class='rparen'>)</span>
|
5907
|
+
<span class='kw'>end</span>
|
5894
5908
|
<span class='kw'>else</span>
|
5895
5909
|
<span class='comment'># Default option.
|
5896
5910
|
</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_given'>given</span> <span class='op'>=</span> <span class='kw'>true</span>
|
@@ -5956,12 +5970,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
5956
5970
|
<pre class="lines">
|
5957
5971
|
|
5958
5972
|
|
5959
|
-
|
5960
|
-
|
5961
|
-
|
5973
|
+
1727
|
5974
|
+
1728
|
5975
|
+
1729</pre>
|
5962
5976
|
</td>
|
5963
5977
|
<td>
|
5964
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
5978
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1727</span>
|
5965
5979
|
|
5966
5980
|
<span class='kw'>def</span> <span class='id identifier rubyid_prim?'>prim?</span><span class='lparen'>(</span> <span class='id identifier rubyid_prim'>prim</span> <span class='rparen'>)</span>
|
5967
5981
|
<span class='ivar'>@type</span><span class='period'>.</span><span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span> <span class='id identifier rubyid_prim'>prim</span> <span class='rparen'>)</span>
|
@@ -6126,12 +6140,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6126
6140
|
<pre class="lines">
|
6127
6141
|
|
6128
6142
|
|
6129
|
-
|
6130
|
-
|
6131
|
-
|
6143
|
+
1753
|
6144
|
+
1754
|
6145
|
+
1755</pre>
|
6132
6146
|
</td>
|
6133
6147
|
<td>
|
6134
|
-
<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 1753</span>
|
6135
6149
|
|
6136
6150
|
<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>
|
6137
6151
|
<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>
|
@@ -6167,12 +6181,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6167
6181
|
<pre class="lines">
|
6168
6182
|
|
6169
6183
|
|
6170
|
-
|
6171
|
-
|
6172
|
-
|
6184
|
+
1747
|
6185
|
+
1748
|
6186
|
+
1749</pre>
|
6173
6187
|
</td>
|
6174
6188
|
<td>
|
6175
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6189
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1747</span>
|
6176
6190
|
|
6177
6191
|
<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>
|
6178
6192
|
<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>
|
@@ -6208,12 +6222,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6208
6222
|
<pre class="lines">
|
6209
6223
|
|
6210
6224
|
|
6211
|
-
|
6212
|
-
|
6213
|
-
|
6225
|
+
1577
|
6226
|
+
1578
|
6227
|
+
1579</pre>
|
6214
6228
|
</td>
|
6215
6229
|
<td>
|
6216
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6230
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1577</span>
|
6217
6231
|
|
6218
6232
|
<span class='kw'>def</span> <span class='id identifier rubyid_suball'>suball</span>
|
6219
6233
|
<span class='ivar'>@subopt</span> <span class='op'>+</span> <span class='ivar'>@subcmd</span>
|
@@ -6249,13 +6263,6 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6249
6263
|
<pre class="lines">
|
6250
6264
|
|
6251
6265
|
|
6252
|
-
1866
|
6253
|
-
1867
|
6254
|
-
1868
|
6255
|
-
1869
|
6256
|
-
1870
|
6257
|
-
1871
|
6258
|
-
1872
|
6259
6266
|
1873
|
6260
6267
|
1874
|
6261
6268
|
1875
|
@@ -6270,10 +6277,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6270
6277
|
1884
|
6271
6278
|
1885
|
6272
6279
|
1886
|
6273
|
-
1887
|
6280
|
+
1887
|
6281
|
+
1888
|
6282
|
+
1889
|
6283
|
+
1890
|
6284
|
+
1891
|
6285
|
+
1892
|
6286
|
+
1893
|
6287
|
+
1894</pre>
|
6274
6288
|
</td>
|
6275
6289
|
<td>
|
6276
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6290
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1873</span>
|
6277
6291
|
|
6278
6292
|
<span class='kw'>def</span> <span class='id identifier rubyid_suboptDoc'>suboptDoc</span>
|
6279
6293
|
|
@@ -6330,19 +6344,19 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6330
6344
|
<pre class="lines">
|
6331
6345
|
|
6332
6346
|
|
6333
|
-
1907
|
6334
|
-
1908
|
6335
|
-
1909
|
6336
|
-
1910
|
6337
|
-
1911
|
6338
|
-
1912
|
6339
|
-
1913
|
6340
6347
|
1914
|
6341
6348
|
1915
|
6342
|
-
1916
|
6349
|
+
1916
|
6350
|
+
1917
|
6351
|
+
1918
|
6352
|
+
1919
|
6353
|
+
1920
|
6354
|
+
1921
|
6355
|
+
1922
|
6356
|
+
1923</pre>
|
6343
6357
|
</td>
|
6344
6358
|
<td>
|
6345
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6359
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1914</span>
|
6346
6360
|
|
6347
6361
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
|
6348
6362
|
<span class='id identifier rubyid_h'>h</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -6387,13 +6401,6 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6387
6401
|
<pre class="lines">
|
6388
6402
|
|
6389
6403
|
|
6390
|
-
1922
|
6391
|
-
1923
|
6392
|
-
1924
|
6393
|
-
1925
|
6394
|
-
1926
|
6395
|
-
1927
|
6396
|
-
1928
|
6397
6404
|
1929
|
6398
6405
|
1930
|
6399
6406
|
1931
|
@@ -6402,10 +6409,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6402
6409
|
1934
|
6403
6410
|
1935
|
6404
6411
|
1936
|
6405
|
-
1937
|
6412
|
+
1937
|
6413
|
+
1938
|
6414
|
+
1939
|
6415
|
+
1940
|
6416
|
+
1941
|
6417
|
+
1942
|
6418
|
+
1943
|
6419
|
+
1944</pre>
|
6406
6420
|
</td>
|
6407
6421
|
<td>
|
6408
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6422
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1929</span>
|
6409
6423
|
|
6410
6424
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_hopt'>to_hopt</span>
|
6411
6425
|
<span class='id identifier rubyid_h'>h</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -6494,23 +6508,23 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6494
6508
|
<pre class="lines">
|
6495
6509
|
|
6496
6510
|
|
6497
|
-
1759
|
6498
|
-
1760
|
6499
|
-
1761
|
6500
|
-
1762
|
6501
|
-
1763
|
6502
|
-
1764
|
6503
|
-
1765
|
6504
6511
|
1766
|
6505
6512
|
1767
|
6506
6513
|
1768
|
6507
6514
|
1769
|
6508
6515
|
1770
|
6509
6516
|
1771
|
6510
|
-
1772
|
6517
|
+
1772
|
6518
|
+
1773
|
6519
|
+
1774
|
6520
|
+
1775
|
6521
|
+
1776
|
6522
|
+
1777
|
6523
|
+
1778
|
6524
|
+
1779</pre>
|
6511
6525
|
</td>
|
6512
6526
|
<td>
|
6513
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6527
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1766</span>
|
6514
6528
|
|
6515
6529
|
<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>
|
6516
6530
|
|
@@ -6557,19 +6571,19 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6557
6571
|
<pre class="lines">
|
6558
6572
|
|
6559
6573
|
|
6560
|
-
1786
|
6561
|
-
1787
|
6562
|
-
1788
|
6563
|
-
1789
|
6564
|
-
1790
|
6565
|
-
1791
|
6566
|
-
1792
|
6567
6574
|
1793
|
6568
6575
|
1794
|
6569
|
-
1795
|
6576
|
+
1795
|
6577
|
+
1796
|
6578
|
+
1797
|
6579
|
+
1798
|
6580
|
+
1799
|
6581
|
+
1800
|
6582
|
+
1801
|
6583
|
+
1802</pre>
|
6570
6584
|
</td>
|
6571
6585
|
<td>
|
6572
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6586
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1793</span>
|
6573
6587
|
|
6574
6588
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageCommand'>usageCommand</span>
|
6575
6589
|
<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>
|
@@ -6612,16 +6626,16 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6612
6626
|
<pre class="lines">
|
6613
6627
|
|
6614
6628
|
|
6615
|
-
|
6616
|
-
|
6617
|
-
|
6618
|
-
|
6619
|
-
|
6620
|
-
|
6621
|
-
|
6629
|
+
1783
|
6630
|
+
1784
|
6631
|
+
1785
|
6632
|
+
1786
|
6633
|
+
1787
|
6634
|
+
1788
|
6635
|
+
1789</pre>
|
6622
6636
|
</td>
|
6623
6637
|
<td>
|
6624
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6638
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1783</span>
|
6625
6639
|
|
6626
6640
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageIfHelp'>usageIfHelp</span>
|
6627
6641
|
<span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_argByName'>argByName</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>help</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span> <span class='op'>&&</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>
|
@@ -6661,13 +6675,6 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6661
6675
|
<pre class="lines">
|
6662
6676
|
|
6663
6677
|
|
6664
|
-
1798
|
6665
|
-
1799
|
6666
|
-
1800
|
6667
|
-
1801
|
6668
|
-
1802
|
6669
|
-
1803
|
6670
|
-
1804
|
6671
6678
|
1805
|
6672
6679
|
1806
|
6673
6680
|
1807
|
@@ -6679,10 +6686,17 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6679
6686
|
1813
|
6680
6687
|
1814
|
6681
6688
|
1815
|
6682
|
-
1816
|
6689
|
+
1816
|
6690
|
+
1817
|
6691
|
+
1818
|
6692
|
+
1819
|
6693
|
+
1820
|
6694
|
+
1821
|
6695
|
+
1822
|
6696
|
+
1823</pre>
|
6683
6697
|
</td>
|
6684
6698
|
<td>
|
6685
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6699
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1805</span>
|
6686
6700
|
|
6687
6701
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageNormal'>usageNormal</span>
|
6688
6702
|
<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>
|
@@ -6772,13 +6786,13 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6772
6786
|
<pre class="lines">
|
6773
6787
|
|
6774
6788
|
|
6775
|
-
|
6776
|
-
|
6777
|
-
|
6778
|
-
|
6789
|
+
1974
|
6790
|
+
1975
|
6791
|
+
1976
|
6792
|
+
1977</pre>
|
6779
6793
|
</td>
|
6780
6794
|
<td>
|
6781
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6795
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1974</span>
|
6782
6796
|
|
6783
6797
|
<span class='kw'>def</span> <span class='id identifier rubyid_warn'>warn</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span><span class='comma'>,</span> <span class='id identifier rubyid_nl'>nl</span> <span class='op'>=</span> <span class='kw'>false</span> <span class='rparen'>)</span>
|
6784
6798
|
<span class='id identifier rubyid_nl'>nl</span> <span class='op'>=</span> <span class='id identifier rubyid_nl'>nl</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> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
@@ -6815,12 +6829,12 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6815
6829
|
<pre class="lines">
|
6816
6830
|
|
6817
6831
|
|
6818
|
-
|
6819
|
-
|
6820
|
-
|
6832
|
+
1609
|
6833
|
+
1610
|
6834
|
+
1611</pre>
|
6821
6835
|
</td>
|
6822
6836
|
<td>
|
6823
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
6837
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1609</span>
|
6824
6838
|
|
6825
6839
|
<span class='kw'>def</span> <span class='op'>~</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
6826
6840
|
<span class='ivar'>@value</span>
|
@@ -6835,7 +6849,7 @@ subcommands. MissingArgument Exception is generated if argument is missing.</p>
|
|
6835
6849
|
</div>
|
6836
6850
|
|
6837
6851
|
<div id="footer">
|
6838
|
-
Generated on
|
6852
|
+
Generated on Sun Jan 1 15:54:18 2017 by
|
6839
6853
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
6840
6854
|
0.8.7.6 (ruby-2.3.1).
|
6841
6855
|
</div>
|