como 0.2.2 → 0.2.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.
- checksums.yaml +5 -5
- data/CHANGELOG.rdoc +3 -0
- data/doc/Como.html +142 -105
- data/doc/Como/ArgsParseState.html +116 -115
- data/doc/Como/ComoCommon.html +78 -73
- data/doc/Como/MainOpt.html +105 -104
- data/doc/Como/Opt.html +900 -878
- data/doc/Como/Opt/ErrorWithData.html +59 -58
- data/doc/Como/Opt/InvalidOption.html +44 -43
- data/doc/Como/Opt/MissingArgument.html +44 -43
- data/doc/Como/RuleCheck.html +155 -154
- data/doc/Como/RuleDisplay.html +158 -156
- data/doc/Como/Spec.html +328 -319
- data/doc/_index.html +28 -31
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +250 -93
- data/doc/file.CHANGELOG.html +37 -33
- data/doc/file.README.html +28 -31
- data/doc/file_list.html +29 -31
- data/doc/frames.html +7 -16
- data/doc/index.html +28 -31
- data/doc/js/app.js +147 -74
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +768 -476
- data/doc/top-level-namespace.html +34 -36
- data/lib/como.rb +46 -19
- data/lib/version.rb +1 -1
- data/test/como_options +1 -0
- data/test/como_type_prim +2 -2
- data/test/golden/options.txt +71 -11
- data/test/test_como.rb +2 -2
- data/test/test_options +3 -0
- metadata +3 -4
data/doc/Como/ComoCommon.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Como::ComoCommon
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.16
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Como::ComoCommon";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Como/ComoCommon.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Como.html" title="Como (module)">Como</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ComoCommon</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
65
61
|
|
66
|
-
|
62
|
+
<div id="content"><h1>Class: Como::ComoCommon
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
95
92
|
|
96
|
-
|
97
|
-
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/como.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -115,8 +115,12 @@
|
|
115
115
|
<p class="children"><span class='object_link'><a href="Opt.html" title="Como::Opt (class)">Opt</a></span>, <span class='object_link'><a href="RuleDisplay.html" title="Como::RuleDisplay (class)">RuleDisplay</a></span>, <span class='object_link'><a href="Spec.html" title="Como::Spec (class)">Spec</a></span></p>
|
116
116
|
</div>
|
117
117
|
|
118
|
-
<h2>Constant Summary</h2>
|
119
118
|
|
119
|
+
<h2>
|
120
|
+
Constant Summary
|
121
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
122
|
+
</h2>
|
123
|
+
|
120
124
|
<dl class="constants">
|
121
125
|
|
122
126
|
<dt id="io-classvariable" class="">@@io =
|
@@ -163,7 +167,7 @@
|
|
163
167
|
|
164
168
|
<h2>
|
165
169
|
Class Method Summary
|
166
|
-
<small
|
170
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
167
171
|
</h2>
|
168
172
|
|
169
173
|
<ul class="summary">
|
@@ -171,7 +175,7 @@
|
|
171
175
|
<li class="public ">
|
172
176
|
<span class="summary_signature">
|
173
177
|
|
174
|
-
<a href="#getIo-class_method" title="getIo (class method)"
|
178
|
+
<a href="#getIo-class_method" title="getIo (class method)">.<strong>getIo</strong> ⇒ Object </a>
|
175
179
|
|
176
180
|
|
177
181
|
|
@@ -195,7 +199,7 @@
|
|
195
199
|
<li class="public ">
|
196
200
|
<span class="summary_signature">
|
197
201
|
|
198
|
-
<a href="#runHook-class_method" title="runHook (class method)"
|
202
|
+
<a href="#runHook-class_method" title="runHook (class method)">.<strong>runHook</strong>(name, args) { ... } ⇒ Object </a>
|
199
203
|
|
200
204
|
|
201
205
|
|
@@ -219,7 +223,7 @@
|
|
219
223
|
<li class="public ">
|
220
224
|
<span class="summary_signature">
|
221
225
|
|
222
|
-
<a href="#setHook-class_method" title="setHook (class method)"
|
226
|
+
<a href="#setHook-class_method" title="setHook (class method)">.<strong>setHook</strong>(name) { ... } ⇒ Object </a>
|
223
227
|
|
224
228
|
|
225
229
|
|
@@ -243,7 +247,7 @@
|
|
243
247
|
<li class="public ">
|
244
248
|
<span class="summary_signature">
|
245
249
|
|
246
|
-
<a href="#setIo-class_method" title="setIo (class method)"
|
250
|
+
<a href="#setIo-class_method" title="setIo (class method)">.<strong>setIo</strong>(io) ⇒ Object </a>
|
247
251
|
|
248
252
|
|
249
253
|
|
@@ -276,7 +280,7 @@
|
|
276
280
|
<div class="method_details first">
|
277
281
|
<h3 class="signature first" id="getIo-class_method">
|
278
282
|
|
279
|
-
|
283
|
+
.<strong>getIo</strong> ⇒ <tt>Object</tt>
|
280
284
|
|
281
285
|
|
282
286
|
|
@@ -299,14 +303,14 @@
|
|
299
303
|
<pre class="lines">
|
300
304
|
|
301
305
|
|
302
|
-
|
303
|
-
|
304
|
-
|
306
|
+
539
|
307
|
+
540
|
308
|
+
541</pre>
|
305
309
|
</td>
|
306
310
|
<td>
|
307
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
311
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 539</span>
|
308
312
|
|
309
|
-
<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_getIo'>getIo</span>
|
313
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Como::ComoCommon (class)">ComoCommon</a></span></span><span class='period'>.</span><span class='id identifier rubyid_getIo'>getIo</span>
|
310
314
|
<span class='cvar'>@@io</span>
|
311
315
|
<span class='kw'>end</span></pre>
|
312
316
|
</td>
|
@@ -317,7 +321,7 @@
|
|
317
321
|
<div class="method_details ">
|
318
322
|
<h3 class="signature " id="runHook-class_method">
|
319
323
|
|
320
|
-
|
324
|
+
.<strong>runHook</strong>(name, args) { ... } ⇒ <tt>Object</tt>
|
321
325
|
|
322
326
|
|
323
327
|
|
@@ -378,14 +382,14 @@
|
|
378
382
|
<pre class="lines">
|
379
383
|
|
380
384
|
|
381
|
-
|
382
|
-
|
383
|
-
|
385
|
+
555
|
386
|
+
556
|
387
|
+
557</pre>
|
384
388
|
</td>
|
385
389
|
<td>
|
386
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
390
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 555</span>
|
387
391
|
|
388
|
-
<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_runHook'>runHook</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
392
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Como::ComoCommon (class)">ComoCommon</a></span></span><span class='period'>.</span><span class='id identifier rubyid_runHook'>runHook</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
389
393
|
<span class='cvar'>@@hook</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_yield'>yield</span><span class='lparen'>(</span> <span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span> <span class='kw'>if</span> <span class='cvar'>@@hook</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span>
|
390
394
|
<span class='kw'>end</span></pre>
|
391
395
|
</td>
|
@@ -396,7 +400,7 @@
|
|
396
400
|
<div class="method_details ">
|
397
401
|
<h3 class="signature " id="setHook-class_method">
|
398
402
|
|
399
|
-
|
403
|
+
.<strong>setHook</strong>(name) { ... } ⇒ <tt>Object</tt>
|
400
404
|
|
401
405
|
|
402
406
|
|
@@ -457,14 +461,14 @@
|
|
457
461
|
<pre class="lines">
|
458
462
|
|
459
463
|
|
460
|
-
|
461
|
-
|
462
|
-
|
464
|
+
547
|
465
|
+
548
|
466
|
+
549</pre>
|
463
467
|
</td>
|
464
468
|
<td>
|
465
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
469
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 547</span>
|
466
470
|
|
467
|
-
<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_setHook'>setHook</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
|
471
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Como::ComoCommon (class)">ComoCommon</a></span></span><span class='period'>.</span><span class='id identifier rubyid_setHook'>setHook</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
|
468
472
|
<span class='cvar'>@@hook</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_code'>code</span>
|
469
473
|
<span class='kw'>end</span></pre>
|
470
474
|
</td>
|
@@ -475,7 +479,7 @@
|
|
475
479
|
<div class="method_details ">
|
476
480
|
<h3 class="signature " id="setIo-class_method">
|
477
481
|
|
478
|
-
|
482
|
+
.<strong>setIo</strong>(io) ⇒ <tt>Object</tt>
|
479
483
|
|
480
484
|
|
481
485
|
|
@@ -498,14 +502,14 @@
|
|
498
502
|
<pre class="lines">
|
499
503
|
|
500
504
|
|
501
|
-
|
502
|
-
|
503
|
-
|
505
|
+
534
|
506
|
+
535
|
507
|
+
536</pre>
|
504
508
|
</td>
|
505
509
|
<td>
|
506
|
-
<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 534</span>
|
507
511
|
|
508
|
-
<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_setIo'>setIo</span><span class='lparen'>(</span> <span class='id identifier rubyid_io'>io</span> <span class='rparen'>)</span>
|
512
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Como::ComoCommon (class)">ComoCommon</a></span></span><span class='period'>.</span><span class='id identifier rubyid_setIo'>setIo</span><span class='lparen'>(</span> <span class='id identifier rubyid_io'>io</span> <span class='rparen'>)</span>
|
509
513
|
<span class='cvar'>@@io</span> <span class='op'>=</span> <span class='id identifier rubyid_io'>io</span>
|
510
514
|
<span class='kw'>end</span></pre>
|
511
515
|
</td>
|
@@ -517,11 +521,12 @@
|
|
517
521
|
|
518
522
|
</div>
|
519
523
|
|
520
|
-
|
521
|
-
Generated on
|
524
|
+
<div id="footer">
|
525
|
+
Generated on Sat Sep 29 19:17:49 2018 by
|
522
526
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
523
|
-
0.
|
527
|
+
0.9.16 (ruby-2.5.1).
|
524
528
|
</div>
|
525
529
|
|
530
|
+
</div>
|
526
531
|
</body>
|
527
532
|
</html>
|
data/doc/Como/MainOpt.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Como::MainOpt
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.16
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Como::MainOpt";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Como/MainOpt.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (M)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Como.html" title="Como (module)">Como</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">MainOpt</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Como::MainOpt
|
62
|
+
<div id="content"><h1>Class: Como::MainOpt
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName"><span class='object_link'><a href="Opt.html" title="Como::Opt (class)">Opt</a></span></span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -87,21 +83,25 @@
|
|
87
83
|
</ul>
|
88
84
|
<a href="#" class="inheritanceTree">show all</a>
|
89
85
|
|
90
|
-
|
91
|
-
|
86
|
+
</dd>
|
87
|
+
</dl>
|
92
88
|
|
89
|
+
|
93
90
|
|
94
|
-
|
95
91
|
|
96
|
-
|
97
92
|
|
98
93
|
|
99
94
|
|
100
|
-
|
101
|
-
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/como.rb</dd>
|
102
|
+
</dl>
|
102
103
|
|
103
|
-
</
|
104
|
-
<div class="clear"></div>
|
104
|
+
</div>
|
105
105
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
107
107
|
<div class="discussion">
|
@@ -118,13 +118,13 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
<h2>Instance Attribute Summary <small
|
121
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
122
122
|
<ul class="summary">
|
123
123
|
|
124
124
|
<li class="public ">
|
125
125
|
<span class="summary_signature">
|
126
126
|
|
127
|
-
<a href="#author-instance_method" title="#author (instance method)"
|
127
|
+
<a href="#author-instance_method" title="#author (instance method)">#<strong>author</strong> ⇒ Object </a>
|
128
128
|
|
129
129
|
|
130
130
|
|
@@ -153,7 +153,7 @@
|
|
153
153
|
<li class="public ">
|
154
154
|
<span class="summary_signature">
|
155
155
|
|
156
|
-
<a href="#external-instance_method" title="#external (instance method)"
|
156
|
+
<a href="#external-instance_method" title="#external (instance method)">#<strong>external</strong> ⇒ Object </a>
|
157
157
|
|
158
158
|
|
159
159
|
|
@@ -180,7 +180,7 @@
|
|
180
180
|
<li class="public ">
|
181
181
|
<span class="summary_signature">
|
182
182
|
|
183
|
-
<a href="#year-instance_method" title="#year (instance method)"
|
183
|
+
<a href="#year-instance_method" title="#year (instance method)">#<strong>year</strong> ⇒ Object </a>
|
184
184
|
|
185
185
|
|
186
186
|
|
@@ -219,7 +219,7 @@
|
|
219
219
|
|
220
220
|
<h2>
|
221
221
|
Instance Method Summary
|
222
|
-
<small
|
222
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
223
223
|
</h2>
|
224
224
|
|
225
225
|
<ul class="summary">
|
@@ -227,7 +227,7 @@
|
|
227
227
|
<li class="public ">
|
228
228
|
<span class="summary_signature">
|
229
229
|
|
230
|
-
<a href="#fullCommand-instance_method" title="#fullCommand (instance method)"
|
230
|
+
<a href="#fullCommand-instance_method" title="#fullCommand (instance method)">#<strong>fullCommand</strong> ⇒ Object </a>
|
231
231
|
|
232
232
|
|
233
233
|
|
@@ -251,7 +251,7 @@
|
|
251
251
|
<li class="public ">
|
252
252
|
<span class="summary_signature">
|
253
253
|
|
254
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
254
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(author, year, name, opt, type, doc, value = nil) ⇒ MainOpt </a>
|
255
255
|
|
256
256
|
|
257
257
|
|
@@ -277,7 +277,7 @@
|
|
277
277
|
<li class="public ">
|
278
278
|
<span class="summary_signature">
|
279
279
|
|
280
|
-
<a href="#usageCommand-instance_method" title="#usageCommand (instance method)"
|
280
|
+
<a href="#usageCommand-instance_method" title="#usageCommand (instance method)">#<strong>usageCommand</strong> ⇒ Object </a>
|
281
281
|
|
282
282
|
|
283
283
|
|
@@ -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
|
314
|
+
<p class="inherited"><span class='object_link'><a href="Opt.html#[]-class_method" title="Como::Opt.[] (method)">[]</a></span>, <span class='object_link'><a href="Opt.html#[]-instance_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-class_method" title="Como::Opt.default (method)">default</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#defaultOpt-class_method" title="Como::Opt.defaultOpt (method)">defaultOpt</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-instance_method" title="Como::Opt#each (method)">#each</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#each_given-instance_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-class_method" title="Como::Opt.fatal (method)">fatal</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#findOpt-class_method" title="Como::Opt.findOpt (method)">findOpt</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#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#hasSwitchStyleDoc-instance_method" title="Como::Opt#hasSwitchStyleDoc (method)">#hasSwitchStyleDoc</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#prim%3F-instance_method" title="Como::Opt#prim? (method)">#prim?</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#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#to_hash-instance_method" title="Como::Opt#to_hash (method)">#to_hash</a></span>, <span class='object_link'><a href="Opt.html#to_hopt-instance_method" title="Como::Opt#to_hopt (method)">#to_hopt</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-class_method" title="Como::Opt.warn (method)">warn</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#year-class_method" title="Como::Opt.year (method)">year</a></span>, <span class='object_link'><a href="Opt.html#~-instance_method" title="Como::Opt#~ (method)">#~</a></span></p>
|
315
315
|
|
316
316
|
|
317
317
|
|
@@ -329,7 +329,7 @@
|
|
329
329
|
<div class="method_details first">
|
330
330
|
<h3 class="signature first" id="initialize-instance_method">
|
331
331
|
|
332
|
-
|
332
|
+
#<strong>initialize</strong>(author, year, name, opt, type, doc, value = nil) ⇒ <tt><span class='object_link'><a href="" title="Como::MainOpt (class)">MainOpt</a></span></tt>
|
333
333
|
|
334
334
|
|
335
335
|
|
@@ -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
|
+
2114
|
356
|
+
2115
|
357
|
+
2116
|
358
|
+
2117
|
359
|
+
2118
|
360
|
+
2119
|
361
|
+
2120
|
362
|
+
2121
|
363
|
+
2122
|
364
|
+
2123
|
365
|
+
2124</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 2114</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>
|
@@ -393,7 +393,7 @@
|
|
393
393
|
<div class="method_details first">
|
394
394
|
<h3 class="signature first" id="author-instance_method">
|
395
395
|
|
396
|
-
|
396
|
+
#<strong>author</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
397
397
|
|
398
398
|
|
399
399
|
|
@@ -416,12 +416,12 @@
|
|
416
416
|
<pre class="lines">
|
417
417
|
|
418
418
|
|
419
|
-
|
420
|
-
|
421
|
-
|
419
|
+
2110
|
420
|
+
2111
|
421
|
+
2112</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 2110</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>
|
@@ -436,7 +436,7 @@
|
|
436
436
|
<div class="method_details ">
|
437
437
|
<h3 class="signature " id="external-instance_method">
|
438
438
|
|
439
|
-
|
439
|
+
#<strong>external</strong> ⇒ <tt>Object</tt>
|
440
440
|
|
441
441
|
|
442
442
|
|
@@ -459,12 +459,12 @@
|
|
459
459
|
<pre class="lines">
|
460
460
|
|
461
461
|
|
462
|
-
|
463
|
-
|
464
|
-
|
462
|
+
2107
|
463
|
+
2108
|
464
|
+
2109</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 2107</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>
|
@@ -479,7 +479,7 @@
|
|
479
479
|
<div class="method_details ">
|
480
480
|
<h3 class="signature " id="year-instance_method">
|
481
481
|
|
482
|
-
|
482
|
+
#<strong>year</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
483
483
|
|
484
484
|
|
485
485
|
|
@@ -502,12 +502,12 @@
|
|
502
502
|
<pre class="lines">
|
503
503
|
|
504
504
|
|
505
|
-
|
506
|
-
|
507
|
-
|
505
|
+
2110
|
506
|
+
2111
|
507
|
+
2112</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 2110</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>
|
@@ -527,7 +527,7 @@
|
|
527
527
|
<div class="method_details first">
|
528
528
|
<h3 class="signature first" id="fullCommand-instance_method">
|
529
529
|
|
530
|
-
|
530
|
+
#<strong>fullCommand</strong> ⇒ <tt>Object</tt>
|
531
531
|
|
532
532
|
|
533
533
|
|
@@ -550,15 +550,15 @@
|
|
550
550
|
<pre class="lines">
|
551
551
|
|
552
552
|
|
553
|
-
|
554
|
-
|
555
|
-
|
553
|
+
2128
|
554
|
+
2129
|
555
|
+
2130</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 2128</span>
|
559
559
|
|
560
560
|
<span class='kw'>def</span> <span class='id identifier rubyid_fullCommand'>fullCommand</span>
|
561
|
-
<span class='const'>Opt</span><span class='period'>.</span><span class='id identifier rubyid_progname'>progname</span>
|
561
|
+
<span class='const'><span class='object_link'><a href="Opt.html" title="Como::Opt (class)">Opt</a></span></span><span class='period'>.</span><span class='id identifier rubyid_progname'><span class='object_link'><a href="Opt.html#progname-class_method" title="Como::Opt.progname (method)">progname</a></span></span>
|
562
562
|
<span class='kw'>end</span></pre>
|
563
563
|
</td>
|
564
564
|
</tr>
|
@@ -568,7 +568,7 @@
|
|
568
568
|
<div class="method_details ">
|
569
569
|
<h3 class="signature " id="usageCommand-instance_method">
|
570
570
|
|
571
|
-
|
571
|
+
#<strong>usageCommand</strong> ⇒ <tt>Object</tt>
|
572
572
|
|
573
573
|
|
574
574
|
|
@@ -591,24 +591,24 @@
|
|
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
|
+
2134
|
595
|
+
2135
|
596
|
+
2136
|
597
|
+
2137
|
598
|
+
2138
|
599
|
+
2139
|
600
|
+
2140
|
601
|
+
2141
|
602
|
+
2142
|
603
|
+
2143
|
604
|
+
2144
|
605
|
+
2145
|
606
|
+
2146
|
607
|
+
2147
|
608
|
+
2148</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 2134</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'>\
|
@@ -619,7 +619,7 @@
|
|
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='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'>
|
622
|
+
Copyright (c) </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Opt.html" title="Como::Opt (class)">Opt</a></span></span><span class='period'>.</span><span class='id identifier rubyid_year'><span class='object_link'><a href="Opt.html#year-class_method" title="Como::Opt.year (method)">year</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'> by </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Opt.html" title="Como::Opt (class)">Opt</a></span></span><span class='period'>.</span><span class='id identifier rubyid_author'><span class='object_link'><a href="Opt.html#author-class_method" title="Como::Opt.author (method)">author</a></span></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
|
|
@@ -634,11 +634,12 @@
|
|
634
634
|
|
635
635
|
</div>
|
636
636
|
|
637
|
-
|
638
|
-
Generated on
|
637
|
+
<div id="footer">
|
638
|
+
Generated on Sat Sep 29 19:17:50 2018 by
|
639
639
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
640
|
-
0.
|
640
|
+
0.9.16 (ruby-2.5.1).
|
641
641
|
</div>
|
642
642
|
|
643
|
+
</div>
|
643
644
|
</body>
|
644
645
|
</html>
|