como 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/doc/Como/ArgsParseState.html +53 -53
- data/doc/Como/ComoCommon.html +4 -4
- data/doc/Como/MainOpt.html +51 -51
- data/doc/Como/Opt/ErrorWithData.html +4 -4
- data/doc/Como/Opt/InvalidOption.html +4 -4
- data/doc/Como/Opt/MissingArgument.html +4 -4
- data/doc/Como/Opt.html +913 -511
- data/doc/Como/RuleCheck.html +89 -89
- data/doc/Como/RuleDisplay.html +84 -84
- data/doc/Como/Spec.html +16 -16
- data/doc/Como.html +129 -123
- data/doc/_index.html +5 -5
- data/doc/class_list.html +6 -1
- data/doc/css/style.css +2 -1
- data/doc/file.CHANGELOG.html +27 -23
- data/doc/file.README.html +10 -10
- data/doc/file_list.html +6 -1
- data/doc/frames.html +5 -7
- data/doc/index.html +10 -10
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +9 -6
- data/doc/method_list.html +167 -132
- data/doc/top-level-namespace.html +4 -4
- data/lib/como.rb +41 -11
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28310744251d2127dfb34a2d8be75d5af720ed3f
|
4
|
+
data.tar.gz: 2120e0ba9dfda6602ae905ccbc94dd4d55df42a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a210badb98c8d62afe48d12ddf5c0e703922ebf8091fe6d9d65f22bb68240c999dec3a7f39cf84688c1f65b3d790c78df5783a098051162f001cb0cb0449774
|
7
|
+
data.tar.gz: 115d17a3002a36e87ec51f9dd6146cbe5add1165acdb32914f433f7cc048a4b85ea22f5d6233fa708a6e73294090bc3f1809d2a60628fd6e97e3bdce386d15c6
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= Version history
|
2
2
|
|
3
|
+
[0.1.5] Moved evalCheck from private methods to public methods.
|
4
|
+
Opt.error/fatal/warn API methods.
|
5
|
+
|
6
|
+
|
3
7
|
[0.1.4] Documentation improvements (links to methods).
|
4
8
|
Fix to Opt#apply return value when type is :switch.
|
5
9
|
Opt#fatal added for user error reporting towards command line user.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Como::ArgsParseState
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.6
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Como/ArgsParseState.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -443,13 +443,13 @@
|
|
443
443
|
<pre class="lines">
|
444
444
|
|
445
445
|
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
446
|
+
2034
|
447
|
+
2035
|
448
|
+
2036
|
449
|
+
2037</pre>
|
450
450
|
</td>
|
451
451
|
<td>
|
452
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
452
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2034</span>
|
453
453
|
|
454
454
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_list'>list</span> <span class='rparen'>)</span>
|
455
455
|
<span class='id identifier rubyid_set'>set</span><span class='lparen'>(</span> <span class='id identifier rubyid_list'>list</span> <span class='rparen'>)</span>
|
@@ -506,12 +506,12 @@
|
|
506
506
|
<pre class="lines">
|
507
507
|
|
508
508
|
|
509
|
-
|
510
|
-
|
511
|
-
|
509
|
+
2070
|
510
|
+
2071
|
511
|
+
2072</pre>
|
512
512
|
</td>
|
513
513
|
<td>
|
514
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
514
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2070</span>
|
515
515
|
|
516
516
|
<span class='kw'>def</span> <span class='id identifier rubyid_done?'>done?</span>
|
517
517
|
<span class='ivar'>@idx</span> <span class='op'>>=</span> <span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span>
|
@@ -547,12 +547,12 @@
|
|
547
547
|
<pre class="lines">
|
548
548
|
|
549
549
|
|
550
|
-
|
551
|
-
|
552
|
-
|
550
|
+
2055
|
551
|
+
2056
|
552
|
+
2057</pre>
|
553
553
|
</td>
|
554
554
|
<td>
|
555
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
555
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2055</span>
|
556
556
|
|
557
557
|
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span> <span class='id identifier rubyid_idx'>idx</span> <span class='op'>=</span> <span class='ivar'>@idx</span> <span class='rparen'>)</span>
|
558
558
|
<span class='ivar'>@args</span><span class='lbracket'>[</span> <span class='id identifier rubyid_idx'>idx</span> <span class='rbracket'>]</span>
|
@@ -588,12 +588,12 @@
|
|
588
588
|
<pre class="lines">
|
589
589
|
|
590
590
|
|
591
|
-
|
592
|
-
|
593
|
-
|
591
|
+
2076
|
592
|
+
2077
|
593
|
+
2078</pre>
|
594
594
|
</td>
|
595
595
|
<td>
|
596
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
596
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2076</span>
|
597
597
|
|
598
598
|
<span class='kw'>def</span> <span class='id identifier rubyid_isOpt'>isOpt</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span> <span class='rparen'>)</span>
|
599
599
|
<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>
|
@@ -629,12 +629,12 @@
|
|
629
629
|
<pre class="lines">
|
630
630
|
|
631
631
|
|
632
|
-
|
633
|
-
|
634
|
-
|
632
|
+
2081
|
633
|
+
2082
|
634
|
+
2083</pre>
|
635
635
|
</td>
|
636
636
|
<td>
|
637
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
637
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2081</span>
|
638
638
|
|
639
639
|
<span class='kw'>def</span> <span class='id identifier rubyid_isOptTerm'>isOptTerm</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span> <span class='rparen'>)</span>
|
640
640
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>--</span><span class='tstring_end'>"</span></span>
|
@@ -670,12 +670,12 @@
|
|
670
670
|
<pre class="lines">
|
671
671
|
|
672
672
|
|
673
|
-
|
674
|
-
|
675
|
-
|
673
|
+
2060
|
674
|
+
2061
|
675
|
+
2062</pre>
|
676
676
|
</td>
|
677
677
|
<td>
|
678
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
678
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2060</span>
|
679
679
|
|
680
680
|
<span class='kw'>def</span> <span class='id identifier rubyid_last'>last</span><span class='lparen'>(</span> <span class='id identifier rubyid_idx'>idx</span> <span class='op'>=</span> <span class='ivar'>@idx</span> <span class='rparen'>)</span>
|
681
681
|
<span class='id identifier rubyid_idx'>idx</span> <span class='op'>==</span> <span class='lparen'>(</span> <span class='ivar'>@args</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span><span class='op'>-</span><span class='int'>1</span> <span class='rparen'>)</span>
|
@@ -711,12 +711,12 @@
|
|
711
711
|
<pre class="lines">
|
712
712
|
|
713
713
|
|
714
|
-
|
715
|
-
|
716
|
-
|
714
|
+
2045
|
715
|
+
2046
|
716
|
+
2047</pre>
|
717
717
|
</td>
|
718
718
|
<td>
|
719
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
719
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2045</span>
|
720
720
|
|
721
721
|
<span class='kw'>def</span> <span class='kw'>next</span>
|
722
722
|
<span class='ivar'>@idx</span> <span class='op'>+=</span> <span class='int'>1</span>
|
@@ -752,12 +752,12 @@
|
|
752
752
|
<pre class="lines">
|
753
753
|
|
754
754
|
|
755
|
-
|
756
|
-
|
757
|
-
|
755
|
+
2050
|
756
|
+
2051
|
757
|
+
2052</pre>
|
758
758
|
</td>
|
759
759
|
<td>
|
760
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
760
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2050</span>
|
761
761
|
|
762
762
|
<span class='kw'>def</span> <span class='id identifier rubyid_prev'>prev</span>
|
763
763
|
<span class='ivar'>@idx</span> <span class='op'>-=</span> <span class='int'>1</span>
|
@@ -793,12 +793,12 @@
|
|
793
793
|
<pre class="lines">
|
794
794
|
|
795
795
|
|
796
|
-
|
797
|
-
|
798
|
-
|
796
|
+
2065
|
797
|
+
2066
|
798
|
+
2067</pre>
|
799
799
|
</td>
|
800
800
|
<td>
|
801
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
801
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2065</span>
|
802
802
|
|
803
803
|
<span class='kw'>def</span> <span class='id identifier rubyid_rest'>rest</span><span class='lparen'>(</span> <span class='id identifier rubyid_idx'>idx</span> <span class='op'>=</span> <span class='ivar'>@idx</span> <span class='rparen'>)</span>
|
804
804
|
<span class='ivar'>@args</span><span class='lbracket'>[</span> <span class='id identifier rubyid_idx'>idx</span><span class='op'>..</span><span class='op'>-</span><span class='int'>1</span> <span class='rbracket'>]</span>
|
@@ -834,12 +834,12 @@
|
|
834
834
|
<pre class="lines">
|
835
835
|
|
836
836
|
|
837
|
-
|
838
|
-
|
839
|
-
|
837
|
+
2040
|
838
|
+
2041
|
839
|
+
2042</pre>
|
840
840
|
</td>
|
841
841
|
<td>
|
842
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
842
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2040</span>
|
843
843
|
|
844
844
|
<span class='kw'>def</span> <span class='id identifier rubyid_set'>set</span><span class='lparen'>(</span> <span class='id identifier rubyid_list'>list</span> <span class='rparen'>)</span>
|
845
845
|
<span class='ivar'>@args</span> <span class='op'>=</span> <span class='id identifier rubyid_list'>list</span>
|
@@ -875,16 +875,16 @@
|
|
875
875
|
<pre class="lines">
|
876
876
|
|
877
877
|
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
878
|
+
2086
|
879
|
+
2087
|
880
|
+
2088
|
881
|
+
2089
|
882
|
+
2090
|
883
|
+
2091
|
884
|
+
2092</pre>
|
885
885
|
</td>
|
886
886
|
<td>
|
887
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
887
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2086</span>
|
888
888
|
|
889
889
|
<span class='kw'>def</span> <span class='id identifier rubyid_toValue'>toValue</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span> <span class='rparen'>)</span>
|
890
890
|
<span class='kw'>if</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>
|
@@ -903,9 +903,9 @@
|
|
903
903
|
</div>
|
904
904
|
|
905
905
|
<div id="footer">
|
906
|
-
Generated on
|
906
|
+
Generated on Mon Apr 20 18:44:03 2015 by
|
907
907
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
908
|
-
0.8.6
|
908
|
+
0.8.7.6 (ruby-2.1.2).
|
909
909
|
</div>
|
910
910
|
|
911
911
|
</body>
|
data/doc/Como/ComoCommon.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Como::ComoCommon
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.6
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Como/ComoCommon.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -518,9 +518,9 @@
|
|
518
518
|
</div>
|
519
519
|
|
520
520
|
<div id="footer">
|
521
|
-
Generated on
|
521
|
+
Generated on Mon Apr 20 18:44:03 2015 by
|
522
522
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
523
|
-
0.8.6
|
523
|
+
0.8.7.6 (ruby-2.1.2).
|
524
524
|
</div>
|
525
525
|
|
526
526
|
</body>
|
data/doc/Como/MainOpt.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Como::MainOpt
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.6
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Como/MainOpt.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -311,7 +311,7 @@
|
|
311
311
|
|
312
312
|
|
313
313
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Opt.html" title="Como::Opt (class)">Opt</a></span></h3>
|
314
|
-
<p class="inherited"><span class='object_link'><a href="Opt.html#%5B%5D-instance_method" title="Como::Opt#[] (method)">#[]</a></span>, <span class='object_link'><a href="Opt.html#%5B%5D-class_method" title="Como::Opt.[] (method)">[]</a></span>, <span class='object_link'><a href="Opt.html#addOpt-class_method" title="Como::Opt.addOpt (method)">addOpt</a></span>, <span class='object_link'><a href="Opt.html#addOption-instance_method" title="Como::Opt#addOption (method)">#addOption</a></span>, <span class='object_link'><a href="Opt.html#addSubcmd-instance_method" title="Como::Opt#addSubcmd (method)">#addSubcmd</a></span>, <span class='object_link'><a href="Opt.html#apply-instance_method" title="Como::Opt#apply (method)">#apply</a></span>, <span class='object_link'><a href="Opt.html#applyConfig-instance_method" title="Como::Opt#applyConfig (method)">#applyConfig</a></span>, <span class='object_link'><a href="Opt.html#argById-instance_method" title="Como::Opt#argById (method)">#argById</a></span>, <span class='object_link'><a href="Opt.html#argByName-instance_method" title="Como::Opt#argByName (method)">#argByName</a></span>, <span class='object_link'><a href="Opt.html#author-class_method" title="Como::Opt.author (method)">author</a></span>, <span class='object_link'><a href="Opt.html#check-instance_method" title="Como::Opt#check (method)">#check</a></span>, <span class='object_link'><a href="Opt.html#checkAlso-instance_method" title="Como::Opt#checkAlso (method)">#checkAlso</a></span>, <span class='object_link'><a href="Opt.html#checkMissing-instance_method" title="Como::Opt#checkMissing (method)">#checkMissing</a></span>, <span class='object_link'><a href="Opt.html#checkRule-instance_method" title="Como::Opt#checkRule (method)">#checkRule</a></span>, <span class='object_link'><a href="Opt.html#cmdline-instance_method" title="Como::Opt#cmdline (method)">#cmdline</a></span>, <span class='object_link'><a href="Opt.html#configGet-class_method" title="Como::Opt.configGet (method)">configGet</a></span>, <span class='object_link'><a href="Opt.html#configOverlay-class_method" title="Como::Opt.configOverlay (method)">configOverlay</a></span>, <span class='object_link'><a href="Opt.html#configSet-class_method" title="Como::Opt.configSet (method)">configSet</a></span>, <span class='object_link'><a href="Opt.html#current-class_method" title="Como::Opt.current (method)">current</a></span>, <span class='object_link'><a href="Opt.html#default-instance_method" title="Como::Opt#default (method)">#default</a></span>, <span class='object_link'><a href="Opt.html#default-class_method" title="Como::Opt.default (method)">default</a></span>, <span class='object_link'><a href="Opt.html#defaultOpt-class_method" title="Como::Opt.defaultOpt (method)">defaultOpt</a></span>, <span class='object_link'><a href="Opt.html#each-instance_method" title="Como::Opt#each (method)">#each</a></span>, <span class='object_link'><a href="Opt.html#each-class_method" title="Como::Opt.each (method)">each</a></span>, <span class='object_link'><a href="Opt.html#each_given-
|
314
|
+
<p class="inherited"><span class='object_link'><a href="Opt.html#%5B%5D-instance_method" title="Como::Opt#[] (method)">#[]</a></span>, <span class='object_link'><a href="Opt.html#%5B%5D-class_method" title="Como::Opt.[] (method)">[]</a></span>, <span class='object_link'><a href="Opt.html#addOpt-class_method" title="Como::Opt.addOpt (method)">addOpt</a></span>, <span class='object_link'><a href="Opt.html#addOption-instance_method" title="Como::Opt#addOption (method)">#addOption</a></span>, <span class='object_link'><a href="Opt.html#addSubcmd-instance_method" title="Como::Opt#addSubcmd (method)">#addSubcmd</a></span>, <span class='object_link'><a href="Opt.html#apply-instance_method" title="Como::Opt#apply (method)">#apply</a></span>, <span class='object_link'><a href="Opt.html#applyConfig-instance_method" title="Como::Opt#applyConfig (method)">#applyConfig</a></span>, <span class='object_link'><a href="Opt.html#argById-instance_method" title="Como::Opt#argById (method)">#argById</a></span>, <span class='object_link'><a href="Opt.html#argByName-instance_method" title="Como::Opt#argByName (method)">#argByName</a></span>, <span class='object_link'><a href="Opt.html#author-class_method" title="Como::Opt.author (method)">author</a></span>, <span class='object_link'><a href="Opt.html#check-instance_method" title="Como::Opt#check (method)">#check</a></span>, <span class='object_link'><a href="Opt.html#checkAlso-instance_method" title="Como::Opt#checkAlso (method)">#checkAlso</a></span>, <span class='object_link'><a href="Opt.html#checkMissing-instance_method" title="Como::Opt#checkMissing (method)">#checkMissing</a></span>, <span class='object_link'><a href="Opt.html#checkRule-instance_method" title="Como::Opt#checkRule (method)">#checkRule</a></span>, <span class='object_link'><a href="Opt.html#cmdline-instance_method" title="Como::Opt#cmdline (method)">#cmdline</a></span>, <span class='object_link'><a href="Opt.html#configGet-class_method" title="Como::Opt.configGet (method)">configGet</a></span>, <span class='object_link'><a href="Opt.html#configOverlay-class_method" title="Como::Opt.configOverlay (method)">configOverlay</a></span>, <span class='object_link'><a href="Opt.html#configSet-class_method" title="Como::Opt.configSet (method)">configSet</a></span>, <span class='object_link'><a href="Opt.html#current-class_method" title="Como::Opt.current (method)">current</a></span>, <span class='object_link'><a href="Opt.html#default-instance_method" title="Como::Opt#default (method)">#default</a></span>, <span class='object_link'><a href="Opt.html#default-class_method" title="Como::Opt.default (method)">default</a></span>, <span class='object_link'><a href="Opt.html#defaultOpt-class_method" title="Como::Opt.defaultOpt (method)">defaultOpt</a></span>, <span class='object_link'><a href="Opt.html#each-instance_method" title="Como::Opt#each (method)">#each</a></span>, <span class='object_link'><a href="Opt.html#each-class_method" title="Como::Opt.each (method)">each</a></span>, <span class='object_link'><a href="Opt.html#each_given-instance_method" title="Como::Opt#each_given (method)">#each_given</a></span>, <span class='object_link'><a href="Opt.html#each_given-class_method" title="Como::Opt.each_given (method)">each_given</a></span>, <span class='object_link'><a href="Opt.html#error-class_method" title="Como::Opt.error (method)">error</a></span>, <span class='object_link'><a href="Opt.html#error-instance_method" title="Como::Opt#error (method)">#error</a></span>, <span class='object_link'><a href="Opt.html#errornl-instance_method" title="Como::Opt#errornl (method)">#errornl</a></span>, <span class='object_link'><a href="Opt.html#evalCheck-instance_method" title="Como::Opt#evalCheck (method)">#evalCheck</a></span>, <span class='object_link'><a href="Opt.html#external-class_method" title="Como::Opt.external (method)">external</a></span>, <span class='object_link'><a href="Opt.html#fatal-instance_method" title="Como::Opt#fatal (method)">#fatal</a></span>, <span class='object_link'><a href="Opt.html#fatal-class_method" title="Como::Opt.fatal (method)">fatal</a></span>, <span class='object_link'><a href="Opt.html#findOpt-instance_method" title="Como::Opt#findOpt (method)">#findOpt</a></span>, <span class='object_link'><a href="Opt.html#findOpt-class_method" title="Como::Opt.findOpt (method)">findOpt</a></span>, <span class='object_link'><a href="Opt.html#full-class_method" title="Como::Opt.full (method)">full</a></span>, <span class='object_link'><a href="Opt.html#givenCount-instance_method" title="Como::Opt#givenCount (method)">#givenCount</a></span>, <span class='object_link'><a href="Opt.html#givenSubcmd-instance_method" title="Como::Opt#givenSubcmd (method)">#givenSubcmd</a></span>, <span class='object_link'><a href="Opt.html#hasArg-instance_method" title="Como::Opt#hasArg (method)">#hasArg</a></span>, <span class='object_link'><a href="Opt.html#hasMany-instance_method" title="Como::Opt#hasMany (method)">#hasMany</a></span>, <span class='object_link'><a href="Opt.html#isExclusive-instance_method" title="Como::Opt#isExclusive (method)">#isExclusive</a></span>, <span class='object_link'><a href="Opt.html#isRequired-instance_method" title="Como::Opt#isRequired (method)">#isRequired</a></span>, <span class='object_link'><a href="Opt.html#isSwitch-instance_method" title="Como::Opt#isSwitch (method)">#isSwitch</a></span>, <span class='object_link'><a href="Opt.html#main-class_method" title="Como::Opt.main (method)">main</a></span>, <span class='object_link'><a href="Opt.html#opt-instance_method" title="Como::Opt#opt (method)">#opt</a></span>, <span class='object_link'><a href="Opt.html#params-instance_method" title="Como::Opt#params (method)">#params</a></span>, <span class='object_link'><a href="Opt.html#parse-instance_method" title="Como::Opt#parse (method)">#parse</a></span>, <span class='object_link'><a href="Opt.html#progname-class_method" title="Como::Opt.progname (method)">progname</a></span>, <span class='object_link'><a href="Opt.html#reset-class_method" title="Como::Opt.reset (method)">reset</a></span>, <span class='object_link'><a href="Opt.html#setMain-class_method" title="Como::Opt.setMain (method)">setMain</a></span>, <span class='object_link'><a href="Opt.html#setOptionSubcmd-instance_method" title="Como::Opt#setOptionSubcmd (method)">#setOptionSubcmd</a></span>, <span class='object_link'><a href="Opt.html#setRuleCheck-instance_method" title="Como::Opt#setRuleCheck (method)">#setRuleCheck</a></span>, <span class='object_link'><a href="Opt.html#setSubcmd-class_method" title="Como::Opt.setSubcmd (method)">setSubcmd</a></span>, <span class='object_link'><a href="Opt.html#setUsageFooter-instance_method" title="Como::Opt#setUsageFooter (method)">#setUsageFooter</a></span>, <span class='object_link'><a href="Opt.html#setUsageHeader-instance_method" title="Como::Opt#setUsageHeader (method)">#setUsageHeader</a></span>, <span class='object_link'><a href="Opt.html#silent%3F-instance_method" title="Como::Opt#silent? (method)">#silent?</a></span>, <span class='object_link'><a href="Opt.html#suball-instance_method" title="Como::Opt#suball (method)">#suball</a></span>, <span class='object_link'><a href="Opt.html#subcmd-class_method" title="Como::Opt.subcmd (method)">subcmd</a></span>, <span class='object_link'><a href="Opt.html#suboptDoc-instance_method" title="Como::Opt#suboptDoc (method)">#suboptDoc</a></span>, <span class='object_link'><a href="Opt.html#usage-instance_method" title="Como::Opt#usage (method)">#usage</a></span>, <span class='object_link'><a href="Opt.html#usageIfHelp-instance_method" title="Como::Opt#usageIfHelp (method)">#usageIfHelp</a></span>, <span class='object_link'><a href="Opt.html#usageNormal-instance_method" title="Como::Opt#usageNormal (method)">#usageNormal</a></span>, <span class='object_link'><a href="Opt.html#warn-instance_method" title="Como::Opt#warn (method)">#warn</a></span>, <span class='object_link'><a href="Opt.html#warn-class_method" title="Como::Opt.warn (method)">warn</a></span>, <span class='object_link'><a href="Opt.html#year-class_method" title="Como::Opt.year (method)">year</a></span>, <span class='object_link'><a href="Opt.html#%7E-instance_method" title="Como::Opt#~ (method)">#~</a></span></p>
|
315
315
|
|
316
316
|
|
317
317
|
|
@@ -352,20 +352,20 @@
|
|
352
352
|
<pre class="lines">
|
353
353
|
|
354
354
|
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
355
|
+
1988
|
356
|
+
1989
|
357
|
+
1990
|
358
|
+
1991
|
359
|
+
1992
|
360
|
+
1993
|
361
|
+
1994
|
362
|
+
1995
|
363
|
+
1996
|
364
|
+
1997
|
365
|
+
1998</pre>
|
366
366
|
</td>
|
367
367
|
<td>
|
368
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
368
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1988</span>
|
369
369
|
|
370
370
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_author'>author</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span><span class='comma'>,</span>
|
371
371
|
<span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opt'>opt</span><span class='comma'>,</span>
|
@@ -416,12 +416,12 @@
|
|
416
416
|
<pre class="lines">
|
417
417
|
|
418
418
|
|
419
|
-
|
420
|
-
|
421
|
-
|
419
|
+
1984
|
420
|
+
1985
|
421
|
+
1986</pre>
|
422
422
|
</td>
|
423
423
|
<td>
|
424
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
424
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1984</span>
|
425
425
|
|
426
426
|
<span class='kw'>def</span> <span class='id identifier rubyid_author'>author</span>
|
427
427
|
<span class='ivar'>@author</span>
|
@@ -459,12 +459,12 @@
|
|
459
459
|
<pre class="lines">
|
460
460
|
|
461
461
|
|
462
|
-
|
463
|
-
|
464
|
-
|
462
|
+
1981
|
463
|
+
1982
|
464
|
+
1983</pre>
|
465
465
|
</td>
|
466
466
|
<td>
|
467
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
467
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1981</span>
|
468
468
|
|
469
469
|
<span class='kw'>def</span> <span class='id identifier rubyid_external'>external</span>
|
470
470
|
<span class='ivar'>@external</span>
|
@@ -502,12 +502,12 @@
|
|
502
502
|
<pre class="lines">
|
503
503
|
|
504
504
|
|
505
|
-
|
506
|
-
|
507
|
-
|
505
|
+
1984
|
506
|
+
1985
|
507
|
+
1986</pre>
|
508
508
|
</td>
|
509
509
|
<td>
|
510
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
510
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 1984</span>
|
511
511
|
|
512
512
|
<span class='kw'>def</span> <span class='id identifier rubyid_year'>year</span>
|
513
513
|
<span class='ivar'>@year</span>
|
@@ -550,12 +550,12 @@
|
|
550
550
|
<pre class="lines">
|
551
551
|
|
552
552
|
|
553
|
-
|
554
|
-
|
555
|
-
|
553
|
+
2002
|
554
|
+
2003
|
555
|
+
2004</pre>
|
556
556
|
</td>
|
557
557
|
<td>
|
558
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
558
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2002</span>
|
559
559
|
|
560
560
|
<span class='kw'>def</span> <span class='id identifier rubyid_fullCommand'>fullCommand</span>
|
561
561
|
<span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_progname'>progname</span>
|
@@ -591,35 +591,35 @@
|
|
591
591
|
<pre class="lines">
|
592
592
|
|
593
593
|
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
594
|
+
2008
|
595
|
+
2009
|
596
|
+
2010
|
597
|
+
2011
|
598
|
+
2012
|
599
|
+
2013
|
600
|
+
2014
|
601
|
+
2015
|
602
|
+
2016
|
603
|
+
2017
|
604
|
+
2018
|
605
|
+
2019
|
606
|
+
2020
|
607
|
+
2021
|
608
|
+
2022</pre>
|
609
609
|
</td>
|
610
610
|
<td>
|
611
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
611
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2008</span>
|
612
612
|
|
613
613
|
<span class='kw'>def</span> <span class='id identifier rubyid_usageCommand'>usageCommand</span>
|
614
614
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\
|
615
|
-
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fullCommand'>fullCommand</span><span class='
|
615
|
+
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_fullCommand'>fullCommand</span><span class='embexpr_end'>}</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='embexpr_end'>}</span><span class='tstring_content'>
|
616
616
|
</span><span class='tstring_end'>"</span></span>
|
617
617
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='id identifier rubyid_suboptDoc'>suboptDoc</span>
|
618
618
|
|
619
619
|
<span class='kw'>if</span> <span class='ivar'>@config</span><span class='lbracket'>[</span> <span class='symbol'>:copyright</span> <span class='rbracket'>]</span>
|
620
620
|
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>
|
621
621
|
|
622
|
-
Copyright (c) </span><span class='embexpr_beg'>#{</span><span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span><span class='
|
622
|
+
Copyright (c) </span><span class='embexpr_beg'>#{</span><span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span><span class='embexpr_end'>}</span><span class='tstring_content'> by </span><span class='embexpr_beg'>#{</span><span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_author'>author</span><span class='embexpr_end'>}</span><span class='tstring_content'>
|
623
623
|
</span><span class='tstring_end'>"</span></span>
|
624
624
|
<span class='kw'>end</span>
|
625
625
|
|
@@ -635,9 +635,9 @@
|
|
635
635
|
</div>
|
636
636
|
|
637
637
|
<div id="footer">
|
638
|
-
Generated on
|
638
|
+
Generated on Mon Apr 20 18:44:03 2015 by
|
639
639
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
640
|
-
0.8.6
|
640
|
+
0.8.7.6 (ruby-2.1.2).
|
641
641
|
</div>
|
642
642
|
|
643
643
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: Como::Opt::ErrorWithData
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.6
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!Como/Opt/ErrorWithData.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -295,9 +295,9 @@
|
|
295
295
|
</div>
|
296
296
|
|
297
297
|
<div id="footer">
|
298
|
-
Generated on
|
298
|
+
Generated on Mon Apr 20 18:44:03 2015 by
|
299
299
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
300
|
-
0.8.6
|
300
|
+
0.8.7.6 (ruby-2.1.2).
|
301
301
|
</div>
|
302
302
|
|
303
303
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: Como::Opt::InvalidOption
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.6
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!Como/Opt/InvalidOption.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Mon Apr 20 18:44:03 2015 by
|
153
153
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.8.6
|
154
|
+
0.8.7.6 (ruby-2.1.2).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: Como::Opt::MissingArgument
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.6
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!Como/Opt/MissingArgument.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Mon Apr 20 18:44:03 2015 by
|
153
153
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.8.6
|
154
|
+
0.8.7.6 (ruby-2.1.2).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</body>
|