doing 2.1.39 → 2.1.42
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/.yardopts +1 -1
- data/CHANGELOG.md +67 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +4 -4
- data/bin/commands/again.rb +1 -3
- data/bin/commands/changes.rb +50 -34
- data/bin/commands/commands.rb +77 -52
- data/bin/commands/commands_accepting.rb +57 -53
- data/bin/commands/config.rb +45 -36
- data/bin/commands/done.rb +1 -18
- data/bin/commands/finish.rb +90 -59
- data/bin/commands/flag.rb +5 -1
- data/bin/commands/grep.rb +3 -14
- data/bin/commands/last.rb +2 -8
- data/bin/commands/meanwhile.rb +13 -6
- data/bin/commands/now.rb +151 -107
- data/bin/commands/on.rb +8 -18
- data/bin/commands/recent.rb +2 -8
- data/bin/commands/reset.rb +24 -1
- data/bin/commands/select.rb +1 -1
- data/bin/commands/show.rb +6 -17
- data/bin/commands/since.rb +1 -12
- data/bin/commands/tag_dir.rb +49 -15
- data/bin/commands/today.rb +2 -13
- data/bin/commands/undo.rb +4 -6
- data/bin/commands/view.rb +1 -1
- data/bin/commands/yesterday.rb +2 -13
- data/bin/doing +15 -8
- data/{Dockerfile → docker/Dockerfile} +3 -1
- data/{Dockerfile-2.6 → docker/Dockerfile-2.6} +2 -2
- data/{Dockerfile-2.7 → docker/Dockerfile-2.7} +2 -2
- data/{Dockerfile-3.0 → docker/Dockerfile-3.0} +2 -2
- data/{bash_profile → docker/bash_profile} +0 -0
- data/{inputrc → docker/inputrc} +0 -0
- data/docs/doc/Array.html +85 -2
- data/docs/doc/BooleanTermParser/Clause.html +1 -1
- data/docs/doc/BooleanTermParser/Operator.html +1 -1
- data/docs/doc/BooleanTermParser/Query.html +1 -1
- data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
- data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/ArrayNestedHash.html +198 -0
- data/docs/doc/Doing/ArrayTags.html +424 -0
- data/docs/doc/Doing/CSVExport.html +266 -0
- data/docs/doc/Doing/CalendarImport.html +232 -0
- data/docs/doc/Doing/Change.html +617 -0
- data/docs/doc/Doing/Changes.html +468 -0
- data/docs/doc/Doing/ChronifyArray.html +347 -0
- data/docs/doc/Doing/ChronifyNumeric.html +271 -0
- data/docs/doc/Doing/ChronifyString.html +682 -0
- data/docs/doc/Doing/Color.html +167 -21
- data/docs/doc/Doing/Completion/BashCompletions.html +445 -0
- data/docs/doc/Doing/Completion/FishCompletions.html +445 -0
- data/docs/doc/Doing/Completion/StringUtils.html +229 -0
- data/docs/doc/Doing/Completion/ZshCompletions.html +445 -0
- data/docs/doc/Doing/Completion.html +17 -3
- data/docs/doc/Doing/Configuration.html +3 -2
- data/docs/doc/Doing/DayOneRenderer.html +383 -0
- data/docs/doc/Doing/DayoneExport.html +290 -0
- data/docs/doc/Doing/DoingImport.html +391 -0
- data/docs/doc/Doing/Entry.html +381 -0
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +7 -3
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +7 -3
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +10 -2
- data/docs/doc/Doing/Errors/HistoryLimitError.html +194 -0
- data/docs/doc/Doing/Errors/InvalidPlugin.html +194 -0
- data/docs/doc/Doing/Errors/MissingBackupFile.html +194 -0
- data/docs/doc/Doing/Errors/NoResults.html +10 -2
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +10 -2
- data/docs/doc/Doing/Errors/WrongCommand.html +10 -2
- data/docs/doc/Doing/Errors.html +9 -9
- data/docs/doc/Doing/HTMLExport.html +256 -0
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +179 -1660
- data/docs/doc/Doing/ItemDates.html +564 -0
- data/docs/doc/Doing/ItemQuery.html +614 -0
- data/docs/doc/Doing/ItemState.html +387 -0
- data/docs/doc/Doing/ItemTags.html +498 -0
- data/docs/doc/Doing/Items.html +581 -15
- data/docs/doc/Doing/JSONExport.html +222 -0
- data/docs/doc/Doing/Logger.html +1 -1
- data/docs/doc/Doing/MarkdownExport.html +266 -0
- data/docs/doc/Doing/MarkdownRenderer.html +383 -0
- data/docs/doc/Doing/Note.html +18 -4
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +181 -76
- data/docs/doc/Doing/Prompt.html +32 -683
- data/docs/doc/Doing/PromptChoose.html +484 -0
- data/docs/doc/Doing/PromptFZF.html +391 -0
- data/docs/doc/Doing/PromptInput.html +572 -0
- data/docs/doc/Doing/PromptSTD.html +293 -0
- data/docs/doc/Doing/PromptYN.html +237 -0
- data/docs/doc/Doing/Section.html +58 -2
- data/docs/doc/Doing/StringHighlight.html +533 -0
- data/docs/doc/Doing/StringNormalize.html +929 -0
- data/docs/doc/Doing/StringQuery.html +725 -0
- data/docs/doc/Doing/StringTags.html +884 -0
- data/docs/doc/Doing/StringTransform.html +599 -0
- data/docs/doc/Doing/StringTruncate.html +448 -0
- data/docs/doc/Doing/StringURL.html +409 -0
- data/docs/doc/Doing/SymbolNormalize.html +341 -0
- data/docs/doc/Doing/TaskPaperExport.html +222 -0
- data/docs/doc/Doing/TemplateExport.html +249 -0
- data/docs/doc/Doing/TemplateString.html +102 -3
- data/docs/doc/Doing/TimingImport.html +285 -0
- data/docs/doc/Doing/Types.html +1 -1
- data/docs/doc/Doing/Util/Backup.html +11 -163
- data/docs/doc/Doing/Util.html +67 -10
- data/docs/doc/Doing/Version.html +523 -0
- data/docs/doc/Doing/WWID/WWIDUtil.html +510 -0
- data/docs/doc/Doing/WWID.html +476 -139
- data/docs/doc/Doing/WWIDDisplay.html +865 -0
- data/docs/doc/Doing/WWIDEditor.html +466 -0
- data/docs/doc/Doing/WWIDFileTools.html +359 -0
- data/docs/doc/Doing/WWIDFilter.html +466 -0
- data/docs/doc/Doing/WWIDGuess.html +299 -0
- data/docs/doc/Doing/WWIDInteractive.html +752 -0
- data/docs/doc/Doing/WWIDModify.html +1078 -0
- data/docs/doc/Doing/WWIDTags.html +302 -0
- data/docs/doc/Doing/WWIDTimers.html +359 -0
- data/docs/doc/Doing/WWIDUtil.html +510 -0
- data/docs/doc/Doing.html +9 -6
- data/docs/doc/FalseClass.html +1 -1
- data/docs/doc/GLI/Commands/Help.html +1 -1
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +1 -1
- data/docs/doc/Numeric.html +23 -78
- data/docs/doc/Object.html +1 -1
- data/docs/doc/PhraseParser/Operator.html +1 -1
- data/docs/doc/PhraseParser/PhraseClause.html +1 -1
- data/docs/doc/PhraseParser/Query.html +1 -1
- data/docs/doc/PhraseParser/QueryParser.html +1 -1
- data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
- data/docs/doc/PhraseParser/TermClause.html +1 -1
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +1 -1
- data/docs/doc/String.html +58 -633
- data/docs/doc/Symbol.html +9 -224
- data/docs/doc/Time.html +119 -13
- data/docs/doc/TrueClass.html +1 -1
- data/docs/doc/_index.html +348 -4
- 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 +1904 -592
- data/docs/doc/top-level-namespace.html +12 -4
- data/docs/index.md +1 -1
- data/doing.rdoc +67 -15
- data/lib/completion/_doing.zsh +6 -6
- data/lib/completion/doing.bash +10 -10
- data/lib/completion/doing.fish +10 -3
- data/lib/doing/add_options.rb +39 -1
- data/lib/doing/array/array.rb +18 -12
- data/lib/doing/array/cleanup.rb +31 -0
- data/lib/doing/array/nested_hash.rb +1 -1
- data/lib/doing/array/tags.rb +6 -5
- data/lib/doing/changelog/changelog.rb +6 -0
- data/lib/doing/chronify/array.rb +65 -25
- data/lib/doing/chronify/chronify.rb +12 -0
- data/lib/doing/chronify/numeric.rb +3 -2
- data/lib/doing/chronify/string.rb +1 -1
- data/lib/doing/colors.rb +77 -30
- data/lib/doing/completion/completion_string.rb +25 -0
- data/lib/doing/completion.rb +4 -5
- data/lib/doing/configuration.rb +7 -3
- data/lib/doing/errors.rb +51 -35
- data/lib/doing/good.rb +8 -0
- data/lib/doing/hooks.rb +3 -3
- data/lib/doing/item/dates.rb +112 -0
- data/lib/doing/item/item.rb +128 -0
- data/lib/doing/{item.rb → item/query.rb} +2 -353
- data/lib/doing/item/state.rb +59 -0
- data/lib/doing/item/tags.rb +87 -0
- data/lib/doing/items/filter.rb +67 -0
- data/lib/doing/items/items.rb +57 -0
- data/lib/doing/items/modify.rb +36 -0
- data/lib/doing/items/sections.rb +83 -0
- data/lib/doing/items/util.rb +74 -0
- data/lib/doing/normalize.rb +10 -2
- data/lib/doing/note.rb +1 -1
- data/lib/doing/pager.rb +9 -3
- data/lib/doing/plugin_manager.rb +33 -8
- data/lib/doing/plugins/export/markdown_export.rb +4 -2
- data/lib/doing/plugins/export/template_export.rb +4 -4
- data/lib/doing/plugins/import/cal_to_json.scpt +0 -0
- data/lib/doing/plugins/import/doing_import.rb +1 -1
- data/lib/doing/prompt/choose.rb +118 -0
- data/lib/doing/prompt/fzf.rb +84 -0
- data/lib/doing/prompt/input.rb +129 -0
- data/lib/doing/prompt/prompt.rb +41 -0
- data/lib/doing/prompt/std.rb +32 -0
- data/lib/doing/prompt/yn.rb +64 -0
- data/lib/doing/section.rb +4 -0
- data/lib/doing/string/highlight.rb +1 -1
- data/lib/doing/string/query.rb +1 -1
- data/lib/doing/string/string.rb +18 -7
- data/lib/doing/string/tags.rb +14 -3
- data/lib/doing/string/transform.rb +7 -1
- data/lib/doing/string/truncate.rb +1 -1
- data/lib/doing/string/url.rb +1 -1
- data/lib/doing/time.rb +19 -1
- data/lib/doing/util.rb +12 -6
- data/lib/doing/util_backup.rb +62 -57
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid/display.rb +396 -0
- data/lib/doing/wwid/editor.rb +214 -0
- data/lib/doing/wwid/filetools.rb +183 -0
- data/lib/doing/wwid/filter.rb +226 -0
- data/lib/doing/wwid/guess.rb +85 -0
- data/lib/doing/wwid/interactive.rb +377 -0
- data/lib/doing/wwid/modify.rb +617 -0
- data/lib/doing/wwid/tags.rb +51 -0
- data/lib/doing/wwid/timers.rb +342 -0
- data/lib/doing/wwid/wwid.rb +121 -0
- data/lib/doing/wwid/wwidutil.rb +101 -0
- data/lib/doing.rb +7 -7
- data/lib/helpers/threaded_tests.rb +1 -0
- metadata +94 -14
- data/lib/doing/changelog.rb +0 -6
- data/lib/doing/completion/string.rb +0 -17
- data/lib/doing/items.rb +0 -196
- data/lib/doing/prompt.rb +0 -330
- data/lib/doing/wwid.rb +0 -2398
data/docs/doc/Doing/Item.html
CHANGED
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
<dl>
|
|
91
91
|
<dt>Includes:</dt>
|
|
92
|
-
<dd><span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></dd>
|
|
92
|
+
<dd><span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span>, <span class='object_link'><a href="ItemDates.html" title="Doing::ItemDates (module)">ItemDates</a></span>, <span class='object_link'><a href="ItemQuery.html" title="Doing::ItemQuery (module)">ItemQuery</a></span>, <span class='object_link'><a href="ItemState.html" title="Doing::ItemState (module)">ItemState</a></span>, <span class='object_link'><a href="ItemTags.html" title="Doing::ItemTags (module)">ItemTags</a></span></dd>
|
|
93
93
|
</dl>
|
|
94
94
|
|
|
95
95
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
<dl>
|
|
101
101
|
<dt>Defined in:</dt>
|
|
102
|
-
<dd>lib/doing/item.rb</dd>
|
|
102
|
+
<dd>lib/doing/item/item.rb</dd>
|
|
103
103
|
</dl>
|
|
104
104
|
|
|
105
105
|
</div>
|
|
@@ -247,28 +247,6 @@
|
|
|
247
247
|
<li class="public ">
|
|
248
248
|
<span class="summary_signature">
|
|
249
249
|
|
|
250
|
-
<a href="#calculate_end_date-instance_method" title="#calculate_end_date (instance method)">#<strong>calculate_end_date</strong>(opt) ⇒ Object </a>
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
</span>
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
|
265
|
-
|
|
266
|
-
</li>
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
<li class="public ">
|
|
270
|
-
<span class="summary_signature">
|
|
271
|
-
|
|
272
250
|
<a href="#clone-instance_method" title="#clone (instance method)">#<strong>clone</strong> ⇒ Object </a>
|
|
273
251
|
|
|
274
252
|
|
|
@@ -291,7 +269,7 @@
|
|
|
291
269
|
<li class="public ">
|
|
292
270
|
<span class="summary_signature">
|
|
293
271
|
|
|
294
|
-
<a href="#
|
|
272
|
+
<a href="#equal%3F-instance_method" title="#equal? (instance method)">#<strong>equal?</strong>(other, match_section: false) ⇒ Boolean </a>
|
|
295
273
|
|
|
296
274
|
|
|
297
275
|
|
|
@@ -305,7 +283,7 @@
|
|
|
305
283
|
|
|
306
284
|
|
|
307
285
|
|
|
308
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
286
|
+
<span class="summary_desc"><div class='inline'><p>Test for equality between items.</p>
|
|
309
287
|
</div></span>
|
|
310
288
|
|
|
311
289
|
</li>
|
|
@@ -314,7 +292,7 @@
|
|
|
314
292
|
<li class="public ">
|
|
315
293
|
<span class="summary_signature">
|
|
316
294
|
|
|
317
|
-
<a href="#
|
|
295
|
+
<a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> ⇒ String </a>
|
|
318
296
|
|
|
319
297
|
|
|
320
298
|
|
|
@@ -328,7 +306,7 @@
|
|
|
328
306
|
|
|
329
307
|
|
|
330
308
|
|
|
331
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
309
|
+
<span class="summary_desc"><div class='inline'><p>Generate a hash that represents the entry.</p>
|
|
332
310
|
</div></span>
|
|
333
311
|
|
|
334
312
|
</li>
|
|
@@ -337,35 +315,14 @@
|
|
|
337
315
|
<li class="public ">
|
|
338
316
|
<span class="summary_signature">
|
|
339
317
|
|
|
340
|
-
<a href="#
|
|
318
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(date, title, section, note = nil) ⇒ Item </a>
|
|
341
319
|
|
|
342
320
|
|
|
343
321
|
|
|
344
322
|
</span>
|
|
345
323
|
|
|
346
324
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
<span class="summary_desc"><div class='inline'><p>Test for equality between items.</p>
|
|
355
|
-
</div></span>
|
|
356
|
-
|
|
357
|
-
</li>
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
<li class="public ">
|
|
361
|
-
<span class="summary_signature">
|
|
362
|
-
|
|
363
|
-
<a href="#expand_date_tags-instance_method" title="#expand_date_tags (instance method)">#<strong>expand_date_tags</strong>(additional_tags = nil) ⇒ Object </a>
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
</span>
|
|
368
|
-
|
|
325
|
+
<span class="note title constructor">constructor</span>
|
|
369
326
|
|
|
370
327
|
|
|
371
328
|
|
|
@@ -374,7 +331,7 @@
|
|
|
374
331
|
|
|
375
332
|
|
|
376
333
|
|
|
377
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
334
|
+
<span class="summary_desc"><div class='inline'><p>Initialize an item with date, title, section, and optional note.</p>
|
|
378
335
|
</div></span>
|
|
379
336
|
|
|
380
337
|
</li>
|
|
@@ -383,7 +340,7 @@
|
|
|
383
340
|
<li class="public ">
|
|
384
341
|
<span class="summary_signature">
|
|
385
342
|
|
|
386
|
-
<a href="#
|
|
343
|
+
<a href="#move_to-instance_method" title="#move_to (instance method)">#<strong>move_to</strong>(new_section, label: true, log: true) ⇒ Object </a>
|
|
387
344
|
|
|
388
345
|
|
|
389
346
|
|
|
@@ -397,7 +354,7 @@
|
|
|
397
354
|
|
|
398
355
|
|
|
399
356
|
|
|
400
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
357
|
+
<span class="summary_desc"><div class='inline'><p>Move item from current section to destination section.</p>
|
|
401
358
|
</div></span>
|
|
402
359
|
|
|
403
360
|
</li>
|
|
@@ -406,7 +363,7 @@
|
|
|
406
363
|
<li class="public ">
|
|
407
364
|
<span class="summary_signature">
|
|
408
365
|
|
|
409
|
-
<a href="#
|
|
366
|
+
<a href="#to_pretty-instance_method" title="#to_pretty (instance method)">#<strong>to_pretty</strong>(elements: %i[date title section]) ⇒ Object </a>
|
|
410
367
|
|
|
411
368
|
|
|
412
369
|
|
|
@@ -420,7 +377,8 @@
|
|
|
420
377
|
|
|
421
378
|
|
|
422
379
|
|
|
423
|
-
<span class="summary_desc"><div class='inline'
|
|
380
|
+
<span class="summary_desc"><div class='inline'><p>outputs a colored string with relative date and highlighted tags.</p>
|
|
381
|
+
</div></span>
|
|
424
382
|
|
|
425
383
|
</li>
|
|
426
384
|
|
|
@@ -428,7 +386,7 @@
|
|
|
428
386
|
<li class="public ">
|
|
429
387
|
<span class="summary_signature">
|
|
430
388
|
|
|
431
|
-
<a href="#
|
|
389
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ Object </a>
|
|
432
390
|
|
|
433
391
|
|
|
434
392
|
|
|
@@ -442,68 +400,28 @@
|
|
|
442
400
|
|
|
443
401
|
|
|
444
402
|
|
|
445
|
-
<span class="summary_desc"><div class='inline'><p>
|
|
403
|
+
<span class="summary_desc"><div class='inline'><p>outputs item in Doing file format, including leading tab.</p>
|
|
446
404
|
</div></span>
|
|
447
405
|
|
|
448
406
|
</li>
|
|
449
407
|
|
|
450
408
|
|
|
451
|
-
|
|
452
|
-
<span class="summary_signature">
|
|
453
|
-
|
|
454
|
-
<a href="#ignore_case-instance_method" title="#ignore_case (instance method)">#<strong>ignore_case</strong>(search, case_type) ⇒ Boolean </a>
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
</span>
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
<span class="summary_desc"><div class='inline'><p>Determine if case should be ignored for searches.</p>
|
|
469
|
-
</div></span>
|
|
409
|
+
</ul>
|
|
470
410
|
|
|
471
|
-
</li>
|
|
472
411
|
|
|
473
|
-
|
|
474
|
-
<li class="public ">
|
|
475
|
-
<span class="summary_signature">
|
|
476
|
-
|
|
477
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(date, title, section, note = nil) ⇒ Item </a>
|
|
478
|
-
|
|
479
412
|
|
|
480
|
-
|
|
481
|
-
</span>
|
|
482
413
|
|
|
483
414
|
|
|
484
|
-
<span class="note title constructor">constructor</span>
|
|
485
415
|
|
|
486
416
|
|
|
487
417
|
|
|
488
418
|
|
|
489
419
|
|
|
490
420
|
|
|
421
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
|
|
422
|
+
<p class="inherited"><span class='object_link'><a href="Color.html#attributes-instance_method" title="Doing::Color#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Color.html#coloring%3F-class_method" title="Doing::Color.coloring? (method)">coloring?</a></span>, <span class='object_link'><a href="Color.html#support%3F-instance_method" title="Doing::Color#support? (method)">#support?</a></span>, <span class='object_link'><a href="Color.html#template-class_method" title="Doing::Color.template (method)">template</a></span>, <span class='object_link'><a href="Color.html#uncolor-instance_method" title="Doing::Color#uncolor (method)">#uncolor</a></span></p>
|
|
491
423
|
|
|
492
424
|
|
|
493
|
-
<span class="summary_desc"><div class='inline'><p>Initialize an item with date, title, section, and optional note.</p>
|
|
494
|
-
</div></span>
|
|
495
|
-
|
|
496
|
-
</li>
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
<li class="public ">
|
|
500
|
-
<span class="summary_signature">
|
|
501
|
-
|
|
502
|
-
<a href="#interval-instance_method" title="#interval (instance method)">#<strong>interval</strong> ⇒ Object </a>
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
</span>
|
|
507
425
|
|
|
508
426
|
|
|
509
427
|
|
|
@@ -511,22 +429,10 @@
|
|
|
511
429
|
|
|
512
430
|
|
|
513
431
|
|
|
432
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ItemTags.html" title="Doing::ItemTags (module)">ItemTags</a></span></h3>
|
|
433
|
+
<p class="inherited"><span class='object_link'><a href="ItemTags.html#tag-instance_method" title="Doing::ItemTags#tag (method)">#tag</a></span>, <span class='object_link'><a href="ItemTags.html#tag_array-instance_method" title="Doing::ItemTags#tag_array (method)">#tag_array</a></span>, <span class='object_link'><a href="ItemTags.html#tags-instance_method" title="Doing::ItemTags#tags (method)">#tags</a></span>, <span class='object_link'><a href="ItemTags.html#tags_with_values-instance_method" title="Doing::ItemTags#tags_with_values (method)">#tags_with_values</a></span></p>
|
|
514
434
|
|
|
515
435
|
|
|
516
|
-
<span class="summary_desc"><div class='inline'><p>Get the difference between the item's start date and the value of its @done tag (if present).</p>
|
|
517
|
-
</div></span>
|
|
518
|
-
|
|
519
|
-
</li>
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
<li class="public ">
|
|
523
|
-
<span class="summary_signature">
|
|
524
|
-
|
|
525
|
-
<a href="#move_to-instance_method" title="#move_to (instance method)">#<strong>move_to</strong>(new_section, label: true, log: true) ⇒ Object </a>
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
</span>
|
|
530
436
|
|
|
531
437
|
|
|
532
438
|
|
|
@@ -534,22 +440,10 @@
|
|
|
534
440
|
|
|
535
441
|
|
|
536
442
|
|
|
443
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ItemState.html" title="Doing::ItemState (module)">ItemState</a></span></h3>
|
|
444
|
+
<p class="inherited"><span class='object_link'><a href="ItemState.html#finished%3F-instance_method" title="Doing::ItemState#finished? (method)">#finished?</a></span>, <span class='object_link'><a href="ItemState.html#should_finish%3F-instance_method" title="Doing::ItemState#should_finish? (method)">#should_finish?</a></span>, <span class='object_link'><a href="ItemState.html#should_time%3F-instance_method" title="Doing::ItemState#should_time? (method)">#should_time?</a></span>, <span class='object_link'><a href="ItemState.html#unfinished%3F-instance_method" title="Doing::ItemState#unfinished? (method)">#unfinished?</a></span></p>
|
|
537
445
|
|
|
538
446
|
|
|
539
|
-
<span class="summary_desc"><div class='inline'><p>Move item from current section to destination section.</p>
|
|
540
|
-
</div></span>
|
|
541
|
-
|
|
542
|
-
</li>
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
<li class="public ">
|
|
546
|
-
<span class="summary_signature">
|
|
547
|
-
|
|
548
|
-
<a href="#overlapping_time%3F-instance_method" title="#overlapping_time? (instance method)">#<strong>overlapping_time?</strong>(item_b) ⇒ Boolean </a>
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
</span>
|
|
553
447
|
|
|
554
448
|
|
|
555
449
|
|
|
@@ -557,1248 +451,124 @@
|
|
|
557
451
|
|
|
558
452
|
|
|
559
453
|
|
|
454
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ItemQuery.html" title="Doing::ItemQuery (module)">ItemQuery</a></span></h3>
|
|
455
|
+
<p class="inherited"><span class='object_link'><a href="ItemQuery.html#highlight_search-instance_method" title="Doing::ItemQuery#highlight_search (method)">#highlight_search</a></span>, <span class='object_link'><a href="ItemQuery.html#ignore_case-instance_method" title="Doing::ItemQuery#ignore_case (method)">#ignore_case</a></span>, <span class='object_link'><a href="ItemQuery.html#search-instance_method" title="Doing::ItemQuery#search (method)">#search</a></span>, <span class='object_link'><a href="ItemQuery.html#tag_values%3F-instance_method" title="Doing::ItemQuery#tag_values? (method)">#tag_values?</a></span>, <span class='object_link'><a href="ItemQuery.html#tags%3F-instance_method" title="Doing::ItemQuery#tags? (method)">#tags?</a></span></p>
|
|
560
456
|
|
|
561
457
|
|
|
562
|
-
<span class="summary_desc"><div class='inline'><p>Test if the interval between start date and @done value overlaps with another item's.</p>
|
|
563
|
-
</div></span>
|
|
564
458
|
|
|
565
|
-
</li>
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
<li class="public ">
|
|
569
|
-
<span class="summary_signature">
|
|
570
|
-
|
|
571
|
-
<a href="#same_time%3F-instance_method" title="#same_time? (instance method)">#<strong>same_time?</strong>(item_b) ⇒ Boolean </a>
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
</span>
|
|
576
459
|
|
|
577
460
|
|
|
578
461
|
|
|
579
462
|
|
|
580
463
|
|
|
581
464
|
|
|
465
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ItemDates.html" title="Doing::ItemDates (module)">ItemDates</a></span></h3>
|
|
466
|
+
<p class="inherited"><span class='object_link'><a href="ItemDates.html#calculate_end_date-instance_method" title="Doing::ItemDates#calculate_end_date (method)">#calculate_end_date</a></span>, <span class='object_link'><a href="ItemDates.html#duration-instance_method" title="Doing::ItemDates#duration (method)">#duration</a></span>, <span class='object_link'><a href="ItemDates.html#end_date-instance_method" title="Doing::ItemDates#end_date (method)">#end_date</a></span>, <span class='object_link'><a href="ItemDates.html#expand_date_tags-instance_method" title="Doing::ItemDates#expand_date_tags (method)">#expand_date_tags</a></span>, <span class='object_link'><a href="ItemDates.html#interval-instance_method" title="Doing::ItemDates#interval (method)">#interval</a></span>, <span class='object_link'><a href="ItemDates.html#overlapping_time%3F-instance_method" title="Doing::ItemDates#overlapping_time? (method)">#overlapping_time?</a></span>, <span class='object_link'><a href="ItemDates.html#same_time%3F-instance_method" title="Doing::ItemDates#same_time? (method)">#same_time?</a></span></p>
|
|
467
|
+
<div id="constructor_details" class="method_details_list">
|
|
468
|
+
<h2>Constructor Details</h2>
|
|
582
469
|
|
|
583
|
-
|
|
470
|
+
<div class="method_details first">
|
|
471
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
584
472
|
|
|
585
|
-
|
|
586
|
-
</div></span>
|
|
473
|
+
#<strong>initialize</strong>(date, title, section, note = nil) ⇒ <tt><span class='object_link'><a href="" title="Doing::Item (class)">Item</a></span></tt>
|
|
587
474
|
|
|
588
|
-
</li>
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
<li class="public ">
|
|
592
|
-
<span class="summary_signature">
|
|
593
|
-
|
|
594
|
-
<a href="#search-instance_method" title="#search (instance method)">#<strong>search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ Boolean </a>
|
|
595
|
-
|
|
596
475
|
|
|
597
|
-
|
|
598
|
-
</span>
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
476
|
|
|
606
477
|
|
|
607
478
|
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
</
|
|
479
|
+
</h3><div class="docstring">
|
|
480
|
+
<div class="discussion">
|
|
481
|
+
<p>Initialize an item with date, title, section, and
|
|
482
|
+
optional note</p>
|
|
612
483
|
|
|
613
|
-
|
|
614
|
-
<li class="public ">
|
|
615
|
-
<span class="summary_signature">
|
|
616
|
-
|
|
617
|
-
<a href="#should_finish%3F-instance_method" title="#should_finish? (instance method)">#<strong>should_finish?</strong> ⇒ Boolean </a>
|
|
618
|
-
|
|
619
484
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
485
|
+
</div>
|
|
486
|
+
</div>
|
|
487
|
+
<div class="tags">
|
|
488
|
+
<p class="tag_title">Parameters:</p>
|
|
489
|
+
<ul class="param">
|
|
624
490
|
|
|
491
|
+
<li>
|
|
492
|
+
|
|
493
|
+
<span class='name'>date</span>
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Time.html" title="Time (class)">Time</a></span></tt>)</span>
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
—
|
|
501
|
+
<div class='inline'><p>The item's start date</p>
|
|
502
|
+
</div>
|
|
503
|
+
|
|
504
|
+
</li>
|
|
625
505
|
|
|
506
|
+
<li>
|
|
507
|
+
|
|
508
|
+
<span class='name'>title</span>
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
—
|
|
516
|
+
<div class='inline'><p>The title</p>
|
|
517
|
+
</div>
|
|
518
|
+
|
|
519
|
+
</li>
|
|
626
520
|
|
|
521
|
+
<li>
|
|
522
|
+
|
|
523
|
+
<span class='name'>section</span>
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
—
|
|
531
|
+
<div class='inline'><p>The section to which
|
|
532
|
+
the item belongs</p>
|
|
533
|
+
</div>
|
|
534
|
+
|
|
535
|
+
</li>
|
|
627
536
|
|
|
537
|
+
<li>
|
|
538
|
+
|
|
539
|
+
<span class='name'>note</span>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span> or <span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
—
|
|
549
|
+
<div class='inline'><p>The note
|
|
550
|
+
(optional)</p>
|
|
551
|
+
</div>
|
|
552
|
+
|
|
553
|
+
</li>
|
|
628
554
|
|
|
555
|
+
</ul>
|
|
629
556
|
|
|
557
|
+
|
|
558
|
+
</div>
|
|
559
|
+
</div>
|
|
630
560
|
|
|
631
|
-
|
|
632
|
-
</div></span>
|
|
633
|
-
|
|
634
|
-
</li>
|
|
561
|
+
</div>
|
|
635
562
|
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
<span class="summary_signature">
|
|
639
|
-
|
|
640
|
-
<a href="#should_time%3F-instance_method" title="#should_time? (instance method)">#<strong>should_time?</strong> ⇒ Boolean </a>
|
|
563
|
+
<div id="instance_attr_details" class="attr_details">
|
|
564
|
+
<h2>Instance Attribute Details</h2>
|
|
641
565
|
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
</span>
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
<span class="summary_desc"><div class='inline'><p>Test if item is included in never_time config and thus should not receive a date on the @done tag.</p>
|
|
655
|
-
</div></span>
|
|
656
|
-
|
|
657
|
-
</li>
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
<li class="public ">
|
|
661
|
-
<span class="summary_signature">
|
|
662
|
-
|
|
663
|
-
<a href="#tag-instance_method" title="#tag (instance method)">#<strong>tag</strong>(tags, **options) ⇒ Object </a>
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
</span>
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
<span class="summary_desc"><div class='inline'><p>Add (or remove) tags from the title of the item.</p>
|
|
678
|
-
</div></span>
|
|
679
|
-
|
|
680
|
-
</li>
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
<li class="public ">
|
|
684
|
-
<span class="summary_signature">
|
|
685
|
-
|
|
686
|
-
<a href="#tag_array-instance_method" title="#tag_array (instance method)">#<strong>tag_array</strong> ⇒ Array </a>
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
</span>
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
<span class="summary_desc"><div class='inline'><p>convert tags on item to an array with @ symbols removed.</p>
|
|
701
|
-
</div></span>
|
|
702
|
-
|
|
703
|
-
</li>
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
<li class="public ">
|
|
707
|
-
<span class="summary_signature">
|
|
708
|
-
|
|
709
|
-
<a href="#tag_values%3F-instance_method" title="#tag_values? (instance method)">#<strong>tag_values?</strong>(queries, bool = :and, negate: false) ⇒ Boolean </a>
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
</span>
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
<span class="summary_desc"><div class='inline'><p>Test if item matches tag values.</p>
|
|
724
|
-
</div></span>
|
|
725
|
-
|
|
726
|
-
</li>
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
<li class="public ">
|
|
730
|
-
<span class="summary_signature">
|
|
731
|
-
|
|
732
|
-
<a href="#tags-instance_method" title="#tags (instance method)">#<strong>tags</strong> ⇒ Array </a>
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
</span>
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
<span class="summary_desc"><div class='inline'><p>Get a list of tags on the item.</p>
|
|
747
|
-
</div></span>
|
|
748
|
-
|
|
749
|
-
</li>
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
<li class="public ">
|
|
753
|
-
<span class="summary_signature">
|
|
754
|
-
|
|
755
|
-
<a href="#tags%3F-instance_method" title="#tags? (instance method)">#<strong>tags?</strong>(tags, bool = :and, negate: false) ⇒ Boolean </a>
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
</span>
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
<span class="summary_desc"><div class='inline'><p>Test if item contains tag(s).</p>
|
|
770
|
-
</div></span>
|
|
771
|
-
|
|
772
|
-
</li>
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
<li class="public ">
|
|
776
|
-
<span class="summary_signature">
|
|
777
|
-
|
|
778
|
-
<a href="#tags_with_values-instance_method" title="#tags_with_values (instance method)">#<strong>tags_with_values</strong> ⇒ Array<Array> </a>
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
</span>
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
<span class="summary_desc"><div class='inline'><p>Return all tags including parenthetical values.</p>
|
|
793
|
-
</div></span>
|
|
794
|
-
|
|
795
|
-
</li>
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
<li class="public ">
|
|
799
|
-
<span class="summary_signature">
|
|
800
|
-
|
|
801
|
-
<a href="#to_pretty-instance_method" title="#to_pretty (instance method)">#<strong>to_pretty</strong>(elements: %i[date title section]) ⇒ Object </a>
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
</span>
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
<span class="summary_desc"><div class='inline'><p>outputs a colored string with relative date and highlighted tags.</p>
|
|
816
|
-
</div></span>
|
|
817
|
-
|
|
818
|
-
</li>
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
<li class="public ">
|
|
822
|
-
<span class="summary_signature">
|
|
823
|
-
|
|
824
|
-
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ Object </a>
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
</span>
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
<span class="summary_desc"><div class='inline'><p>outputs item in Doing file format, including leading tab.</p>
|
|
839
|
-
</div></span>
|
|
840
|
-
|
|
841
|
-
</li>
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
<li class="public ">
|
|
845
|
-
<span class="summary_signature">
|
|
846
|
-
|
|
847
|
-
<a href="#unfinished%3F-instance_method" title="#unfinished? (instance method)">#<strong>unfinished?</strong> ⇒ Boolean </a>
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
</span>
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
<span class="summary_desc"><div class='inline'><p>Test if item does not contain @done tag.</p>
|
|
862
|
-
</div></span>
|
|
863
|
-
|
|
864
|
-
</li>
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
</ul>
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
|
|
880
|
-
<p class="inherited"><span class='object_link'><a href="Color.html#attributes-class_method" title="Doing::Color.attributes (method)">attributes</a></span>, <span class='object_link'><a href="Color.html#coloring%3F-class_method" title="Doing::Color.coloring? (method)">coloring?</a></span>, <span class='object_link'><a href="Color.html#support%3F-instance_method" title="Doing::Color#support? (method)">#support?</a></span>, <span class='object_link'><a href="Color.html#uncolor-instance_method" title="Doing::Color#uncolor (method)">#uncolor</a></span></p>
|
|
881
|
-
<div id="constructor_details" class="method_details_list">
|
|
882
|
-
<h2>Constructor Details</h2>
|
|
883
|
-
|
|
884
|
-
<div class="method_details first">
|
|
885
|
-
<h3 class="signature first" id="initialize-instance_method">
|
|
886
|
-
|
|
887
|
-
#<strong>initialize</strong>(date, title, section, note = nil) ⇒ <tt><span class='object_link'><a href="" title="Doing::Item (class)">Item</a></span></tt>
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
</h3><div class="docstring">
|
|
894
|
-
<div class="discussion">
|
|
895
|
-
<p>Initialize an item with date, title, section, and
|
|
896
|
-
optional note</p>
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
</div>
|
|
900
|
-
</div>
|
|
901
|
-
<div class="tags">
|
|
902
|
-
<p class="tag_title">Parameters:</p>
|
|
903
|
-
<ul class="param">
|
|
904
|
-
|
|
905
|
-
<li>
|
|
906
|
-
|
|
907
|
-
<span class='name'>date</span>
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Time.html" title="Time (class)">Time</a></span></tt>)</span>
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
—
|
|
915
|
-
<div class='inline'><p>The item's start date</p>
|
|
916
|
-
</div>
|
|
917
|
-
|
|
918
|
-
</li>
|
|
919
|
-
|
|
920
|
-
<li>
|
|
921
|
-
|
|
922
|
-
<span class='name'>title</span>
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
—
|
|
930
|
-
<div class='inline'><p>The title</p>
|
|
931
|
-
</div>
|
|
932
|
-
|
|
933
|
-
</li>
|
|
934
|
-
|
|
935
|
-
<li>
|
|
936
|
-
|
|
937
|
-
<span class='name'>section</span>
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
—
|
|
945
|
-
<div class='inline'><p>The section to which
|
|
946
|
-
the item belongs</p>
|
|
947
|
-
</div>
|
|
948
|
-
|
|
949
|
-
</li>
|
|
950
|
-
|
|
951
|
-
<li>
|
|
952
|
-
|
|
953
|
-
<span class='name'>note</span>
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span> or <span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
—
|
|
963
|
-
<div class='inline'><p>The note
|
|
964
|
-
(optional)</p>
|
|
965
|
-
</div>
|
|
966
|
-
|
|
967
|
-
</li>
|
|
968
|
-
|
|
969
|
-
</ul>
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
</div>
|
|
973
|
-
</div>
|
|
974
|
-
|
|
975
|
-
</div>
|
|
976
|
-
|
|
977
|
-
<div id="instance_attr_details" class="attr_details">
|
|
978
|
-
<h2>Instance Attribute Details</h2>
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
<span id="date=-instance_method"></span>
|
|
982
|
-
<div class="method_details first">
|
|
983
|
-
<h3 class="signature first" id="date-instance_method">
|
|
984
|
-
|
|
985
|
-
#<strong>date</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
</h3><div class="docstring">
|
|
992
|
-
<div class="discussion">
|
|
993
|
-
<p>Returns the value of attribute date.</p>
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
</div>
|
|
997
|
-
</div>
|
|
998
|
-
<div class="tags">
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
</div>
|
|
1002
|
-
</div>
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
<span id="note=-instance_method"></span>
|
|
1006
|
-
<div class="method_details ">
|
|
1007
|
-
<h3 class="signature " id="note-instance_method">
|
|
1008
|
-
|
|
1009
|
-
#<strong>note</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
</h3><div class="docstring">
|
|
1016
|
-
<div class="discussion">
|
|
1017
|
-
<p>Returns the value of attribute note.</p>
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
</div>
|
|
1021
|
-
</div>
|
|
1022
|
-
<div class="tags">
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
</div>
|
|
1026
|
-
</div>
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
<span id="section=-instance_method"></span>
|
|
1030
|
-
<div class="method_details ">
|
|
1031
|
-
<h3 class="signature " id="section-instance_method">
|
|
1032
|
-
|
|
1033
|
-
#<strong>section</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
</h3><div class="docstring">
|
|
1040
|
-
<div class="discussion">
|
|
1041
|
-
<p>Returns the value of attribute section.</p>
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
</div>
|
|
1045
|
-
</div>
|
|
1046
|
-
<div class="tags">
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
</div>
|
|
1050
|
-
</div>
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
<span id="title=-instance_method"></span>
|
|
1054
|
-
<div class="method_details ">
|
|
1055
|
-
<h3 class="signature " id="title-instance_method">
|
|
1056
|
-
|
|
1057
|
-
#<strong>title</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
</h3><div class="docstring">
|
|
1064
|
-
<div class="discussion">
|
|
1065
|
-
<p>Returns the value of attribute title.</p>
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
</div>
|
|
1069
|
-
</div>
|
|
1070
|
-
<div class="tags">
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
</div>
|
|
1074
|
-
</div>
|
|
1075
|
-
|
|
1076
|
-
</div>
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
<div id="instance_method_details" class="method_details_list">
|
|
1080
|
-
<h2>Instance Method Details</h2>
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
<div class="method_details first">
|
|
1084
|
-
<h3 class="signature first" id="calculate_end_date-instance_method">
|
|
1085
|
-
|
|
1086
|
-
#<strong>calculate_end_date</strong>(opt) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
</h3>
|
|
1093
|
-
</div>
|
|
1094
|
-
|
|
1095
|
-
<div class="method_details ">
|
|
1096
|
-
<h3 class="signature " id="clone-instance_method">
|
|
1097
|
-
|
|
1098
|
-
#<strong>clone</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
</h3>
|
|
1105
|
-
</div>
|
|
1106
|
-
|
|
1107
|
-
<div class="method_details ">
|
|
1108
|
-
<h3 class="signature " id="duration-instance_method">
|
|
1109
|
-
|
|
1110
|
-
#<strong>duration</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
</h3><div class="docstring">
|
|
1117
|
-
<div class="discussion">
|
|
1118
|
-
<p>If the entry doesn't have a @done date, return the elapsed time</p>
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
</div>
|
|
1122
|
-
</div>
|
|
1123
|
-
<div class="tags">
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
</div>
|
|
1127
|
-
</div>
|
|
1128
|
-
|
|
1129
|
-
<div class="method_details ">
|
|
1130
|
-
<h3 class="signature " id="end_date-instance_method">
|
|
1131
|
-
|
|
1132
|
-
#<strong>end_date</strong> ⇒ <tt><span class='object_link'><a href="../Time.html" title="Time (class)">Time</a></span></tt>
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
</h3><div class="docstring">
|
|
1139
|
-
<div class="discussion">
|
|
1140
|
-
<p>Get the value of the item's @done tag</p>
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
</div>
|
|
1144
|
-
</div>
|
|
1145
|
-
<div class="tags">
|
|
1146
|
-
|
|
1147
|
-
<p class="tag_title">Returns:</p>
|
|
1148
|
-
<ul class="return">
|
|
1149
|
-
|
|
1150
|
-
<li>
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Time.html" title="Time (class)">Time</a></span></tt>)</span>
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
—
|
|
1158
|
-
<div class='inline'><p>@done value</p>
|
|
1159
|
-
</div>
|
|
1160
|
-
|
|
1161
|
-
</li>
|
|
1162
|
-
|
|
1163
|
-
</ul>
|
|
1164
|
-
|
|
1165
|
-
</div>
|
|
1166
|
-
</div>
|
|
1167
|
-
|
|
1168
|
-
<div class="method_details ">
|
|
1169
|
-
<h3 class="signature " id="equal?-instance_method">
|
|
1170
|
-
|
|
1171
|
-
#<strong>equal?</strong>(other, match_section: false) ⇒ <tt>Boolean</tt>
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
</h3><div class="docstring">
|
|
1178
|
-
<div class="discussion">
|
|
1179
|
-
<p>Test for equality between items</p>
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
</div>
|
|
1183
|
-
</div>
|
|
1184
|
-
<div class="tags">
|
|
1185
|
-
<p class="tag_title">Parameters:</p>
|
|
1186
|
-
<ul class="param">
|
|
1187
|
-
|
|
1188
|
-
<li>
|
|
1189
|
-
|
|
1190
|
-
<span class='name'>other</span>
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="Doing::Item (class)">Item</a></span></tt>)</span>
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
—
|
|
1198
|
-
<div class='inline'><p>The other item</p>
|
|
1199
|
-
</div>
|
|
1200
|
-
|
|
1201
|
-
</li>
|
|
1202
|
-
|
|
1203
|
-
<li>
|
|
1204
|
-
|
|
1205
|
-
<span class='name'>match_section</span>
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
—
|
|
1215
|
-
<div class='inline'><p>If true, require item sections to match</p>
|
|
1216
|
-
</div>
|
|
1217
|
-
|
|
1218
|
-
</li>
|
|
1219
|
-
|
|
1220
|
-
</ul>
|
|
1221
|
-
|
|
1222
|
-
<p class="tag_title">Returns:</p>
|
|
1223
|
-
<ul class="return">
|
|
1224
|
-
|
|
1225
|
-
<li>
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
—
|
|
1233
|
-
<div class='inline'><p>is equal?</p>
|
|
1234
|
-
</div>
|
|
1235
|
-
|
|
1236
|
-
</li>
|
|
1237
|
-
|
|
1238
|
-
</ul>
|
|
1239
|
-
|
|
1240
|
-
</div>
|
|
1241
|
-
</div>
|
|
1242
|
-
|
|
1243
|
-
<div class="method_details ">
|
|
1244
|
-
<h3 class="signature " id="expand_date_tags-instance_method">
|
|
1245
|
-
|
|
1246
|
-
#<strong>expand_date_tags</strong>(additional_tags = nil) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
</h3><div class="docstring">
|
|
1253
|
-
<div class="discussion">
|
|
1254
|
-
<p>Updates the title of the Item by expanding natural
|
|
1255
|
-
language dates within configured date tags (tags
|
|
1256
|
-
whose value is expected to be a date)</p>
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
</div>
|
|
1260
|
-
</div>
|
|
1261
|
-
<div class="tags">
|
|
1262
|
-
<p class="tag_title">Parameters:</p>
|
|
1263
|
-
<ul class="param">
|
|
1264
|
-
|
|
1265
|
-
<li>
|
|
1266
|
-
|
|
1267
|
-
<span class='name'>additional_tags</span>
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
<span class='type'></span>
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
—
|
|
1277
|
-
<div class='inline'><p>An array of additional
|
|
1278
|
-
tag names to consider
|
|
1279
|
-
dates</p>
|
|
1280
|
-
</div>
|
|
1281
|
-
|
|
1282
|
-
</li>
|
|
1283
|
-
|
|
1284
|
-
</ul>
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
</div>
|
|
1288
|
-
</div>
|
|
1289
|
-
|
|
1290
|
-
<div class="method_details ">
|
|
1291
|
-
<h3 class="signature " id="finished?-instance_method">
|
|
1292
|
-
|
|
1293
|
-
#<strong>finished?</strong> ⇒ <tt>Boolean</tt>
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
</h3><div class="docstring">
|
|
1300
|
-
<div class="discussion">
|
|
1301
|
-
<p>Test if item has a @done tag</p>
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
</div>
|
|
1305
|
-
</div>
|
|
1306
|
-
<div class="tags">
|
|
1307
|
-
|
|
1308
|
-
<p class="tag_title">Returns:</p>
|
|
1309
|
-
<ul class="return">
|
|
1310
|
-
|
|
1311
|
-
<li>
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
—
|
|
1319
|
-
<div class='inline'><p>true item has @done tag</p>
|
|
1320
|
-
</div>
|
|
1321
|
-
|
|
1322
|
-
</li>
|
|
1323
|
-
|
|
1324
|
-
</ul>
|
|
1325
|
-
|
|
1326
|
-
</div>
|
|
1327
|
-
</div>
|
|
1328
|
-
|
|
1329
|
-
<div class="method_details ">
|
|
1330
|
-
<h3 class="signature " id="highlight_search-instance_method">
|
|
1331
|
-
|
|
1332
|
-
#<strong>highlight_search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
</h3>
|
|
1339
|
-
</div>
|
|
1340
|
-
|
|
1341
|
-
<div class="method_details ">
|
|
1342
|
-
<h3 class="signature " id="id-instance_method">
|
|
1343
|
-
|
|
1344
|
-
#<strong>id</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
</h3><div class="docstring">
|
|
1351
|
-
<div class="discussion">
|
|
1352
|
-
<p>Generate a hash that represents the entry</p>
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
</div>
|
|
1356
|
-
</div>
|
|
1357
|
-
<div class="tags">
|
|
1358
|
-
|
|
1359
|
-
<p class="tag_title">Returns:</p>
|
|
1360
|
-
<ul class="return">
|
|
1361
|
-
|
|
1362
|
-
<li>
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
—
|
|
1370
|
-
<div class='inline'><p>entry hash</p>
|
|
1371
|
-
</div>
|
|
1372
|
-
|
|
1373
|
-
</li>
|
|
1374
|
-
|
|
1375
|
-
</ul>
|
|
1376
|
-
|
|
1377
|
-
</div>
|
|
1378
|
-
</div>
|
|
1379
|
-
|
|
1380
|
-
<div class="method_details ">
|
|
1381
|
-
<h3 class="signature " id="ignore_case-instance_method">
|
|
1382
|
-
|
|
1383
|
-
#<strong>ignore_case</strong>(search, case_type) ⇒ <tt>Boolean</tt>
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
</h3><div class="docstring">
|
|
1390
|
-
<div class="discussion">
|
|
1391
|
-
<p>Determine if case should be ignored for searches</p>
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
</div>
|
|
1395
|
-
</div>
|
|
1396
|
-
<div class="tags">
|
|
1397
|
-
<p class="tag_title">Parameters:</p>
|
|
1398
|
-
<ul class="param">
|
|
1399
|
-
|
|
1400
|
-
<li>
|
|
1401
|
-
|
|
1402
|
-
<span class='name'>search</span>
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
—
|
|
1410
|
-
<div class='inline'><p>The search string</p>
|
|
1411
|
-
</div>
|
|
1412
|
-
|
|
1413
|
-
</li>
|
|
1414
|
-
|
|
1415
|
-
<li>
|
|
1416
|
-
|
|
1417
|
-
<span class='name'>case_type</span>
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
—
|
|
1425
|
-
<div class='inline'><p>The case type</p>
|
|
1426
|
-
</div>
|
|
1427
|
-
|
|
1428
|
-
</li>
|
|
1429
|
-
|
|
1430
|
-
</ul>
|
|
1431
|
-
|
|
1432
|
-
<p class="tag_title">Returns:</p>
|
|
1433
|
-
<ul class="return">
|
|
1434
|
-
|
|
1435
|
-
<li>
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
—
|
|
1443
|
-
<div class='inline'><p>case should be ignored</p>
|
|
1444
|
-
</div>
|
|
1445
|
-
|
|
1446
|
-
</li>
|
|
1447
|
-
|
|
1448
|
-
</ul>
|
|
1449
|
-
|
|
1450
|
-
</div>
|
|
1451
|
-
</div>
|
|
1452
|
-
|
|
1453
|
-
<div class="method_details ">
|
|
1454
|
-
<h3 class="signature " id="interval-instance_method">
|
|
1455
|
-
|
|
1456
|
-
#<strong>interval</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
</h3><div class="docstring">
|
|
1463
|
-
<div class="discussion">
|
|
1464
|
-
<p>Get the difference between the item's start date and
|
|
1465
|
-
the value of its @done tag (if present)</p>
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
</div>
|
|
1469
|
-
</div>
|
|
1470
|
-
<div class="tags">
|
|
1471
|
-
|
|
1472
|
-
<p class="tag_title">Returns:</p>
|
|
1473
|
-
<ul class="return">
|
|
1474
|
-
|
|
1475
|
-
<li>
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
<span class='type'></span>
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
<div class='inline'><p>Interval in seconds</p>
|
|
1484
|
-
</div>
|
|
1485
|
-
|
|
1486
|
-
</li>
|
|
1487
|
-
|
|
1488
|
-
</ul>
|
|
1489
|
-
|
|
1490
|
-
</div>
|
|
1491
|
-
</div>
|
|
1492
|
-
|
|
1493
|
-
<div class="method_details ">
|
|
1494
|
-
<h3 class="signature " id="move_to-instance_method">
|
|
1495
|
-
|
|
1496
|
-
#<strong>move_to</strong>(new_section, label: true, log: true) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
</h3><div class="docstring">
|
|
1503
|
-
<div class="discussion">
|
|
1504
|
-
<p>Move item from current section to destination section</p>
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
</div>
|
|
1508
|
-
</div>
|
|
1509
|
-
<div class="tags">
|
|
1510
|
-
<p class="tag_title">Parameters:</p>
|
|
1511
|
-
<ul class="param">
|
|
1512
|
-
|
|
1513
|
-
<li>
|
|
1514
|
-
|
|
1515
|
-
<span class='name'>new_section</span>
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
566
|
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
</div>
|
|
1526
|
-
|
|
1527
|
-
</li>
|
|
1528
|
-
|
|
1529
|
-
<li>
|
|
1530
|
-
|
|
1531
|
-
<span class='name'>label</span>
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
—
|
|
1541
|
-
<div class='inline'><p>add @from(original
|
|
1542
|
-
section) tag</p>
|
|
1543
|
-
</div>
|
|
1544
|
-
|
|
1545
|
-
</li>
|
|
1546
|
-
|
|
1547
|
-
<li>
|
|
1548
|
-
|
|
1549
|
-
<span class='name'>log</span>
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
—
|
|
1559
|
-
<div class='inline'><p>log this action</p>
|
|
1560
|
-
</div>
|
|
1561
|
-
|
|
1562
|
-
</li>
|
|
1563
|
-
|
|
1564
|
-
</ul>
|
|
1565
|
-
|
|
1566
|
-
<p class="tag_title">Returns:</p>
|
|
1567
|
-
<ul class="return">
|
|
1568
|
-
|
|
1569
|
-
<li>
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
<span class='type'></span>
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
<div class='inline'><p>nothing</p>
|
|
1578
|
-
</div>
|
|
1579
|
-
|
|
1580
|
-
</li>
|
|
1581
|
-
|
|
1582
|
-
</ul>
|
|
1583
|
-
|
|
1584
|
-
</div>
|
|
1585
|
-
</div>
|
|
1586
|
-
|
|
1587
|
-
<div class="method_details ">
|
|
1588
|
-
<h3 class="signature " id="overlapping_time?-instance_method">
|
|
1589
|
-
|
|
1590
|
-
#<strong>overlapping_time?</strong>(item_b) ⇒ <tt>Boolean</tt>
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
</h3><div class="docstring">
|
|
1597
|
-
<div class="discussion">
|
|
1598
|
-
<p>Test if the interval between start date and @done
|
|
1599
|
-
value overlaps with another item's</p>
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
</div>
|
|
1603
|
-
</div>
|
|
1604
|
-
<div class="tags">
|
|
1605
|
-
<p class="tag_title">Parameters:</p>
|
|
1606
|
-
<ul class="param">
|
|
1607
|
-
|
|
1608
|
-
<li>
|
|
1609
|
-
|
|
1610
|
-
<span class='name'>item_b</span>
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="Doing::Item (class)">Item</a></span></tt>)</span>
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
—
|
|
1618
|
-
<div class='inline'><p>The item to compare</p>
|
|
1619
|
-
</div>
|
|
1620
|
-
|
|
1621
|
-
</li>
|
|
1622
|
-
|
|
1623
|
-
</ul>
|
|
1624
|
-
|
|
1625
|
-
<p class="tag_title">Returns:</p>
|
|
1626
|
-
<ul class="return">
|
|
1627
|
-
|
|
1628
|
-
<li>
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
—
|
|
1636
|
-
<div class='inline'><p>overlaps?</p>
|
|
1637
|
-
</div>
|
|
1638
|
-
|
|
1639
|
-
</li>
|
|
1640
|
-
|
|
1641
|
-
</ul>
|
|
1642
|
-
|
|
1643
|
-
</div>
|
|
1644
|
-
</div>
|
|
1645
|
-
|
|
1646
|
-
<div class="method_details ">
|
|
1647
|
-
<h3 class="signature " id="same_time?-instance_method">
|
|
1648
|
-
|
|
1649
|
-
#<strong>same_time?</strong>(item_b) ⇒ <tt>Boolean</tt>
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
</h3><div class="docstring">
|
|
1656
|
-
<div class="discussion">
|
|
1657
|
-
<p>Test if two items occur at the same time (same start date and equal duration)</p>
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
</div>
|
|
1661
|
-
</div>
|
|
1662
|
-
<div class="tags">
|
|
1663
|
-
<p class="tag_title">Parameters:</p>
|
|
1664
|
-
<ul class="param">
|
|
1665
|
-
|
|
1666
|
-
<li>
|
|
1667
|
-
|
|
1668
|
-
<span class='name'>item_b</span>
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="Doing::Item (class)">Item</a></span></tt>)</span>
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
—
|
|
1676
|
-
<div class='inline'><p>The item to compare</p>
|
|
1677
|
-
</div>
|
|
1678
|
-
|
|
1679
|
-
</li>
|
|
1680
|
-
|
|
1681
|
-
</ul>
|
|
1682
|
-
|
|
1683
|
-
<p class="tag_title">Returns:</p>
|
|
1684
|
-
<ul class="return">
|
|
1685
|
-
|
|
1686
|
-
<li>
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
—
|
|
1694
|
-
<div class='inline'><p>is equal?</p>
|
|
1695
|
-
</div>
|
|
1696
|
-
|
|
1697
|
-
</li>
|
|
1698
|
-
|
|
1699
|
-
</ul>
|
|
1700
|
-
|
|
1701
|
-
</div>
|
|
1702
|
-
</div>
|
|
1703
|
-
|
|
1704
|
-
<div class="method_details ">
|
|
1705
|
-
<h3 class="signature " id="search-instance_method">
|
|
1706
|
-
|
|
1707
|
-
#<strong>search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt>Boolean</tt>
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
</h3><div class="docstring">
|
|
1714
|
-
<div class="discussion">
|
|
1715
|
-
<p>Test if item matches search string</p>
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
</div>
|
|
1719
|
-
</div>
|
|
1720
|
-
<div class="tags">
|
|
1721
|
-
<p class="tag_title">Parameters:</p>
|
|
1722
|
-
<ul class="param">
|
|
1723
|
-
|
|
1724
|
-
<li>
|
|
1725
|
-
|
|
1726
|
-
<span class='name'>search</span>
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
—
|
|
1734
|
-
<div class='inline'><p>The search string</p>
|
|
1735
|
-
</div>
|
|
1736
|
-
|
|
1737
|
-
</li>
|
|
1738
|
-
|
|
1739
|
-
<li>
|
|
1740
|
-
|
|
1741
|
-
<span class='name'>negate</span>
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
—
|
|
1751
|
-
<div class='inline'><p>negate results</p>
|
|
1752
|
-
</div>
|
|
1753
|
-
|
|
1754
|
-
</li>
|
|
1755
|
-
|
|
1756
|
-
<li>
|
|
1757
|
-
|
|
1758
|
-
<span class='name'>case_type</span>
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
—
|
|
1768
|
-
<div class='inline'><p>The case-sensitivity
|
|
1769
|
-
type (:sensitive,
|
|
1770
|
-
:ignore, :smart)</p>
|
|
1771
|
-
</div>
|
|
1772
|
-
|
|
1773
|
-
</li>
|
|
1774
|
-
|
|
1775
|
-
</ul>
|
|
1776
|
-
|
|
1777
|
-
<p class="tag_title">Returns:</p>
|
|
1778
|
-
<ul class="return">
|
|
1779
|
-
|
|
1780
|
-
<li>
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
—
|
|
1788
|
-
<div class='inline'><p>matches search criteria</p>
|
|
1789
|
-
</div>
|
|
1790
|
-
|
|
1791
|
-
</li>
|
|
1792
|
-
|
|
1793
|
-
</ul>
|
|
1794
|
-
|
|
1795
|
-
</div>
|
|
1796
|
-
</div>
|
|
1797
|
-
|
|
1798
|
-
<div class="method_details ">
|
|
1799
|
-
<h3 class="signature " id="should_finish?-instance_method">
|
|
567
|
+
<span id="date=-instance_method"></span>
|
|
568
|
+
<div class="method_details first">
|
|
569
|
+
<h3 class="signature first" id="date-instance_method">
|
|
1800
570
|
|
|
1801
|
-
#<strong>
|
|
571
|
+
#<strong>date</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1802
572
|
|
|
1803
573
|
|
|
1804
574
|
|
|
@@ -1806,39 +576,23 @@ type (:sensitive,
|
|
|
1806
576
|
|
|
1807
577
|
</h3><div class="docstring">
|
|
1808
578
|
<div class="discussion">
|
|
1809
|
-
<p>
|
|
1810
|
-
thus should not receive a @done tag</p>
|
|
579
|
+
<p>Returns the value of attribute date.</p>
|
|
1811
580
|
|
|
1812
581
|
|
|
1813
582
|
</div>
|
|
1814
583
|
</div>
|
|
1815
584
|
<div class="tags">
|
|
1816
585
|
|
|
1817
|
-
<p class="tag_title">Returns:</p>
|
|
1818
|
-
<ul class="return">
|
|
1819
|
-
|
|
1820
|
-
<li>
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
—
|
|
1828
|
-
<div class='inline'><p>item should receive @done tag</p>
|
|
1829
|
-
</div>
|
|
1830
|
-
|
|
1831
|
-
</li>
|
|
1832
|
-
|
|
1833
|
-
</ul>
|
|
1834
586
|
|
|
1835
587
|
</div>
|
|
1836
588
|
</div>
|
|
1837
589
|
|
|
590
|
+
|
|
591
|
+
<span id="note=-instance_method"></span>
|
|
1838
592
|
<div class="method_details ">
|
|
1839
|
-
<h3 class="signature " id="
|
|
593
|
+
<h3 class="signature " id="note-instance_method">
|
|
1840
594
|
|
|
1841
|
-
#<strong>
|
|
595
|
+
#<strong>note</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1842
596
|
|
|
1843
597
|
|
|
1844
598
|
|
|
@@ -1846,39 +600,23 @@ thus should not receive a @done tag</p>
|
|
|
1846
600
|
|
|
1847
601
|
</h3><div class="docstring">
|
|
1848
602
|
<div class="discussion">
|
|
1849
|
-
<p>
|
|
1850
|
-
thus should not receive a date on the @done tag</p>
|
|
603
|
+
<p>Returns the value of attribute note.</p>
|
|
1851
604
|
|
|
1852
605
|
|
|
1853
606
|
</div>
|
|
1854
607
|
</div>
|
|
1855
608
|
<div class="tags">
|
|
1856
609
|
|
|
1857
|
-
<p class="tag_title">Returns:</p>
|
|
1858
|
-
<ul class="return">
|
|
1859
|
-
|
|
1860
|
-
<li>
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
—
|
|
1868
|
-
<div class='inline'><p>item should receive @done date</p>
|
|
1869
|
-
</div>
|
|
1870
|
-
|
|
1871
|
-
</li>
|
|
1872
|
-
|
|
1873
|
-
</ul>
|
|
1874
610
|
|
|
1875
611
|
</div>
|
|
1876
612
|
</div>
|
|
1877
613
|
|
|
614
|
+
|
|
615
|
+
<span id="section=-instance_method"></span>
|
|
1878
616
|
<div class="method_details ">
|
|
1879
|
-
<h3 class="signature " id="
|
|
617
|
+
<h3 class="signature " id="section-instance_method">
|
|
1880
618
|
|
|
1881
|
-
#<strong>
|
|
619
|
+
#<strong>section</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
1882
620
|
|
|
1883
621
|
|
|
1884
622
|
|
|
@@ -1886,150 +624,23 @@ thus should not receive a date on the @done tag</p>
|
|
|
1886
624
|
|
|
1887
625
|
</h3><div class="docstring">
|
|
1888
626
|
<div class="discussion">
|
|
1889
|
-
<p>
|
|
627
|
+
<p>Returns the value of attribute section.</p>
|
|
1890
628
|
|
|
1891
629
|
|
|
1892
630
|
</div>
|
|
1893
631
|
</div>
|
|
1894
632
|
<div class="tags">
|
|
1895
|
-
<p class="tag_title">Parameters:</p>
|
|
1896
|
-
<ul class="param">
|
|
1897
|
-
|
|
1898
|
-
<li>
|
|
1899
|
-
|
|
1900
|
-
<span class='name'>tags</span>
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
—
|
|
1908
|
-
<div class='inline'><p>The tags to apply</p>
|
|
1909
|
-
</div>
|
|
1910
|
-
|
|
1911
|
-
</li>
|
|
1912
|
-
|
|
1913
|
-
<li>
|
|
1914
|
-
|
|
1915
|
-
<span class='name'>options</span>
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
<span class='type'></span>
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
—
|
|
1923
|
-
<div class='inline'><p>Additional options</p>
|
|
1924
|
-
</div>
|
|
1925
|
-
|
|
1926
|
-
</li>
|
|
1927
|
-
|
|
1928
|
-
</ul>
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
<p class="tag_title">Options Hash (<tt>**options</tt>):</p>
|
|
1936
|
-
<ul class="option">
|
|
1937
|
-
|
|
1938
|
-
<li>
|
|
1939
|
-
<span class="name">:date</span>
|
|
1940
|
-
<span class="type">(<tt>Boolean</tt>)</span>
|
|
1941
|
-
<span class="default">
|
|
1942
|
-
|
|
1943
|
-
</span>
|
|
1944
|
-
|
|
1945
|
-
— <div class='inline'><p>Include timestamp?</p>
|
|
1946
|
-
</div>
|
|
1947
|
-
|
|
1948
|
-
</li>
|
|
1949
|
-
|
|
1950
|
-
<li>
|
|
1951
|
-
<span class="name">:single</span>
|
|
1952
|
-
<span class="type">(<tt>Boolean</tt>)</span>
|
|
1953
|
-
<span class="default">
|
|
1954
|
-
|
|
1955
|
-
</span>
|
|
1956
|
-
|
|
1957
|
-
— <div class='inline'><p>Log as a single change?</p>
|
|
1958
|
-
</div>
|
|
1959
|
-
|
|
1960
|
-
</li>
|
|
1961
|
-
|
|
1962
|
-
<li>
|
|
1963
|
-
<span class="name">:value</span>
|
|
1964
|
-
<span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
1965
|
-
<span class="default">
|
|
1966
|
-
|
|
1967
|
-
</span>
|
|
1968
|
-
|
|
1969
|
-
— <div class='inline'><p>A value to include as @tag(value)</p>
|
|
1970
|
-
</div>
|
|
1971
|
-
|
|
1972
|
-
</li>
|
|
1973
|
-
|
|
1974
|
-
<li>
|
|
1975
|
-
<span class="name">:remove</span>
|
|
1976
|
-
<span class="type">(<tt>Boolean</tt>)</span>
|
|
1977
|
-
<span class="default">
|
|
1978
|
-
|
|
1979
|
-
</span>
|
|
1980
|
-
|
|
1981
|
-
— <div class='inline'><p>if true remove instead of adding</p>
|
|
1982
|
-
</div>
|
|
1983
|
-
|
|
1984
|
-
</li>
|
|
1985
|
-
|
|
1986
|
-
<li>
|
|
1987
|
-
<span class="name">:rename_to</span>
|
|
1988
|
-
<span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
1989
|
-
<span class="default">
|
|
1990
|
-
|
|
1991
|
-
</span>
|
|
1992
|
-
|
|
1993
|
-
— <div class='inline'><p>if not nil, rename target tag to this tag name</p>
|
|
1994
|
-
</div>
|
|
1995
|
-
|
|
1996
|
-
</li>
|
|
1997
|
-
|
|
1998
|
-
<li>
|
|
1999
|
-
<span class="name">:regex</span>
|
|
2000
|
-
<span class="type">(<tt>Boolean</tt>)</span>
|
|
2001
|
-
<span class="default">
|
|
2002
|
-
|
|
2003
|
-
</span>
|
|
2004
|
-
|
|
2005
|
-
— <div class='inline'><p>treat target tag string as regex pattern</p>
|
|
2006
|
-
</div>
|
|
2007
|
-
|
|
2008
|
-
</li>
|
|
2009
|
-
|
|
2010
|
-
<li>
|
|
2011
|
-
<span class="name">:force</span>
|
|
2012
|
-
<span class="type">(<tt>Boolean</tt>)</span>
|
|
2013
|
-
<span class="default">
|
|
2014
|
-
|
|
2015
|
-
</span>
|
|
2016
|
-
|
|
2017
|
-
— <div class='inline'><p>with rename_to, add tag if it doesn't exist</p>
|
|
2018
|
-
</div>
|
|
2019
|
-
|
|
2020
|
-
</li>
|
|
2021
|
-
|
|
2022
|
-
</ul>
|
|
2023
633
|
|
|
2024
634
|
|
|
2025
|
-
|
|
2026
635
|
</div>
|
|
2027
636
|
</div>
|
|
2028
637
|
|
|
638
|
+
|
|
639
|
+
<span id="title=-instance_method"></span>
|
|
2029
640
|
<div class="method_details ">
|
|
2030
|
-
<h3 class="signature " id="
|
|
641
|
+
<h3 class="signature " id="title-instance_method">
|
|
2031
642
|
|
|
2032
|
-
#<strong>
|
|
643
|
+
#<strong>title</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
2033
644
|
|
|
2034
645
|
|
|
2035
646
|
|
|
@@ -2037,38 +648,40 @@ thus should not receive a date on the @done tag</p>
|
|
|
2037
648
|
|
|
2038
649
|
</h3><div class="docstring">
|
|
2039
650
|
<div class="discussion">
|
|
2040
|
-
<p>
|
|
651
|
+
<p>Returns the value of attribute title.</p>
|
|
2041
652
|
|
|
2042
653
|
|
|
2043
654
|
</div>
|
|
2044
655
|
</div>
|
|
2045
656
|
<div class="tags">
|
|
2046
657
|
|
|
2047
|
-
|
|
2048
|
-
<ul class="return">
|
|
2049
|
-
|
|
2050
|
-
<li>
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
—
|
|
2058
|
-
<div class='inline'><p>array of tags</p>
|
|
658
|
+
|
|
2059
659
|
</div>
|
|
2060
|
-
|
|
2061
|
-
|
|
660
|
+
</div>
|
|
661
|
+
|
|
662
|
+
</div>
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
<div id="instance_method_details" class="method_details_list">
|
|
666
|
+
<h2>Instance Method Details</h2>
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
<div class="method_details first">
|
|
670
|
+
<h3 class="signature first" id="clone-instance_method">
|
|
671
|
+
|
|
672
|
+
#<strong>clone</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
2062
673
|
|
|
2063
|
-
</ul>
|
|
2064
674
|
|
|
2065
|
-
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
</h3>
|
|
2066
679
|
</div>
|
|
2067
680
|
|
|
2068
681
|
<div class="method_details ">
|
|
2069
|
-
<h3 class="signature " id="
|
|
682
|
+
<h3 class="signature " id="equal?-instance_method">
|
|
2070
683
|
|
|
2071
|
-
#<strong>
|
|
684
|
+
#<strong>equal?</strong>(other, match_section: false) ⇒ <tt>Boolean</tt>
|
|
2072
685
|
|
|
2073
686
|
|
|
2074
687
|
|
|
@@ -2076,7 +689,7 @@ thus should not receive a date on the @done tag</p>
|
|
|
2076
689
|
|
|
2077
690
|
</h3><div class="docstring">
|
|
2078
691
|
<div class="discussion">
|
|
2079
|
-
<p>Test
|
|
692
|
+
<p>Test for equality between items</p>
|
|
2080
693
|
|
|
2081
694
|
|
|
2082
695
|
</div>
|
|
@@ -2087,39 +700,22 @@ thus should not receive a date on the @done tag</p>
|
|
|
2087
700
|
|
|
2088
701
|
<li>
|
|
2089
702
|
|
|
2090
|
-
<span class='name'>
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
—
|
|
2098
|
-
<div class='inline'><p>The tag value queries to test</p>
|
|
2099
|
-
</div>
|
|
2100
|
-
|
|
2101
|
-
</li>
|
|
2102
|
-
|
|
2103
|
-
<li>
|
|
2104
|
-
|
|
2105
|
-
<span class='name'>bool</span>
|
|
2106
|
-
|
|
703
|
+
<span class='name'>other</span>
|
|
2107
704
|
|
|
2108
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
|
2109
705
|
|
|
706
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Doing::Item (class)">Item</a></span></tt>)</span>
|
|
2110
707
|
|
|
2111
|
-
<em class="default">(defaults to: <tt>:and</tt>)</em>
|
|
2112
708
|
|
|
2113
709
|
|
|
2114
710
|
—
|
|
2115
|
-
<div class='inline'><p>The
|
|
711
|
+
<div class='inline'><p>The other item</p>
|
|
2116
712
|
</div>
|
|
2117
713
|
|
|
2118
714
|
</li>
|
|
2119
715
|
|
|
2120
716
|
<li>
|
|
2121
717
|
|
|
2122
|
-
<span class='name'>
|
|
718
|
+
<span class='name'>match_section</span>
|
|
2123
719
|
|
|
2124
720
|
|
|
2125
721
|
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
@@ -2129,7 +725,7 @@ thus should not receive a date on the @done tag</p>
|
|
|
2129
725
|
|
|
2130
726
|
|
|
2131
727
|
—
|
|
2132
|
-
<div class='inline'><p>
|
|
728
|
+
<div class='inline'><p>If true, require item sections to match</p>
|
|
2133
729
|
</div>
|
|
2134
730
|
|
|
2135
731
|
</li>
|
|
@@ -2147,7 +743,7 @@ thus should not receive a date on the @done tag</p>
|
|
|
2147
743
|
|
|
2148
744
|
|
|
2149
745
|
—
|
|
2150
|
-
<div class='inline'><p>
|
|
746
|
+
<div class='inline'><p>is equal?</p>
|
|
2151
747
|
</div>
|
|
2152
748
|
|
|
2153
749
|
</li>
|
|
@@ -2158,9 +754,9 @@ thus should not receive a date on the @done tag</p>
|
|
|
2158
754
|
</div>
|
|
2159
755
|
|
|
2160
756
|
<div class="method_details ">
|
|
2161
|
-
<h3 class="signature " id="
|
|
757
|
+
<h3 class="signature " id="id-instance_method">
|
|
2162
758
|
|
|
2163
|
-
#<strong>
|
|
759
|
+
#<strong>id</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
|
|
2164
760
|
|
|
2165
761
|
|
|
2166
762
|
|
|
@@ -2168,7 +764,7 @@ thus should not receive a date on the @done tag</p>
|
|
|
2168
764
|
|
|
2169
765
|
</h3><div class="docstring">
|
|
2170
766
|
<div class="discussion">
|
|
2171
|
-
<p>
|
|
767
|
+
<p>Generate a hash that represents the entry</p>
|
|
2172
768
|
|
|
2173
769
|
|
|
2174
770
|
</div>
|
|
@@ -2181,12 +777,12 @@ thus should not receive a date on the @done tag</p>
|
|
|
2181
777
|
<li>
|
|
2182
778
|
|
|
2183
779
|
|
|
2184
|
-
<span class='type'>(<tt><span class='object_link'><a href="../
|
|
780
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
2185
781
|
|
|
2186
782
|
|
|
2187
783
|
|
|
2188
784
|
—
|
|
2189
|
-
<div class='inline'><p>
|
|
785
|
+
<div class='inline'><p>entry hash</p>
|
|
2190
786
|
</div>
|
|
2191
787
|
|
|
2192
788
|
</li>
|
|
@@ -2197,9 +793,9 @@ thus should not receive a date on the @done tag</p>
|
|
|
2197
793
|
</div>
|
|
2198
794
|
|
|
2199
795
|
<div class="method_details ">
|
|
2200
|
-
<h3 class="signature " id="
|
|
796
|
+
<h3 class="signature " id="move_to-instance_method">
|
|
2201
797
|
|
|
2202
|
-
#<strong>
|
|
798
|
+
#<strong>move_to</strong>(new_section, label: true, log: true) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
2203
799
|
|
|
2204
800
|
|
|
2205
801
|
|
|
@@ -2207,7 +803,7 @@ thus should not receive a date on the @done tag</p>
|
|
|
2207
803
|
|
|
2208
804
|
</h3><div class="docstring">
|
|
2209
805
|
<div class="discussion">
|
|
2210
|
-
<p>
|
|
806
|
+
<p>Move item from current section to destination section</p>
|
|
2211
807
|
|
|
2212
808
|
|
|
2213
809
|
</div>
|
|
@@ -2218,107 +814,69 @@ thus should not receive a date on the @done tag</p>
|
|
|
2218
814
|
|
|
2219
815
|
<li>
|
|
2220
816
|
|
|
2221
|
-
<span class='name'>
|
|
817
|
+
<span class='name'>new_section</span>
|
|
2222
818
|
|
|
2223
819
|
|
|
2224
|
-
<span class='type'>(<tt><span class='object_link'><a href="../
|
|
820
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
|
2225
821
|
|
|
2226
822
|
|
|
2227
823
|
|
|
2228
824
|
—
|
|
2229
|
-
<div class='inline'><p>The
|
|
825
|
+
<div class='inline'><p>The destination
|
|
826
|
+
section</p>
|
|
2230
827
|
</div>
|
|
2231
828
|
|
|
2232
829
|
</li>
|
|
2233
830
|
|
|
2234
831
|
<li>
|
|
2235
832
|
|
|
2236
|
-
<span class='name'>
|
|
833
|
+
<span class='name'>label</span>
|
|
2237
834
|
|
|
2238
835
|
|
|
2239
|
-
<span class='type'>(<tt
|
|
836
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
2240
837
|
|
|
2241
838
|
|
|
2242
|
-
<em class="default">(defaults to: <tt
|
|
839
|
+
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
2243
840
|
|
|
2244
841
|
|
|
2245
842
|
—
|
|
2246
|
-
<div class='inline'><p>
|
|
843
|
+
<div class='inline'><p>add @from(original
|
|
844
|
+
section) tag</p>
|
|
2247
845
|
</div>
|
|
2248
846
|
|
|
2249
847
|
</li>
|
|
2250
848
|
|
|
2251
849
|
<li>
|
|
2252
850
|
|
|
2253
|
-
<span class='name'>
|
|
851
|
+
<span class='name'>log</span>
|
|
2254
852
|
|
|
2255
853
|
|
|
2256
854
|
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
2257
855
|
|
|
2258
856
|
|
|
2259
|
-
<em class="default">(defaults to: <tt>
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
—
|
|
2263
|
-
<div class='inline'><p>negate the result?</p>
|
|
2264
|
-
</div>
|
|
2265
|
-
|
|
2266
|
-
</li>
|
|
2267
|
-
|
|
2268
|
-
</ul>
|
|
2269
|
-
|
|
2270
|
-
<p class="tag_title">Returns:</p>
|
|
2271
|
-
<ul class="return">
|
|
2272
|
-
|
|
2273
|
-
<li>
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
2277
|
-
|
|
857
|
+
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
2278
858
|
|
|
2279
859
|
|
|
2280
860
|
—
|
|
2281
|
-
<div class='inline'><p>
|
|
861
|
+
<div class='inline'><p>log this action</p>
|
|
2282
862
|
</div>
|
|
2283
863
|
|
|
2284
864
|
</li>
|
|
2285
865
|
|
|
2286
866
|
</ul>
|
|
2287
867
|
|
|
2288
|
-
</div>
|
|
2289
|
-
</div>
|
|
2290
|
-
|
|
2291
|
-
<div class="method_details ">
|
|
2292
|
-
<h3 class="signature " id="tags_with_values-instance_method">
|
|
2293
|
-
|
|
2294
|
-
#<strong>tags_with_values</strong> ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span><<span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>></tt>
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
</h3><div class="docstring">
|
|
2301
|
-
<div class="discussion">
|
|
2302
|
-
<p>Return all tags including parenthetical values</p>
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
</div>
|
|
2306
|
-
</div>
|
|
2307
|
-
<div class="tags">
|
|
2308
|
-
|
|
2309
868
|
<p class="tag_title">Returns:</p>
|
|
2310
869
|
<ul class="return">
|
|
2311
870
|
|
|
2312
871
|
<li>
|
|
2313
872
|
|
|
2314
873
|
|
|
2315
|
-
<span class='type'
|
|
874
|
+
<span class='type'></span>
|
|
2316
875
|
|
|
2317
876
|
|
|
2318
877
|
|
|
2319
|
-
|
|
2320
|
-
<div class='inline'><p>
|
|
2321
|
-
[[tag1, value], [tag2, value]]</p>
|
|
878
|
+
|
|
879
|
+
<div class='inline'><p>nothing</p>
|
|
2322
880
|
</div>
|
|
2323
881
|
|
|
2324
882
|
</li>
|
|
@@ -2386,45 +944,6 @@ thus should not receive a date on the @done tag</p>
|
|
|
2386
944
|
<div class="tags">
|
|
2387
945
|
|
|
2388
946
|
|
|
2389
|
-
</div>
|
|
2390
|
-
</div>
|
|
2391
|
-
|
|
2392
|
-
<div class="method_details ">
|
|
2393
|
-
<h3 class="signature " id="unfinished?-instance_method">
|
|
2394
|
-
|
|
2395
|
-
#<strong>unfinished?</strong> ⇒ <tt>Boolean</tt>
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
</h3><div class="docstring">
|
|
2402
|
-
<div class="discussion">
|
|
2403
|
-
<p>Test if item does not contain @done tag</p>
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
</div>
|
|
2407
|
-
</div>
|
|
2408
|
-
<div class="tags">
|
|
2409
|
-
|
|
2410
|
-
<p class="tag_title">Returns:</p>
|
|
2411
|
-
<ul class="return">
|
|
2412
|
-
|
|
2413
|
-
<li>
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
—
|
|
2421
|
-
<div class='inline'><p>true if item is missing @done tag</p>
|
|
2422
|
-
</div>
|
|
2423
|
-
|
|
2424
|
-
</li>
|
|
2425
|
-
|
|
2426
|
-
</ul>
|
|
2427
|
-
|
|
2428
947
|
</div>
|
|
2429
948
|
</div>
|
|
2430
949
|
|
|
@@ -2433,7 +952,7 @@ thus should not receive a date on the @done tag</p>
|
|
|
2433
952
|
</div>
|
|
2434
953
|
|
|
2435
954
|
<div id="footer">
|
|
2436
|
-
Generated on
|
|
955
|
+
Generated on Fri Mar 18 12:56:58 2022 by
|
|
2437
956
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2438
957
|
0.9.27 (ruby-3.0.1).
|
|
2439
958
|
</div>
|