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
@@ -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
|
Exception: Como::Opt::ErrorWithData
|
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::Opt::ErrorWithData";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Como/Opt/ErrorWithData.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 (E)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Como.html" title="Como (module)">Como</a></span></span> » <span class='title'><span class='object_link'><a href="../Opt.html" title="Como::Opt (class)">Opt</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ErrorWithData</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>Exception: Como::Opt::ErrorWithData
|
62
|
+
<div id="content"><h1>Exception: Como::Opt::ErrorWithData
|
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">StandardError</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,21 +81,25 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/como.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
@@ -120,13 +120,13 @@
|
|
120
120
|
|
121
121
|
|
122
122
|
|
123
|
-
<h2>Instance Attribute Summary <small
|
123
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
124
124
|
<ul class="summary">
|
125
125
|
|
126
126
|
<li class="public ">
|
127
127
|
<span class="summary_signature">
|
128
128
|
|
129
|
-
<a href="#data-instance_method" title="#data (instance method)"
|
129
|
+
<a href="#data-instance_method" title="#data (instance method)">#<strong>data</strong> ⇒ Object </a>
|
130
130
|
|
131
131
|
|
132
132
|
|
@@ -160,7 +160,7 @@
|
|
160
160
|
|
161
161
|
<h2>
|
162
162
|
Instance Method Summary
|
163
|
-
<small
|
163
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
164
164
|
</h2>
|
165
165
|
|
166
166
|
<ul class="summary">
|
@@ -168,7 +168,7 @@
|
|
168
168
|
<li class="public ">
|
169
169
|
<span class="summary_signature">
|
170
170
|
|
171
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
171
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(message = nil, data = nil) ⇒ ErrorWithData </a>
|
172
172
|
|
173
173
|
|
174
174
|
|
@@ -201,7 +201,7 @@
|
|
201
201
|
<div class="method_details first">
|
202
202
|
<h3 class="signature first" id="initialize-instance_method">
|
203
203
|
|
204
|
-
|
204
|
+
#<strong>initialize</strong>(message = nil, data = nil) ⇒ <tt><span class='object_link'><a href="" title="Como::Opt::ErrorWithData (class)">ErrorWithData</a></span></tt>
|
205
205
|
|
206
206
|
|
207
207
|
|
@@ -224,13 +224,13 @@
|
|
224
224
|
<pre class="lines">
|
225
225
|
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
227
|
+
969
|
228
|
+
970
|
229
|
+
971
|
230
|
+
972</pre>
|
231
231
|
</td>
|
232
232
|
<td>
|
233
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
233
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 969</span>
|
234
234
|
|
235
235
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
236
236
|
<span class='kw'>super</span><span class='lparen'>(</span> <span class='id identifier rubyid_message'>message</span> <span class='rparen'>)</span>
|
@@ -251,7 +251,7 @@
|
|
251
251
|
<div class="method_details first">
|
252
252
|
<h3 class="signature first" id="data-instance_method">
|
253
253
|
|
254
|
-
|
254
|
+
#<strong>data</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
255
255
|
|
256
256
|
|
257
257
|
|
@@ -274,12 +274,12 @@
|
|
274
274
|
<pre class="lines">
|
275
275
|
|
276
276
|
|
277
|
-
|
278
|
-
|
279
|
-
|
277
|
+
966
|
278
|
+
967
|
279
|
+
968</pre>
|
280
280
|
</td>
|
281
281
|
<td>
|
282
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
282
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 966</span>
|
283
283
|
|
284
284
|
<span class='kw'>def</span> <span class='id identifier rubyid_data'>data</span>
|
285
285
|
<span class='ivar'>@data</span>
|
@@ -294,11 +294,12 @@
|
|
294
294
|
|
295
295
|
</div>
|
296
296
|
|
297
|
-
|
298
|
-
Generated on
|
297
|
+
<div id="footer">
|
298
|
+
Generated on Sat Sep 29 19:17:49 2018 by
|
299
299
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
300
|
-
0.
|
300
|
+
0.9.16 (ruby-2.5.1).
|
301
301
|
</div>
|
302
302
|
|
303
|
+
</div>
|
303
304
|
</body>
|
304
305
|
</html>
|
@@ -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
|
Exception: Como::Opt::InvalidOption
|
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::Opt::InvalidOption";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Como/Opt/InvalidOption.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 (I)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Como.html" title="Como (module)">Como</a></span></span> » <span class='title'><span class='object_link'><a href="../Opt.html" title="Como::Opt (class)">Opt</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">InvalidOption</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>Exception: Como::Opt::InvalidOption
|
62
|
+
<div id="content"><h1>Exception: Como::Opt::InvalidOption
|
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="ErrorWithData.html" title="Como::Opt::ErrorWithData (class)">ErrorWithData</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>
|
88
|
+
|
89
|
+
|
92
90
|
|
93
91
|
|
94
|
-
|
95
92
|
|
96
|
-
|
97
93
|
|
98
94
|
|
95
|
+
|
96
|
+
|
97
|
+
|
99
98
|
|
100
|
-
|
101
|
-
<
|
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">
|
@@ -148,11 +148,12 @@
|
|
148
148
|
|
149
149
|
</div>
|
150
150
|
|
151
|
-
|
152
|
-
Generated on
|
151
|
+
<div id="footer">
|
152
|
+
Generated on Sat Sep 29 19:17:50 2018 by
|
153
153
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.
|
154
|
+
0.9.16 (ruby-2.5.1).
|
155
155
|
</div>
|
156
156
|
|
157
|
+
</div>
|
157
158
|
</body>
|
158
159
|
</html>
|
@@ -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
|
Exception: Como::Opt::MissingArgument
|
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::Opt::MissingArgument";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Como/Opt/MissingArgument.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> » <span class='title'><span class='object_link'><a href="../Opt.html" title="Como::Opt (class)">Opt</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">MissingArgument</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>Exception: Como::Opt::MissingArgument
|
62
|
+
<div id="content"><h1>Exception: Como::Opt::MissingArgument
|
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="ErrorWithData.html" title="Como::Opt::ErrorWithData (class)">ErrorWithData</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>
|
88
|
+
|
89
|
+
|
92
90
|
|
93
91
|
|
94
|
-
|
95
92
|
|
96
|
-
|
97
93
|
|
98
94
|
|
95
|
+
|
96
|
+
|
97
|
+
|
99
98
|
|
100
|
-
|
101
|
-
<
|
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">
|
@@ -148,11 +148,12 @@
|
|
148
148
|
|
149
149
|
</div>
|
150
150
|
|
151
|
-
|
152
|
-
Generated on
|
151
|
+
<div id="footer">
|
152
|
+
Generated on Sat Sep 29 19:17:50 2018 by
|
153
153
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.
|
154
|
+
0.9.16 (ruby-2.5.1).
|
155
155
|
</div>
|
156
156
|
|
157
|
+
</div>
|
157
158
|
</body>
|
158
159
|
</html>
|