doing 2.1.40 → 2.1.41

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.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/CHANGELOG.md +22 -0
  4. data/Gemfile.lock +1 -1
  5. data/Rakefile +4 -4
  6. data/bin/commands/changes.rb +1 -1
  7. data/bin/commands/tag_dir.rb +49 -15
  8. data/{Dockerfile → docker/Dockerfile} +3 -1
  9. data/{Dockerfile-2.6 → docker/Dockerfile-2.6} +2 -2
  10. data/{Dockerfile-2.7 → docker/Dockerfile-2.7} +2 -2
  11. data/{Dockerfile-3.0 → docker/Dockerfile-3.0} +2 -2
  12. data/{bash_profile → docker/bash_profile} +0 -0
  13. data/{inputrc → docker/inputrc} +0 -0
  14. data/docs/doc/Array.html +84 -2
  15. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  16. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  17. data/docs/doc/BooleanTermParser/Query.html +1 -1
  18. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  19. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  20. data/docs/doc/BooleanTermParser.html +1 -1
  21. data/docs/doc/Doing/ArrayNestedHash.html +198 -0
  22. data/docs/doc/Doing/ArrayTags.html +424 -0
  23. data/docs/doc/Doing/CSVExport.html +266 -0
  24. data/docs/doc/Doing/CalendarImport.html +232 -0
  25. data/docs/doc/Doing/Change.html +617 -0
  26. data/docs/doc/Doing/Changes.html +468 -0
  27. data/docs/doc/Doing/ChronifyArray.html +347 -0
  28. data/docs/doc/Doing/ChronifyNumeric.html +271 -0
  29. data/docs/doc/Doing/ChronifyString.html +682 -0
  30. data/docs/doc/Doing/Color.html +2 -2
  31. data/docs/doc/Doing/Completion/BashCompletions.html +445 -0
  32. data/docs/doc/Doing/Completion/FishCompletions.html +445 -0
  33. data/docs/doc/Doing/Completion/StringUtils.html +229 -0
  34. data/docs/doc/Doing/Completion/ZshCompletions.html +445 -0
  35. data/docs/doc/Doing/Completion.html +17 -3
  36. data/docs/doc/Doing/Configuration.html +1 -1
  37. data/docs/doc/Doing/DayOneRenderer.html +383 -0
  38. data/docs/doc/Doing/DayoneExport.html +290 -0
  39. data/docs/doc/Doing/DoingImport.html +391 -0
  40. data/docs/doc/Doing/Entry.html +381 -0
  41. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  42. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  43. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  44. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  45. data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
  46. data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
  47. data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
  48. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  49. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  50. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  51. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  52. data/docs/doc/Doing/Errors.html +1 -1
  53. data/docs/doc/Doing/HTMLExport.html +256 -0
  54. data/docs/doc/Doing/Hooks.html +1 -1
  55. data/docs/doc/Doing/Item.html +47 -3
  56. data/docs/doc/Doing/ItemDates.html +564 -0
  57. data/docs/doc/Doing/ItemQuery.html +614 -0
  58. data/docs/doc/Doing/ItemState.html +387 -0
  59. data/docs/doc/Doing/ItemTags.html +498 -0
  60. data/docs/doc/Doing/Items.html +460 -11
  61. data/docs/doc/Doing/JSONExport.html +222 -0
  62. data/docs/doc/Doing/Logger.html +1 -1
  63. data/docs/doc/Doing/MarkdownExport.html +266 -0
  64. data/docs/doc/Doing/MarkdownRenderer.html +383 -0
  65. data/docs/doc/Doing/Note.html +16 -3
  66. data/docs/doc/Doing/Pager.html +1 -1
  67. data/docs/doc/Doing/Plugins.html +1 -1
  68. data/docs/doc/Doing/Prompt.html +31 -682
  69. data/docs/doc/Doing/PromptChoose.html +484 -0
  70. data/docs/doc/Doing/PromptFZF.html +391 -0
  71. data/docs/doc/Doing/PromptInput.html +572 -0
  72. data/docs/doc/Doing/PromptSTD.html +293 -0
  73. data/docs/doc/Doing/PromptYN.html +237 -0
  74. data/docs/doc/Doing/Section.html +58 -2
  75. data/docs/doc/Doing/StringHighlight.html +533 -0
  76. data/docs/doc/Doing/StringNormalize.html +929 -0
  77. data/docs/doc/Doing/StringQuery.html +725 -0
  78. data/docs/doc/Doing/StringTags.html +884 -0
  79. data/docs/doc/Doing/StringTransform.html +565 -0
  80. data/docs/doc/Doing/StringTruncate.html +448 -0
  81. data/docs/doc/Doing/StringURL.html +409 -0
  82. data/docs/doc/Doing/SymbolNormalize.html +341 -0
  83. data/docs/doc/Doing/TaskPaperExport.html +222 -0
  84. data/docs/doc/Doing/TemplateExport.html +249 -0
  85. data/docs/doc/Doing/TemplateString.html +101 -2
  86. data/docs/doc/Doing/TimingImport.html +285 -0
  87. data/docs/doc/Doing/Types.html +1 -1
  88. data/docs/doc/Doing/Util/Backup.html +9 -7
  89. data/docs/doc/Doing/Util.html +2 -2
  90. data/docs/doc/Doing/Version.html +523 -0
  91. data/docs/doc/Doing/WWID/WWIDUtil.html +510 -0
  92. data/docs/doc/Doing/WWID.html +4377 -217
  93. data/docs/doc/Doing/WWIDDisplay.html +865 -0
  94. data/docs/doc/Doing/WWIDEditor.html +466 -0
  95. data/docs/doc/Doing/WWIDFileTools.html +359 -0
  96. data/docs/doc/Doing/WWIDFilter.html +466 -0
  97. data/docs/doc/Doing/WWIDGuess.html +299 -0
  98. data/docs/doc/Doing/WWIDInteractive.html +752 -0
  99. data/docs/doc/Doing/WWIDModify.html +1078 -0
  100. data/docs/doc/Doing/WWIDTags.html +302 -0
  101. data/docs/doc/Doing/WWIDTimers.html +359 -0
  102. data/docs/doc/Doing/WWIDUtil.html +510 -0
  103. data/docs/doc/Doing.html +9 -6
  104. data/docs/doc/FalseClass.html +1 -1
  105. data/docs/doc/GLI/Commands/Help.html +1 -1
  106. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  107. data/docs/doc/GLI/Commands.html +1 -1
  108. data/docs/doc/GLI.html +1 -1
  109. data/docs/doc/Hash.html +1 -1
  110. data/docs/doc/Numeric.html +23 -78
  111. data/docs/doc/Object.html +1 -1
  112. data/docs/doc/PhraseParser/Operator.html +1 -1
  113. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  114. data/docs/doc/PhraseParser/Query.html +1 -1
  115. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  116. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  117. data/docs/doc/PhraseParser/TermClause.html +1 -1
  118. data/docs/doc/PhraseParser.html +1 -1
  119. data/docs/doc/Status.html +1 -1
  120. data/docs/doc/String.html +58 -633
  121. data/docs/doc/Symbol.html +9 -224
  122. data/docs/doc/Time.html +119 -13
  123. data/docs/doc/TrueClass.html +1 -1
  124. data/docs/doc/_index.html +324 -8
  125. data/docs/doc/class_list.html +1 -1
  126. data/docs/doc/file.README.html +1 -1
  127. data/docs/doc/index.html +1 -1
  128. data/docs/doc/method_list.html +2326 -542
  129. data/docs/doc/top-level-namespace.html +2 -2
  130. data/doing.rdoc +13 -3
  131. data/lib/completion/_doing.zsh +1 -1
  132. data/lib/completion/doing.bash +2 -2
  133. data/lib/completion/doing.fish +3 -1
  134. data/lib/doing/array/array.rb +16 -12
  135. data/lib/doing/array/nested_hash.rb +1 -1
  136. data/lib/doing/array/tags.rb +6 -5
  137. data/lib/doing/changelog/changelog.rb +6 -0
  138. data/lib/doing/chronify/array.rb +1 -3
  139. data/lib/doing/chronify/chronify.rb +12 -0
  140. data/lib/doing/chronify/numeric.rb +3 -2
  141. data/lib/doing/chronify/string.rb +1 -1
  142. data/lib/doing/completion/completion_string.rb +25 -0
  143. data/lib/doing/completion.rb +1 -1
  144. data/lib/doing/good.rb +8 -0
  145. data/lib/doing/item/dates.rb +1 -1
  146. data/lib/doing/{item.rb → item/item.rb} +10 -5
  147. data/lib/doing/item/query.rb +1 -1
  148. data/lib/doing/item/state.rb +1 -1
  149. data/lib/doing/item/tags.rb +1 -1
  150. data/lib/doing/items/filter.rb +67 -0
  151. data/lib/doing/items/items.rb +57 -0
  152. data/lib/doing/items/modify.rb +36 -0
  153. data/lib/doing/items/sections.rb +83 -0
  154. data/lib/doing/items/util.rb +74 -0
  155. data/lib/doing/normalize.rb +10 -2
  156. data/lib/doing/plugins/export/markdown_export.rb +4 -2
  157. data/lib/doing/plugins/import/doing_import.rb +1 -1
  158. data/lib/doing/prompt/choose.rb +118 -0
  159. data/lib/doing/prompt/fzf.rb +84 -0
  160. data/lib/doing/prompt/input.rb +129 -0
  161. data/lib/doing/prompt/prompt.rb +41 -0
  162. data/lib/doing/prompt/std.rb +32 -0
  163. data/lib/doing/prompt/yn.rb +64 -0
  164. data/lib/doing/section.rb +4 -0
  165. data/lib/doing/string/highlight.rb +1 -1
  166. data/lib/doing/string/query.rb +1 -1
  167. data/lib/doing/string/string.rb +18 -7
  168. data/lib/doing/string/tags.rb +14 -3
  169. data/lib/doing/string/transform.rb +1 -1
  170. data/lib/doing/string/truncate.rb +1 -1
  171. data/lib/doing/string/url.rb +1 -1
  172. data/lib/doing/time.rb +19 -1
  173. data/lib/doing/util_backup.rb +2 -2
  174. data/lib/doing/version.rb +1 -1
  175. data/lib/doing/wwid/display.rb +357 -360
  176. data/lib/doing/wwid/editor.rb +173 -176
  177. data/lib/doing/wwid/filetools.rb +156 -159
  178. data/lib/doing/wwid/filter.rb +191 -183
  179. data/lib/doing/wwid/guess.rb +58 -60
  180. data/lib/doing/wwid/interactive.rb +332 -330
  181. data/lib/doing/wwid/modify.rb +509 -512
  182. data/lib/doing/wwid/tags.rb +38 -41
  183. data/lib/doing/wwid/timers.rb +293 -296
  184. data/lib/doing/{wwid.rb → wwid/wwid.rb} +32 -23
  185. data/lib/doing/wwid/wwidutil.rb +79 -82
  186. data/lib/doing.rb +5 -5
  187. data/lib/helpers/threaded_tests.rb +1 -0
  188. metadata +76 -14
  189. data/lib/doing/changelog.rb +0 -6
  190. data/lib/doing/completion/string.rb +0 -17
  191. data/lib/doing/items.rb +0 -221
  192. data/lib/doing/prompt.rb +0 -330
@@ -89,7 +89,7 @@
89
89
 
90
90
  <dl>
91
91
  <dt>Includes:</dt>
92
- <dd>Display, <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span>, Editor, FileTools, Filter, Guess, Interactive, Modify, Tags, Timers, WWIDUtil</dd>
92
+ <dd><span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></dd>
93
93
  </dl>
94
94
 
95
95
 
@@ -99,7 +99,9 @@
99
99
 
100
100
  <dl>
101
101
  <dt>Defined in:</dt>
102
- <dd>lib/doing/wwid.rb</dd>
102
+ <dd>lib/doing/wwid/wwid.rb<span class="defines">,<br />
103
+ lib/doing/wwid/tags.rb,<br /> lib/doing/wwid/guess.rb,<br /> lib/doing/wwid/editor.rb,<br /> lib/doing/wwid/filter.rb,<br /> lib/doing/wwid/modify.rb,<br /> lib/doing/wwid/timers.rb,<br /> lib/doing/wwid/display.rb,<br /> lib/doing/wwid/wwidutil.rb,<br /> lib/doing/wwid/filetools.rb,<br /> lib/doing/wwid/interactive.rb</span>
104
+ </dd>
103
105
  </dl>
104
106
 
105
107
  </div>
@@ -149,7 +151,7 @@
149
151
 
150
152
 
151
153
 
152
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute additional_configs.</p>
154
+ <span class="summary_desc"><div class='inline'><p>Local configuration files detected at initialization.</p>
153
155
  </div></span>
154
156
 
155
157
  </li>
@@ -201,7 +203,7 @@
201
203
 
202
204
 
203
205
 
204
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute config_file.</p>
206
+ <span class="summary_desc"><div class='inline'><p>The location of the main config file.</p>
205
207
  </div></span>
206
208
 
207
209
  </li>
@@ -229,7 +231,7 @@
229
231
 
230
232
 
231
233
 
232
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute content.</p>
234
+ <span class="summary_desc"><div class='inline'><p>The Items object into which all entries are read.</p>
233
235
  </div></span>
234
236
 
235
237
  </li>
@@ -257,7 +259,7 @@
257
259
 
258
260
 
259
261
 
260
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute current_section.</p>
262
+ <span class="summary_desc"><div class='inline'><p>The Currently section defined in configuration.</p>
261
263
  </div></span>
262
264
 
263
265
  </li>
@@ -283,7 +285,7 @@
283
285
 
284
286
 
285
287
 
286
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute default_option.</p>
288
+ <span class="summary_desc"><div class='inline'><p>[Boolean] the default option to provide in Y/N dialogs.</p>
287
289
  </div></span>
288
290
 
289
291
  </li>
@@ -311,7 +313,7 @@
311
313
 
312
314
 
313
315
 
314
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute doing_file.</p>
316
+ <span class="summary_desc"><div class='inline'><p>The location of the Doing file defined in configuration.</p>
315
317
  </div></span>
316
318
 
317
319
  </li>
@@ -339,7 +341,7 @@
339
341
 
340
342
 
341
343
 
342
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute initial_content.</p>
344
+ <span class="summary_desc"><div class='inline'><p>A frozen copy of the content object before any modification.</p>
343
345
  </div></span>
344
346
 
345
347
  </li>
@@ -361,7 +363,7 @@
361
363
  <li class="public ">
362
364
  <span class="summary_signature">
363
365
 
364
- <a href="#get_view-instance_method" title="#get_view (instance method)">#<strong>get_view</strong>(title) &#x21d2; Object </a>
366
+ <a href="#act_on-instance_method" title="#act_on (instance method)">#<strong>act_on</strong>(items, opt) &#x21d2; Object </a>
365
367
 
366
368
 
367
369
 
@@ -375,7 +377,7 @@
375
377
 
376
378
 
377
379
 
378
- <span class="summary_desc"><div class='inline'><p>Gets a view from configuration.</p>
380
+ <span class="summary_desc"><div class='inline'><p>Perform actions on a set of entries.</p>
379
381
  </div></span>
380
382
 
381
383
  </li>
@@ -384,15 +386,13 @@
384
386
  <li class="public ">
385
387
  <span class="summary_signature">
386
388
 
387
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; WWID </a>
389
+ <a href="#add_item-instance_method" title="#add_item (instance method)">#<strong>add_item</strong>(title, section = nil, opt) &#x21d2; Object </a>
388
390
 
389
391
 
390
392
 
391
393
  </span>
392
394
 
393
395
 
394
- <span class="note title constructor">constructor</span>
395
-
396
396
 
397
397
 
398
398
 
@@ -400,7 +400,7 @@
400
400
 
401
401
 
402
402
 
403
- <span class="summary_desc"><div class='inline'><p>Initializes the object.</p>
403
+ <span class="summary_desc"><div class='inline'><p>Adds an entry.</p>
404
404
  </div></span>
405
405
 
406
406
  </li>
@@ -409,7 +409,7 @@
409
409
  <li class="public ">
410
410
  <span class="summary_signature">
411
411
 
412
- <a href="#logger-instance_method" title="#logger (instance method)">#<strong>logger</strong> &#x21d2; Object </a>
412
+ <a href="#add_with_editor-instance_method" title="#add_with_editor (instance method)">#<strong>add_with_editor</strong>(**options) &#x21d2; Object </a>
413
413
 
414
414
 
415
415
 
@@ -423,8 +423,7 @@
423
423
 
