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/RuleDisplay.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::RuleDisplay
|
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::RuleDisplay";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Como/RuleDisplay.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 (R)</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">RuleDisplay</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::RuleDisplay
|
62
|
+
<div id="content"><h1>Class: Como::RuleDisplay
|
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="ComoCommon.html" title="Como::ComoCommon (class)">ComoCommon</a></span></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">
|
@@ -117,7 +117,8 @@ Example expansion of options:
|
|
117
117
|
| | |--<refreshed>
|
118
118
|
| |--<manifest>
|
119
119
|
| |--<pairs>
|
120
|
-
| |--<files>
|
120
|
+
| |--<files>
|
121
|
+
</code></pre>
|
121
122
|
|
122
123
|
|
123
124
|
</div>
|
@@ -135,7 +136,7 @@ Example expansion of options:
|
|
135
136
|
|
136
137
|
<h2>
|
137
138
|
Class Method Summary
|
138
|
-
<small
|
139
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
139
140
|
</h2>
|
140
141
|
|
141
142
|
<ul class="summary">
|
@@ -143,7 +144,7 @@ Example expansion of options:
|
|
143
144
|
<li class="public ">
|
144
145
|
<span class="summary_signature">
|
145
146
|
|
146
|
-
<a href="#print-class_method" title="print (class method)"
|
147
|
+
<a href="#print-class_method" title="print (class method)">.<strong>print</strong>(prefixStr = " ", &rule) ⇒ Object </a>
|
147
148
|
|
148
149
|
|
149
150
|
|
@@ -168,7 +169,7 @@ Example expansion of options:
|
|
168
169
|
|
169
170
|
<h2>
|
170
171
|
Instance Method Summary
|
171
|
-
<small
|
172
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
172
173
|
</h2>
|
173
174
|
|
174
175
|
<ul class="summary">
|
@@ -176,7 +177,7 @@ Example expansion of options:
|
|
176
177
|
<li class="public ">
|
177
178
|
<span class="summary_signature">
|
178
179
|
|
179
|
-
<a href="#addPrefix-instance_method" title="#addPrefix (instance method)"
|
180
|
+
<a href="#addPrefix-instance_method" title="#addPrefix (instance method)">#<strong>addPrefix</strong>(str) ⇒ Object </a>
|
180
181
|
|
181
182
|
|
182
183
|
|
@@ -200,7 +201,7 @@ Example expansion of options:
|
|
200
201
|
<li class="public ">
|
201
202
|
<span class="summary_signature">
|
202
203
|
|
203
|
-
<a href="#all-instance_method" title="#all (instance method)"
|
204
|
+
<a href="#all-instance_method" title="#all (instance method)">#<strong>all</strong>(*args) ⇒ Object </a>
|
204
205
|
|
205
206
|
|
206
207
|
|
@@ -224,7 +225,7 @@ Example expansion of options:
|
|
224
225
|
<li class="public ">
|
225
226
|
<span class="summary_signature">
|
226
227
|
|
227
|
-
<a href="#any-instance_method" title="#any (instance method)"
|
228
|
+
<a href="#any-instance_method" title="#any (instance method)">#<strong>any</strong>(*args) ⇒ Object </a>
|
228
229
|
|
229
230
|
|
230
231
|
|
@@ -248,7 +249,7 @@ Example expansion of options:
|
|
248
249
|
<li class="public ">
|
249
250
|
<span class="summary_signature">
|
250
251
|
|
251
|
-
<a href="#evalAndDisplay-instance_method" title="#evalAndDisplay (instance method)"
|
252
|
+
<a href="#evalAndDisplay-instance_method" title="#evalAndDisplay (instance method)">#<strong>evalAndDisplay</strong>(&rule) ⇒ Object </a>
|
252
253
|
|
253
254
|
|
254
255
|
|
@@ -272,7 +273,7 @@ Example expansion of options:
|
|
272
273
|
<li class="public ">
|
273
274
|
<span class="summary_signature">
|
274
275
|
|
275
|
-
<a href="#follow-instance_method" title="#follow (instance method)"
|
276
|
+
<a href="#follow-instance_method" title="#follow (instance method)">#<strong>follow</strong>(*args) ⇒ Object </a>
|
276
277
|
|
277
278
|
|
278
279
|
|
@@ -296,7 +297,7 @@ Example expansion of options:
|
|
296
297
|
<li class="public ">
|
297
298
|
<span class="summary_signature">
|
298
299
|
|
299
|
-
<a href="#incr-instance_method" title="#incr (instance method)"
|
300
|
+
<a href="#incr-instance_method" title="#incr (instance method)">#<strong>incr</strong>(*args) ⇒ Object </a>
|
300
301
|
|
301
302
|
|
302
303
|
|
@@ -320,7 +321,7 @@ Example expansion of options:
|
|
320
321
|
<li class="public ">
|
321
322
|
<span class="summary_signature">
|
322
323
|
|
323
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
324
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(prefixStr) ⇒ RuleDisplay </a>
|
324
325
|
|
325
326
|
|
326
327
|
|
@@ -346,7 +347,7 @@ Example expansion of options:
|
|
346
347
|
<li class="public ">
|
347
348
|
<span class="summary_signature">
|
348
349
|
|
349
|
-
<a href="#inv-instance_method" title="#inv (instance method)"
|
350
|
+
<a href="#inv-instance_method" title="#inv (instance method)">#<strong>inv</strong>(*args) ⇒ Object </a>
|
350
351
|
|
351
352
|
|
352
353
|
|
@@ -370,7 +371,7 @@ Example expansion of options:
|
|
370
371
|
<li class="public ">
|
371
372
|
<span class="summary_signature">
|
372
373
|
|
373
|
-
<a href="#meh-instance_method" title="#meh (instance method)"
|
374
|
+
<a href="#meh-instance_method" title="#meh (instance method)">#<strong>meh</strong>(*args) ⇒ Object </a>
|
374
375
|
|
375
376
|
|
376
377
|
|
@@ -394,7 +395,7 @@ Example expansion of options:
|
|
394
395
|
<li class="public ">
|
395
396
|
<span class="summary_signature">
|
396
397
|
|
397
|
-
<a href="#none-instance_method" title="#none (instance method)"
|
398
|
+
<a href="#none-instance_method" title="#none (instance method)">#<strong>none</strong> ⇒ Object </a>
|
398
399
|
|
399
400
|
|
400
401
|
|
@@ -418,7 +419,7 @@ Example expansion of options:
|
|
418
419
|
<li class="public ">
|
419
420
|
<span class="summary_signature">
|
420
421
|
|
421
|
-
<a href="#one-instance_method" title="#one (instance method)"
|
422
|
+
<a href="#one-instance_method" title="#one (instance method)">#<strong>one</strong>(*args) ⇒ Object </a>
|
422
423
|
|
423
424
|
|
424
425
|
|
@@ -442,7 +443,7 @@ Example expansion of options:
|
|
442
443
|
<li class="public ">
|
443
444
|
<span class="summary_signature">
|
444
445
|
|
445
|
-
<a href="#p-instance_method" title="#p (instance method)"
|
446
|
+
<a href="#p-instance_method" title="#p (instance method)">#<strong>p</strong>(str) ⇒ Object </a>
|
446
447
|
|
447
448
|
|
448
449
|
|
@@ -466,7 +467,7 @@ Example expansion of options:
|
|
466
467
|
<li class="public ">
|
467
468
|
<span class="summary_signature">
|
468
469
|
|
469
|
-
<a href="#printRule-instance_method" title="#printRule (instance method)"
|
470
|
+
<a href="#printRule-instance_method" title="#printRule (instance method)">#<strong>printRule</strong>(arr) ⇒ Object </a>
|
470
471
|
|
471
472
|
|
472
473
|
|
@@ -490,7 +491,7 @@ Example expansion of options:
|
|
490
491
|
<li class="public ">
|
491
492
|
<span class="summary_signature">
|
492
493
|
|
493
|
-
<a href="#rmPrefix-instance_method" title="#rmPrefix (instance method)"
|
494
|
+
<a href="#rmPrefix-instance_method" title="#rmPrefix (instance method)">#<strong>rmPrefix</strong>(item) ⇒ Object </a>
|
494
495
|
|
495
496
|
|
496
497
|
|
@@ -531,7 +532,7 @@ Example expansion of options:
|
|
531
532
|
<div class="method_details first">
|
532
533
|
<h3 class="signature first" id="initialize-instance_method">
|
533
534
|
|
534
|
-
|
535
|
+
#<strong>initialize</strong>(prefixStr) ⇒ <tt><span class='object_link'><a href="" title="Como::RuleDisplay (class)">RuleDisplay</a></span></tt>
|
535
536
|
|
536
537
|
|
537
538
|
|
@@ -554,13 +555,13 @@ Example expansion of options:
|
|
554
555
|
<pre class="lines">
|
555
556
|
|
556
557
|
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
558
|
+
2368
|
559
|
+
2369
|
560
|
+
2370
|
561
|
+
2371</pre>
|
561
562
|
</td>
|
562
563
|
<td>
|
563
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
564
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2368</span>
|
564
565
|
|
565
566
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_prefixStr'>prefixStr</span> <span class='rparen'>)</span>
|
566
567
|
<span class='comment'># Prefix string for lines. Rules add/rm from it.
|
@@ -581,7 +582,7 @@ Example expansion of options:
|
|
581
582
|
<div class="method_details first">
|
582
583
|
<h3 class="signature first" id="print-class_method">
|
583
584
|
|
584
|
-
|
585
|
+
.<strong>print</strong>(prefixStr = " ", &rule) ⇒ <tt>Object</tt>
|
585
586
|
|
586
587
|
|
587
588
|
|
@@ -604,16 +605,16 @@ Example expansion of options:
|
|
604
605
|
<pre class="lines">
|
605
606
|
|
606
607
|
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
608
|
+
2362
|
609
|
+
2363
|
610
|
+
2364
|
611
|
+
2365</pre>
|
611
612
|
</td>
|
612
613
|
<td>
|
613
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
614
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2362</span>
|
614
615
|
|
615
|
-
<span class='kw'>def</span> <span class='const'>RuleDisplay</span><span class='period'>.</span><span class='id identifier rubyid_print'>print</span><span class='lparen'>(</span> <span class='id identifier rubyid_prefixStr'>prefixStr</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_rule'>rule</span> <span class='rparen'>)</span>
|
616
|
-
<span class='id identifier rubyid_rd'>rd</span> <span class='op'>=</span> <span class='const'>RuleDisplay</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_prefixStr'>prefixStr</span> <span class='rparen'>)</span>
|
616
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Como::RuleDisplay (class)">RuleDisplay</a></span></span><span class='period'>.</span><span class='id identifier rubyid_print'>print</span><span class='lparen'>(</span> <span class='id identifier rubyid_prefixStr'>prefixStr</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_rule'>rule</span> <span class='rparen'>)</span>
|
617
|
+
<span class='id identifier rubyid_rd'>rd</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="Como::RuleDisplay (class)">RuleDisplay</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Como::RuleDisplay#initialize (method)">new</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_prefixStr'>prefixStr</span> <span class='rparen'>)</span>
|
617
618
|
<span class='id identifier rubyid_rd'>rd</span><span class='period'>.</span><span class='id identifier rubyid_evalAndDisplay'>evalAndDisplay</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_rule'>rule</span> <span class='rparen'>)</span>
|
618
619
|
<span class='kw'>end</span></pre>
|
619
620
|
</td>
|
@@ -630,7 +631,7 @@ Example expansion of options:
|
|
630
631
|
<div class="method_details first">
|
631
632
|
<h3 class="signature first" id="addPrefix-instance_method">
|
632
633
|
|
633
|
-
|
634
|
+
#<strong>addPrefix</strong>(str) ⇒ <tt>Object</tt>
|
634
635
|
|
635
636
|
|
636
637
|
|
@@ -653,12 +654,12 @@ Example expansion of options:
|
|
653
654
|
<pre class="lines">
|
654
655
|
|
655
656
|
|
656
|
-
|
657
|
-
|
658
|
-
|
657
|
+
2379
|
658
|
+
2380
|
659
|
+
2381</pre>
|
659
660
|
</td>
|
660
661
|
<td>
|
661
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
662
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2379</span>
|
662
663
|
|
663
664
|
<span class='kw'>def</span> <span class='id identifier rubyid_addPrefix'>addPrefix</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
664
665
|
<span class='ivar'>@prefixStr</span> <span class='op'>+=</span> <span class='id identifier rubyid_str'>str</span>
|
@@ -671,7 +672,7 @@ Example expansion of options:
|
|
671
672
|
<div class="method_details ">
|
672
673
|
<h3 class="signature " id="all-instance_method">
|
673
674
|
|
674
|
-
|
675
|
+
#<strong>all</strong>(*args) ⇒ <tt>Object</tt>
|
675
676
|
|
676
677
|
|
677
678
|
|
@@ -694,12 +695,12 @@ Example expansion of options:
|
|
694
695
|
<pre class="lines">
|
695
696
|
|
696
697
|
|
697
|
-
|
698
|
-
|
699
|
-
|
698
|
+
2443
|
699
|
+
2444
|
700
|
+
2445</pre>
|
700
701
|
</td>
|
701
702
|
<td>
|
702
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
703
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2443</span>
|
703
704
|
|
704
705
|
<span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
705
706
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>All of</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -712,7 +713,7 @@ Example expansion of options:
|
|
712
713
|
<div class="method_details ">
|
713
714
|
<h3 class="signature " id="any-instance_method">
|
714
715
|
|
715
|
-
|
716
|
+
#<strong>any</strong>(*args) ⇒ <tt>Object</tt>
|
716
717
|
|
717
718
|
|
718
719
|
|
@@ -735,12 +736,12 @@ Example expansion of options:
|
|
735
736
|
<pre class="lines">
|
736
737
|
|
737
738
|
|
738
|
-
|
739
|
-
|
740
|
-
|
739
|
+
2438
|
740
|
+
2439
|
741
|
+
2440</pre>
|
741
742
|
</td>
|
742
743
|
<td>
|
743
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
744
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2438</span>
|
744
745
|
|
745
746
|
<span class='kw'>def</span> <span class='id identifier rubyid_any'>any</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
746
747
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>One or more of</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -753,7 +754,7 @@ Example expansion of options:
|
|
753
754
|
<div class="method_details ">
|
754
755
|
<h3 class="signature " id="evalAndDisplay-instance_method">
|
755
756
|
|
756
|
-
|
757
|
+
#<strong>evalAndDisplay</strong>(&rule) ⇒ <tt>Object</tt>
|
757
758
|
|
758
759
|
|
759
760
|
|
@@ -776,12 +777,12 @@ Example expansion of options:
|
|
776
777
|
<pre class="lines">
|
777
778
|
|
778
779
|
|
779
|
-
|
780
|
-
|
781
|
-
|
780
|
+
2374
|
781
|
+
2375
|
782
|
+
2376</pre>
|
782
783
|
</td>
|
783
784
|
<td>
|
784
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
785
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2374</span>
|
785
786
|
|
786
787
|
<span class='kw'>def</span> <span class='id identifier rubyid_evalAndDisplay'>evalAndDisplay</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_rule'>rule</span> <span class='rparen'>)</span>
|
787
788
|
<span class='id identifier rubyid_printRule'>printRule</span><span class='lparen'>(</span> <span class='id identifier rubyid_instance_eval'>instance_eval</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_rule'>rule</span> <span class='rparen'>)</span> <span class='rparen'>)</span>
|
@@ -794,7 +795,7 @@ Example expansion of options:
|
|
794
795
|
<div class="method_details ">
|
795
796
|
<h3 class="signature " id="follow-instance_method">
|
796
797
|
|
797
|
-
|
798
|
+
#<strong>follow</strong>(*args) ⇒ <tt>Object</tt>
|
798
799
|
|
799
800
|
|
800
801
|
|
@@ -817,12 +818,12 @@ Example expansion of options:
|
|
817
818
|
<pre class="lines">
|
818
819
|
|
819
820
|
|
820
|
-
|
821
|
-
|
822
|
-
|
821
|
+
2428
|
822
|
+
2429
|
823
|
+
2430</pre>
|
823
824
|
</td>
|
824
825
|
<td>
|
825
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
826
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2428</span>
|
826
827
|
|
827
828
|
<span class='kw'>def</span> <span class='id identifier rubyid_follow'>follow</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
828
829
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>If first then rest</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -835,7 +836,7 @@ Example expansion of options:
|
|
835
836
|
<div class="method_details ">
|
836
837
|
<h3 class="signature " id="incr-instance_method">
|
837
838
|
|
838
|
-
|
839
|
+
#<strong>incr</strong>(*args) ⇒ <tt>Object</tt>
|
839
840
|
|
840
841
|
|
841
842
|
|
@@ -858,12 +859,12 @@ Example expansion of options:
|
|
858
859
|
<pre class="lines">
|
859
860
|
|
860
861
|
|
861
|
-
|
862
|
-
|
863
|
-
|
862
|
+
2422
|
863
|
+
2423
|
864
|
+
2424</pre>
|
864
865
|
</td>
|
865
866
|
<td>
|
866
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
867
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2422</span>
|
867
868
|
|
868
869
|
<span class='kw'>def</span> <span class='id identifier rubyid_incr'>incr</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
869
870
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Adding in order</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -876,7 +877,7 @@ Example expansion of options:
|
|
876
877
|
<div class="method_details ">
|
877
878
|
<h3 class="signature " id="inv-instance_method">
|
878
879
|
|
879
|
-
|
880
|
+
#<strong>inv</strong>(*args) ⇒ <tt>Object</tt>
|
880
881
|
|
881
882
|
|
882
883
|
|
@@ -899,12 +900,12 @@ Example expansion of options:
|
|
899
900
|
<pre class="lines">
|
900
901
|
|
901
902
|
|
902
|
-
|
903
|
-
|
904
|
-
|
903
|
+
2448
|
904
|
+
2449
|
905
|
+
2450</pre>
|
905
906
|
</td>
|
906
907
|
<td>
|
907
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
908
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2448</span>
|
908
909
|
|
909
910
|
<span class='kw'>def</span> <span class='id identifier rubyid_inv'>inv</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
910
911
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Not</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -917,7 +918,7 @@ Example expansion of options:
|
|
917
918
|
<div class="method_details ">
|
918
919
|
<h3 class="signature " id="meh-instance_method">
|
919
920
|
|
920
|
-
|
921
|
+
#<strong>meh</strong>(*args) ⇒ <tt>Object</tt>
|
921
922
|
|
922
923
|
|
923
924
|
|
@@ -940,12 +941,12 @@ Example expansion of options:
|
|
940
941
|
<pre class="lines">
|
941
942
|
|
942
943
|
|
943
|
-
|
944
|
-
|
945
|
-
|
944
|
+
2453
|
945
|
+
2454
|
946
|
+
2455</pre>
|
946
947
|
</td>
|
947
948
|
<td>
|
948
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
949
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2453</span>
|
949
950
|
|
950
951
|
<span class='kw'>def</span> <span class='id identifier rubyid_meh'>meh</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
951
952
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Ignoring</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -958,7 +959,7 @@ Example expansion of options:
|
|
958
959
|
<div class="method_details ">
|
959
960
|
<h3 class="signature " id="none-instance_method">
|
960
961
|
|
961
|
-
|
962
|
+
#<strong>none</strong> ⇒ <tt>Object</tt>
|
962
963
|
|
963
964
|
|
964
965
|
|
@@ -981,12 +982,12 @@ Example expansion of options:
|
|
981
982
|
<pre class="lines">
|
982
983
|
|
983
984
|
|
984
|
-
|
985
|
-
|
986
|
-
|
985
|
+
2416
|
986
|
+
2417
|
987
|
+
2418</pre>
|
987
988
|
</td>
|
988
989
|
<td>
|
989
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
990
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2416</span>
|
990
991
|
|
991
992
|
<span class='kw'>def</span> <span class='id identifier rubyid_none'>none</span>
|
992
993
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>NONE</span><span class='tstring_end'>"</span></span> <span class='rbracket'>]</span>
|
@@ -999,7 +1000,7 @@ Example expansion of options:
|
|
999
1000
|
<div class="method_details ">
|
1000
1001
|
<h3 class="signature " id="one-instance_method">
|
1001
1002
|
|
1002
|
-
|
1003
|
+
#<strong>one</strong>(*args) ⇒ <tt>Object</tt>
|
1003
1004
|
|
1004
1005
|
|
1005
1006
|
|
@@ -1022,12 +1023,12 @@ Example expansion of options:
|
|
1022
1023
|
<pre class="lines">
|
1023
1024
|
|
1024
1025
|
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1026
|
+
2433
|
1027
|
+
2434
|
1028
|
+
2435</pre>
|
1028
1029
|
</td>
|
1029
1030
|
<td>
|
1030
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
1031
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2433</span>
|
1031
1032
|
|
1032
1033
|
<span class='kw'>def</span> <span class='id identifier rubyid_one'>one</span><span class='lparen'>(</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
|
1033
1034
|
<span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>One of</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rbracket'>]</span>
|
@@ -1040,7 +1041,7 @@ Example expansion of options:
|
|
1040
1041
|
<div class="method_details ">
|
1041
1042
|
<h3 class="signature " id="p-instance_method">
|
1042
1043
|
|
1043
|
-
|
1044
|
+
#<strong>p</strong>(str) ⇒ <tt>Object</tt>
|
1044
1045
|
|
1045
1046
|
|
1046
1047
|
|
@@ -1063,12 +1064,12 @@ Example expansion of options:
|
|
1063
1064
|
<pre class="lines">
|
1064
1065
|
|
1065
1066
|
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1067
|
+
2394
|
1068
|
+
2395
|
1069
|
+
2396</pre>
|
1069
1070
|
</td>
|
1070
1071
|
<td>
|
1071
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
1072
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2394</span>
|
1072
1073
|
|
1073
1074
|
<span class='kw'>def</span> <span class='id identifier rubyid_p'>p</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
1074
1075
|
<span class='cvar'>@@io</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span><span class='lparen'>(</span> <span class='ivar'>@prefixStr</span> <span class='op'>+</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
|
@@ -1081,7 +1082,7 @@ Example expansion of options:
|
|
1081
1082
|
<div class="method_details ">
|
1082
1083
|
<h3 class="signature " id="printRule-instance_method">
|
1083
1084
|
|
1084
|
-
|
1085
|
+
#<strong>printRule</strong>(arr) ⇒ <tt>Object</tt>
|
1085
1086
|
|
1086
1087
|
|
1087
1088
|
|
@@ -1104,23 +1105,23 @@ Example expansion of options:
|
|
1104
1105
|
<pre class="lines">
|
1105
1106
|
|
1106
1107
|
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1108
|
+
2400
|
1109
|
+
2401
|
1110
|
+
2402
|
1111
|
+
2403
|
1112
|
+
2404
|
1113
|
+
2405
|
1114
|
+
2406
|
1115
|
+
2407
|
1116
|
+
2408
|
1117
|
+
2409
|
1118
|
+
2410
|
1119
|
+
2411
|
1120
|
+
2412
|
1121
|
+
2413</pre>
|
1121
1122
|
</td>
|
1122
1123
|
<td>
|
1123
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
1124
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2400</span>
|
1124
1125
|
|
1125
1126
|
<span class='kw'>def</span> <span class='id identifier rubyid_printRule'>printRule</span><span class='lparen'>(</span> <span class='id identifier rubyid_arr'>arr</span> <span class='rparen'>)</span>
|
1126
1127
|
<span class='id identifier rubyid_p'>p</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>|--# </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_arr'>arr</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='tstring_end'>"</span></span> <span class='rparen'>)</span>
|
@@ -1144,7 +1145,7 @@ Example expansion of options:
|
|
1144
1145
|
<div class="method_details ">
|
1145
1146
|
<h3 class="signature " id="rmPrefix-instance_method">
|
1146
1147
|
|
1147
|
-
|
1148
|
+
#<strong>rmPrefix</strong>(item) ⇒ <tt>Object</tt>
|
1148
1149
|
|
1149
1150
|
|
1150
1151
|
|
@@ -1167,17 +1168,17 @@ Example expansion of options:
|
|
1167
1168
|
<pre class="lines">
|
1168
1169
|
|
1169
1170
|
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1171
|
+
2384
|
1172
|
+
2385
|
1173
|
+
2386
|
1174
|
+
2387
|
1175
|
+
2388
|
1176
|
+
2389
|
1177
|
+
2390
|
1178
|
+
2391</pre>
|
1178
1179
|
</td>
|
1179
1180
|
<td>
|
1180
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
1181
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 2384</span>
|
1181
1182
|
|
1182
1183
|
<span class='kw'>def</span> <span class='id identifier rubyid_rmPrefix'>rmPrefix</span><span class='lparen'>(</span> <span class='id identifier rubyid_item'>item</span> <span class='rparen'>)</span>
|
1183
1184
|
<span class='kw'>if</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span> <span class='op'>==</span> <span class='const'>String</span>
|
@@ -1196,11 +1197,12 @@ Example expansion of options:
|
|
1196
1197
|
|
1197
1198
|
</div>
|
1198
1199
|
|
1199
|
-
|
1200
|
-
Generated on
|
1200
|
+
<div id="footer">
|
1201
|
+
Generated on Sat Sep 29 19:17:50 2018 by
|
1201
1202
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1202
|
-
0.
|
1203
|
+
0.9.16 (ruby-2.5.1).
|
1203
1204
|
</div>
|
1204
1205
|
|
1206
|
+
</div>
|
1205
1207
|
</body>
|
1206
1208
|
</html>
|