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
|
Class: Como::ArgsParseState
|
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::ArgsParseState";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Como/ArgsParseState.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 (A)</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">ArgsParseState</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::ArgsParseState
|
62
|
+
<div id="content"><h1>Class: Como::ArgsParseState
|
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>
|
88
84
|
|
85
|
+
|
89
86
|
|
90
|
-
|
91
87
|
|
92
|
-
|
93
88
|
|
94
89
|
|
95
90
|
|
96
|
-
|
97
|
-
<dd class="r2 last">lib/como.rb</dd>
|
91
|
+
|
98
92
|
|
99
|
-
|
100
|
-
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/como.rb</dd>
|
98
|
+
</dl>
|
99
|
+
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
<h2>
|
122
122
|
Instance Method Summary
|
123
|
-
<small
|
123
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
124
124
|
</h2>
|
125
125
|
|
126
126
|
<ul class="summary">
|
@@ -128,7 +128,7 @@
|
|
128
128
|
<li class="public ">
|
129
129
|
<span class="summary_signature">
|
130
130
|
|
131
|
-
<a href="#done%3F-instance_method" title="#done? (instance method)"
|
131
|
+
<a href="#done%3F-instance_method" title="#done? (instance method)">#<strong>done?</strong> ⇒ Boolean </a>
|
132
132
|
|
133
133
|
|
134
134
|
|
@@ -152,7 +152,7 @@
|
|
152
152
|
<li class="public ">
|
153
153
|
<span class="summary_signature">
|
154
154
|
|
155
|
-
<a href="#get-instance_method" title="#get (instance method)"
|
155
|
+
<a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(idx = @idx) ⇒ Object </a>
|
156
156
|
|
157
157
|
|
158
158
|
|
@@ -176,7 +176,7 @@
|
|
176
176
|
<li class="public ">
|
177
177
|
<span class="summary_signature">
|
178
178
|
|
179
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
179
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(list) ⇒ ArgsParseState </a>
|
180
180
|
|
181
181
|
|
182
182
|
|
@@ -202,7 +202,7 @@
|
|
202
202
|
<li class="public ">
|
203
203
|
<span class="summary_signature">
|
204
204
|
|
205
|
-
<a href="#isOpt-instance_method" title="#isOpt (instance method)"
|
205
|
+
<a href="#isOpt-instance_method" title="#isOpt (instance method)">#<strong>isOpt</strong>(str = get) ⇒ Object </a>
|
206
206
|
|
207
207
|
|
208
208
|
|
@@ -226,7 +226,7 @@
|
|
226
226
|
<li class="public ">
|
227
227
|
<span class="summary_signature">
|
228
228
|
|
229
|
-
<a href="#isOptTerm-instance_method" title="#isOptTerm (instance method)"
|
229
|
+
<a href="#isOptTerm-instance_method" title="#isOptTerm (instance method)">#<strong>isOptTerm</strong>(str = get) ⇒ Object </a>
|
230
230
|
|
231
231
|
|
232
232
|
|
@@ -250,7 +250,7 @@
|
|
250
250
|
<li class="public ">
|
251
251
|
<span class="summary_signature">
|
252
252
|
|
253
|
-
<a href="#last-instance_method" title="#last (instance method)"
|
253
|
+
<a href="#last-instance_method" title="#last (instance method)">#<strong>last</strong>(idx = @idx) ⇒ Object </a>
|
254
254
|
|
255
255
|
|
256
256
|
|
@@ -274,7 +274,7 @@
|
|
274
274
|
<li class="public ">
|
275
275
|
<span class="summary_signature">
|
276
276
|
|
277
|
-
<a href="#next-instance_method" title="#next (instance method)"
|
277
|
+
<a href="#next-instance_method" title="#next (instance method)">#<strong>next</strong> ⇒ Object </a>
|
278
278
|
|
279
279
|
|
280
280
|
|
@@ -298,7 +298,7 @@
|
|
298
298
|
<li class="public ">
|
299
299
|
<span class="summary_signature">
|
300
300
|
|
301
|
-
<a href="#prev-instance_method" title="#prev (instance method)"
|
301
|
+
<a href="#prev-instance_method" title="#prev (instance method)">#<strong>prev</strong> ⇒ Object </a>
|
302
302
|
|
303
303
|
|
304
304
|
|
@@ -322,7 +322,7 @@
|
|
322
322
|
<li class="public ">
|
323
323
|
<span class="summary_signature">
|
324
324
|
|
325
|
-
<a href="#rest-instance_method" title="#rest (instance method)"
|
325
|
+
<a href="#rest-instance_method" title="#rest (instance method)">#<strong>rest</strong>(idx = @idx) ⇒ Object </a>
|
326
326
|
|
327
327
|
|
328
328
|
|
@@ -346,7 +346,7 @@
|
|
346
346
|
<li class="public ">
|
347
347
|
<span class="summary_signature">
|
348
348
|
|
349
|
-
<a href="#set-instance_method" title="#set (instance method)"
|
349
|
+
<a href="#set-instance_method" title="#set (instance method)">#<strong>set</strong>(list) ⇒ Object </a>
|
350
350
|
|
351
351
|
|
352
352
|
|
@@ -370,7 +370,7 @@
|
|
370
370
|
<li class="public ">
|
371
371
|
<span class="summary_signature">
|
372
372
|
|
373
|
-
<a href="#toValue-instance_method" title="#toValue (instance method)"
|
373
|
+
<a href="#toValue-instance_method" title="#toValue (instance method)">#<strong>toValue</strong>(str = get) ⇒ Object </a>
|
374
374
|
|
375
375
|
|
376
376
|
|
@@ -400,7 +400,7 @@
|
|
400
400
|
<div class="method_details first">
|
401
401
|
<h3 class="signature first" id="initialize-instance_method">
|
402
402
|
|
403
|
-
|
403
|
+
#<strong>initialize</strong>(list) ⇒ <tt><span class='object_link'><a href="" title="Como::ArgsParseState (class)">ArgsParseState</a></span></tt>
|
404
404
|
|
405
405
|
|
406
406
|
|
@@ -443,13 +443,13 @@
|
|
443
443
|
<pre class="lines">
|
444
444
|
|
445
445
|
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
446
|
+
2160
|
447
|
+
2161
|
448
|
+
2162
|
449
|
+
2163</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 2160</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>
|
@@ -470,7 +470,7 @@
|
|
470
470
|
<div class="method_details first">
|
471
471
|
<h3 class="signature first" id="done?-instance_method">
|
472
472
|
|
473
|
-
|
473
|
+
#<strong>done?</strong> ⇒ <tt>Boolean</tt>
|
474
474
|
|
475
475
|
|
476
476
|
|
@@ -506,12 +506,12 @@
|
|
506
506
|
<pre class="lines">
|
507
507
|
|
508
508
|
|
509
|
-
|
510
|
-
|
511
|
-
|
509
|
+
2196
|
510
|
+
2197
|
511
|
+
2198</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 2196</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>
|
@@ -524,7 +524,7 @@
|
|
524
524
|
<div class="method_details ">
|
525
525
|
<h3 class="signature " id="get-instance_method">
|
526
526
|
|
527
|
-
|
527
|
+
#<strong>get</strong>(idx = @idx) ⇒ <tt>Object</tt>
|
528
528
|
|
529
529
|
|
530
530
|
|
@@ -547,12 +547,12 @@
|
|
547
547
|
<pre class="lines">
|
548
548
|
|
549
549
|
|
550
|
-
|
551
|
-
|
552
|
-
|
550
|
+
2181
|
551
|
+
2182
|
552
|
+
2183</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 2181</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>
|
@@ -565,7 +565,7 @@
|
|
565
565
|
<div class="method_details ">
|
566
566
|
<h3 class="signature " id="isOpt-instance_method">
|
567
567
|
|
568
|
-
|
568
|
+
#<strong>isOpt</strong>(str = get) ⇒ <tt>Object</tt>
|
569
569
|
|
570
570
|
|
571
571
|
|
@@ -588,12 +588,12 @@
|
|
588
588
|
<pre class="lines">
|
589
589
|
|
590
590
|
|
591
|
-
|
592
|
-
|
593
|
-
|
591
|
+
2201
|
592
|
+
2202
|
593
|
+
2203</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 2201</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>
|
@@ -606,7 +606,7 @@
|
|
606
606
|
<div class="method_details ">
|
607
607
|
<h3 class="signature " id="isOptTerm-instance_method">
|
608
608
|
|
609
|
-
|
609
|
+
#<strong>isOptTerm</strong>(str = get) ⇒ <tt>Object</tt>
|
610
610
|
|
611
611
|
|
612
612
|
|
@@ -629,12 +629,12 @@
|
|
629
629
|
<pre class="lines">
|
630
630
|
|
631
631
|
|
632
|
-
|
633
|
-
|
634
|
-
|
632
|
+
2206
|
633
|
+
2207
|
634
|
+
2208</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 2206</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>
|
@@ -647,7 +647,7 @@
|
|
647
647
|
<div class="method_details ">
|
648
648
|
<h3 class="signature " id="last-instance_method">
|
649
649
|
|
650
|
-
|
650
|
+
#<strong>last</strong>(idx = @idx) ⇒ <tt>Object</tt>
|
651
651
|
|
652
652
|
|
653
653
|
|
@@ -670,12 +670,12 @@
|
|
670
670
|
<pre class="lines">
|
671
671
|
|
672
672
|
|
673
|
-
|
674
|
-
|
675
|
-
|
673
|
+
2186
|
674
|
+
2187
|
675
|
+
2188</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 2186</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>
|
@@ -688,7 +688,7 @@
|
|
688
688
|
<div class="method_details ">
|
689
689
|
<h3 class="signature " id="next-instance_method">
|
690
690
|
|
691
|
-
|
691
|
+
#<strong>next</strong> ⇒ <tt>Object</tt>
|
692
692
|
|
693
693
|
|
694
694
|
|
@@ -711,12 +711,12 @@
|
|
711
711
|
<pre class="lines">
|
712
712
|
|
713
713
|
|
714
|
-
|
715
|
-
|
716
|
-
|
714
|
+
2171
|
715
|
+
2172
|
716
|
+
2173</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 2171</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>
|
@@ -729,7 +729,7 @@
|
|
729
729
|
<div class="method_details ">
|
730
730
|
<h3 class="signature " id="prev-instance_method">
|
731
731
|
|
732
|
-
|
732
|
+
#<strong>prev</strong> ⇒ <tt>Object</tt>
|
733
733
|
|
734
734
|
|
735
735
|
|
@@ -752,12 +752,12 @@
|
|
752
752
|
<pre class="lines">
|
753
753
|
|
754
754
|
|
755
|
-
|
756
|
-
|
757
|
-
|
755
|
+
2176
|
756
|
+
2177
|
757
|
+
2178</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 2176</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>
|
@@ -770,7 +770,7 @@
|
|
770
770
|
<div class="method_details ">
|
771
771
|
<h3 class="signature " id="rest-instance_method">
|
772
772
|
|
773
|
-
|
773
|
+
#<strong>rest</strong>(idx = @idx) ⇒ <tt>Object</tt>
|
774
774
|
|
775
775
|
|
776
776
|
|
@@ -793,12 +793,12 @@
|
|
793
793
|
<pre class="lines">
|
794
794
|
|
795
795
|
|
796
|
-
|
797
|
-
|
798
|
-
|
796
|
+
2191
|
797
|
+
2192
|
798
|
+
2193</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 2191</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>
|
@@ -811,7 +811,7 @@
|
|
811
811
|
<div class="method_details ">
|
812
812
|
<h3 class="signature " id="set-instance_method">
|
813
813
|
|
814
|
-
|
814
|
+
#<strong>set</strong>(list) ⇒ <tt>Object</tt>
|
815
815
|
|
816
816
|
|
817
817
|
|
@@ -834,12 +834,12 @@
|
|
834
834
|
<pre class="lines">
|
835
835
|
|
836
836
|
|
837
|
-
|
838
|
-
|
839
|
-
|
837
|
+
2166
|
838
|
+
2167
|
839
|
+
2168</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 2166</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>
|
@@ -852,7 +852,7 @@
|
|
852
852
|
<div class="method_details ">
|
853
853
|
<h3 class="signature " id="toValue-instance_method">
|
854
854
|
|
855
|
-
|
855
|
+
#<strong>toValue</strong>(str = get) ⇒ <tt>Object</tt>
|
856
856
|
|
857
857
|
|
858
858
|
|
@@ -875,16 +875,16 @@
|
|
875
875
|
<pre class="lines">
|
876
876
|
|
877
877
|
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
878
|
+
2211
|
879
|
+
2212
|
880
|
+
2213
|
881
|
+
2214
|
882
|
+
2215
|
883
|
+
2216
|
884
|
+
2217</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 2211</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>
|
@@ -902,11 +902,12 @@
|
|
902
902
|
|
903
903
|
</div>
|
904
904
|
|
905
|
-
|
906
|
-
Generated on
|
905
|
+
<div id="footer">
|
906
|
+
Generated on Sat Sep 29 19:17:50 2018 by
|
907
907
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
908
|
-
0.
|
908
|
+
0.9.16 (ruby-2.5.1).
|
909
909
|
</div>
|
910
910
|
|
911
|
+
</div>
|
911
912
|
</body>
|
912
913
|
</html>
|