424
424
 
425
425
 
426
- <span class="summary_desc"><div class='inline'><p>Logger.</p>
427
- </div></span>
426
+ <span class="summary_desc"><div class='inline'></div></span>
428
427
 
429
428
  </li>
430
429
 
@@ -432,7 +431,7 @@
432
431
  <li class="public ">
433
432
  <span class="summary_signature">
434
433
 
435
- <a href="#sections-instance_method" title="#sections (instance method)">#<strong>sections</strong> &#x21d2; Array </a>
434
+ <a href="#all_tags-instance_method" title="#all_tags (instance method)">#<strong>all_tags</strong>(items, opt: {}, counts: false) &#x21d2; Hash, Array </a>
436
435
 
437
436
 
438
437
 
@@ -446,7 +445,7 @@
446
445
 
447
446
 
448
447
 
449
- <span class="summary_desc"><div class='inline'><p>List sections.</p>
448
+ <span class="summary_desc"><div class='inline'><p>List all tags that exist on given items.</p>
450
449
  </div></span>
451
450
 
452
451
  </li>
@@ -455,7 +454,7 @@
455
454
  <li class="public ">
456
455
  <span class="summary_signature">
457
456
 
458
- <a href="#views-instance_method" title="#views (instance method)">#<strong>views</strong> &#x21d2; Array </a>
457
+ <a href="#archive-instance_method" title="#archive (instance method)">#<strong>archive</strong>(section = Doing.setting(&#39;current_section&#39;), options) &#x21d2; Object </a>
459
458
 
460
459
 
461
460
 
@@ -469,16 +468,20 @@
469
468
 
470
469
 
471
470
 
472
- <span class="summary_desc"><div class='inline'><p>List available views.</p>
471
+ <span class="summary_desc"><div class='inline'><p>Move entries from a section to Archive or other specified section.</p>
473
472
  </div></span>
474
473
 
475
474
  </li>
476
475
 
477
476
 
478
- </ul>
479
-
480
-
477
+ <li class="public ">
478
+ <span class="summary_signature">
479
+
480
+ <a href="#autotag-instance_method" title="#autotag (instance method)">#<strong>autotag</strong>(string) &#x21d2; Object </a>
481
+
481
482
 
483
+
484
+ </span>
482
485
 
483
486
 
484
487
 
@@ -486,7 +489,22 @@
486
489
 
487
490
 
488
491
 
492
+
493
+
494
+ <span class="summary_desc"><div class='inline'><p>Uses &#39;autotag&#39; configuration to turn keywords into tags for time tracking.</p>
495
+ </div></span>
489
496
 
497
+ </li>
498
+
499
+
500
+ <li class="public ">
501
+ <span class="summary_signature">
502
+
503
+ <a href="#changes-instance_method" title="#changes (instance method)">#<strong>changes</strong> &#x21d2; Hash </a>
504
+
505
+
506
+
507
+ </span>
490
508
 
491
509
 
492
510
 
@@ -494,252 +512,4143 @@
494
512
 
495
513
 
496
514
 
515
+
497
516
 
517
+ <span class="summary_desc"><div class='inline'><p>Return a hash of changes between initial file read and current Items object.</p>
518
+ </div></span>
498
519
 
520
+ </li>
521
+
522
+
523
+ <li class="public ">
524
+ <span class="summary_signature">
525
+
526
+ <a href="#choose_section-instance_method" title="#choose_section (instance method)">#<strong>choose_section</strong>(include_all: false) &#x21d2; String </a>
527
+
528
+
529
+
530
+ </span>
499
531
 
500
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
501
- <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>
502
- <div id="constructor_details" class="method_details_list">
503
- <h2>Constructor Details</h2>
504
532
 
505
- <div class="method_details first">
506
- <h3 class="signature first" id="initialize-instance_method">
507
533
 
508
- #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Doing::WWID (class)">WWID</a></span></tt>
509
534
 
510
-
511
535
 
512
-
513
536
 
514
- </h3><div class="docstring">
515
- <div class="discussion">
516
- <p>Initializes the object.</p>
517
-
518
-
519
- </div>
520
- </div>
521
- <div class="tags">
522
537
 
523
538
 
524
- </div>
525
- </div>
526
539
 
527
- </div>
540
+ <span class="summary_desc"><div class='inline'><p>Generate a menu of sections and allow user selection.</p>
541
+ </div></span>
542
+
543
+ </li>
528
544
 
529
- <div id="instance_attr_details" class="attr_details">
530
- <h2>Instance Attribute Details</h2>
531
-
532
545
 
533
- <span id=""></span>
534
- <div class="method_details first">
535
- <h3 class="signature first" id="additional_configs-instance_method">
546
+ <li class="public ">
547
+ <span class="summary_signature">
548
+
549
+ <a href="#choose_section_tag-instance_method" title="#choose_section_tag (instance method)">#<strong>choose_section_tag</strong> &#x21d2; String </a>
550
+
551
+
552
+
553
+ </span>
536
554
 
537
- #<strong>additional_configs</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
538
555
 
539
-
540
556
 
541
-
542
557
 
543
- </h3><div class="docstring">
544
- <div class="discussion">
545
- <p>Returns the value of attribute additional_configs.</p>
546
-
547
-
548
- </div>
549
- </div>
550
- <div class="tags">
551
558
 
552
-
553
- </div>
554
- </div>
555
-
556
-
557
- <span id="config=-instance_method"></span>
558
- <div class="method_details ">
559
- <h3 class="signature " id="config-instance_method">
560
559
 
561
- #<strong>config</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
562
560
 
563
561
 
564
562
 
565
-
563
+ <span class="summary_desc"><div class='inline'><p>Generate a menu of sections and tags and allow user selection.</p>
564
+ </div></span>
566
565
 
567
- </h3><div class="docstring">
568
- <div class="discussion">
569
- <p>For backwards compatibility where @wwid.config was accessed instead of Doing.config.settings</p>
570
-
566
+ </li>
571
567
 
572
- </div>
573
- </div>
574
- <div class="tags">
575
-
568
+
569
+ <li class="public ">
570
+ <span class="summary_signature">
571
+
572
+ <a href="#choose_tag-instance_method" title="#choose_tag (instance method)">#<strong>choose_tag</strong>(section = &#39;All&#39;, items: nil, include_all: false) &#x21d2; String </a>
573
+
576
574
 
577
- </div>
578
- </div>
579
575
 
580
-
581
- <span id="config_file=-instance_method"></span>
582
- <div class="method_details ">
583
- <h3 class="signature " id="config_file-instance_method">
576
+ </span>
584
577
 
585
- #<strong>config_file</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
586
578
 
587
-
588
579
 
589
-
590
580
 
591
- </h3><div class="docstring">
592
- <div class="discussion">
593
- <p>Returns the value of attribute config_file.</p>
594
-
595
-
596
- </div>
597
- </div>
598
- <div class="tags">
599
581
 
600
-
601
- </div>
602
- </div>
603
-
604
-
605
- <span id=""></span>
606
- <div class="method_details ">
607
- <h3 class="signature " id="content-instance_method">
608
582
 
609
- #<strong>content</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
610
583
 
611
584
 
612
585
 
613
-
586
+ <span class="summary_desc"><div class='inline'><p>Generate a menu of tags and allow user selection.</p>
587
+ </div></span>
614
588
 
615
- </h3><div class="docstring">
616
- <div class="discussion">
617
- <p>Returns the value of attribute content.</p>
618
-
589
+ </li>
619
590
 
620
- </div>
621
- </div>
622
- <div class="tags">
623
-
591
+
592
+ <li class="public ">
593
+ <span class="summary_signature">
594
+
595
+ <a href="#choose_view-instance_method" title="#choose_view (instance method)">#<strong>choose_view</strong> &#x21d2; String </a>
596
+
624
597
 
625
- </div>
626
- </div>
627
598
 
628
-
629
- <span id=""></span>
630
- <div class="method_details ">
631
- <h3 class="signature " id="current_section-instance_method">
599
+ </span>
632
600
 
633
- #<strong>current_section</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
634
601
 
635
-
636
602
 
637
-
638
603
 
639
- </h3><div class="docstring">
640
- <div class="discussion">
641
- <p>Returns the value of attribute current_section.</p>
642
-
643
-
644
- </div>
645
- </div>
646
- <div class="tags">
647
604
 
648
-
649
- </div>
650
- </div>
651
-
652
-
653
- <span id="default_option=-instance_method"></span>
654
- <div class="method_details ">
655
- <h3 class="signature " id="default_option-instance_method">
656
605
 
657
- #<strong>default_option</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
658
606
 
659
607
 
660
608
 
661
-
609
+ <span class="summary_desc"><div class='inline'><p>Generate a menu of views and allow user selection.</p>
610
+ </div></span>
662
611
 
663
- </h3><div class="docstring">
664
- <div class="discussion">
665
- <p>Returns the value of attribute default_option.</p>
666
-
612
+ </li>
667
613
 
668
- </div>
669
- </div>
670
- <div class="tags">
671
-
614
+
615
+ <li class="public ">
616
+ <span class="summary_signature">
617
+
618
+ <a href="#configure-instance_method" title="#configure (instance method)">#<strong>configure</strong>(filename = nil) &#x21d2; Object </a>
619
+
672
620
 
673
- </div>
674
- </div>
675
621
 
676
-
677
- <span id=""></span>
678
- <div class="method_details ">
679
- <h3 class="signature " id="doing_file-instance_method">
680
-
681
- #<strong>doing_file</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
622
+ </span>
682
623
 
683
-
684
624
 
685
-
686
625
 
687
- </h3><div class="docstring">
688
- <div class="discussion">
689
- <p>Returns the value of attribute doing_file.</p>
690
-
691
-
692
- </div>
693
- </div>
694
- <div class="tags">
695
626
 
696
-
697
- </div>
698
- </div>
699
-
700
-
701
- <span id=""></span>
702
- <div class="method_details ">
703
- <h3 class="signature " id="initial_content-instance_method">
704
627
 
705
- #<strong>initial_content</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
706
628
 
707
-
708
629
 
709
630
 
710
631
 
711
- </h3><div class="docstring">
712
- <div class="discussion">
713
- <p>Returns the value of attribute initial_content.</p>
714
-
715
-
716
- </div>
717
- </div>
718
- <div class="tags">
632
+ <span class="summary_desc"><div class='inline'><p>Load configuration files and updated the @settings attribute with a Doing::Configuration object.</p>
633
+ </div></span>
719
634
 
635
+ </li>
720
636
 
721
- </div>
722
- </div>
637
+
638
+ <li class="public ">
639
+ <span class="summary_signature">
640
+
641
+ <a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong>(filename = nil) &#x21d2; Object </a>
723
642
 
724
- </div>
725
-
726
-
727
- <div id="instance_method_details" class="method_details_list">
728
- <h2>Instance Method Details</h2>
729
643
 
730
644
 
731
- <div class="method_details first">
732
- <h3 class="signature first" id="get_view-instance_method">
645
+ </span>
646
+
647
+
648
+
649
+
733
650
 
734
- #<strong>get_view</strong>(title) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
735
651
 
