term_utils 0.4.0 → 0.5.0
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/COPYING +1 -1
- data/Rakefile +6 -0
- data/doc/TermUtils/AP/Article.html +13 -13
- data/doc/TermUtils/AP/ArticleResult.html +4 -4
- data/doc/TermUtils/AP/Flag.html +8 -8
- data/doc/TermUtils/AP/Parameter.html +9 -9
- data/doc/TermUtils/AP/ParameterResult.html +4 -4
- data/doc/TermUtils/AP/ParameterWalkerHooks.html +4 -4
- data/doc/TermUtils/AP/ParseError.html +646 -14
- data/doc/TermUtils/AP/Parser.html +43 -15
- data/doc/TermUtils/AP/Result.html +4 -4
- data/doc/TermUtils/AP/Syntax.html +4 -4
- data/doc/TermUtils/AP/SyntaxError.html +4 -86
- data/doc/TermUtils/AP/Walker.html +4 -4
- data/doc/TermUtils/AP.html +16 -16
- data/doc/TermUtils/FF/Config.html +8 -8
- data/doc/TermUtils/FF/Context.html +4 -4
- data/doc/TermUtils/FF/Entry.html +4 -4
- data/doc/TermUtils/FF/Finder.html +850 -0
- data/doc/TermUtils/FF/FinderEntry.html +1191 -0
- data/doc/TermUtils/FF/FinderQuery.html +946 -0
- data/doc/TermUtils/FF/Query.html +11 -15
- data/doc/TermUtils/FF.html +131 -7
- data/doc/TermUtils/PropertyTreeNode.html +6 -6
- data/doc/TermUtils/Tab/Column.html +44 -44
- data/doc/TermUtils/Tab/Header.html +19 -19
- data/doc/TermUtils/Tab/Holder.html +40 -40
- data/doc/TermUtils/Tab/Printer.html +4 -4
- data/doc/TermUtils/Tab/Table.html +59 -59
- data/doc/TermUtils/Tab/TableError.html +4 -86
- data/doc/TermUtils/Tab.html +42 -42
- data/doc/TermUtils.html +6 -6
- data/doc/_index.html +29 -23
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +1 -0
- data/doc/file.README.html +25 -21
- data/doc/frames.html +1 -1
- data/doc/index.html +25 -21
- data/doc/method_list.html +385 -89
- data/doc/top-level-namespace.html +4 -4
- data/lib/term_utils/ap/article.rb +2 -2
- data/lib/term_utils/ap/flag.rb +2 -2
- data/lib/term_utils/ap/parameter.rb +2 -2
- data/lib/term_utils/ap/parser.rb +16 -15
- data/lib/term_utils/ap/result.rb +2 -2
- data/lib/term_utils/ap/syntax.rb +2 -2
- data/lib/term_utils/ap.rb +66 -22
- data/lib/term_utils/ff/config.rb +3 -3
- data/lib/term_utils/ff/entry.rb +2 -2
- data/lib/term_utils/ff/finder.rb +255 -0
- data/lib/term_utils/ff/query.rb +6 -8
- data/lib/term_utils/ff.rb +4 -3
- data/lib/term_utils/property_tree_node.rb +3 -3
- data/lib/term_utils/tab.rb +14 -13
- data/lib/term_utils.rb +2 -2
- data/term_utils.gemspec +2 -2
- metadata +8 -5
- data/doc/TermUtils/AP/NoSuchValueError.html +0 -217
data/doc/TermUtils/FF/Query.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::FF::Query
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -224,7 +224,7 @@
|
|
224
224
|
|
225
225
|
|
226
226
|
<span class="summary_desc"><div class='inline'>
|
227
|
-
<p>Adds a Regexp
|
227
|
+
<p>Adds a Regexp for ignoring file names.</p>
|
228
228
|
</div></span>
|
229
229
|
|
230
230
|
</li>
|
@@ -474,18 +474,14 @@
|
|
474
474
|
137
|
475
475
|
138
|
476
476
|
139
|
477
|
-
140
|
478
|
-
141
|
479
|
-
142</pre>
|
477
|
+
140</pre>
|
480
478
|
</td>
|
481
479
|
<td>
|
482
480
|
<pre class="code"><span class="info file"># File 'lib/term_utils/ff/query.rb', line 135</span>
|
483
481
|
|
484
482
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_accept_entry_name?'>accept_entry_name?</span><span class='lparen'>(</span><span class='id identifier rubyid_ctx'>ctx</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
485
|
-
<span class='id identifier rubyid_ctx'>ctx</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_ignore_list'>ignore_list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier
|
486
|
-
<span class='kw'>if</span> <span class='id identifier
|
487
|
-
<span class='kw'>return</span> <span class='kw'>false</span>
|
488
|
-
<span class='kw'>end</span>
|
483
|
+
<span class='id identifier rubyid_ctx'>ctx</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_ignore_list'>ignore_list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span>
|
484
|
+
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
489
485
|
<span class='kw'>end</span>
|
490
486
|
<span class='kw'>true</span>
|
491
487
|
<span class='kw'>end</span></pre>
|
@@ -757,7 +753,7 @@
|
|
757
753
|
</h3><div class="docstring">
|
758
754
|
<div class="discussion">
|
759
755
|
|
760
|
-
<p>Adds a Regexp
|
756
|
+
<p>Adds a Regexp for ignoring file names.</p>
|
761
757
|
|
762
758
|
|
763
759
|
</div>
|
@@ -840,8 +836,8 @@
|
|
840
836
|
<pre class="code"><span class="info file"># File 'lib/term_utils/ff/query.rb', line 30</span>
|
841
837
|
|
842
838
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize_copy'>initialize_copy</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
843
|
-
<span class='ivar'>@config</span> <span class='op'>=</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
844
839
|
<span class='kw'>super</span>
|
840
|
+
<span class='ivar'>@config</span> <span class='op'>=</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
845
841
|
<span class='kw'>end</span></pre>
|
846
842
|
</td>
|
847
843
|
</tr>
|
@@ -1024,7 +1020,7 @@
|
|
1024
1020
|
|
1025
1021
|
—
|
1026
1022
|
<div class='inline'>
|
1027
|
-
<p>Either
|
1023
|
+
<p>Either ‘:forward`, `:reverse` or `nil` (default).</p>
|
1028
1024
|
</div>
|
1029
1025
|
|
1030
1026
|
</li>
|
@@ -1075,9 +1071,9 @@
|
|
1075
1071
|
</div>
|
1076
1072
|
|
1077
1073
|
<div id="footer">
|
1078
|
-
Generated on
|
1079
|
-
<a href="
|
1080
|
-
0.9.
|
1074
|
+
Generated on Wed Aug 9 17:34:26 2023 by
|
1075
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1076
|
+
0.9.34 (ruby-3.2.2).
|
1081
1077
|
</div>
|
1082
1078
|
|
1083
1079
|
</div>
|
data/doc/TermUtils/FF.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: TermUtils::FF
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/term_utils/ff.rb<span class="defines">,<br />
|
82
|
-
lib/term_utils/ff/entry.rb,<br /> lib/term_utils/ff/query.rb,<br /> lib/term_utils/ff/config.rb</span>
|
82
|
+
lib/term_utils/ff/entry.rb,<br /> lib/term_utils/ff/query.rb,<br /> lib/term_utils/ff/config.rb,<br /> lib/term_utils/ff/finder.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -88,7 +88,7 @@
|
|
88
88
|
<h2>Overview</h2><div class="docstring">
|
89
89
|
<div class="discussion">
|
90
90
|
|
91
|
-
<p>Provides
|
91
|
+
<p>Provides ways to find files.</p>
|
92
92
|
|
93
93
|
|
94
94
|
</div>
|
@@ -102,7 +102,7 @@
|
|
102
102
|
|
103
103
|
|
104
104
|
|
105
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="FF/Config.html" title="TermUtils::FF::Config (class)">Config</a></span>, <span class='object_link'><a href="FF/Context.html" title="TermUtils::FF::Context (class)">Context</a></span>, <span class='object_link'><a href="FF/Entry.html" title="TermUtils::FF::Entry (class)">Entry</a></span>, <span class='object_link'><a href="FF/Query.html" title="TermUtils::FF::Query (class)">Query</a></span>
|
105
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="FF/Config.html" title="TermUtils::FF::Config (class)">Config</a></span>, <span class='object_link'><a href="FF/Context.html" title="TermUtils::FF::Context (class)">Context</a></span>, <span class='object_link'><a href="FF/Entry.html" title="TermUtils::FF::Entry (class)">Entry</a></span>, <span class='object_link'><a href="FF/Finder.html" title="TermUtils::FF::Finder (class)">Finder</a></span>, <span class='object_link'><a href="FF/FinderEntry.html" title="TermUtils::FF::FinderEntry (class)">FinderEntry</a></span>, <span class='object_link'><a href="FF/FinderQuery.html" title="TermUtils::FF::FinderQuery (class)">FinderQuery</a></span>, <span class='object_link'><a href="FF/Query.html" title="TermUtils::FF::Query (class)">Query</a></span>
|
106
106
|
|
107
107
|
|
108
108
|
</p>
|
@@ -113,14 +113,138 @@
|
|
113
113
|
|
114
114
|
|
115
115
|
|
116
|
+
|
117
|
+
<h2>
|
118
|
+
Class Method Summary
|
119
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
120
|
+
</h2>
|
121
|
+
|
122
|
+
<ul class="summary">
|
123
|
+
|
124
|
+
<li class="public ">
|
125
|
+
<span class="summary_signature">
|
126
|
+
|
127
|
+
<a href="#find-class_method" title="find (class method)">.<strong>find</strong>(*paths, &block) ⇒ Array<Hash> </a>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</span>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
<span class="summary_desc"><div class='inline'>
|
142
|
+
<p>Finds files.</p>
|
143
|
+
</div></span>
|
144
|
+
|
145
|
+
</li>
|
146
|
+
|
147
|
+
|
148
|
+
</ul>
|
149
|
+
|
150
|
+
|
116
151
|
|
117
152
|
|
153
|
+
<div id="class_method_details" class="method_details_list">
|
154
|
+
<h2>Class Method Details</h2>
|
155
|
+
|
156
|
+
|
157
|
+
<div class="method_details first">
|
158
|
+
<h3 class="signature first" id="find-class_method">
|
159
|
+
|
160
|
+
.<strong>find</strong>(*paths, &block) ⇒ <tt>Array<Hash></tt>
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
</h3><div class="docstring">
|
167
|
+
<div class="discussion">
|
168
|
+
|
169
|
+
<p>Finds files.</p>
|
170
|
+
|
171
|
+
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
<div class="tags">
|
175
|
+
<p class="tag_title">Parameters:</p>
|
176
|
+
<ul class="param">
|
177
|
+
|
178
|
+
<li>
|
179
|
+
|
180
|
+
<span class='name'>paths</span>
|
181
|
+
|
182
|
+
|
183
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
</li>
|
188
|
+
|
189
|
+
</ul>
|
190
|
+
|
191
|
+
<p class="tag_title">Returns:</p>
|
192
|
+
<ul class="return">
|
193
|
+
|
194
|
+
<li>
|
195
|
+
|
196
|
+
|
197
|
+
<span class='type'>(<tt>Array<Hash></tt>)</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
</li>
|
202
|
+
|
203
|
+
</ul>
|
204
|
+
|
205
|
+
</div><table class="source_code">
|
206
|
+
<tr>
|
207
|
+
<td>
|
208
|
+
<pre class="lines">
|
209
|
+
|
210
|
+
|
211
|
+
244
|
212
|
+
245
|
213
|
+
246
|
214
|
+
247
|
215
|
+
248
|
216
|
+
249
|
217
|
+
250
|
218
|
+
251
|
219
|
+
252
|
220
|
+
253</pre>
|
221
|
+
</td>
|
222
|
+
<td>
|
223
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/ff/finder.rb', line 244</span>
|
224
|
+
|
225
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_paths'>paths</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
226
|
+
<span class='id identifier rubyid_fdr'>fdr</span> <span class='op'>=</span>
|
227
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_paths'>paths</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
228
|
+
<span class='const'><span class='object_link'><a href="../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="TermUtils::FF (module)">FF</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="FF/Finder.html" title="TermUtils::FF::Finder (class)">Finder</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="FF/Finder.html#initialize-instance_method" title="TermUtils::FF::Finder#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
229
|
+
<span class='kw'>else</span>
|
230
|
+
<span class='const'><span class='object_link'><a href="../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="TermUtils::FF (module)">FF</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="FF/Finder.html" title="TermUtils::FF::Finder (class)">Finder</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="FF/Finder.html#initialize-instance_method" title="TermUtils::FF::Finder#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_paths'>paths</span><span class='rparen'>)</span>
|
231
|
+
<span class='kw'>end</span>
|
232
|
+
<span class='id identifier rubyid_block'>block</span><span class='op'>&.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_fdr'>fdr</span><span class='period'>.</span><span class='id identifier rubyid_query'>query</span><span class='rparen'>)</span>
|
233
|
+
<span class='id identifier rubyid_fdr'>fdr</span><span class='period'>.</span><span class='id identifier rubyid_exec'>exec</span>
|
234
|
+
<span class='kw'>end</span></pre>
|
235
|
+
</td>
|
236
|
+
</tr>
|
237
|
+
</table>
|
238
|
+
</div>
|
239
|
+
|
240
|
+
</div>
|
241
|
+
|
118
242
|
</div>
|
119
243
|
|
120
244
|
<div id="footer">
|
121
|
-
Generated on
|
122
|
-
<a href="
|
123
|
-
0.9.
|
245
|
+
Generated on Wed Aug 9 17:34:25 2023 by
|
246
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
247
|
+
0.9.34 (ruby-3.2.2).
|
124
248
|
</div>
|
125
249
|
|
126
250
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::PropertyTreeNode
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1718,8 +1718,8 @@
|
|
1718
1718
|
|
1719
1719
|
<span class='kw'>def</span> <span class='id identifier rubyid_find_node'>find_node</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
1720
1720
|
<span class='id identifier rubyid_catch'>catch</span> <span class='symbol'>:found</span> <span class='kw'>do</span>
|
1721
|
-
<span class='id identifier rubyid_each_node'>each_node</span><span class='lparen'>(</span><span class='label'>path:</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_n'>n</span><span class='op'>|</span>
|
1722
|
-
<span class='id identifier rubyid_throw'>throw</span> <span class='symbol'>:found</span><span class='comma'>,</span> <span class='id identifier rubyid_n'>n</span>
|
1721
|
+
<span class='id identifier rubyid_each_node'>each_node</span><span class='lparen'>(</span><span class='label'>path:</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_n'>n</span><span class='op'>|</span> <span class='comment'># rubocop:disable Lint/UnreachableLoop
|
1722
|
+
</span> <span class='id identifier rubyid_throw'>throw</span> <span class='symbol'>:found</span><span class='comma'>,</span> <span class='id identifier rubyid_n'>n</span>
|
1723
1723
|
<span class='kw'>end</span>
|
1724
1724
|
<span class='kw'>nil</span>
|
1725
1725
|
<span class='kw'>end</span>
|
@@ -2103,9 +2103,9 @@
|
|
2103
2103
|
</div>
|
2104
2104
|
|
2105
2105
|
<div id="footer">
|
2106
|
-
Generated on
|
2107
|
-
<a href="
|
2108
|
-
0.9.
|
2106
|
+
Generated on Wed Aug 9 17:34:27 2023 by
|
2107
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2108
|
+
0.9.34 (ruby-3.2.2).
|
2109
2109
|
</div>
|
2110
2110
|
|
2111
2111
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::Tab::Column
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
<span class="summary_desc"><div class='inline'>
|
141
|
-
<p
|
141
|
+
<p>‘:left`, `:right`.</p>
|
142
142
|
</div></span>
|
143
143
|
|
144
144
|
</li>
|
@@ -551,6 +551,7 @@
|
|
551
551
|
<pre class="lines">
|
552
552
|
|
553
553
|
|
554
|
+
313
|
554
555
|
314
|
555
556
|
315
|
556
557
|
316
|
@@ -559,11 +560,10 @@
|
|
559
560
|
319
|
560
561
|
320
|
561
562
|
321
|
562
|
-
322
|
563
|
-
323</pre>
|
563
|
+
322</pre>
|
564
564
|
</td>
|
565
565
|
<td>
|
566
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
566
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 313</span>
|
567
567
|
|
568
568
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
569
569
|
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:id</span><span class='rparen'>)</span>
|
@@ -599,7 +599,7 @@
|
|
599
599
|
</h3><div class="docstring">
|
600
600
|
<div class="discussion">
|
601
601
|
|
602
|
-
<p>Returns
|
602
|
+
<p>Returns ‘:left`, `:right`.</p>
|
603
603
|
|
604
604
|
|
605
605
|
</div>
|
@@ -618,7 +618,7 @@
|
|
618
618
|
|
619
619
|
—
|
620
620
|
<div class='inline'>
|
621
|
-
<p
|
621
|
+
<p>‘:left`, `:right`.</p>
|
622
622
|
</div>
|
623
623
|
|
624
624
|
</li>
|
@@ -631,12 +631,12 @@
|
|
631
631
|
<pre class="lines">
|
632
632
|
|
633
633
|
|
634
|
+
295
|
634
635
|
296
|
635
|
-
297
|
636
|
-
298</pre>
|
636
|
+
297</pre>
|
637
637
|
</td>
|
638
638
|
<td>
|
639
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
639
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 295</span>
|
640
640
|
|
641
641
|
<span class='kw'>def</span> <span class='id identifier rubyid_align'>align</span>
|
642
642
|
<span class='ivar'>@align</span>
|
@@ -685,12 +685,12 @@
|
|
685
685
|
<pre class="lines">
|
686
686
|
|
687
687
|
|
688
|
+
299
|
688
689
|
300
|
689
|
-
301
|
690
|
-
302</pre>
|
690
|
+
301</pre>
|
691
691
|
</td>
|
692
692
|
<td>
|
693
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
693
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 299</span>
|
694
694
|
|
695
695
|
<span class='kw'>def</span> <span class='id identifier rubyid_ellipsis'>ellipsis</span>
|
696
696
|
<span class='ivar'>@ellipsis</span>
|
@@ -739,12 +739,12 @@
|
|
739
739
|
<pre class="lines">
|
740
740
|
|
741
741
|
|
742
|
+
297
|
742
743
|
298
|
743
|
-
299
|
744
|
-
300</pre>
|
744
|
+
299</pre>
|
745
745
|
</td>
|
746
746
|
<td>
|
747
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
747
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 297</span>
|
748
748
|
|
749
749
|
<span class='kw'>def</span> <span class='id identifier rubyid_fixed'>fixed</span>
|
750
750
|
<span class='ivar'>@fixed</span>
|
@@ -793,12 +793,12 @@
|
|
793
793
|
<pre class="lines">
|
794
794
|
|
795
795
|
|
796
|
+
301
|
796
797
|
302
|
797
|
-
303
|
798
|
-
304</pre>
|
798
|
+
303</pre>
|
799
799
|
</td>
|
800
800
|
<td>
|
801
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
801
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 301</span>
|
802
802
|
|
803
803
|
<span class='kw'>def</span> <span class='id identifier rubyid_format'>format</span>
|
804
804
|
<span class='ivar'>@format</span>
|
@@ -847,12 +847,12 @@
|
|
847
847
|
<pre class="lines">
|
848
848
|
|
849
849
|
|
850
|
+
303
|
850
851
|
304
|
851
|
-
305
|
852
|
-
306</pre>
|
852
|
+
305</pre>
|
853
853
|
</td>
|
854
854
|
<td>
|
855
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
855
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 303</span>
|
856
856
|
|
857
857
|
<span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span>
|
858
858
|
<span class='ivar'>@header</span>
|
@@ -901,12 +901,12 @@
|
|
901
901
|
<pre class="lines">
|
902
902
|
|
903
903
|
|
904
|
+
289
|
904
905
|
290
|
905
|
-
291
|
906
|
-
292</pre>
|
906
|
+
291</pre>
|
907
907
|
</td>
|
908
908
|
<td>
|
909
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
909
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 289</span>
|
910
910
|
|
911
911
|
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
912
912
|
<span class='ivar'>@id</span>
|
@@ -955,12 +955,12 @@
|
|
955
955
|
<pre class="lines">
|
956
956
|
|
957
957
|
|
958
|
+
291
|
958
959
|
292
|
959
|
-
293
|
960
|
-
294</pre>
|
960
|
+
293</pre>
|
961
961
|
</td>
|
962
962
|
<td>
|
963
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
963
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 291</span>
|
964
964
|
|
965
965
|
<span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span>
|
966
966
|
<span class='ivar'>@index</span>
|
@@ -1009,12 +1009,12 @@
|
|
1009
1009
|
<pre class="lines">
|
1010
1010
|
|
1011
1011
|
|
1012
|
+
293
|
1012
1013
|
294
|
1013
|
-
295
|
1014
|
-
296</pre>
|
1014
|
+
295</pre>
|
1015
1015
|
</td>
|
1016
1016
|
<td>
|
1017
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
1017
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 293</span>
|
1018
1018
|
|
1019
1019
|
<span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
|
1020
1020
|
<span class='ivar'>@width</span>
|
@@ -1072,6 +1072,7 @@
|
|
1072
1072
|
<pre class="lines">
|
1073
1073
|
|
1074
1074
|
|
1075
|
+
351
|
1075
1076
|
352
|
1076
1077
|
353
|
1077
1078
|
354
|
@@ -1082,11 +1083,10 @@
|
|
1082
1083
|
359
|
1083
1084
|
360
|
1084
1085
|
361
|
1085
|
-
362
|
1086
|
-
363</pre>
|
1086
|
+
362</pre>
|
1087
1087
|
</td>
|
1088
1088
|
<td>
|
1089
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
1089
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 351</span>
|
1090
1090
|
|
1091
1091
|
<span class='kw'>def</span> <span class='id identifier rubyid_render_data'>render_data</span><span class='lparen'>(</span><span class='id identifier rubyid_val'>val</span><span class='rparen'>)</span>
|
1092
1092
|
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -1097,7 +1097,7 @@
|
|
1097
1097
|
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='ivar'>@format</span> <span class='op'>%</span> <span class='id identifier rubyid_val'>val</span>
|
1098
1098
|
<span class='kw'>end</span>
|
1099
1099
|
<span class='kw'>end</span>
|
1100
|
-
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='id identifier rubyid_src'>src</span><span class='period'>.</span><span class='id identifier
|
1100
|
+
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='id identifier rubyid_src'>src</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>unless</span> <span class='id identifier rubyid_src'>src</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
|
1101
1101
|
<span class='const'><span class='object_link'><a href="../../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Tab.html" title="TermUtils::Tab (module)">Tab</a></span></span><span class='period'>.</span><span class='id identifier rubyid_align_cut'><span class='object_link'><a href="../Tab.html#align_cut-class_method" title="TermUtils::Tab.align_cut (method)">align_cut</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_src'>src</span><span class='comma'>,</span> <span class='ivar'>@align</span><span class='comma'>,</span> <span class='ivar'>@fixed</span><span class='comma'>,</span> <span class='ivar'>@width</span><span class='comma'>,</span> <span class='ivar'>@ellipsis</span><span class='rparen'>)</span>
|
1102
1102
|
<span class='kw'>end</span></pre>
|
1103
1103
|
</td>
|
@@ -1146,13 +1146,13 @@
|
|
1146
1146
|
<pre class="lines">
|
1147
1147
|
|
1148
1148
|
|
1149
|
+
343
|
1149
1150
|
344
|
1150
1151
|
345
|
1151
|
-
346
|
1152
|
-
347</pre>
|
1152
|
+
346</pre>
|
1153
1153
|
</td>
|
1154
1154
|
<td>
|
1155
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
1155
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 343</span>
|
1156
1156
|
|
1157
1157
|
<span class='kw'>def</span> <span class='id identifier rubyid_render_header'>render_header</span><span class='lparen'>(</span><span class='id identifier rubyid_val'>val</span><span class='rparen'>)</span>
|
1158
1158
|
<span class='id identifier rubyid_src'>src</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_val'>val</span> <span class='op'>:</span> <span class='id identifier rubyid_val'>val</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -1215,6 +1215,7 @@
|
|
1215
1215
|
<pre class="lines">
|
1216
1216
|
|
1217
1217
|
|
1218
|
+
327
|
1218
1219
|
328
|
1219
1220
|
329
|
1220
1221
|
330
|
@@ -1225,11 +1226,10 @@
|
|
1225
1226
|
335
|
1226
1227
|
336
|
1227
1228
|
337
|
1228
|
-
338
|
1229
|
-
339</pre>
|
1229
|
+
338</pre>
|
1230
1230
|
</td>
|
1231
1231
|
<td>
|
1232
|
-
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line
|
1232
|
+
<pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 327</span>
|
1233
1233
|
|
1234
1234
|
<span class='kw'>def</span> <span class='id identifier rubyid_validate'>validate</span>
|
1235
1235
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Tab.html" title="TermUtils::Tab (module)">Tab</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="TableError.html" title="TermUtils::Tab::TableError (class)">TableError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>missing column id (nil)</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
@@ -1253,9 +1253,9 @@
|
|
1253
1253
|
</div>
|
1254
1254
|
|
1255
1255
|
<div id="footer">
|
1256
|
-
Generated on
|
1257
|
-
<a href="
|
1258
|
-
0.9.
|
1256
|
+
Generated on Wed Aug 9 17:34:26 2023 by
|
1257
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1258
|
+
0.9.34 (ruby-3.2.2).
|
1259
1259
|
</div>
|
1260
1260
|
|
1261
1261
|
</div>
|