doing 2.1.39 → 2.1.40

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