736
-
652
+
653
+
654
+
655
+ <span class="summary_desc"><div class='inline'><p>Create a new doing file.</p>
656
+ </div></span>
657
+
658
+ </li>
659
+
660
+
661
+ <li class="public ">
662
+ <span class="summary_signature">
663
+
664
+ <a href="#dedup-instance_method" title="#dedup (instance method)">#<strong>dedup</strong>(items, no_overlap: false) &#x21d2; Object </a>
665
+
666
+
667
+
668
+ </span>
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+ <span class="summary_desc"><div class='inline'><p>Remove items from an array that already exist in :content based on start and end times.</p>
679
+ </div></span>
680
+
681
+ </li>
682
+
683
+
684
+ <li class="public ">
685
+ <span class="summary_signature">
686
+
687
+ <a href="#delete_items-instance_method" title="#delete_items (instance method)">#<strong>delete_items</strong>(items, force: false) &#x21d2; Object </a>
688
+
689
+
690
+
691
+ </span>
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+ <span class="summary_desc"><div class='inline'><p>Delete a set of items from the main index.</p>
702
+ </div></span>
703
+
704
+ </li>
705
+
706
+
707
+ <li class="public ">
708
+ <span class="summary_signature">
709
+
710
+ <a href="#edit_items-instance_method" title="#edit_items (instance method)">#<strong>edit_items</strong>(items) &#x21d2; Object </a>
711
+
712
+
713
+
714
+ </span>
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+ <span class="summary_desc"><div class='inline'></div></span>
725
+
726
+ </li>
727
+
728
+
729
+ <li class="public ">
730
+ <span class="summary_signature">
731
+
732
+ <a href="#edit_last-instance_method" title="#edit_last (instance method)">#<strong>edit_last</strong>(section: &#39;All&#39;, options: {}) &#x21d2; Object </a>
733
+
734
+
735
+
736
+ </span>
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+ <span class="summary_desc"><div class='inline'><p>Edit the last entry.</p>
747
+ </div></span>
748
+
749
+ </li>
750
+
751
+
752
+ <li class="public ">
753
+ <span class="summary_signature">
754
+
755
+ <a href="#filter_items-instance_method" title="#filter_items (instance method)">#<strong>filter_items</strong>(items = Items.new, opt: {}) &#x21d2; Object </a>
756
+
757
+
758
+
759
+ </span>
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+ <span class="summary_desc"><div class='inline'><p>Filter items based on search criteria.</p>
770
+ </div></span>
771
+
772
+ </li>
773
+
774
+
775
+ <li class="public ">
776
+ <span class="summary_signature">
777
+
778
+ <a href="#fork_editor-instance_method" title="#fork_editor (instance method)">#<strong>fork_editor</strong>(input = &#39;&#39;, message: :default) &#x21d2; Object </a>
779
+
780
+
781
+
782
+ </span>
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+ <span class="summary_desc"><div class='inline'><p>Create a process for an editor and wait for the file handle to return.</p>
793
+ </div></span>
794
+
795
+ </li>
796
+
797
+
798
+ <li class="public ">
799
+ <span class="summary_signature">
800
+
801
+ <a href="#format_input-instance_method" title="#format_input (instance method)">#<strong>format_input</strong>(input) &#x21d2; Array </a>
802
+
803
+
804
+
805
+ </span>
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+ <span class="summary_desc"><div class='inline'><p>Takes a multi-line string and formats it as an entry.</p>
816
+ </div></span>
817
+
818
+ </li>
819
+
820
+
821
+ <li class="public ">
822
+ <span class="summary_signature">
823
+
824
+ <a href="#fuzzy_filter_items-instance_method" title="#fuzzy_filter_items (instance method)">#<strong>fuzzy_filter_items</strong>(items, query, case_type: :smart) &#x21d2; Items </a>
825
+
826
+
827
+
828
+ </span>
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+ <span class="summary_desc"><div class='inline'><p>Use fzf to filter an Items object with a search query.</p>
839
+ </div></span>
840
+
841
+ </li>
842
+
843
+
844
+ <li class="public ">
845
+ <span class="summary_signature">
846
+
847
+ <a href="#get_diff-instance_method" title="#get_diff (instance method)">#<strong>get_diff</strong>(filename = nil) &#x21d2; Object </a>
848
+
849
+
850
+
851
+ </span>
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+ <span class="summary_desc"><div class='inline'><p>Get difference between current content and last backup.</p>
862
+ </div></span>
863
+
864
+ </li>
865
+
866
+
867
+ <li class="public ">
868
+ <span class="summary_signature">
869
+
870
+ <a href="#get_interval-instance_method" title="#get_interval (instance method)">#<strong>get_interval</strong>(item, formatted: true, record: true) &#x21d2; Object </a>
871
+
872
+
873
+
874
+ </span>
875
+
876
+
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+ <span class="summary_desc"><div class='inline'><p>Gets the interval between entry&#39;s start date and @done date.</p>
885
+ </div></span>
886
+
887
+ </li>
888
+
889
+
890
+ <li class="public ">
891
+ <span class="summary_signature">
892
+
893
+ <a href="#get_view-instance_method" title="#get_view (instance method)">#<strong>get_view</strong>(title) &#x21d2; Object </a>
894
+
895
+
896
+
897
+ </span>
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+ <span class="summary_desc"><div class='inline'><p>Gets a view from configuration.</p>
908
+ </div></span>
909
+
910
+ </li>
911
+
912
+
913
+ <li class="public ">
914
+ <span class="summary_signature">
915
+
916
+ <a href="#guess_section-instance_method" title="#guess_section (instance method)">#<strong>guess_section</strong>(frag, guessed: false, suggest: false) &#x21d2; Object </a>
917
+
918
+
919
+
920
+ </span>
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+ <span class="summary_desc"><div class='inline'><p>Attempt to match a string with an existing section.</p>
931
+ </div></span>
932
+
933
+ </li>
934
+
935
+
936
+ <li class="public ">
937
+ <span class="summary_signature">
938
+
939
+ <a href="#guess_view-instance_method" title="#guess_view (instance method)">#<strong>guess_view</strong>(frag, guessed: false, suggest: false) &#x21d2; Object </a>
940
+
941
+
942
+
943
+ </span>
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+ <span class="summary_desc"><div class='inline'><p>Attempt to match a string with an existing view.</p>
954
+ </div></span>
955
+
956
+ </li>
957
+
958
+
959
+ <li class="public ">
960
+ <span class="summary_signature">
961
+
962
+ <a href="#import-instance_method" title="#import (instance method)">#<strong>import</strong>(paths, opt) &#x21d2; Object </a>
963
+
964
+
965
+
966
+ </span>
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+ <span class="summary_desc"><div class='inline'><p>Imports external entries.</p>
977
+ </div></span>
978
+
979
+ </li>
980
+
981
+
982
+ <li class="public ">
983
+ <span class="summary_signature">
984
+
985
+ <a href="#init_doing_file-instance_method" title="#init_doing_file (instance method)">#<strong>init_doing_file</strong>(path = nil) &#x21d2; Object </a>
986
+
987
+
988
+
989
+ </span>
990
+
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+ <span class="summary_desc"><div class='inline'><p>Initializes the doing file.</p>
1000
+ </div></span>
1001
+
1002
+ </li>
1003
+
1004
+
1005
+ <li class="public ">
1006
+ <span class="summary_signature">
1007
+
1008
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; WWID </a>
1009
+
1010
+
1011
+
1012
+ </span>
1013
+
1014
+
1015
+ <span class="note title constructor">constructor</span>
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+ <span class="summary_desc"><div class='inline'><p>Initializes the object.</p>
1025
+ </div></span>
1026
+
1027
+ </li>
1028
+
1029
+
1030
+ <li class="public ">
1031
+ <span class="summary_signature">
1032
+
1033
+ <a href="#interactive-instance_method" title="#interactive (instance method)">#<strong>interactive</strong>(opt) &#x21d2; Object </a>
1034
+
1035
+
1036
+
1037
+ </span>
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+ <span class="summary_desc"><div class='inline'><p>Display an interactive menu of entries.</p>
1048
+ </div></span>
1049
+
1050
+ </li>
1051
+
1052
+
1053
+ <li class="public ">
1054
+ <span class="summary_signature">
1055
+
1056
+ <a href="#last-instance_method" title="#last (instance method)">#<strong>last</strong>(times: true, section: nil, options: {}) &#x21d2; Object </a>
1057
+
1058
+
1059
+
1060
+ </span>
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+ <span class="summary_desc"><div class='inline'><p>Show the last entry.</p>
1071
+ </div></span>
1072
+
1073
+ </li>
1074
+
1075
+
1076
+ <li class="public ">
1077
+ <span class="summary_signature">
1078
+
1079
+ <a href="#last_entry-instance_method" title="#last_entry (instance method)">#<strong>last_entry</strong>(opt) &#x21d2; Object </a>
1080
+
1081
+
1082
+
1083
+ </span>
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+ <span class="summary_desc"><div class='inline'><p>Get the last entry.</p>
1094
+ </div></span>
1095
+
1096
+ </li>
1097
+
1098
+
1099
+ <li class="public ">
1100
+ <span class="summary_signature">
1101
+
1102
+ <a href="#last_note-instance_method" title="#last_note (instance method)">#<strong>last_note</strong>(section = &#39;All&#39;) &#x21d2; Object </a>
1103
+
1104
+
1105
+
1106
+ </span>
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+ <span class="summary_desc"><div class='inline'><p>Return the content of the last note for a given section.</p>
1117
+ </div></span>
1118
+
1119
+ </li>
1120
+
1121
+
1122
+ <li class="public ">
1123
+ <span class="summary_signature">
1124
+
1125
+ <a href="#list_date-instance_method" title="#list_date (instance method)">#<strong>list_date</strong>(dates, section, times = nil, output = nil, opt) &#x21d2; Object </a>
1126
+
1127
+
1128
+
1129
+ </span>
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+ <span class="summary_desc"><div class='inline'><p>Display entries within a date range.</p>
1140
+ </div></span>
1141
+
1142
+ </li>
1143
+
1144
+
1145
+ <li class="public ">
1146
+ <span class="summary_signature">
1147
+
1148
+ <a href="#list_section-instance_method" title="#list_section (instance method)">#<strong>list_section</strong>(opt, items: Items.new) &#x21d2; Object </a>
1149
+
1150
+
1151
+
1152
+ </span>
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+ <span class="summary_desc"><div class='inline'><p>Display contents of a section based on options.</p>
1163
+ </div></span>
1164
+
1165
+ </li>
1166
+
1167
+
1168
+ <li class="public ">
1169
+ <span class="summary_signature">
1170
+
1171
+ <a href="#logger-instance_method" title="#logger (instance method)">#<strong>logger</strong> &#x21d2; Object </a>
1172
+
1173
+
1174
+
1175
+ </span>
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+ <span class="summary_desc"><div class='inline'><p>Logger.</p>
1186
+ </div></span>
1187
+
1188
+ </li>
1189
+
1190
+
1191
+ <li class="public ">
1192
+ <span class="summary_signature">
1193
+
1194
+ <a href="#recent-instance_method" title="#recent (instance method)">#<strong>recent</strong>(count = 10, section = nil, opt) &#x21d2; Object </a>
1195
+
1196
+
1197
+
1198
+ </span>
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+ <span class="summary_desc"><div class='inline'><p>Show recent entries.</p>
1209
+ </div></span>
1210
+
1211
+ </li>
1212
+
1213
+
1214
+ <li class="public ">
1215
+ <span class="summary_signature">
1216
+
1217
+ <a href="#repeat_item-instance_method" title="#repeat_item (instance method)">#<strong>repeat_item</strong>(item, opt) &#x21d2; Object </a>
1218
+
1219
+
1220
+
1221
+ </span>
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+ <span class="summary_desc"><div class='inline'><p>Duplicate an item and add it as a new item.</p>
1232
+ </div></span>
1233
+
1234
+ </li>
1235
+
1236
+
1237
+ <li class="public ">
1238
+ <span class="summary_signature">
1239
+
1240
+ <a href="#repeat_last-instance_method" title="#repeat_last (instance method)">#<strong>repeat_last</strong>(opt) &#x21d2; Object </a>
1241
+
1242
+
1243
+
1244
+ </span>
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+ <span class="summary_desc"><div class='inline'><p>Restart the last entry.</p>
1255
+ </div></span>
1256
+
1257
+ </li>
1258
+
1259
+
1260
+ <li class="public ">
1261
+ <span class="summary_signature">
1262
+
1263
+ <a href="#reset_item-instance_method" title="#reset_item (instance method)">#<strong>reset_item</strong>(item, date: nil, finish_date: nil, resume: false) &#x21d2; Object </a>
1264
+
1265
+
1266
+
1267
+ </span>
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+ <span class="summary_desc"><div class='inline'><p>Reset start date to current time, optionally remove done tag (resume).</p>
1278
+ </div></span>
1279
+
1280
+ </li>
1281
+
1282
+
1283
+ <li class="public ">
1284
+ <span class="summary_signature">
1285
+
1286
+ <a href="#rotate-instance_method" title="#rotate (instance method)">#<strong>rotate</strong>(opt) &#x21d2; Object </a>
1287
+
1288
+
1289
+
1290
+ </span>
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+ <span class="summary_desc"><div class='inline'><p>Rename doing file with date and start fresh one.</p>
1301
+ </div></span>
1302
+
1303
+ </li>
1304
+
1305
+
1306
+ <li class="public ">
1307
+ <span class="summary_signature">
1308
+
1309
+ <a href="#sections-instance_method" title="#sections (instance method)">#<strong>sections</strong> &#x21d2; Array </a>
1310
+
1311
+
1312
+
1313
+ </span>
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+ <span class="summary_desc"><div class='inline'><p>List sections.</p>
1324
+ </div></span>
1325
+
1326
+ </li>
1327
+
1328
+
1329
+ <li class="public ">
1330
+ <span class="summary_signature">
1331
+
1332
+ <a href="#stop_start-instance_method" title="#stop_start (instance method)">#<strong>stop_start</strong>(target_tag, opt) &#x21d2; Object </a>
1333
+
1334
+
1335
+
1336
+ </span>
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+ <span class="summary_desc"><div class='inline'><p>Accepts one tag and the raw text of a new item if the passed tag is on any item, it&#39;s replaced with @done.</p>
1347
+ </div></span>
1348
+
1349
+ </li>
1350
+
1351
+
1352
+ <li class="public ">
1353
+ <span class="summary_signature">
1354
+
1355
+ <a href="#tag_groups-instance_method" title="#tag_groups (instance method)">#<strong>tag_groups</strong>(items, opt: {}) &#x21d2; Object </a>
1356
+
1357
+
1358
+
1359
+ </span>
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+ <span class="summary_desc"><div class='inline'></div></span>
1370
+
1371
+ </li>
1372
+
1373
+
1374
+ <li class="public ">
1375
+ <span class="summary_signature">
1376
+
1377
+ <a href="#tag_last-instance_method" title="#tag_last (instance method)">#<strong>tag_last</strong>(opt) &#x21d2; Object </a>
1378
+
1379
+
1380
+
1381
+ </span>
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+ <span class="summary_desc"><div class='inline'><p>Tag the last entry or X entries.</p>
1392
+ </div></span>
1393
+
1394
+ </li>
1395
+
1396
+
1397
+ <li class="public ">
1398
+ <span class="summary_signature">
1399
+
1400
+ <a href="#tag_times-instance_method" title="#tag_times (instance method)">#<strong>tag_times</strong>(format: :text, sort_by: :time, sort_order: :asc) &#x21d2; Object </a>
1401
+
1402
+
1403
+
1404
+ </span>
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+ <span class="summary_desc"><div class='inline'><p>Get total elapsed time for all tags in selection.</p>
1415
+ </div></span>
1416
+
1417
+ </li>
1418
+
1419
+
1420
+ <li class="public ">
1421
+ <span class="summary_signature">
1422
+
1423
+ <a href="#today-instance_method" title="#today (instance method)">#<strong>today</strong>(times = true, output = nil, opt) &#x21d2; Object </a>
1424
+
1425
+
1426
+
1427
+ </span>
1428
+
1429
+
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+ <span class="summary_desc"><div class='inline'><p>Show all entries from the current day.</p>
1438
+ </div></span>
1439
+
1440
+ </li>
1441
+
1442
+
1443
+ <li class="public ">
1444
+ <span class="summary_signature">
1445
+
1446
+ <a href="#verify_duration-instance_method" title="#verify_duration (instance method)">#<strong>verify_duration</strong>(date, finish_date, title: nil) &#x21d2; Object </a>
1447
+
1448
+
1449
+
1450
+ </span>
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+ <span class="summary_desc"><div class='inline'><p>Interactively verify an item modification if elapsed time is greater than configured threshold.</p>
1461
+ </div></span>
1462
+
1463
+ </li>
1464
+
1465
+
1466
+ <li class="public ">
1467
+ <span class="summary_signature">
1468
+
1469
+ <a href="#views-instance_method" title="#views (instance method)">#<strong>views</strong> &#x21d2; Array </a>
1470
+
1471
+
1472
+
1473
+ </span>
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+ <span class="summary_desc"><div class='inline'><p>List available views.</p>
1484
+ </div></span>
1485
+
1486
+ </li>
1487
+
1488
+
1489
+ <li class="public ">
1490
+ <span class="summary_signature">
1491
+
1492
+ <a href="#write-instance_method" title="#write (instance method)">#<strong>write</strong>(file = nil, backup: true) &#x21d2; Object </a>
1493
+
1494
+
1495
+
1496
+ </span>
1497
+
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+
1505
+
1506
+ <span class="summary_desc"><div class='inline'><p>Write content to file or STDOUT.</p>
1507
+ </div></span>
1508
+
1509
+ </li>
1510
+
1511
+
1512
+ <li class="public ">
1513
+ <span class="summary_signature">
1514
+
1515
+ <a href="#yesterday-instance_method" title="#yesterday (instance method)">#<strong>yesterday</strong>(section, times = nil, output = nil, opt) &#x21d2; Object </a>
1516
+
1517
+
1518
+
1519
+ </span>
1520
+
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+ <span class="summary_desc"><div class='inline'><p>Show entries from the previous day.</p>
1530
+ </div></span>
1531
+
1532
+ </li>
1533
+
1534
+
1535
+ </ul>
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+
1547
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
1548
+ <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>
1549
+ <div id="constructor_details" class="method_details_list">
1550
+ <h2>Constructor Details</h2>
1551
+
1552
+ <div class="method_details first">
1553
+ <h3 class="signature first" id="initialize-instance_method">
1554
+
1555
+ #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Doing::WWID (class)">WWID</a></span></tt>
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+ </h3><div class="docstring">
1562
+ <div class="discussion">
1563
+ <p>Initializes the object.</p>
1564
+
1565
+
1566
+ </div>
1567
+ </div>
1568
+ <div class="tags">
1569
+
1570
+
1571
+ </div>
1572
+ </div>
1573
+
1574
+ </div>
1575
+
1576
+ <div id="instance_attr_details" class="attr_details">
1577
+ <h2>Instance Attribute Details</h2>
1578
+
1579
+
1580
+ <span id=""></span>
1581
+ <div class="method_details first">
1582
+ <h3 class="signature first" id="additional_configs-instance_method">
1583
+
1584
+ #<strong>additional_configs</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+ </h3><div class="docstring">
1591
+ <div class="discussion">
1592
+ <p>Local configuration files detected at initialization</p>
1593
+
1594
+
1595
+ </div>
1596
+ </div>
1597
+ <div class="tags">
1598
+
1599
+
1600
+ </div>
1601
+ </div>
1602
+
1603
+
1604
+ <span id="config=-instance_method"></span>
1605
+ <div class="method_details ">
1606
+ <h3 class="signature " id="config-instance_method">
1607
+
1608
+ #<strong>config</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+ </h3><div class="docstring">
1615
+ <div class="discussion">
1616
+ <p>For backwards compatibility where @wwid.config was accessed instead of Doing.config.settings</p>
1617
+
1618
+
1619
+ </div>
1620
+ </div>
1621
+ <div class="tags">
1622
+
1623
+
1624
+ </div>
1625
+ </div>
1626
+
1627
+
1628
+ <span id="config_file=-instance_method"></span>
1629
+ <div class="method_details ">
1630
+ <h3 class="signature " id="config_file-instance_method">
1631
+
1632
+ #<strong>config_file</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+ </h3><div class="docstring">
1639
+ <div class="discussion">
1640
+ <p>The location of the main config file</p>
1641
+
1642
+
1643
+ </div>
1644
+ </div>
1645
+ <div class="tags">
1646
+
1647
+
1648
+ </div>
1649
+ </div>
1650
+
1651
+
1652
+ <span id=""></span>
1653
+ <div class="method_details ">
1654
+ <h3 class="signature " id="content-instance_method">
1655
+
1656
+ #<strong>content</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
1657
+
1658
+
1659
+
1660
+
1661
+
1662
+ </h3><div class="docstring">
1663
+ <div class="discussion">
1664
+ <p>The Items object into which all entries are read</p>
1665
+
1666
+
1667
+ </div>
1668
+ </div>
1669
+ <div class="tags">
1670
+
1671
+
1672
+ </div>
1673
+ </div>
1674
+
1675
+
1676
+ <span id=""></span>
1677
+ <div class="method_details ">
1678
+ <h3 class="signature " id="current_section-instance_method">
1679
+
1680
+ #<strong>current_section</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
1681
+
1682
+
1683
+
1684
+
1685
+
1686
+ </h3><div class="docstring">
1687
+ <div class="discussion">
1688
+ <p>The Currently section defined in configuration</p>
1689
+
1690
+
1691
+ </div>
1692
+ </div>
1693
+ <div class="tags">
1694
+
1695
+
1696
+ </div>
1697
+ </div>
1698
+
1699
+
1700
+ <span id="default_option=-instance_method"></span>
1701
+ <div class="method_details ">
1702
+ <h3 class="signature " id="default_option-instance_method">
1703
+
1704
+ #<strong>default_option</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+ </h3><div class="docstring">
1711
+ <div class="discussion">
1712
+ <p>[Boolean] the default option to provide in Y/N dialogs</p>
1713
+
1714
+
1715
+ </div>
1716
+ </div>
1717
+ <div class="tags">
1718
+
1719
+
1720
+ </div>
1721
+ </div>
1722
+
1723
+
1724
+ <span id=""></span>
1725
+ <div class="method_details ">
1726
+ <h3 class="signature " id="doing_file-instance_method">
1727
+
1728
+ #<strong>doing_file</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
1729
+
1730
+
1731
+
1732
+
1733
+
1734
+ </h3><div class="docstring">
1735
+ <div class="discussion">
1736
+ <p>The location of the Doing file defined in configuration</p>
1737
+
1738
+
1739
+ </div>
1740
+ </div>
1741
+ <div class="tags">
1742
+
1743
+
1744
+ </div>
1745
+ </div>
1746
+
1747
+
1748
+ <span id=""></span>
1749
+ <div class="method_details ">
1750
+ <h3 class="signature " id="initial_content-instance_method">
1751
+
1752
+ #<strong>initial_content</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(readonly)</span>
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+ </h3><div class="docstring">
1759
+ <div class="discussion">
1760
+ <p>A frozen copy of the content object before any modification</p>
1761
+
1762
+
1763
+ </div>
1764
+ </div>
1765
+ <div class="tags">
1766
+
1767
+
1768
+ </div>
1769
+ </div>
1770
+
1771
+ </div>
1772
+
1773
+
1774
+ <div id="instance_method_details" class="method_details_list">
1775
+ <h2>Instance Method Details</h2>
1776
+
1777
+
1778
+ <div class="method_details first">
1779
+ <h3 class="signature first" id="act_on-instance_method">
1780
+
1781
+ #<strong>act_on</strong>(items, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
1782
+
1783
+
1784
+
1785
+
1786
+
1787
+ </h3><div class="docstring">
1788
+ <div class="discussion">
1789
+ <p>Perform actions on a set of entries. If
1790
+ no valid action is included in the opt
1791
+ hash and the terminal is a TTY, a menu
1792
+ will be presented</p>
1793
+
1794
+
1795
+ </div>
1796
+ </div>
1797
+ <div class="tags">
1798
+ <p class="tag_title">Parameters:</p>
1799
+ <ul class="param">
1800
+
1801
+ <li>
1802
+
1803
+ <span class='name'>items</span>
1804
+
1805
+
1806
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
1807
+
1808
+
1809
+
1810
+ &mdash;
1811
+ <div class='inline'><p>Array of Items to affect</p>
1812
+ </div>
1813
+
1814
+ </li>
1815
+
1816
+ <li>
1817
+
1818
+ <span class='name'>opt</span>
1819
+
1820
+
1821
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
1822
+
1823
+
1824
+
1825
+ &mdash;
1826
+ <div class='inline'><p>Options and actions to perform</p>
1827
+ </div>
1828
+
1829
+ </li>
1830
+
1831
+ </ul>
1832
+
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+ <p class="tag_title">Options Hash (<tt>opt</tt>):</p>
1839
+ <ul class="option">
1840
+
1841
+ <li>
1842
+ <span class="name">:editor</span>
1843
+ <span class="type">(<tt>Boolean</tt>)</span>
1844
+ <span class="default">
1845
+
1846
+ </span>
1847
+
1848
+ </li>
1849
+
1850
+ <li>
1851
+ <span class="name">:delete</span>
1852
+ <span class="type">(<tt>Boolean</tt>)</span>
1853
+ <span class="default">
1854
+
1855
+ </span>
1856
+
1857
+ </li>
1858
+
1859
+ <li>
1860
+ <span class="name">:tag</span>
1861
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
1862
+ <span class="default">
1863
+
1864
+ </span>
1865
+
1866
+ </li>
1867
+
1868
+ <li>
1869
+ <span class="name">:flag</span>
1870
+ <span class="type">(<tt>Boolean</tt>)</span>
1871
+ <span class="default">
1872
+
1873
+ </span>
1874
+
1875
+ </li>
1876
+
1877
+ <li>
1878
+ <span class="name">:finish</span>
1879
+ <span class="type">(<tt>Boolean</tt>)</span>
1880
+ <span class="default">
1881
+
1882
+ </span>
1883
+
1884
+ </li>
1885
+
1886
+ <li>
1887
+ <span class="name">:cancel</span>
1888
+ <span class="type">(<tt>Boolean</tt>)</span>
1889
+ <span class="default">
1890
+
1891
+ </span>
1892
+
1893
+ </li>
1894
+
1895
+ <li>
1896
+ <span class="name">:archive</span>
1897
+ <span class="type">(<tt>Boolean</tt>)</span>
1898
+ <span class="default">
1899
+
1900
+ </span>
1901
+
1902
+ </li>
1903
+
1904
+ <li>
1905
+ <span class="name">:output</span>
1906
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
1907
+ <span class="default">
1908
+
1909
+ </span>
1910
+
1911
+ </li>
1912
+
1913
+ <li>
1914
+ <span class="name">:save_to</span>
1915
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
1916
+ <span class="default">
1917
+
1918
+ </span>
1919
+
1920
+ </li>
1921
+
1922
+ <li>
1923
+ <span class="name">:again</span>
1924
+ <span class="type">(<tt>Boolean</tt>)</span>
1925
+ <span class="default">
1926
+
1927
+ </span>
1928
+
1929
+ </li>
1930
+
1931
+ <li>
1932
+ <span class="name">:resume</span>
1933
+ <span class="type">(<tt>Boolean</tt>)</span>
1934
+ <span class="default">
1935
+
1936
+ </span>
1937
+
1938
+ </li>
1939
+
1940
+ </ul>
1941
+
1942
+
1943
+
1944
+ </div>
1945
+ </div>
1946
+
1947
+ <div class="method_details ">
1948
+ <h3 class="signature " id="add_item-instance_method">
1949
+
1950
+ #<strong>add_item</strong>(title, section = nil, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
1951
+
1952
+
1953
+
1954
+
1955
+
1956
+ </h3><div class="docstring">
1957
+ <div class="discussion">
1958
+ <p>Adds an entry</p>
1959
+
1960
+
1961
+ </div>
1962
+ </div>
1963
+ <div class="tags">
1964
+ <p class="tag_title">Parameters:</p>
1965
+ <ul class="param">
1966
+
1967
+ <li>
1968
+
1969
+ <span class='name'>title</span>
1970
+
1971
+
1972
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
1973
+
1974
+
1975
+
1976
+ &mdash;
1977
+ <div class='inline'><p>The entry title</p>
1978
+ </div>
1979
+
1980
+ </li>
1981
+
1982
+ <li>
1983
+
1984
+ <span class='name'>section</span>
1985
+
1986
+
1987
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
1988
+
1989
+
1990
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1991
+
1992
+
1993
+ &mdash;
1994
+ <div class='inline'><p>The section to add to</p>
1995
+ </div>
1996
+
1997
+ </li>
1998
+
1999
+ <li>
2000
+
2001
+ <span class='name'>opt</span>
2002
+
2003
+
2004
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
2005
+
2006
+
2007
+
2008
+ &mdash;
2009
+ <div class='inline'><p>Additional Options</p>
2010
+ </div>
2011
+
2012
+ </li>
2013
+
2014
+ </ul>
2015
+
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+ <p class="tag_title">Options Hash (<tt>opt</tt>):</p>
2024
+ <ul class="option">
2025
+
2026
+ <li>
2027
+ <span class="name">:date</span>
2028
+ <span class="type">(<tt>Date</tt>)</span>
2029
+ <span class="default">
2030
+
2031
+ </span>
2032
+
2033
+ &mdash; <div class='inline'><p>item start date</p>
2034
+ </div>
2035
+
2036
+ </li>
2037
+
2038
+ <li>
2039
+ <span class="name">:note</span>
2040
+ <span class="type">(<tt><span class='object_link'><a href="Note.html" title="Doing::Note (class)">Note</a></span></tt>)</span>
2041
+ <span class="default">
2042
+
2043
+ </span>
2044
+
2045
+ &mdash; <div class='inline'><p>item note (will be converted if value is String)</p>
2046
+ </div>
2047
+
2048
+ </li>
2049
+
2050
+ <li>
2051
+ <span class="name">:back</span>
2052
+ <span class="type">(<tt>Date</tt>)</span>
2053
+ <span class="default">
2054
+
2055
+ </span>
2056
+
2057
+ &mdash; <div class='inline'><p>backdate</p>
2058
+ </div>
2059
+
2060
+ </li>
2061
+
2062
+ <li>
2063
+ <span class="name">:timed</span>
2064
+ <span class="type">(<tt>Boolean</tt>)</span>
2065
+ <span class="default">
2066
+
2067
+ </span>
2068
+
2069
+ &mdash; <div class='inline'><p>new item is timed entry, marks previous entry as @done</p>
2070
+ </div>
2071
+
2072
+ </li>
2073
+
2074
+ <li>
2075
+ <span class="name">:done</span>
2076
+ <span class="type">(<tt>Date</tt>)</span>
2077
+ <span class="default">
2078
+
2079
+ </span>
2080
+
2081
+ &mdash; <div class='inline'><p>If set, adds a @done tag to new entry</p>
2082
+ </div>
2083
+
2084
+ </li>
2085
+
2086
+ </ul>
2087
+
2088
+
2089
+
2090
+ </div>
2091
+ </div>
2092
+
2093
+ <div class="method_details ">
2094
+ <h3 class="signature " id="add_with_editor-instance_method">
2095
+
2096
+ #<strong>add_with_editor</strong>(**options) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+ </h3><div class="docstring">
2103
+ <div class="discussion">
2104
+
2105
+
2106
+ </div>
2107
+ </div>
2108
+ <div class="tags">
2109
+
2110
+ <p class="tag_title">Raises:</p>
2111
+ <ul class="raise">
2112
+
2113
+ <li>
2114
+
2115
+
2116
+ <span class='type'>(<tt>MissingEditor</tt>)</span>
2117
+
2118
+
2119
+
2120
+ </li>
2121
+
2122
+ </ul>
2123
+
2124
+ </div>
2125
+ </div>
2126
+
2127
+ <div class="method_details ">
2128
+ <h3 class="signature " id="all_tags-instance_method">
2129
+
2130
+ #<strong>all_tags</strong>(items, opt: {}, counts: false) &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>, <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
2131
+
2132
+
2133
+
2134
+
2135
+
2136
+ </h3><div class="docstring">
2137
+ <div class="discussion">
2138
+ <p>List all tags that exist on given items</p>
2139
+
2140
+
2141
+ </div>
2142
+ </div>
2143
+ <div class="tags">
2144
+ <p class="tag_title">Parameters:</p>
2145
+ <ul class="param">
2146
+
2147
+ <li>
2148
+
2149
+ <span class='name'>items</span>
2150
+
2151
+
2152
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2153
+
2154
+
2155
+
2156
+ &mdash;
2157
+ <div class='inline'><p>array of Item</p>
2158
+ </div>
2159
+
2160
+ </li>
2161
+
2162
+ <li>
2163
+
2164
+ <span class='name'>opt</span>
2165
+
2166
+
2167
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
2168
+
2169
+
2170
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2171
+
2172
+
2173
+ &mdash;
2174
+ <div class='inline'><p>additional options</p>
2175
+ </div>
2176
+
2177
+ </li>
2178
+
2179
+ <li>
2180
+
2181
+ <span class='name'>counts</span>
2182
+
2183
+
2184
+ <span class='type'>(<tt>Boolean</tt>)</span>
2185
+
2186
+
2187
+ <em class="default">(defaults to: <tt>false</tt>)</em>
2188
+
2189
+
2190
+ &mdash;
2191
+ <div class='inline'><p>Include tag counts in
2192
+ results</p>
2193
+ </div>
2194
+
2195
+ </li>
2196
+
2197
+ </ul>
2198
+
2199
+ <p class="tag_title">Returns:</p>
2200
+ <ul class="return">
2201
+
2202
+ <li>
2203
+
2204
+
2205
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
2206
+
2207
+
2208
+
2209
+ &mdash;
2210
+ <div class='inline'><p>if counts is true, returns a hash with {
2211
+ tag: count }.</p>
2212
+ </div>
2213
+
2214
+ </li>
2215
+
2216
+ <li>
2217
+
2218
+
2219
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2220
+
2221
+
2222
+
2223
+ &mdash;
2224
+ <div class='inline'><p>If counts is false, returns a simple
2225
+ array of tags.</p>
2226
+ </div>
2227
+
2228
+ </li>
2229
+
2230
+ </ul>
2231
+
2232
+ </div>
2233
+ </div>
2234
+
2235
+ <div class="method_details ">
2236
+ <h3 class="signature " id="archive-instance_method">
2237
+
2238
+ #<strong>archive</strong>(section = Doing.setting(&#39;current_section&#39;), options) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2239
+
2240
+
2241
+
2242
+
2243
+
2244
+ </h3><div class="docstring">
2245
+ <div class="discussion">
2246
+ <p>Move entries from a section to Archive or other specified
2247
+ section</p>
2248
+
2249
+
2250
+ </div>
2251
+ </div>
2252
+ <div class="tags">
2253
+ <p class="tag_title">Parameters:</p>
2254
+ <ul class="param">
2255
+
2256
+ <li>
2257
+
2258
+ <span class='name'>section</span>
2259
+
2260
+
2261
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2262
+
2263
+
2264
+ <em class="default">(defaults to: <tt>Doing.setting(&#39;current_section&#39;)</tt>)</em>
2265
+
2266
+
2267
+ &mdash;
2268
+ <div class='inline'><p>The source section</p>
2269
+ </div>
2270
+
2271
+ </li>
2272
+
2273
+ <li>
2274
+
2275
+ <span class='name'>options</span>
2276
+
2277
+
2278
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
2279
+
2280
+
2281
+
2282
+ &mdash;
2283
+ <div class='inline'><p>Options</p>
2284
+ </div>
2285
+
2286
+ </li>
2287
+
2288
+ </ul>
2289
+
2290
+
2291
+ </div>
2292
+ </div>
2293
+
2294
+ <div class="method_details ">
2295
+ <h3 class="signature " id="autotag-instance_method">
2296
+
2297
+ #<strong>autotag</strong>(string) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2298
+
2299
+
2300
+
2301
+
2302
+
2303
+ </h3><div class="docstring">
2304
+ <div class="discussion">
2305
+ <p>Uses &#39;autotag&#39; configuration to turn keywords into tags for time tracking.
2306
+ Does not repeat tags in a title, and only converts the first instance of an
2307
+ untagged keyword</p>
2308
+
2309
+
2310
+ </div>
2311
+ </div>
2312
+ <div class="tags">
2313
+ <p class="tag_title">Parameters:</p>
2314
+ <ul class="param">
2315
+
2316
+ <li>
2317
+
2318
+ <span class='name'>string</span>
2319
+
2320
+
2321
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2322
+
2323
+
2324
+
2325
+ &mdash;
2326
+ <div class='inline'><p>The text to tag</p>
2327
+ </div>
2328
+
2329
+ </li>
2330
+
2331
+ </ul>
2332
+
2333
+
2334
+ </div>
2335
+ </div>
2336
+
2337
+ <div class="method_details ">
2338
+ <h3 class="signature " id="changes-instance_method">
2339
+
2340
+ #<strong>changes</strong> &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+ </h3><div class="docstring">
2347
+ <div class="discussion">
2348
+ <p>Return a hash of changes between initial file read
2349
+ and current Items object</p>
2350
+
2351
+
2352
+ </div>
2353
+ </div>
2354
+ <div class="tags">
2355
+
2356
+ <p class="tag_title">Returns:</p>
2357
+ <ul class="return">
2358
+
2359
+ <li>
2360
+
2361
+
2362
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
2363
+
2364
+
2365
+
2366
+ &mdash;
2367
+ <div class='inline'><p>Hash containing <code>added</code> and
2368
+ <code>removed</code> keys with arrays of Item</p>
2369
+ </div>
2370
+
2371
+ </li>
2372
+
2373
+ </ul>
2374
+
2375
+ </div>
2376
+ </div>
2377
+
2378
+ <div class="method_details ">
2379
+ <h3 class="signature " id="choose_section-instance_method">
2380
+
2381
+ #<strong>choose_section</strong>(include_all: false) &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
2382
+
2383
+
2384
+
2385
+
2386
+
2387
+ </h3><div class="docstring">
2388
+ <div class="discussion">
2389
+ <p>Generate a menu of sections and allow user selection</p>
2390
+
2391
+
2392
+ </div>
2393
+ </div>
2394
+ <div class="tags">
2395
+
2396
+ <p class="tag_title">Returns:</p>
2397
+ <ul class="return">
2398
+
2399
+ <li>
2400
+
2401
+
2402
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2403
+
2404
+
2405
+
2406
+ &mdash;
2407
+ <div class='inline'><p>The selected section name</p>
2408
+ </div>
2409
+
2410
+ </li>
2411
+
2412
+ </ul>
2413
+
2414
+ </div>
2415
+ </div>
2416
+
2417
+ <div class="method_details ">
2418
+ <h3 class="signature " id="choose_section_tag-instance_method">
2419
+
2420
+ #<strong>choose_section_tag</strong> &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
2421
+
2422
+
2423
+
2424
+
2425
+
2426
+ </h3><div class="docstring">
2427
+ <div class="discussion">
2428
+ <p>Generate a menu of sections and tags and allow user selection</p>
2429
+
2430
+
2431
+ </div>
2432
+ </div>
2433
+ <div class="tags">
2434
+
2435
+ <p class="tag_title">Returns:</p>
2436
+ <ul class="return">
2437
+
2438
+ <li>
2439
+
2440
+
2441
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2442
+
2443
+
2444
+
2445
+ &mdash;
2446
+ <div class='inline'><p>The selected section or tag name</p>
2447
+ </div>
2448
+
2449
+ </li>
2450
+
2451
+ </ul>
2452
+
2453
+ </div>
2454
+ </div>
2455
+
2456
+ <div class="method_details ">
2457
+ <h3 class="signature " id="choose_tag-instance_method">
2458
+
2459
+ #<strong>choose_tag</strong>(section = &#39;All&#39;, items: nil, include_all: false) &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
2460
+
2461
+
2462
+
2463
+
2464
+
2465
+ </h3><div class="docstring">
2466
+ <div class="discussion">
2467
+ <p>Generate a menu of tags and allow user selection</p>
2468
+
2469
+
2470
+ </div>
2471
+ </div>
2472
+ <div class="tags">
2473
+
2474
+ <p class="tag_title">Returns:</p>
2475
+ <ul class="return">
2476
+
2477
+ <li>
2478
+
2479
+
2480
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2481
+
2482
+
2483
+
2484
+ &mdash;
2485
+ <div class='inline'><p>The selected tag name</p>
2486
+ </div>
2487
+
2488
+ </li>
2489
+
2490
+ </ul>
2491
+
2492
+ </div>
2493
+ </div>
2494
+
2495
+ <div class="method_details ">
2496
+ <h3 class="signature " id="choose_view-instance_method">
2497
+
2498
+ #<strong>choose_view</strong> &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+ </h3><div class="docstring">
2505
+ <div class="discussion">
2506
+ <p>Generate a menu of views and allow user selection</p>
2507
+
2508
+
2509
+ </div>
2510
+ </div>
2511
+ <div class="tags">
2512
+
2513
+ <p class="tag_title">Returns:</p>
2514
+ <ul class="return">
2515
+
2516
+ <li>
2517
+
2518
+
2519
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2520
+
2521
+
2522
+
2523
+ &mdash;
2524
+ <div class='inline'><p>The selected view name</p>
2525
+ </div>
2526
+
2527
+ </li>
2528
+
2529
+ </ul>
2530
+
2531
+ </div>
2532
+ </div>
2533
+
2534
+ <div class="method_details ">
2535
+ <h3 class="signature " id="configure-instance_method">
2536
+
2537
+ #<strong>configure</strong>(filename = nil) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2538
+
2539
+
2540
+
2541
+
2542
+
2543
+ </h3><div class="docstring">
2544
+ <div class="discussion">
2545
+ <p>Load configuration files and updated the @settings
2546
+ attribute with a Doing::Configuration object</p>
2547
+
2548
+
2549
+ </div>
2550
+ </div>
2551
+ <div class="tags">
2552
+ <p class="tag_title">Parameters:</p>
2553
+ <ul class="param">
2554
+
2555
+ <li>
2556
+
2557
+ <span class='name'>filename</span>
2558
+
2559
+
2560
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2561
+
2562
+
2563
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2564
+
2565
+
2566
+ &mdash;
2567
+ <div class='inline'><p>(optional) path to
2568
+ alternative config file</p>
2569
+ </div>
2570
+
2571
+ </li>
2572
+
2573
+ </ul>
2574
+
2575
+
2576
+ </div>
2577
+ </div>
2578
+
2579
+ <div class="method_details ">
2580
+ <h3 class="signature " id="create-instance_method">
2581
+
2582
+ #<strong>create</strong>(filename = nil) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2583
+
2584
+
2585
+
2586
+
2587
+
2588
+ </h3><div class="docstring">
2589
+ <div class="discussion">
2590
+ <p>Create a new doing file</p>
2591
+
2592
+
2593
+ </div>
2594
+ </div>
2595
+ <div class="tags">
2596
+
2597
+
2598
+ </div>
2599
+ </div>
2600
+
2601
+ <div class="method_details ">
2602
+ <h3 class="signature " id="dedup-instance_method">
2603
+
2604
+ #<strong>dedup</strong>(items, no_overlap: false) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2605
+
2606
+
2607
+
2608
+
2609
+
2610
+ </h3><div class="docstring">
2611
+ <div class="discussion">
2612
+ <p>Remove items from an array that already exist in
2613
+ :content based on start and end times</p>
2614
+
2615
+
2616
+ </div>
2617
+ </div>
2618
+ <div class="tags">
2619
+ <p class="tag_title">Parameters:</p>
2620
+ <ul class="param">
2621
+
2622
+ <li>
2623
+
2624
+ <span class='name'>items</span>
2625
+
2626
+
2627
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2628
+
2629
+
2630
+
2631
+ &mdash;
2632
+ <div class='inline'><p>The items to
2633
+ deduplicate</p>
2634
+ </div>
2635
+
2636
+ </li>
2637
+
2638
+ <li>
2639
+
2640
+ <span class='name'>no_overlap</span>
2641
+
2642
+
2643
+ <span class='type'>(<tt>Boolean</tt>)</span>
2644
+
2645
+
2646
+ <em class="default">(defaults to: <tt>false</tt>)</em>
2647
+
2648
+
2649
+ &mdash;
2650
+ <div class='inline'><p>Remove items with
2651
+ overlapping time spans</p>
2652
+ </div>
2653
+
2654
+ </li>
2655
+
2656
+ </ul>
2657
+
2658
+
2659
+ </div>
2660
+ </div>
2661
+
2662
+ <div class="method_details ">
2663
+ <h3 class="signature " id="delete_items-instance_method">
2664
+
2665
+ #<strong>delete_items</strong>(items, force: false) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2666
+
2667
+
2668
+
2669
+
2670
+
2671
+ </h3><div class="docstring">
2672
+ <div class="discussion">
2673
+ <p>Delete a set of items from the main index</p>
2674
+
2675
+
2676
+ </div>
2677
+ </div>
2678
+ <div class="tags">
2679
+ <p class="tag_title">Parameters:</p>
2680
+ <ul class="param">
2681
+
2682
+ <li>
2683
+
2684
+ <span class='name'>items</span>
2685
+
2686
+
2687
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2688
+
2689
+
2690
+
2691
+ &mdash;
2692
+ <div class='inline'><p>The items to delete</p>
2693
+ </div>
2694
+
2695
+ </li>
2696
+
2697
+ <li>
2698
+
2699
+ <span class='name'>force</span>
2700
+
2701
+
2702
+ <span class='type'>(<tt>Boolean</tt>)</span>
2703
+
2704
+
2705
+ <em class="default">(defaults to: <tt>false</tt>)</em>
2706
+
2707
+
2708
+ &mdash;
2709
+ <div class='inline'><p>Force deletion without confirmation</p>
2710
+ </div>
2711
+
2712
+ </li>
2713
+
2714
+ </ul>
2715
+
2716
+
2717
+ </div>
2718
+ </div>
2719
+
2720
+ <div class="method_details ">
2721
+ <h3 class="signature " id="edit_items-instance_method">
2722
+
2723
+ #<strong>edit_items</strong>(items) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2724
+
2725
+
2726
+
2727
+
2728
+
2729
+ </h3>
2730
+ </div>
2731
+
2732
+ <div class="method_details ">
2733
+ <h3 class="signature " id="edit_last-instance_method">
2734
+
2735
+ #<strong>edit_last</strong>(section: &#39;All&#39;, options: {}) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2736
+
2737
+
2738
+
2739
+
2740
+
2741
+ </h3><div class="docstring">
2742
+ <div class="discussion">
2743
+ <p>Edit the last entry</p>
2744
+
2745
+
2746
+ </div>
2747
+ </div>
2748
+ <div class="tags">
2749
+ <p class="tag_title">Parameters:</p>
2750
+ <ul class="param">
2751
+
2752
+ <li>
2753
+
2754
+ <span class='name'>section</span>
2755
+
2756
+
2757
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2758
+
2759
+
2760
+ <em class="default">(defaults to: <tt>&#39;All&#39;</tt>)</em>
2761
+
2762
+
2763
+ &mdash;
2764
+ <div class='inline'><p>The section, default &quot;All&quot;</p>
2765
+ </div>
2766
+
2767
+ </li>
2768
+
2769
+ </ul>
2770
+
2771
+
2772
+ </div>
2773
+ </div>
2774
+
2775
+ <div class="method_details ">
2776
+ <h3 class="signature " id="filter_items-instance_method">
2777
+
2778
+ #<strong>filter_items</strong>(items = Items.new, opt: {}) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
2779
+
2780
+
2781
+
2782
+
2783
+
2784
+ </h3><div class="docstring">
2785
+ <div class="discussion">
2786
+ <p>Filter items based on search criteria</p>
2787
+
2788
+
2789
+ </div>
2790
+ </div>
2791
+ <div class="tags">
2792
+ <p class="tag_title">Parameters:</p>
2793
+ <ul class="param">
2794
+
2795
+ <li>
2796
+
2797
+ <span class='name'>items</span>
2798
+
2799
+
2800
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2801
+
2802
+
2803
+ <em class="default">(defaults to: <tt>Items.new</tt>)</em>
2804
+
2805
+
2806
+ &mdash;
2807
+ <div class='inline'><p>The items to filter (if empty, filters all items)</p>
2808
+ </div>
2809
+
2810
+ </li>
2811
+
2812
+ <li>
2813
+
2814
+ <span class='name'>opt</span>
2815
+
2816
+
2817
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
2818
+
2819
+
2820
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2821
+
2822
+
2823
+ &mdash;
2824
+ <div class='inline'><p>The filter parameters</p>
2825
+ </div>
2826
+
2827
+ </li>
2828
+
2829
+ </ul>
2830
+
2831
+
2832
+
2833
+
2834
+
2835
+
2836
+ <p class="tag_title">Options Hash (<tt>opt:</tt>):</p>
2837
+ <ul class="option">
2838
+
2839
+ <li>
2840
+ <span class="name">:section</span>
2841
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2842
+ <span class="default">
2843
+
2844
+ &mdash; default:
2845
+ <tt>&#39;all&#39;</tt>
2846
+
2847
+ </span>
2848
+
2849
+ </li>
2850
+
2851
+ <li>
2852
+ <span class="name">:unfinished</span>
2853
+ <span class="type">(<tt>Boolean</tt>)</span>
2854
+ <span class="default">
2855
+
2856
+ &mdash; default:
2857
+ <tt>false</tt>
2858
+
2859
+ </span>
2860
+
2861
+ </li>
2862
+
2863
+ <li>
2864
+ <span class="name">:tag</span>
2865
+ <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>
2866
+ <span class="default">
2867
+
2868
+ &mdash; default:
2869
+ <tt>[]</tt>
2870
+
2871
+ </span>
2872
+
2873
+ &mdash; <div class='inline'><p>Array or comma-separated string</p>
2874
+ </div>
2875
+
2876
+ </li>
2877
+
2878
+ <li>
2879
+ <span class="name">:tag_bool</span>
2880
+ <span class="type">(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
2881
+ <span class="default">
2882
+
2883
+ &mdash; default:
2884
+ <tt>:and</tt>
2885
+
2886
+ </span>
2887
+
2888
+ &mdash; <div class='inline'><p>:and, :or, :not</p>
2889
+ </div>
2890
+
2891
+ </li>
2892
+
2893
+ <li>
2894
+ <span class="name">:search</span>
2895
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2896
+ <span class="default">
2897
+
2898
+ &mdash; default:
2899
+ <tt>&#39;&#39;</tt>
2900
+
2901
+ </span>
2902
+
2903
+ &mdash; <div class='inline'><p>string, optional regex with <code>/string/</code></p>
2904
+ </div>
2905
+
2906
+ </li>
2907
+
2908
+ <li>
2909
+ <span class="name">:date_filter</span>
2910
+ <span class="type">(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2911
+ <span class="default">
2912
+
2913
+ &mdash; default:
2914
+ <tt>nil</tt>
2915
+
2916
+ </span>
2917
+
2918
+ &mdash; <div class='inline'><p>[[Time]start, [Time]end]</p>
2919
+ </div>
2920
+
2921
+ </li>
2922
+
2923
+ <li>
2924
+ <span class="name">:only_timed</span>
2925
+ <span class="type">(<tt>Boolean</tt>)</span>
2926
+ <span class="default">
2927
+
2928
+ &mdash; default:
2929
+ <tt>false</tt>
2930
+
2931
+ </span>
2932
+
2933
+ </li>
2934
+
2935
+ <li>
2936
+ <span class="name">:before</span>
2937
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2938
+ <span class="default">
2939
+
2940
+ &mdash; default:
2941
+ <tt>nil</tt>
2942
+
2943
+ </span>
2944
+
2945
+ &mdash; <div class='inline'><p>Date/Time string, unparsed</p>
2946
+ </div>
2947
+
2948
+ </li>
2949
+
2950
+ <li>
2951
+ <span class="name">:after</span>
2952
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2953
+ <span class="default">
2954
+
2955
+ &mdash; default:
2956
+ <tt>nil</tt>
2957
+
2958
+ </span>
2959
+
2960
+ &mdash; <div class='inline'><p>Date/Time string, unparsed</p>
2961
+ </div>
2962
+
2963
+ </li>
2964
+
2965
+ <li>
2966
+ <span class="name">:today</span>
2967
+ <span class="type">(<tt>Boolean</tt>)</span>
2968
+ <span class="default">
2969
+
2970
+ &mdash; default:
2971
+ <tt>false</tt>
2972
+
2973
+ </span>
2974
+
2975
+ &mdash; <div class='inline'><p>limit to entries from today</p>
2976
+ </div>
2977
+
2978
+ </li>
2979
+
2980
+ <li>
2981
+ <span class="name">:yesterday</span>
2982
+ <span class="type">(<tt>Boolean</tt>)</span>
2983
+ <span class="default">
2984
+
2985
+ &mdash; default:
2986
+ <tt>false</tt>
2987
+
2988
+ </span>
2989
+
2990
+ &mdash; <div class='inline'><p>limit to entries from yesterday</p>
2991
+ </div>
2992
+
2993
+ </li>
2994
+
2995
+ <li>
2996
+ <span class="name">:count</span>
2997
+ <span class="type">(<tt>Number</tt>)</span>
2998
+ <span class="default">
2999
+
3000
+ &mdash; default:
3001
+ <tt>0</tt>
3002
+
3003
+ </span>
3004
+
3005
+ &mdash; <div class='inline'><p>max entries to return</p>
3006
+ </div>
3007
+
3008
+ </li>
3009
+
3010
+ <li>
3011
+ <span class="name">:age</span>
3012
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3013
+ <span class="default">
3014
+
3015
+ &mdash; default:
3016
+ <tt>new</tt>
3017
+
3018
+ </span>
3019
+
3020
+ &mdash; <div class='inline'><p>&#39;old&#39; or &#39;new&#39;</p>
3021
+ </div>
3022
+
3023
+ </li>
3024
+
3025
+ <li>
3026
+ <span class="name">:val</span>
3027
+ <span class="type">(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
3028
+ <span class="default">
3029
+
3030
+ &mdash; default:
3031
+ <tt>nil</tt>
3032
+
3033
+ </span>
3034
+
3035
+ &mdash; <div class='inline'><p>Array of tag value queries</p>
3036
+ </div>
3037
+
3038
+ </li>
3039
+
3040
+ </ul>
3041
+
3042
+
3043
+
3044
+ </div>
3045
+ </div>
3046
+
3047
+ <div class="method_details ">
3048
+ <h3 class="signature " id="fork_editor-instance_method">
3049
+
3050
+ #<strong>fork_editor</strong>(input = &#39;&#39;, message: :default) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3051
+
3052
+
3053
+
3054
+
3055
+
3056
+ </h3><div class="docstring">
3057
+ <div class="discussion">
3058
+ <p>Create a process for an editor and wait for the file handle to return</p>
3059
+
3060
+
3061
+ </div>
3062
+ </div>
3063
+ <div class="tags">
3064
+ <p class="tag_title">Parameters:</p>
3065
+ <ul class="param">
3066
+
3067
+ <li>
3068
+
3069
+ <span class='name'>input</span>
3070
+
3071
+
3072
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3073
+
3074
+
3075
+ <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
3076
+
3077
+
3078
+ &mdash;
3079
+ <div class='inline'><p>Text input for editor</p>
3080
+ </div>
3081
+
3082
+ </li>
3083
+
3084
+ </ul>
3085
+
3086
+ <p class="tag_title">Raises:</p>
3087
+ <ul class="raise">
3088
+
3089
+ <li>
3090
+
3091
+
3092
+ <span class='type'>(<tt>MissingEditor</tt>)</span>
3093
+
3094
+
3095
+
3096
+ </li>
3097
+
3098
+ </ul>
3099
+
3100
+ </div>
3101
+ </div>
3102
+
3103
+ <div class="method_details ">
3104
+ <h3 class="signature " id="format_input-instance_method">
3105
+
3106
+ #<strong>format_input</strong>(input) &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
3107
+
3108
+
3109
+
3110
+
3111
+
3112
+ </h3><div class="docstring">
3113
+ <div class="discussion">
3114
+ <p>Takes a multi-line string and formats it as an entry</p>
3115
+
3116
+
3117
+ </div>
3118
+ </div>
3119
+ <div class="tags">
3120
+ <p class="tag_title">Parameters:</p>
3121
+ <ul class="param">
3122
+
3123
+ <li>
3124
+
3125
+ <span class='name'>input</span>
3126
+
3127
+
3128
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3129
+
3130
+
3131
+
3132
+ &mdash;
3133
+ <div class='inline'><p>The string to parse</p>
3134
+ </div>
3135
+
3136
+ </li>
3137
+
3138
+ </ul>
3139
+
3140
+ <p class="tag_title">Returns:</p>
3141
+ <ul class="return">
3142
+
3143
+ <li>
3144
+
3145
+
3146
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
3147
+
3148
+
3149
+
3150
+ &mdash;
3151
+ <div class='inline'><p>[[String]title, [Note]note]</p>
3152
+ </div>
3153
+
3154
+ </li>
3155
+
3156
+ </ul>
3157
+ <p class="tag_title">Raises:</p>
3158
+ <ul class="raise">
3159
+
3160
+ <li>
3161
+
3162
+
3163
+ <span class='type'>(<tt>EmptyInput</tt>)</span>
3164
+
3165
+
3166
+
3167
+ </li>
3168
+
3169
+ </ul>
3170
+
3171
+ </div>
3172
+ </div>
3173
+
3174
+ <div class="method_details ">
3175
+ <h3 class="signature " id="fuzzy_filter_items-instance_method">
3176
+
3177
+ #<strong>fuzzy_filter_items</strong>(items, query, case_type: :smart) &#x21d2; <tt><span class='object_link'><a href="Items.html" title="Doing::Items (class)">Items</a></span></tt>
3178
+
3179
+
3180
+
3181
+
3182
+
3183
+ </h3><div class="docstring">
3184
+ <div class="discussion">
3185
+ <p>Use fzf to filter an Items object with a search query.
3186
+ Faster than <span class='object_link'><a href="#filter_items-instance_method" title="Doing::WWID#filter_items (method)">#filter_items</a></span> when all you need is a
3187
+ text search of the title and note</p>
3188
+
3189
+
3190
+ </div>
3191
+ </div>
3192
+ <div class="tags">
3193
+ <p class="tag_title">Parameters:</p>
3194
+ <ul class="param">
3195
+
3196
+ <li>
3197
+
3198
+ <span class='name'>items</span>
3199
+
3200
+
3201
+ <span class='type'>(<tt><span class='object_link'><a href="Items.html" title="Doing::Items (class)">Items</a></span></tt>)</span>
3202
+
3203
+
3204
+
3205
+ &mdash;
3206
+ <div class='inline'><p>an Items object</p>
3207
+ </div>
3208
+
3209
+ </li>
3210
+
3211
+ <li>
3212
+
3213
+ <span class='name'>query</span>
3214
+
3215
+
3216
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3217
+
3218
+
3219
+
3220
+ &mdash;
3221
+ <div class='inline'><p>The search query</p>
3222
+ </div>
3223
+
3224
+ </li>
3225
+
3226
+ <li>
3227
+
3228
+ <span class='name'>case_type</span>
3229
+
3230
+
3231
+ <span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
3232
+
3233
+
3234
+ <em class="default">(defaults to: <tt>:smart</tt>)</em>
3235
+
3236
+
3237
+ &mdash;
3238
+ <div class='inline'><p>The case type (:smart, :sensitive, :ignore)</p>
3239
+ </div>
3240
+
3241
+ </li>
3242
+
3243
+ </ul>
3244
+
3245
+ <p class="tag_title">Returns:</p>
3246
+ <ul class="return">
3247
+
3248
+ <li>
3249
+
3250
+
3251
+ <span class='type'>(<tt><span class='object_link'><a href="Items.html" title="Doing::Items (class)">Items</a></span></tt>)</span>
3252
+
3253
+
3254
+
3255
+ &mdash;
3256
+ <div class='inline'><p>Filtered Items array</p>
3257
+ </div>
3258
+
3259
+ </li>
3260
+
3261
+ </ul>
3262
+
3263
+ </div>
3264
+ </div>
3265
+
3266
+ <div class="method_details ">
3267
+ <h3 class="signature " id="get_diff-instance_method">
3268
+
3269
+ #<strong>get_diff</strong>(filename = nil) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3270
+
3271
+
3272
+
3273
+
3274
+
3275
+ </h3><div class="docstring">
3276
+ <div class="discussion">
3277
+ <p>Get difference between current content and last backup</p>
3278
+
3279
+
3280
+ </div>
3281
+ </div>
3282
+ <div class="tags">
3283
+ <p class="tag_title">Parameters:</p>
3284
+ <ul class="param">
3285
+
3286
+ <li>
3287
+
3288
+ <span class='name'>filename</span>
3289
+
3290
+
3291
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3292
+
3293
+
3294
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
3295
+
3296
+
3297
+ &mdash;
3298
+ <div class='inline'><p>The file path</p>
3299
+ </div>
3300
+
3301
+ </li>
3302
+
3303
+ </ul>
3304
+
3305
+ <p class="tag_title">Raises:</p>
3306
+ <ul class="raise">
3307
+
3308
+ <li>
3309
+
3310
+
3311
+ <span class='type'>(<tt>DoingRuntimeError</tt>)</span>
3312
+
3313
+
3314
+
3315
+ </li>
3316
+
3317
+ </ul>
3318
+
3319
+ </div>
3320
+ </div>
3321
+
3322
+ <div class="method_details ">
3323
+ <h3 class="signature " id="get_interval-instance_method">
3324
+
3325
+ #<strong>get_interval</strong>(item, formatted: true, record: true) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3326
+
3327
+
3328
+
3329
+
3330
+
3331
+ </h3><div class="docstring">
3332
+ <div class="discussion">
3333
+ <p>Gets the interval between entry&#39;s start
3334
+ date and @done date</p>
3335
+
3336
+
3337
+ </div>
3338
+ </div>
3339
+ <div class="tags">
3340
+ <p class="tag_title">Parameters:</p>
3341
+ <ul class="param">
3342
+
3343
+ <li>
3344
+
3345
+ <span class='name'>item</span>
3346
+
3347
+
3348
+ <span class='type'>(<tt><span class='object_link'><a href="Item.html" title="Doing::Item (class)">Item</a></span></tt>)</span>
3349
+
3350
+
3351
+
3352
+ &mdash;
3353
+ <div class='inline'><p>The entry</p>
3354
+ </div>
3355
+
3356
+ </li>
3357
+
3358
+ <li>
3359
+
3360
+ <span class='name'>formatted</span>
3361
+
3362
+
3363
+ <span class='type'>(<tt>Boolean</tt>)</span>
3364
+
3365
+
3366
+ <em class="default">(defaults to: <tt>true</tt>)</em>
3367
+
3368
+
3369
+ &mdash;
3370
+ <div class='inline'><p>Return human readable
3371
+ time (default seconds)</p>
3372
+ </div>
3373
+
3374
+ </li>
3375
+
3376
+ <li>
3377
+
3378
+ <span class='name'>record</span>
3379
+
3380
+
3381
+ <span class='type'>(<tt>Boolean</tt>)</span>
3382
+
3383
+
3384
+ <em class="default">(defaults to: <tt>true</tt>)</em>
3385
+
3386
+
3387
+ &mdash;
3388
+ <div class='inline'><p>Add the interval to the
3389
+ total for each tag</p>
3390
+ </div>
3391
+
3392
+ </li>
3393
+
3394
+ </ul>
3395
+
3396
+ <p class="tag_title">Returns:</p>
3397
+ <ul class="return">
3398
+
3399
+ <li>
3400
+
3401
+
3402
+ <span class='type'></span>
3403
+
3404
+
3405
+
3406
+
3407
+ <div class='inline'><p>Interval in seconds, or [d, h, m] array if
3408
+ formatted is true. False if no end date or
3409
+ interval is 0</p>
3410
+ </div>
3411
+
3412
+ </li>
3413
+
3414
+ </ul>
3415
+
3416
+ </div>
3417
+ </div>
3418
+
3419
+ <div class="method_details ">
3420
+ <h3 class="signature " id="get_view-instance_method">
3421
+
3422
+ #<strong>get_view</strong>(title) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3423
+
3424
+
3425
+
3426
+
3427
+
3428
+ </h3><div class="docstring">
3429
+ <div class="discussion">
3430
+ <p>Gets a view from configuration</p>
3431
+
3432
+
3433
+ </div>
3434
+ </div>
3435
+ <div class="tags">
3436
+ <p class="tag_title">Parameters:</p>
3437
+ <ul class="param">
3438
+
3439
+ <li>
3440
+
3441
+ <span class='name'>title</span>
3442
+
3443
+
3444
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3445
+
3446
+
3447
+
3448
+ &mdash;
3449
+ <div class='inline'><p>The title of the view to retrieve</p>
3450
+ </div>
3451
+
3452
+ </li>
3453
+
3454
+ </ul>
3455
+
3456
+
3457
+ </div>
3458
+ </div>
3459
+
3460
+ <div class="method_details ">
3461
+ <h3 class="signature " id="guess_section-instance_method">
3462
+
3463
+ #<strong>guess_section</strong>(frag, guessed: false, suggest: false) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3464
+
3465
+
3466
+
3467
+
3468
+
3469
+ </h3><div class="docstring">
3470
+ <div class="discussion">
3471
+ <p>Attempt to match a string with an existing section</p>
3472
+
3473
+
3474
+ </div>
3475
+ </div>
3476
+ <div class="tags">
3477
+ <p class="tag_title">Parameters:</p>
3478
+ <ul class="param">
3479
+
3480
+ <li>
3481
+
3482
+ <span class='name'>frag</span>
3483
+
3484
+
3485
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3486
+
3487
+
3488
+
3489
+ &mdash;
3490
+ <div class='inline'><p>The user-provided string</p>
3491
+ </div>
3492
+
3493
+ </li>
3494
+
3495
+ <li>
3496
+
3497
+ <span class='name'>guessed</span>
3498
+
3499
+
3500
+ <span class='type'>(<tt>Boolean</tt>)</span>
3501
+
3502
+
3503
+ <em class="default">(defaults to: <tt>false</tt>)</em>
3504
+
3505
+
3506
+ &mdash;
3507
+ <div class='inline'><p>already guessed and failed</p>
3508
+ </div>
3509
+
3510
+ </li>
3511
+
3512
+ </ul>
3513
+
3514
+
3515
+ </div>
3516
+ </div>
3517
+
3518
+ <div class="method_details ">
3519
+ <h3 class="signature " id="guess_view-instance_method">
3520
+
3521
+ #<strong>guess_view</strong>(frag, guessed: false, suggest: false) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3522
+
3523
+
3524
+
3525
+
3526
+
3527
+ </h3><div class="docstring">
3528
+ <div class="discussion">
3529
+ <p>Attempt to match a string with an existing view</p>
3530
+
3531
+
3532
+ </div>
3533
+ </div>
3534
+ <div class="tags">
3535
+ <p class="tag_title">Parameters:</p>
3536
+ <ul class="param">
3537
+
3538
+ <li>
3539
+
3540
+ <span class='name'>frag</span>
3541
+
3542
+
3543
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3544
+
3545
+
3546
+
3547
+ &mdash;
3548
+ <div class='inline'><p>The user-provided string</p>
3549
+ </div>
3550
+
3551
+ </li>
3552
+
3553
+ <li>
3554
+
3555
+ <span class='name'>guessed</span>
3556
+
3557
+
3558
+ <span class='type'>(<tt>Boolean</tt>)</span>
3559
+
3560
+
3561
+ <em class="default">(defaults to: <tt>false</tt>)</em>
3562
+
3563
+
3564
+ &mdash;
3565
+ <div class='inline'><p>already guessed</p>
3566
+ </div>
3567
+
3568
+ </li>
3569
+
3570
+ </ul>
3571
+
3572
+
3573
+ </div>
3574
+ </div>
3575
+
3576
+ <div class="method_details ">
3577
+ <h3 class="signature " id="import-instance_method">
3578
+
3579
+ #<strong>import</strong>(paths, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3580
+
3581
+
3582
+
3583
+
3584
+
3585
+ </h3><div class="docstring">
3586
+ <div class="discussion">
3587
+ <p>Imports external entries</p>
3588
+
3589
+
3590
+ </div>
3591
+ </div>
3592
+ <div class="tags">
3593
+ <p class="tag_title">Parameters:</p>
3594
+ <ul class="param">
3595
+
3596
+ <li>
3597
+
3598
+ <span class='name'>paths</span>
3599
+
3600
+
3601
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3602
+
3603
+
3604
+
3605
+ &mdash;
3606
+ <div class='inline'><p>Path to JSON report file</p>
3607
+ </div>
3608
+
3609
+ </li>
3610
+
3611
+ <li>
3612
+
3613
+ <span class='name'>opt</span>
3614
+
3615
+
3616
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
3617
+
3618
+
3619
+
3620
+ &mdash;
3621
+ <div class='inline'><p>Additional Options</p>
3622
+ </div>
3623
+
3624
+ </li>
3625
+
3626
+ </ul>
3627
+
3628
+
3629
+ </div>
3630
+ </div>
3631
+
3632
+ <div class="method_details ">
3633
+ <h3 class="signature " id="init_doing_file-instance_method">
3634
+
3635
+ #<strong>init_doing_file</strong>(path = nil) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3636
+
3637
+
3638
+
3639
+
3640
+
3641
+ </h3><div class="docstring">
3642
+ <div class="discussion">
3643
+ <p>Initializes the doing file.</p>
3644
+
3645
+
3646
+ </div>
3647
+ </div>
3648
+ <div class="tags">
3649
+ <p class="tag_title">Parameters:</p>
3650
+ <ul class="param">
3651
+
3652
+ <li>
3653
+
3654
+ <span class='name'>path</span>
3655
+
3656
+
3657
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3658
+
3659
+
3660
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
3661
+
3662
+
3663
+ &mdash;
3664
+ <div class='inline'><p>Override path to a doing file, optional</p>
3665
+ </div>
3666
+
3667
+ </li>
3668
+
3669
+ </ul>
3670
+
3671
+
3672
+ </div>
3673
+ </div>
3674
+
3675
+ <div class="method_details ">
3676
+ <h3 class="signature " id="interactive-instance_method">
3677
+
3678
+ #<strong>interactive</strong>(opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3679
+
3680
+
3681
+
3682
+
3683
+
3684
+ </h3><div class="docstring">
3685
+ <div class="discussion">
3686
+ <p>Display an interactive menu of entries</p>
3687
+
3688
+ <p>Options hash is shared with #filter_items and #act_on</p>
3689
+
3690
+
3691
+ </div>
3692
+ </div>
3693
+ <div class="tags">
3694
+ <p class="tag_title">Parameters:</p>
3695
+ <ul class="param">
3696
+
3697
+ <li>
3698
+
3699
+ <span class='name'>opt</span>
3700
+
3701
+
3702
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
3703
+
3704
+
3705
+
3706
+ &mdash;
3707
+ <div class='inline'><p>Additional options</p>
3708
+ </div>
3709
+
3710
+ </li>
3711
+
3712
+ </ul>
3713
+
3714
+ <p class="tag_title">Raises:</p>
3715
+ <ul class="raise">
3716
+
3717
+ <li>
3718
+
3719
+
3720
+ <span class='type'>(<tt>NoResults</tt>)</span>
3721
+
3722
+
3723
+
3724
+ </li>
3725
+
3726
+ </ul>
3727
+
3728
+ </div>
3729
+ </div>
3730
+
3731
+ <div class="method_details ">
3732
+ <h3 class="signature " id="last-instance_method">
3733
+
3734
+ #<strong>last</strong>(times: true, section: nil, options: {}) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3735
+
3736
+
3737
+
3738
+
3739
+
3740
+ </h3><div class="docstring">
3741
+ <div class="discussion">
3742
+ <p>Show the last entry</p>
3743
+
3744
+
3745
+ </div>
3746
+ </div>
3747
+ <div class="tags">
3748
+ <p class="tag_title">Parameters:</p>
3749
+ <ul class="param">
3750
+
3751
+ <li>
3752
+
3753
+ <span class='name'>times</span>
3754
+
3755
+
3756
+ <span class='type'>(<tt>Bool</tt>)</span>
3757
+
3758
+
3759
+ <em class="default">(defaults to: <tt>true</tt>)</em>
3760
+
3761
+
3762
+ &mdash;
3763
+ <div class='inline'><p>Show times</p>
3764
+ </div>
3765
+
3766
+ </li>
3767
+
3768
+ <li>
3769
+
3770
+ <span class='name'>section</span>
3771
+
3772
+
3773
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3774
+
3775
+
3776
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
3777
+
3778
+
3779
+ &mdash;
3780
+ <div class='inline'><p>Section to pull from, default Currently</p>
3781
+ </div>
3782
+
3783
+ </li>
3784
+
3785
+ </ul>
3786
+
3787
+
3788
+ </div>
3789
+ </div>
3790
+
3791
+ <div class="method_details ">
3792
+ <h3 class="signature " id="last_entry-instance_method">
3793
+
3794
+ #<strong>last_entry</strong>(opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3795
+
3796
+
3797
+
3798
+
3799
+
3800
+ </h3><div class="docstring">
3801
+ <div class="discussion">
3802
+ <p>Get the last entry</p>
3803
+
3804
+
3805
+ </div>
3806
+ </div>
3807
+ <div class="tags">
3808
+ <p class="tag_title">Parameters:</p>
3809
+ <ul class="param">
3810
+
3811
+ <li>
3812
+
3813
+ <span class='name'>opt</span>
3814
+
3815
+
3816
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
3817
+
3818
+
3819
+
3820
+ &mdash;
3821
+ <div class='inline'><p>Additional Options</p>
3822
+ </div>
3823
+
3824
+ </li>
3825
+
3826
+ </ul>
3827
+
3828
+
3829
+ </div>
3830
+ </div>
3831
+
3832
+ <div class="method_details ">
3833
+ <h3 class="signature " id="last_note-instance_method">
3834
+
3835
+ #<strong>last_note</strong>(section = &#39;All&#39;) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3836
+
3837
+
3838
+
3839
+
3840
+
3841
+ </h3><div class="docstring">
3842
+ <div class="discussion">
3843
+ <p>Return the content of the last note for a given section</p>
3844
+
3845
+
3846
+ </div>
3847
+ </div>
3848
+ <div class="tags">
3849
+ <p class="tag_title">Parameters:</p>
3850
+ <ul class="param">
3851
+
3852
+ <li>
3853
+
3854
+ <span class='name'>section</span>
3855
+
3856
+
3857
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3858
+
3859
+
3860
+ <em class="default">(defaults to: <tt>&#39;All&#39;</tt>)</em>
3861
+
3862
+
3863
+ &mdash;
3864
+ <div class='inline'><p>The section to retrieve from, default
3865
+ All</p>
3866
+ </div>
3867
+
3868
+ </li>
3869
+
3870
+ </ul>
3871
+
3872
+ <p class="tag_title">Raises:</p>
3873
+ <ul class="raise">
3874
+
3875
+ <li>
3876
+
3877
+
3878
+ <span class='type'>(<tt>NoEntryError</tt>)</span>
3879
+
3880
+
3881
+
3882
+ </li>
3883
+
3884
+ </ul>
3885
+
3886
+ </div>
3887
+ </div>
3888
+
3889
+ <div class="method_details ">
3890
+ <h3 class="signature " id="list_date-instance_method">
3891
+
3892
+ #<strong>list_date</strong>(dates, section, times = nil, output = nil, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3893
+
3894
+
3895
+
3896
+
3897
+
3898
+ </h3><div class="docstring">
3899
+ <div class="discussion">
3900
+ <p>Display entries within a date range</p>
3901
+
3902
+
3903
+ </div>
3904
+ </div>
3905
+ <div class="tags">
3906
+ <p class="tag_title">Parameters:</p>
3907
+ <ul class="param">
3908
+
3909
+ <li>
3910
+
3911
+ <span class='name'>dates</span>
3912
+
3913
+
3914
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
3915
+
3916
+
3917
+
3918
+ &mdash;
3919
+ <div class='inline'><p>[start, end]</p>
3920
+ </div>
3921
+
3922
+ </li>
3923
+
3924
+ <li>
3925
+
3926
+ <span class='name'>section</span>
3927
+
3928
+
3929
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3930
+
3931
+
3932
+
3933
+ &mdash;
3934
+ <div class='inline'><p>The section</p>
3935
+ </div>
3936
+
3937
+ </li>
3938
+
3939
+ <li>
3940
+
3941
+ <span class='name'>times</span>
3942
+
3943
+
3944
+ <span class='type'>(<tt>Bool</tt>)</span>
3945
+
3946
+
3947
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
3948
+
3949
+
3950
+ &mdash;
3951
+ <div class='inline'><p>Show times</p>
3952
+ </div>
3953
+
3954
+ </li>
3955
+
3956
+ <li>
3957
+
3958
+ <span class='name'>output</span>
3959
+
3960
+
3961
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
3962
+
3963
+
3964
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
3965
+
3966
+
3967
+ &mdash;
3968
+ <div class='inline'><p>Output format</p>
3969
+ </div>
3970
+
3971
+ </li>
3972
+
3973
+ <li>
3974
+
3975
+ <span class='name'>opt</span>
3976
+
3977
+
3978
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
3979
+
3980
+
3981
+
3982
+ &mdash;
3983
+ <div class='inline'><p>Additional Options</p>
3984
+ </div>
3985
+
3986
+ </li>
3987
+
3988
+ </ul>
3989
+
3990
+
3991
+ </div>
3992
+ </div>
3993
+
3994
+ <div class="method_details ">
3995
+ <h3 class="signature " id="list_section-instance_method">
3996
+
3997
+ #<strong>list_section</strong>(opt, items: Items.new) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
3998
+
3999
+
4000
+
4001
+
4002
+
4003
+ </h3><div class="docstring">
4004
+ <div class="discussion">
4005
+ <p>Display contents of a section based on options</p>
4006
+
4007
+
4008
+ </div>
4009
+ </div>
4010
+ <div class="tags">
4011
+ <p class="tag_title">Parameters:</p>
4012
+ <ul class="param">
4013
+
4014
+ <li>
4015
+
4016
+ <span class='name'>opt</span>
4017
+
4018
+
4019
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4020
+
4021
+
4022
+
4023
+ &mdash;
4024
+ <div class='inline'><p>Additional Options</p>
4025
+ </div>
4026
+
4027
+ </li>
4028
+
4029
+ </ul>
4030
+
4031
+
4032
+ </div>
4033
+ </div>
4034
+
4035
+ <div class="method_details ">
4036
+ <h3 class="signature " id="logger-instance_method">
4037
+
4038
+ #<strong>logger</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4039
+
4040
+
4041
+
4042
+
4043
+
4044
+ </h3><div class="docstring">
4045
+ <div class="discussion">
4046
+ <p>Logger</p>
4047
+
4048
+ <p>Responds to :debug, :info, :warn, and :error</p>
4049
+
4050
+ <p>Each method takes a topic, and a message or block</p>
4051
+
4052
+ <p>Example: debug(&#39;Hooks&#39;, &#39;Hook 1 triggered&#39;)</p>
4053
+
4054
+
4055
+ </div>
4056
+ </div>
4057
+ <div class="tags">
4058
+
4059
+
4060
+ </div>
4061
+ </div>
4062
+
4063
+ <div class="method_details ">
4064
+ <h3 class="signature " id="recent-instance_method">
4065
+
4066
+ #<strong>recent</strong>(count = 10, section = nil, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4067
+
4068
+
4069
+
4070
+
4071
+
4072
+ </h3><div class="docstring">
4073
+ <div class="discussion">
4074
+ <p>Show recent entries</p>
4075
+
4076
+
4077
+ </div>
4078
+ </div>
4079
+ <div class="tags">
4080
+ <p class="tag_title">Parameters:</p>
4081
+ <ul class="param">
4082
+
4083
+ <li>
4084
+
4085
+ <span class='name'>count</span>
4086
+
4087
+
4088
+ <span class='type'>(<tt>Integer</tt>)</span>
4089
+
4090
+
4091
+ <em class="default">(defaults to: <tt>10</tt>)</em>
4092
+
4093
+
4094
+ &mdash;
4095
+ <div class='inline'><p>The number to show</p>
4096
+ </div>
4097
+
4098
+ </li>
4099
+
4100
+ <li>
4101
+
4102
+ <span class='name'>section</span>
4103
+
4104
+
4105
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4106
+
4107
+
4108
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
4109
+
4110
+
4111
+ &mdash;
4112
+ <div class='inline'><p>The section to show from, default Currently</p>
4113
+ </div>
4114
+
4115
+ </li>
4116
+
4117
+ <li>
4118
+
4119
+ <span class='name'>opt</span>
4120
+
4121
+
4122
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4123
+
4124
+
4125
+
4126
+ &mdash;
4127
+ <div class='inline'><p>Additional Options</p>
4128
+ </div>
4129
+
4130
+ </li>
4131
+
4132
+ </ul>
4133
+
4134
+
4135
+ </div>
4136
+ </div>
4137
+
4138
+ <div class="method_details ">
4139
+ <h3 class="signature " id="repeat_item-instance_method">
4140
+
4141
+ #<strong>repeat_item</strong>(item, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4142
+
4143
+
4144
+
4145
+
4146
+
4147
+ </h3><div class="docstring">
4148
+ <div class="discussion">
4149
+ <p>Duplicate an item and add it as a new item</p>
4150
+
4151
+
4152
+ </div>
4153
+ </div>
4154
+ <div class="tags">
4155
+ <p class="tag_title">Parameters:</p>
4156
+ <ul class="param">
4157
+
4158
+ <li>
4159
+
4160
+ <span class='name'>item</span>
4161
+
4162
+
4163
+ <span class='type'>(<tt><span class='object_link'><a href="Item.html" title="Doing::Item (class)">Item</a></span></tt>)</span>
4164
+
4165
+
4166
+
4167
+ &mdash;
4168
+ <div class='inline'><p>the item to duplicate</p>
4169
+ </div>
4170
+
4171
+ </li>
4172
+
4173
+ <li>
4174
+
4175
+ <span class='name'>opt</span>
4176
+
4177
+
4178
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4179
+
4180
+
4181
+
4182
+ &mdash;
4183
+ <div class='inline'><p>additional options</p>
4184
+ </div>
4185
+
4186
+ </li>
4187
+
4188
+ </ul>
4189
+
4190
+
4191
+
4192
+
4193
+
4194
+
4195
+ <p class="tag_title">Options Hash (<tt>opt</tt>):</p>
4196
+ <ul class="option">
4197
+
4198
+ <li>
4199
+ <span class="name">:editor</span>
4200
+ <span class="type">(<tt>Boolean</tt>)</span>
4201
+ <span class="default">
4202
+
4203
+ </span>
4204
+
4205
+ &mdash; <div class='inline'><p>open new item in editor</p>
4206
+ </div>
4207
+
4208
+ </li>
4209
+
4210
+ <li>
4211
+ <span class="name">:date</span>
4212
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4213
+ <span class="default">
4214
+
4215
+ </span>
4216
+
4217
+ &mdash; <div class='inline'><p>set start date</p>
4218
+ </div>
4219
+
4220
+ </li>
4221
+
4222
+ <li>
4223
+ <span class="name">:in</span>
4224
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4225
+ <span class="default">
4226
+
4227
+ </span>
4228
+
4229
+ &mdash; <div class='inline'><p>add new item to section :in</p>
4230
+ </div>
4231
+
4232
+ </li>
4233
+
4234
+ <li>
4235
+ <span class="name">:note</span>
4236
+ <span class="type">(<tt><span class='object_link'><a href="Note.html" title="Doing::Note (class)">Note</a></span></tt>)</span>
4237
+ <span class="default">
4238
+
4239
+ </span>
4240
+
4241
+ &mdash; <div class='inline'><p>add note to new item</p>
4242
+ </div>
4243
+
4244
+ </li>
4245
+
4246
+ </ul>
4247
+
4248
+
4249
+ <p class="tag_title">Returns:</p>
4250
+ <ul class="return">
4251
+
4252
+ <li>
4253
+
4254
+
4255
+ <span class='type'></span>
4256
+
4257
+
4258
+
4259
+
4260
+ <div class='inline'><p>nothing</p>
4261
+ </div>
4262
+
4263
+ </li>
4264
+
4265
+ </ul>
4266
+
4267
+ </div>
4268
+ </div>
4269
+
4270
+ <div class="method_details ">
4271
+ <h3 class="signature " id="repeat_last-instance_method">
4272
+
4273
+ #<strong>repeat_last</strong>(opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4274
+
4275
+
4276
+
4277
+
4278
+
4279
+ </h3><div class="docstring">
4280
+ <div class="discussion">
4281
+ <p>Restart the last entry</p>
4282
+
4283
+
4284
+ </div>
4285
+ </div>
4286
+ <div class="tags">
4287
+ <p class="tag_title">Parameters:</p>
4288
+ <ul class="param">
4289
+
4290
+ <li>
4291
+
4292
+ <span class='name'>opt</span>
4293
+
4294
+
4295
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4296
+
4297
+
4298
+
4299
+ &mdash;
4300
+ <div class='inline'><p>Additional Options</p>
4301
+ </div>
4302
+
4303
+ </li>
4304
+
4305
+ </ul>
4306
+
4307
+
4308
+ </div>
4309
+ </div>
4310
+
4311
+ <div class="method_details ">
4312
+ <h3 class="signature " id="reset_item-instance_method">
4313
+
4314
+ #<strong>reset_item</strong>(item, date: nil, finish_date: nil, resume: false) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4315
+
4316
+
4317
+
4318
+
4319
+
4320
+ </h3><div class="docstring">
4321
+ <div class="discussion">
4322
+ <p>Reset start date to current time, optionally remove
4323
+ done tag (resume)</p>
4324
+
4325
+
4326
+ </div>
4327
+ </div>
4328
+ <div class="tags">
4329
+ <p class="tag_title">Parameters:</p>
4330
+ <ul class="param">
4331
+
4332
+ <li>
4333
+
4334
+ <span class='name'>item</span>
4335
+
4336
+
4337
+ <span class='type'>(<tt><span class='object_link'><a href="Item.html" title="Doing::Item (class)">Item</a></span></tt>)</span>
4338
+
4339
+
4340
+
4341
+ &mdash;
4342
+ <div class='inline'><p>the item to reset/resume</p>
4343
+ </div>
4344
+
4345
+ </li>
4346
+
4347
+ <li>
4348
+
4349
+ <span class='name'>resume</span>
4350
+
4351
+
4352
+ <span class='type'>(<tt>Boolean</tt>)</span>
4353
+
4354
+
4355
+ <em class="default">(defaults to: <tt>false</tt>)</em>
4356
+
4357
+
4358
+ &mdash;
4359
+ <div class='inline'><p>removing @done tag if true</p>
4360
+ </div>
4361
+
4362
+ </li>
4363
+
4364
+ </ul>
4365
+
4366
+
4367
+ </div>
4368
+ </div>
4369
+
4370
+ <div class="method_details ">
4371
+ <h3 class="signature " id="rotate-instance_method">
4372
+
4373
+ #<strong>rotate</strong>(opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4374
+
4375
+
4376
+
4377
+
4378
+
4379
+ </h3><div class="docstring">
4380
+ <div class="discussion">
4381
+ <p>Rename doing file with date and start fresh one</p>
4382
+
4383
+
4384
+ </div>
4385
+ </div>
4386
+ <div class="tags">
4387
+
4388
+
4389
+ </div>
4390
+ </div>
4391
+
4392
+ <div class="method_details ">
4393
+ <h3 class="signature " id="sections-instance_method">
4394
+
4395
+ #<strong>sections</strong> &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
4396
+
4397
+
4398
+
4399
+
4400
+
4401
+ </h3><div class="docstring">
4402
+ <div class="discussion">
4403
+ <p>List sections</p>
4404
+
4405
+
4406
+ </div>
4407
+ </div>
4408
+ <div class="tags">
4409
+
4410
+ <p class="tag_title">Returns:</p>
4411
+ <ul class="return">
4412
+
4413
+ <li>
4414
+
4415
+
4416
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
4417
+
4418
+
4419
+
4420
+ &mdash;
4421
+ <div class='inline'><p>section titles</p>
4422
+ </div>
4423
+
4424
+ </li>
4425
+
4426
+ </ul>
4427
+
4428
+ </div>
4429
+ </div>
4430
+
4431
+ <div class="method_details ">
4432
+ <h3 class="signature " id="stop_start-instance_method">
4433
+
4434
+ #<strong>stop_start</strong>(target_tag, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4435
+
4436
+
4437
+
4438
+
4439
+
4440
+ </h3><div class="docstring">
4441
+ <div class="discussion">
4442
+ <p>Accepts one tag and the raw text of a new item if the
4443
+ passed tag is on any item, it&#39;s replaced with @done.
4444
+ if new_item is not nil, it&#39;s tagged with the passed
4445
+ tag and inserted. This is for use where only one
4446
+ instance of a given tag should exist (@meanwhile)</p>
4447
+
4448
+
4449
+ </div>
4450
+ </div>
4451
+ <div class="tags">
4452
+ <p class="tag_title">Parameters:</p>
4453
+ <ul class="param">
4454
+
4455
+ <li>
4456
+
4457
+ <span class='name'>target_tag</span>
4458
+
4459
+
4460
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4461
+
4462
+
4463
+
4464
+ &mdash;
4465
+ <div class='inline'><p>Tag to replace</p>
4466
+ </div>
4467
+
4468
+ </li>
4469
+
4470
+ <li>
4471
+
4472
+ <span class='name'>opt</span>
4473
+
4474
+
4475
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4476
+
4477
+
4478
+
4479
+ &mdash;
4480
+ <div class='inline'><p>Additional Options</p>
4481
+ </div>
4482
+
4483
+ </li>
4484
+
4485
+ </ul>
4486
+
4487
+
4488
+
4489
+
4490
+
4491
+
4492
+ <p class="tag_title">Options Hash (<tt>opt</tt>):</p>
4493
+ <ul class="option">
4494
+
4495
+ <li>
4496
+ <span class="name">:section</span>
4497
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4498
+ <span class="default">
4499
+
4500
+ </span>
4501
+
4502
+ &mdash; <div class='inline'><p>target section</p>
4503
+ </div>
4504
+
4505
+ </li>
4506
+
4507
+ <li>
4508
+ <span class="name">:archive</span>
4509
+ <span class="type">(<tt>Boolean</tt>)</span>
4510
+ <span class="default">
4511
+
4512
+ </span>
4513
+
4514
+ &mdash; <div class='inline'><p>archive old item</p>
4515
+ </div>
4516
+
4517
+ </li>
4518
+
4519
+ <li>
4520
+ <span class="name">:back</span>
4521
+ <span class="type">(<tt>Date</tt>)</span>
4522
+ <span class="default">
4523
+
4524
+ </span>
4525
+
4526
+ &mdash; <div class='inline'><p>backdate new item</p>
4527
+ </div>
4528
+
4529
+ </li>
4530
+
4531
+ <li>
4532
+ <span class="name">:new_item</span>
4533
+ <span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4534
+ <span class="default">
4535
+
4536
+ </span>
4537
+
4538
+ &mdash; <div class='inline'><p>content to use for new item</p>
4539
+ </div>
4540
+
4541
+ </li>
4542
+
4543
+ <li>
4544
+ <span class="name">:note</span>
4545
+ <span class="type">(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
4546
+ <span class="default">
4547
+
4548
+ </span>
4549
+
4550
+ &mdash; <div class='inline'><p>note content for new item</p>
4551
+ </div>
4552
+
4553
+ </li>
4554
+
4555
+ </ul>
4556
+
4557
+
4558
+
4559
+ </div>
4560
+ </div>
4561
+
4562
+ <div class="method_details ">
4563
+ <h3 class="signature " id="tag_groups-instance_method">
4564
+
4565
+ #<strong>tag_groups</strong>(items, opt: {}) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4566
+
4567
+
4568
+
4569
+
4570
+
4571
+ </h3>
4572
+ </div>
4573
+
4574
+ <div class="method_details ">
4575
+ <h3 class="signature " id="tag_last-instance_method">
4576
+
4577
+ #<strong>tag_last</strong>(opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4578
+
4579
+
4580
+
4581
+
4582
+
4583
+ </h3><div class="docstring">
4584
+ <div class="discussion">
4585
+ <p>Tag the last entry or X entries</p>
4586
+
4587
+
4588
+ </div>
4589
+ </div>
4590
+ <div class="tags">
4591
+ <p class="tag_title">Parameters:</p>
4592
+ <ul class="param">
4593
+
4594
+ <li>
4595
+
4596
+ <span class='name'>opt</span>
4597
+
4598
+
4599
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4600
+
4601
+
4602
+
4603
+ &mdash;
4604
+ <div class='inline'><p>Additional Options (see</p>
4605
+
4606
+ <h1 id="filter_items-for-filtering">filter_items for filtering</h1>
4607
+
4608
+ <p>options)</p>
4609
+ </div>
4610
+
4611
+ </li>
4612
+
4613
+ </ul>
4614
+
4615
+ <p class="tag_title">Raises:</p>
4616
+ <ul class="raise">
4617
+
4618
+ <li>
4619
+
4620
+
4621
+ <span class='type'>(<tt>NoResults</tt>)</span>
4622
+
4623
+
4624
+
4625
+ </li>
4626
+
4627
+ </ul>
4628
+
4629
+ <p class="tag_title">See Also:</p>
4630
+ <ul class="see">
4631
+
4632
+ <li><span class='object_link'><a href="#filter_items-instance_method" title="Doing::WWID#filter_items (method)">#filter_items</a></span></li>
4633
+
4634
+ </ul>
4635
+
4636
+ </div>
4637
+ </div>
4638
+
4639
+ <div class="method_details ">
4640
+ <h3 class="signature " id="tag_times-instance_method">
4641
+
4642
+ #<strong>tag_times</strong>(format: :text, sort_by: :time, sort_order: :asc) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4643
+
4644
+
737
4645
 
738
4646
 
739
4647
 
740
4648
  </h3><div class="docstring">
741
4649
  <div class="discussion">
742
- <p>Gets a view from configuration</p>
4650
+ <p>Get total elapsed time for all tags in
4651
+ selection</p>
743
4652
 
744
4653
 
745
4654
  </div>
@@ -750,15 +4659,52 @@
750
4659
 
751
4660
  <li>
752
4661
 
753
- <span class='name'>title</span>
4662
+ <span class='name'>format</span>
754
4663
 
755
4664
 
756
4665
  <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
757
4666
 
758
4667
 
4668
+ <em class="default">(defaults to: <tt>:text</tt>)</em>
4669
+
759
4670
 
760
4671
  &mdash;
761
- <div class='inline'><p>The title of the view to retrieve</p>
4672
+ <div class='inline'><p>return format (html,
4673
+ json, or text)</p>
4674
+ </div>
4675
+
4676
+ </li>
4677
+
4678
+ <li>
4679
+
4680
+ <span class='name'>sort_by</span>
4681
+
4682
+
4683
+ <span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
4684
+
4685
+
4686
+ <em class="default">(defaults to: <tt>:time</tt>)</em>
4687
+
4688
+
4689
+ &mdash;
4690
+ <div class='inline'><p>Sort by :name or :time</p>
4691
+ </div>
4692
+
4693
+ </li>
4694
+
4695
+ <li>
4696
+
4697
+ <span class='name'>sort_order</span>
4698
+
4699
+
4700
+ <span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
4701
+
4702
+
4703
+ <em class="default">(defaults to: <tt>:asc</tt>)</em>
4704
+
4705
+
4706
+ &mdash;
4707
+ <div class='inline'><p>The sort order (:asc or :desc)</p>
762
4708
  </div>
763
4709
 
764
4710
  </li>
@@ -770,9 +4716,9 @@
770
4716
  </div>
771
4717
 
772
4718
  <div class="method_details ">
773
- <h3 class="signature " id="logger-instance_method">
4719
+ <h3 class="signature " id="today-instance_method">
774
4720
 
775
- #<strong>logger</strong> &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4721
+ #<strong>today</strong>(times = true, output = nil, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
776
4722
 
777
4723
 
778
4724
 
@@ -780,27 +4726,74 @@
780
4726
 
781
4727
  </h3><div class="docstring">
782
4728
  <div class="discussion">
783
- <p>Logger</p>
784
-
785
- <p>Responds to :debug, :info, :warn, and :error</p>
786
-
787
- <p>Each method takes a topic, and a message or block</p>
788
-
789
- <p>Example: debug(&#39;Hooks&#39;, &#39;Hook 1 triggered&#39;)</p>
4729
+ <p>Show all entries from the current day</p>
790
4730
 
791
4731
 
792
4732
  </div>
793
4733
  </div>
794
4734
  <div class="tags">
4735
+ <p class="tag_title">Parameters:</p>
4736
+ <ul class="param">
795
4737
 
4738
+ <li>
4739
+
4740
+ <span class='name'>times</span>
4741
+
4742
+
4743
+ <span class='type'>(<tt>Boolean</tt>)</span>
4744
+
4745
+
4746
+ <em class="default">(defaults to: <tt>true</tt>)</em>
4747
+
4748
+
4749
+ &mdash;
4750
+ <div class='inline'><p>show times</p>
4751
+ </div>
4752
+
4753
+ </li>
4754
+
4755
+ <li>
4756
+
4757
+ <span class='name'>output</span>
4758
+
4759
+
4760
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4761
+
4762
+
4763
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
4764
+
4765
+
4766
+ &mdash;
4767
+ <div class='inline'><p>output format</p>
4768
+ </div>
4769
+
4770
+ </li>
4771
+
4772
+ <li>
4773
+
4774
+ <span class='name'>opt</span>
4775
+
4776
+
4777
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
4778
+
4779
+
4780
+
4781
+ &mdash;
4782
+ <div class='inline'><p>Options</p>
4783
+ </div>
4784
+
4785
+ </li>
4786
+
4787
+ </ul>
4788
+
796
4789
 
797
4790
  </div>
798
4791
  </div>
799
4792
 
800
4793
  <div class="method_details ">
801
- <h3 class="signature " id="sections-instance_method">
4794
+ <h3 class="signature " id="verify_duration-instance_method">
802
4795
 
803
- #<strong>sections</strong> &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
4796
+ #<strong>verify_duration</strong>(date, finish_date, title: nil) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
804
4797
 
805
4798
 
806
4799
 
@@ -808,31 +4801,65 @@
808
4801
 
809
4802
  </h3><div class="docstring">
810
4803
  <div class="discussion">
811
- <p>List sections</p>
4804
+ <p>Interactively verify an item modification if elapsed time is greater than configured threshold</p>
812
4805
 
813
4806
 
814
4807
  </div>
815
4808
  </div>
816
4809
  <div class="tags">
4810
+ <p class="tag_title">Parameters:</p>
4811
+ <ul class="param">
817
4812
 
818
- <p class="tag_title">Returns:</p>
819
- <ul class="return">
4813
+ <li>
4814
+
4815
+ <span class='name'>date</span>
4816
+
4817
+
4818
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4819
+
4820
+
4821
+
4822
+ &mdash;
4823
+ <div class='inline'><p>Item date</p>
4824
+ </div>
4825
+
4826
+ </li>
820
4827
 
821
4828
  <li>
822
4829
 
4830
+ <span class='name'>finish_date</span>
823
4831
 
824
- <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
4832
+
4833
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
825
4834
 
826
4835
 
827
4836
 
828
4837
  &mdash;
829
- <div class='inline'><p>section titles</p>
4838
+ <div class='inline'><p>The finish date</p>
4839
+ </div>
4840
+
4841
+ </li>
4842
+
4843
+ <li>
4844
+
4845
+ <span class='name'>title</span>
4846
+
4847
+
4848
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4849
+
4850
+
4851
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
4852
+
4853
+
4854
+ &mdash;
4855
+ <div class='inline'><p>The Item title</p>
830
4856
  </div>
831
4857
 
832
4858
  </li>
833
4859
 
834
4860
  </ul>
835
4861
 
4862
+
836
4863
  </div>
837
4864
  </div>
838
4865
 
@@ -872,6 +4899,139 @@
872
4899
 
873
4900
  </ul>
874
4901
 
4902
+ </div>
4903
+ </div>
4904
+
4905
+ <div class="method_details ">
4906
+ <h3 class="signature " id="write-instance_method">
4907
+
4908
+ #<strong>write</strong>(file = nil, backup: true) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4909
+
4910
+
4911
+
4912
+
4913
+
4914
+ </h3><div class="docstring">
4915
+ <div class="discussion">
4916
+ <p>Write content to file or STDOUT</p>
4917
+
4918
+
4919
+ </div>
4920
+ </div>
4921
+ <div class="tags">
4922
+ <p class="tag_title">Parameters:</p>
4923
+ <ul class="param">
4924
+
4925
+ <li>
4926
+
4927
+ <span class='name'>file</span>
4928
+
4929
+
4930
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4931
+
4932
+
4933
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
4934
+
4935
+
4936
+ &mdash;
4937
+ <div class='inline'><p>The filepath to write to</p>
4938
+ </div>
4939
+
4940
+ </li>
4941
+
4942
+ </ul>
4943
+
4944
+
4945
+ </div>
4946
+ </div>
4947
+
4948
+ <div class="method_details ">
4949
+ <h3 class="signature " id="yesterday-instance_method">
4950
+
4951
+ #<strong>yesterday</strong>(section, times = nil, output = nil, opt) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
4952
+
4953
+
4954
+
4955
+
4956
+
4957
+ </h3><div class="docstring">
4958
+ <div class="discussion">
4959
+ <p>Show entries from the previous day</p>
4960
+
4961
+
4962
+ </div>
4963
+ </div>
4964
+ <div class="tags">
4965
+ <p class="tag_title">Parameters:</p>
4966
+ <ul class="param">
4967
+
4968
+ <li>
4969
+
4970
+ <span class='name'>section</span>
4971
+
4972
+
4973
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
4974
+
4975
+
4976
+
4977
+ &mdash;
4978
+ <div class='inline'><p>The section</p>
4979
+ </div>
4980
+
4981
+ </li>
4982
+
4983
+ <li>
4984
+
4985
+ <span class='name'>times</span>
4986
+
4987
+
4988
+ <span class='type'>(<tt>Bool</tt>)</span>
4989
+
4990
+
4991
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
4992
+
4993
+
4994
+ &mdash;
4995
+ <div class='inline'><p>Show times</p>
4996
+ </div>
4997
+
4998
+ </li>
4999
+
5000
+ <li>
5001
+
5002
+ <span class='name'>output</span>
5003
+
5004
+
5005
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
5006
+
5007
+
5008
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
5009
+
5010
+
5011
+ &mdash;
5012
+ <div class='inline'><p>Output format</p>
5013
+ </div>
5014
+
5015
+ </li>
5016
+
5017
+ <li>
5018
+
5019
+ <span class='name'>opt</span>
5020
+
5021
+
5022
+ <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
5023
+
5024
+
5025
+
5026
+ &mdash;
5027
+ <div class='inline'><p>Additional Options</p>
5028
+ </div>
5029
+
5030
+ </li>
5031
+
5032
+ </ul>
5033
+
5034
+
875
5035
  </div>
876
5036
  </div>
877
5037
 
@@ -880,7 +5040,7 @@
880
5040
  </div>
881
5041
 
882
5042
  <div id="footer">
883
- Generated on Tue Mar 15 11:14:29 2022 by
5043
+ Generated on Wed Mar 16 09:42:15 2022 by
884
5044
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
885
5045
  0.9.27 (ruby-3.0.1).
886
5046
  </div>