doing 2.1.23 → 2.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +17 -21
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +329 -102
- data/Dockerfile +5 -5
- data/Dockerfile-2.6 +5 -5
- data/Dockerfile-2.7 +5 -4
- data/Dockerfile-3.0 +5 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +3 -3
- data/bin/commands/add_section.rb +15 -0
- data/bin/commands/again.rb +57 -0
- data/bin/commands/archive.rb +55 -0
- data/bin/commands/cancel.rb +60 -0
- data/bin/commands/changes.rb +69 -0
- data/bin/commands/choose.rb +9 -0
- data/bin/commands/colors.rb +21 -0
- data/bin/commands/commands.rb +89 -0
- data/bin/commands/commands_accepting.rb +76 -0
- data/bin/commands/completion.rb +27 -0
- data/bin/commands/config.rb +245 -0
- data/bin/commands/done.rb +235 -0
- data/bin/commands/finish.rb +126 -0
- data/bin/commands/flag.rb +90 -0
- data/bin/commands/grep.rb +108 -0
- data/bin/commands/import.rb +71 -0
- data/bin/commands/install_fzf.rb +17 -0
- data/bin/commands/last.rb +81 -0
- data/bin/commands/meanwhile.rb +76 -0
- data/bin/commands/note.rb +91 -0
- data/bin/commands/now.rb +145 -0
- data/bin/commands/on.rb +65 -0
- data/bin/commands/open.rb +53 -0
- data/bin/commands/plugins.rb +23 -0
- data/bin/commands/recent.rb +77 -0
- data/bin/commands/redo.rb +26 -0
- data/bin/commands/reset.rb +73 -0
- data/bin/commands/rotate.rb +42 -0
- data/bin/commands/sections.rb +11 -0
- data/bin/commands/select.rb +105 -0
- data/bin/commands/show.rb +185 -0
- data/bin/commands/since.rb +63 -0
- data/bin/commands/tag.rb +149 -0
- data/bin/commands/tag_dir.rb +29 -0
- data/bin/commands/tags.rb +66 -0
- data/bin/commands/template.rb +61 -0
- data/bin/commands/today.rb +64 -0
- data/bin/commands/undo.rb +49 -0
- data/bin/commands/view.rb +201 -0
- data/bin/commands/views.rb +11 -0
- data/bin/commands/yesterday.rb +72 -0
- data/bin/doing +241 -3662
- data/docs/doc/Array.html +13 -449
- data/docs/doc/BooleanTermParser/Clause.html +5 -5
- data/docs/doc/BooleanTermParser/Operator.html +4 -4
- data/docs/doc/BooleanTermParser/Query.html +8 -8
- data/docs/doc/BooleanTermParser/QueryParser.html +2 -2
- data/docs/doc/BooleanTermParser/QueryTransformer.html +2 -2
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/Color.html +65 -59
- data/docs/doc/Doing/Completion.html +2 -2
- data/docs/doc/Doing/Configuration.html +49 -16
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +2 -2
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +2 -2
- data/docs/doc/Doing/Errors/DoingStandardError.html +2 -2
- data/docs/doc/Doing/Errors/EmptyInput.html +2 -2
- data/docs/doc/Doing/Errors/NoResults.html +2 -2
- data/docs/doc/Doing/Errors/PluginException.html +3 -3
- data/docs/doc/Doing/Errors/UserCancelled.html +2 -2
- data/docs/doc/Doing/Errors/WrongCommand.html +2 -2
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/Hooks.html +6 -6
- data/docs/doc/Doing/Item.html +50 -16
- data/docs/doc/Doing/Items.html +10 -10
- data/docs/doc/Doing/LogAdapter.html +24 -24
- data/docs/doc/Doing/Note.html +7 -7
- data/docs/doc/Doing/Pager.html +4 -4
- data/docs/doc/Doing/Plugins.html +7 -7
- data/docs/doc/Doing/Prompt.html +59 -14
- data/docs/doc/Doing/Section.html +6 -6
- data/docs/doc/Doing/TemplateString.html +8 -8
- data/docs/doc/Doing/Types.html +46 -1
- data/docs/doc/Doing/Util/Backup.html +10 -10
- data/docs/doc/Doing/Util.html +15 -15
- data/docs/doc/Doing/WWID.html +73 -61
- data/docs/doc/Doing.html +3 -3
- data/docs/doc/FalseClass.html +235 -0
- data/docs/doc/GLI/Commands/Help.html +3 -3
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +17 -17
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +45 -11
- data/docs/doc/Numeric.html +5 -5
- data/docs/doc/Object.html +203 -0
- data/docs/doc/PhraseParser/Operator.html +4 -4
- data/docs/doc/PhraseParser/PhraseClause.html +5 -5
- data/docs/doc/PhraseParser/Query.html +10 -10
- data/docs/doc/PhraseParser/QueryParser.html +2 -2
- data/docs/doc/PhraseParser/QueryTransformer.html +2 -2
- data/docs/doc/PhraseParser/TermClause.html +5 -5
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +7 -7
- data/docs/doc/String.html +306 -3111
- data/docs/doc/Symbol.html +45 -11
- data/docs/doc/Time.html +6 -6
- data/docs/doc/TrueClass.html +235 -0
- data/docs/doc/_index.html +37 -19
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +240 -576
- data/docs/doc/top-level-namespace.html +2 -2
- data/doing.rdoc +289 -169
- data/example_plugin.rb +2 -2
- data/lib/completion/_doing.zsh +35 -31
- data/lib/completion/doing.bash +30 -19
- data/lib/completion/doing.fish +81 -67
- data/lib/doing/array/array.rb +4 -0
- data/lib/doing/array/nested_hash.rb +17 -0
- data/lib/doing/{array.rb → array/tags.rb} +7 -25
- data/lib/doing/changelog/change.rb +26 -11
- data/lib/doing/changelog/changes.rb +14 -4
- data/lib/doing/{array_chronify.rb → chronify/array.rb} +0 -0
- data/lib/doing/chronify/chronify.rb +5 -0
- data/lib/doing/{numeric_chronify.rb → chronify/numeric.rb} +0 -0
- data/lib/doing/{string_chronify.rb → chronify/string.rb} +0 -0
- data/lib/doing/colors.rb +115 -54
- data/lib/doing/completion/fish_completion.rb +2 -1
- data/lib/doing/configuration.rb +9 -6
- data/lib/doing/good.rb +72 -0
- data/lib/doing/hash.rb +4 -0
- data/lib/doing/help_monkey_patch.rb +6 -5
- data/lib/doing/hooks.rb +3 -3
- data/lib/doing/item.rb +19 -15
- data/lib/doing/items.rb +2 -2
- data/lib/doing/log_adapter.rb +35 -2
- data/lib/doing/normalize.rb +188 -0
- data/lib/doing/pager.rb +1 -0
- data/lib/doing/plugins/export/dayone_export.rb +1 -1
- data/lib/doing/plugins/export/html_export.rb +1 -1
- data/lib/doing/plugins/export/json_export.rb +1 -1
- data/lib/doing/plugins/export/markdown_export.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +3 -1
- data/lib/doing/plugins/import/calendar_import.rb +1 -1
- data/lib/doing/plugins/import/doing_import.rb +1 -1
- data/lib/doing/plugins/import/timing_import.rb +1 -1
- data/lib/doing/prompt.rb +9 -3
- data/lib/doing/string/highlight.rb +95 -0
- data/lib/doing/string/query.rb +129 -0
- data/lib/doing/string/string.rb +12 -0
- data/lib/doing/string/tags.rb +164 -0
- data/lib/doing/string/transform.rb +168 -0
- data/lib/doing/string/truncate.rb +75 -0
- data/lib/doing/string/url.rb +82 -0
- data/lib/doing/template_string.rb +2 -24
- data/lib/doing/types.rb +9 -0
- data/lib/doing/util.rb +20 -16
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +91 -51
- data/lib/doing.rb +5 -6
- data/lib/examples/commands/wiki.rb +6 -7
- data/lib/examples/plugins/wiki_export/wiki_export.rb +1 -1
- data/lib/helpers/threaded_tests.rb +69 -79
- data/lib/helpers/threaded_tests_string.rb +50 -0
- data/scripts/deploy.rb +107 -0
- data/scripts/runtests.sh +4 -0
- metadata +65 -8
- data/lib/doing/string.rb +0 -765
- data/lib/doing/symbol.rb +0 -28
data/docs/doc/Array.html
CHANGED
@@ -69,10 +69,10 @@
|
|
69
69
|
<dl>
|
70
70
|
<dt>Inherits:</dt>
|
71
71
|
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">Array</li>
|
78
78
|
|
@@ -94,24 +94,12 @@
|
|
94
94
|
|
95
95
|
<dl>
|
96
96
|
<dt>Defined in:</dt>
|
97
|
-
<dd>lib/doing/
|
98
|
-
lib/doing/array_chronify.rb</span>
|
99
|
-
</dd>
|
97
|
+
<dd>lib/doing/good.rb</dd>
|
100
98
|
</dl>
|
101
99
|
|
102
100
|
</div>
|
103
101
|
|
104
|
-
<
|
105
|
-
<div class="discussion">
|
106
|
-
<p>Chronify array helpers</p>
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
<div class="tags">
|
112
|
-
|
113
|
-
|
114
|
-
</div><div id="subclasses">
|
102
|
+
<div id="subclasses">
|
115
103
|
<h2>Direct Known Subclasses</h2>
|
116
104
|
<p class="children"><span class='object_link'><a href="Doing/Items.html" title="Doing::Items (class)">Doing::Items</a></span>, <span class='object_link'><a href="Doing/Note.html" title="Doing::Note (class)">Doing::Note</a></span></p>
|
117
105
|
</div>
|
@@ -133,122 +121,7 @@
|
|
133
121
|
<li class="public ">
|
134
122
|
<span class="summary_signature">
|
135
123
|
|
136
|
-
<a href="#
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
</span>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<span class="summary_desc"><div class='inline'><p>Hightlight @tags in string for console output.</p>
|
151
|
-
</div></span>
|
152
|
-
|
153
|
-
</li>
|
154
|
-
|
155
|
-
|
156
|
-
<li class="public ">
|
157
|
-
<span class="summary_signature">
|
158
|
-
|
159
|
-
<a href="#log_tags-instance_method" title="#log_tags (instance method)">#<strong>log_tags</strong> ⇒ String </a>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
</span>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<span class="summary_desc"><div class='inline'><p>Tag array for logging.</p>
|
174
|
-
</div></span>
|
175
|
-
|
176
|
-
</li>
|
177
|
-
|
178
|
-
|
179
|
-
<li class="public ">
|
180
|
-
<span class="summary_signature">
|
181
|
-
|
182
|
-
<a href="#nested_hash-instance_method" title="#nested_hash (instance method)">#<strong>nested_hash</strong>(value) ⇒ Object </a>
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
</span>
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
<span class="summary_desc"><div class='inline'><p>Convert array to nested hash, setting last key to value.</p>
|
197
|
-
</div></span>
|
198
|
-
|
199
|
-
</li>
|
200
|
-
|
201
|
-
|
202
|
-
<li class="public ">
|
203
|
-
<span class="summary_signature">
|
204
|
-
|
205
|
-
<a href="#tags_to_array-instance_method" title="#tags_to_array (instance method)">#<strong>tags_to_array</strong> ⇒ Array </a>
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
</span>
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
<span class="summary_desc"><div class='inline'><p>Convert an @tags to plain strings.</p>
|
220
|
-
</div></span>
|
221
|
-
|
222
|
-
</li>
|
223
|
-
|
224
|
-
|
225
|
-
<li class="public ">
|
226
|
-
<span class="summary_signature">
|
227
|
-
|
228
|
-
<a href="#time_string-instance_method" title="#time_string (instance method)">#<strong>time_string</strong>(format: :dhm) ⇒ String </a>
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
</span>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
<span class="summary_desc"><div class='inline'><p>Format [d, h, m] as string.</p>
|
243
|
-
</div></span>
|
244
|
-
|
245
|
-
</li>
|
246
|
-
|
247
|
-
|
248
|
-
<li class="public ">
|
249
|
-
<span class="summary_signature">
|
250
|
-
|
251
|
-
<a href="#to_tags-instance_method" title="#to_tags (instance method)">#<strong>to_tags</strong> ⇒ Array </a>
|
124
|
+
<a href="#good%3F-instance_method" title="#good? (instance method)">#<strong>good?</strong> ⇒ Boolean </a>
|
252
125
|
|
253
126
|
|
254
127
|
|
@@ -262,31 +135,9 @@
|
|
262
135
|
|
263
136
|
|
264
137
|
|
265
|
-
<span class="summary_desc"><div class='inline'><p>
|
138
|
+
<span class="summary_desc"><div class='inline'><p>Tests if object is nil or empty.</p>
|
266
139
|
</div></span>
|
267
140
|
|
268
|
-
</li>
|
269
|
-
|
270
|
-
|
271
|
-
<li class="public ">
|
272
|
-
<span class="summary_signature">
|
273
|
-
|
274
|
-
<a href="#to_tags!-instance_method" title="#to_tags! (instance method)">#<strong>to_tags!</strong> ⇒ Object </a>
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
</span>
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
289
|
-
|
290
141
|
</li>
|
291
142
|
|
292
143
|
|
@@ -300,276 +151,9 @@
|
|
300
151
|
|
301
152
|
|
302
153
|
<div class="method_details first">
|
303
|
-
<h3 class="signature first" id="
|
304
|
-
|
305
|
-
#<strong>highlight_tags</strong>(color = 'cyan') ⇒ <tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
</h3><div class="docstring">
|
312
|
-
<div class="discussion">
|
313
|
-
<p>Hightlight @tags in string for console output</p>
|
314
|
-
|
315
|
-
|
316
|
-
</div>
|
317
|
-
</div>
|
318
|
-
<div class="tags">
|
319
|
-
<p class="tag_title">Parameters:</p>
|
320
|
-
<ul class="param">
|
321
|
-
|
322
|
-
<li>
|
323
|
-
|
324
|
-
<span class='name'>color</span>
|
325
|
-
|
326
|
-
|
327
|
-
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>)</span>
|
328
|
-
|
329
|
-
|
330
|
-
<em class="default">(defaults to: <tt>'cyan'</tt>)</em>
|
331
|
-
|
332
|
-
|
333
|
-
—
|
334
|
-
<div class='inline'><p>the color to highlight
|
335
|
-
with</p>
|
336
|
-
</div>
|
337
|
-
|
338
|
-
</li>
|
339
|
-
|
340
|
-
</ul>
|
341
|
-
|
342
|
-
<p class="tag_title">Returns:</p>
|
343
|
-
<ul class="return">
|
344
|
-
|
345
|
-
<li>
|
346
|
-
|
347
|
-
|
348
|
-
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>)</span>
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
—
|
353
|
-
<div class='inline'><p>string with @tags highlighted</p>
|
354
|
-
</div>
|
355
|
-
|
356
|
-
</li>
|
357
|
-
|
358
|
-
</ul>
|
359
|
-
|
360
|
-
</div>
|
361
|
-
</div>
|
362
|
-
|
363
|
-
<div class="method_details ">
|
364
|
-
<h3 class="signature " id="log_tags-instance_method">
|
365
|
-
|
366
|
-
#<strong>log_tags</strong> ⇒ <tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
</h3><div class="docstring">
|
373
|
-
<div class="discussion">
|
374
|
-
<p>Tag array for logging</p>
|
375
|
-
|
376
|
-
|
377
|
-
</div>
|
378
|
-
</div>
|
379
|
-
<div class="tags">
|
380
|
-
|
381
|
-
<p class="tag_title">Returns:</p>
|
382
|
-
<ul class="return">
|
383
|
-
|
384
|
-
<li>
|
385
|
-
|
386
|
-
|
387
|
-
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>)</span>
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
—
|
392
|
-
<div class='inline'><p>Highlighted tag array joined with comma</p>
|
393
|
-
</div>
|
394
|
-
|
395
|
-
</li>
|
396
|
-
|
397
|
-
</ul>
|
398
|
-
|
399
|
-
</div>
|
400
|
-
</div>
|
401
|
-
|
402
|
-
<div class="method_details ">
|
403
|
-
<h3 class="signature " id="nested_hash-instance_method">
|
404
|
-
|
405
|
-
#<strong>nested_hash</strong>(value) ⇒ <tt>Object</tt>
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
</h3><div class="docstring">
|
412
|
-
<div class="discussion">
|
413
|
-
<p>Convert array to nested hash, setting last key to value</p>
|
414
|
-
|
415
|
-
|
416
|
-
</div>
|
417
|
-
</div>
|
418
|
-
<div class="tags">
|
419
|
-
<p class="tag_title">Parameters:</p>
|
420
|
-
<ul class="param">
|
421
|
-
|
422
|
-
<li>
|
423
|
-
|
424
|
-
<span class='name'>value</span>
|
425
|
-
|
426
|
-
|
427
|
-
<span class='type'></span>
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
—
|
432
|
-
<div class='inline'><p>The value to set</p>
|
433
|
-
</div>
|
434
|
-
|
435
|
-
</li>
|
436
|
-
|
437
|
-
</ul>
|
438
|
-
|
439
|
-
<p class="tag_title">Raises:</p>
|
440
|
-
<ul class="raise">
|
441
|
-
|
442
|
-
<li>
|
443
|
-
|
444
|
-
|
445
|
-
<span class='type'>(<tt>StandardError</tt>)</span>
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
</li>
|
450
|
-
|
451
|
-
</ul>
|
452
|
-
|
453
|
-
</div>
|
454
|
-
</div>
|
455
|
-
|
456
|
-
<div class="method_details ">
|
457
|
-
<h3 class="signature " id="tags_to_array-instance_method">
|
458
|
-
|
459
|
-
#<strong>tags_to_array</strong> ⇒ <tt><span class='object_link'><a href="" title="Array (class)">Array</a></span></tt>
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
</h3><div class="docstring">
|
466
|
-
<div class="discussion">
|
467
|
-
<p>Convert an @tags to plain strings</p>
|
468
|
-
|
469
|
-
|
470
|
-
</div>
|
471
|
-
</div>
|
472
|
-
<div class="tags">
|
473
|
-
|
474
|
-
<p class="tag_title">Returns:</p>
|
475
|
-
<ul class="return">
|
476
|
-
|
477
|
-
<li>
|
478
|
-
|
479
|
-
|
480
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="Array (class)">Array</a></span></tt>)</span>
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
—
|
485
|
-
<div class='inline'><p>array of strings</p>
|
486
|
-
</div>
|
487
|
-
|
488
|
-
</li>
|
489
|
-
|
490
|
-
</ul>
|
491
|
-
|
492
|
-
</div>
|
493
|
-
</div>
|
494
|
-
|
495
|
-
<div class="method_details ">
|
496
|
-
<h3 class="signature " id="time_string-instance_method">
|
497
|
-
|
498
|
-
#<strong>time_string</strong>(format: :dhm) ⇒ <tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
</h3><div class="docstring">
|
505
|
-
<div class="discussion">
|
506
|
-
<p>Format [d, h, m] as string</p>
|
507
|
-
|
508
|
-
|
509
|
-
</div>
|
510
|
-
</div>
|
511
|
-
<div class="tags">
|
512
|
-
<p class="tag_title">Parameters:</p>
|
513
|
-
<ul class="param">
|
514
|
-
|
515
|
-
<li>
|
516
|
-
|
517
|
-
<span class='name'>format</span>
|
518
|
-
|
519
|
-
|
520
|
-
<span class='type'>(<tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
521
|
-
|
522
|
-
|
523
|
-
<em class="default">(defaults to: <tt>:dhm</tt>)</em>
|
524
|
-
|
525
|
-
|
526
|
-
—
|
527
|
-
<div class='inline'><p>The format, :dhm, :hm,
|
528
|
-
:m, :clock, :natural</p>
|
529
|
-
</div>
|
530
|
-
|
531
|
-
</li>
|
154
|
+
<h3 class="signature first" id="good?-instance_method">
|
532
155
|
|
533
|
-
</
|
534
|
-
|
535
|
-
<p class="tag_title">Returns:</p>
|
536
|
-
<ul class="return">
|
537
|
-
|
538
|
-
<li>
|
539
|
-
|
540
|
-
|
541
|
-
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>)</span>
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
—
|
546
|
-
<div class='inline'><p>formatted string</p>
|
547
|
-
</div>
|
548
|
-
|
549
|
-
</li>
|
550
|
-
|
551
|
-
</ul>
|
552
|
-
<p class="tag_title">Raises:</p>
|
553
|
-
<ul class="raise">
|
554
|
-
|
555
|
-
<li>
|
556
|
-
|
557
|
-
|
558
|
-
<span class='type'>(<tt>InvalidArgument</tt>)</span>
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
</li>
|
563
|
-
|
564
|
-
</ul>
|
565
|
-
|
566
|
-
</div>
|
567
|
-
</div>
|
568
|
-
|
569
|
-
<div class="method_details ">
|
570
|
-
<h3 class="signature " id="to_tags-instance_method">
|
571
|
-
|
572
|
-
#<strong>to_tags</strong> ⇒ <tt><span class='object_link'><a href="" title="Array (class)">Array</a></span></tt>
|
156
|
+
#<strong>good?</strong> ⇒ <tt>Boolean</tt>
|
573
157
|
|
574
158
|
|
575
159
|
|
@@ -577,34 +161,26 @@ with</p>
|
|
577
161
|
|
578
162
|
</h3><div class="docstring">
|
579
163
|
<div class="discussion">
|
580
|
-
<p>
|
164
|
+
<p>Tests if object is nil or empty</p>
|
581
165
|
|
582
166
|
|
583
167
|
</div>
|
584
168
|
</div>
|
585
169
|
<div class="tags">
|
586
170
|
|
587
|
-
<div class="examples">
|
588
|
-
<p class="tag_title">Examples:</p>
|
589
|
-
|
590
|
-
|
591
|
-
<pre class="example code"><code><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>one</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@two</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>three</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_tags'>to_tags</span>
|
592
|
-
<span class='comment'># => ['@one', '@two', '@three']</span></code></pre>
|
593
|
-
|
594
|
-
</div>
|
595
|
-
|
596
171
|
<p class="tag_title">Returns:</p>
|
597
172
|
<ul class="return">
|
598
173
|
|
599
174
|
<li>
|
600
175
|
|
601
176
|
|
602
|
-
<span class='type'>(<tt
|
177
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
603
178
|
|
604
179
|
|
605
180
|
|
606
181
|
—
|
607
|
-
<div class='inline'><p>
|
182
|
+
<div class='inline'><p>true if object is defined and
|
183
|
+
has content</p>
|
608
184
|
</div>
|
609
185
|
|
610
186
|
</li>
|
@@ -612,18 +188,6 @@ with</p>
|
|
612
188
|
</ul>
|
613
189
|
|
614
190
|
</div>
|
615
|
-
</div>
|
616
|
-
|
617
|
-
<div class="method_details ">
|
618
|
-
<h3 class="signature " id="to_tags!-instance_method">
|
619
|
-
|
620
|
-
#<strong>to_tags!</strong> ⇒ <tt>Object</tt>
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
</h3>
|
627
191
|
</div>
|
628
192
|
|
629
193
|
</div>
|
@@ -631,7 +195,7 @@ with</p>
|
|
631
195
|
</div>
|
632
196
|
|
633
197
|
<div id="footer">
|
634
|
-
Generated on
|
198
|
+
Generated on Mon Feb 14 10:46:50 2022 by
|
635
199
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
636
200
|
0.9.27 (ruby-3.0.1).
|
637
201
|
</div>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<dl>
|
70
70
|
<dt>Inherits:</dt>
|
71
71
|
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">BooleanTermParser::Clause</li>
|
78
78
|
|
@@ -234,7 +234,7 @@
|
|
234
234
|
<div class="method_details first">
|
235
235
|
<h3 class="signature first" id="operator-instance_method">
|
236
236
|
|
237
|
-
#<strong>operator</strong> ⇒ <tt>Object</tt>
|
237
|
+
#<strong>operator</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
238
238
|
|
239
239
|
|
240
240
|
|
@@ -258,7 +258,7 @@
|
|
258
258
|
<div class="method_details ">
|
259
259
|
<h3 class="signature " id="term-instance_method">
|
260
260
|
|
261
|
-
#<strong>term</strong> ⇒ <tt>Object</tt>
|
261
|
+
#<strong>term</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
262
262
|
|
263
263
|
|
264
264
|
|
@@ -283,7 +283,7 @@
|
|
283
283
|
</div>
|
284
284
|
|
285
285
|
<div id="footer">
|
286
|
-
Generated on
|
286
|
+
Generated on Mon Feb 14 10:46:51 2022 by
|
287
287
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
288
288
|
0.9.27 (ruby-3.0.1).
|
289
289
|
</div>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<dl>
|
70
70
|
<dt>Inherits:</dt>
|
71
71
|
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">BooleanTermParser::Operator</li>
|
78
78
|
|
@@ -148,7 +148,7 @@
|
|
148
148
|
<div class="method_details first">
|
149
149
|
<h3 class="signature first" id="symbol-class_method">
|
150
150
|
|
151
|
-
.<strong>symbol</strong>(str) ⇒ <tt>Object</tt>
|
151
|
+
.<strong>symbol</strong>(str) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
152
152
|
|
153
153
|
|
154
154
|
|
@@ -162,7 +162,7 @@
|
|
162
162
|
</div>
|
163
163
|
|
164
164
|
<div id="footer">
|
165
|
-
Generated on
|
165
|
+
Generated on Mon Feb 14 10:46:51 2022 by
|
166
166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
167
167
|
0.9.27 (ruby-3.0.1).
|
168
168
|
</div>
|
@@ -69,10 +69,10 @@
|
|
69
69
|
<dl>
|
70
70
|
<dt>Inherits:</dt>
|
71
71
|
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">BooleanTermParser::Query</li>
|
78
78
|
|
@@ -304,7 +304,7 @@
|
|
304
304
|
<div class="method_details first">
|
305
305
|
<h3 class="signature first" id="must_not_terms-instance_method">
|
306
306
|
|
307
|
-
#<strong>must_not_terms</strong> ⇒ <tt>Object</tt>
|
307
|
+
#<strong>must_not_terms</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
308
308
|
|
309
309
|
|
310
310
|
|
@@ -328,7 +328,7 @@
|
|
328
328
|
<div class="method_details ">
|
329
329
|
<h3 class="signature " id="must_terms-instance_method">
|
330
330
|
|
331
|
-
#<strong>must_terms</strong> ⇒ <tt>Object</tt>
|
331
|
+
#<strong>must_terms</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
332
332
|
|
333
333
|
|
334
334
|
|
@@ -352,7 +352,7 @@
|
|
352
352
|
<div class="method_details ">
|
353
353
|
<h3 class="signature " id="should_terms-instance_method">
|
354
354
|
|
355
|
-
#<strong>should_terms</strong> ⇒ <tt>Object</tt>
|
355
|
+
#<strong>should_terms</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
356
356
|
|
357
357
|
|
358
358
|
|
@@ -381,7 +381,7 @@
|
|
381
381
|
<div class="method_details first">
|
382
382
|
<h3 class="signature first" id="match-instance_method">
|
383
383
|
|
384
|
-
#<strong>match</strong>(term) ⇒ <tt>Object</tt>
|
384
|
+
#<strong>match</strong>(term) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
385
385
|
|
386
386
|
|
387
387
|
|
@@ -393,7 +393,7 @@
|
|
393
393
|
<div class="method_details ">
|
394
394
|
<h3 class="signature " id="to_elasticsearch-instance_method">
|
395
395
|
|
396
|
-
#<strong>to_elasticsearch</strong> ⇒ <tt>Object</tt>
|
396
|
+
#<strong>to_elasticsearch</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
397
397
|
|
398
398
|
|
399
399
|
|
@@ -407,7 +407,7 @@
|
|
407
407
|
</div>
|
408
408
|
|
409
409
|
<div id="footer">
|
410
|
-
Generated on
|
410
|
+
Generated on Mon Feb 14 10:46:51 2022 by
|
411
411
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
412
412
|
0.9.27 (ruby-3.0.1).
|
413
413
|
</div>
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<span class="inheritName">Parslet::Parser</span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">Parslet::Parser</li>
|
78
78
|
|
@@ -125,7 +125,7 @@ parser. In order to do that, a new "clause" node is added to the parse
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Mon Feb 14 10:46:51 2022 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
130
|
0.9.27 (ruby-3.0.1).
|
131
131
|
</div>
|