doing 2.1.13 → 2.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.irbrc +1 -0
- data/.yardoc/checksums +14 -12
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +76 -0
- data/Gemfile.lock +9 -2
- data/README.md +56 -19
- data/bin/doing +218 -68
- data/docs/doc/Array.html +117 -3
- data/docs/doc/BooleanTermParser/Clause.html +1 -1
- data/docs/doc/BooleanTermParser/Operator.html +1 -1
- data/docs/doc/BooleanTermParser/Query.html +1 -1
- data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
- data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/Color.html +6 -2
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +8 -4
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
- data/docs/doc/Doing/Errors/NoResults.html +1 -1
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
- data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +340 -14
- data/docs/doc/Doing/Items.html +2 -2
- data/docs/doc/Doing/LogAdapter.html +1 -1
- data/docs/doc/Doing/Note.html +2 -2
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +1 -1
- data/docs/doc/Doing/Prompt.html +103 -1
- data/docs/doc/Doing/Section.html +1 -1
- data/docs/doc/Doing/TemplateString.html +2 -2
- data/docs/doc/Doing/Util/Backup.html +1 -1
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/WWID.html +77 -71
- data/docs/doc/Doing.html +3 -3
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +1 -1
- data/docs/doc/Numeric.html +279 -0
- data/docs/doc/PhraseParser/Operator.html +1 -1
- data/docs/doc/PhraseParser/PhraseClause.html +1 -1
- data/docs/doc/PhraseParser/Query.html +1 -1
- data/docs/doc/PhraseParser/QueryParser.html +1 -1
- data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
- data/docs/doc/PhraseParser/TermClause.html +1 -1
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +1 -1
- data/docs/doc/String.html +997 -118
- data/docs/doc/Symbol.html +1 -1
- data/docs/doc/Time.html +1 -1
- data/docs/doc/_index.html +14 -9
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +41 -15
- data/docs/doc/index.html +41 -15
- data/docs/doc/method_list.html +449 -305
- data/docs/doc/top-level-namespace.html +2 -2
- data/docs/index.md +56 -19
- data/doing.gemspec +2 -0
- data/doing.rdoc +76 -9
- data/example_plugin.rb +2 -4
- data/lib/completion/_doing.zsh +17 -17
- data/lib/completion/doing.bash +25 -25
- data/lib/completion/doing.fish +18 -6
- data/lib/doing/array_chronify.rb +57 -0
- data/lib/doing/colors.rb +4 -0
- data/lib/doing/configuration.rb +6 -2
- data/lib/doing/item.rb +108 -0
- data/lib/doing/log_adapter.rb +3 -3
- data/lib/doing/numeric_chronify.rb +40 -0
- data/lib/doing/plugins/export/dayone_export.rb +1 -1
- data/lib/doing/plugins/export/json_export.rb +2 -2
- data/lib/doing/plugins/export/template_export.rb +49 -90
- data/lib/doing/plugins/import/calendar_import.rb +13 -1
- data/lib/doing/plugins/import/doing_import.rb +12 -1
- data/lib/doing/plugins/import/timing_import.rb +13 -1
- data/lib/doing/prompt.rb +65 -1
- data/lib/doing/string.rb +137 -33
- data/lib/doing/string_chronify.rb +112 -14
- data/lib/doing/template_string.rb +1 -1
- data/lib/doing/time.rb +6 -6
- data/lib/doing/util_backup.rb +1 -1
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +117 -106
- data/lib/doing.rb +36 -31
- data/lib/examples/plugins/say_export.rb +1 -4
- metadata +46 -2
data/docs/doc/Doing/Item.html
CHANGED
@@ -87,6 +87,11 @@
|
|
87
87
|
|
88
88
|
|
89
89
|
|
90
|
+
<dl>
|
91
|
+
<dt>Includes:</dt>
|
92
|
+
<dd><span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></dd>
|
93
|
+
</dl>
|
94
|
+
|
90
95
|
|
91
96
|
|
92
97
|
|
@@ -112,6 +117,12 @@
|
|
112
117
|
</div>
|
113
118
|
|
114
119
|
|
120
|
+
<h2>Constant Summary</h2>
|
121
|
+
|
122
|
+
<h3 class="inherited">Constants included
|
123
|
+
from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
|
124
|
+
<p class="inherited"><span class='object_link'><a href="Color.html#ATTRIBUTES-constant" title="Doing::Color::ATTRIBUTES (constant)">Color::ATTRIBUTES</a></span>, <span class='object_link'><a href="Color.html#ATTRIBUTE_NAMES-constant" title="Doing::Color::ATTRIBUTE_NAMES (constant)">Color::ATTRIBUTE_NAMES</a></span>, <span class='object_link'><a href="Color.html#COLORED_REGEXP-constant" title="Doing::Color::COLORED_REGEXP (constant)">Color::COLORED_REGEXP</a></span></p>
|
125
|
+
|
115
126
|
|
116
127
|
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
117
128
|
<ul class="summary">
|
@@ -236,6 +247,28 @@
|
|
236
247
|
<li class="public ">
|
237
248
|
<span class="summary_signature">
|
238
249
|
|
250
|
+
<a href="#calculate_end_date-instance_method" title="#calculate_end_date (instance method)">#<strong>calculate_end_date</strong>(opt) ⇒ Object </a>
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
</span>
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
265
|
+
|
266
|
+
</li>
|
267
|
+
|
268
|
+
|
269
|
+
<li class="public ">
|
270
|
+
<span class="summary_signature">
|
271
|
+
|
239
272
|
<a href="#duration-instance_method" title="#duration (instance method)">#<strong>duration</strong> ⇒ Object </a>
|
240
273
|
|
241
274
|
|
@@ -299,6 +332,51 @@
|
|
299
332
|
<span class="summary_desc"><div class='inline'><p>Test for equality between items.</p>
|
300
333
|
</div></span>
|
301
334
|
|
335
|
+
</li>
|
336
|
+
|
337
|
+
|
338
|
+
<li class="public ">
|
339
|
+
<span class="summary_signature">
|
340
|
+
|
341
|
+
<a href="#expand_date_tags-instance_method" title="#expand_date_tags (instance method)">#<strong>expand_date_tags</strong>(additional_tags = nil) ⇒ Object </a>
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
</span>
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
<span class="summary_desc"><div class='inline'><p>Updates the title of the Item by expanding natural language dates within configured date tags (tags whose value is expected to be a date).</p>
|
356
|
+
</div></span>
|
357
|
+
|
358
|
+
</li>
|
359
|
+
|
360
|
+
|
361
|
+
<li class="public ">
|
362
|
+
<span class="summary_signature">
|
363
|
+
|
364
|
+
<a href="#highlight_search-instance_method" title="#highlight_search (instance method)">#<strong>highlight_search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ Object </a>
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
</span>
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
379
|
+
|
302
380
|
</li>
|
303
381
|
|
304
382
|
|
@@ -328,7 +406,7 @@
|
|
328
406
|
<li class="public ">
|
329
407
|
<span class="summary_signature">
|
330
408
|
|
331
|
-
<a href="#ignore_case-instance_method" title="#ignore_case (instance method)">#<strong>ignore_case</strong>(search, case_type) ⇒
|
409
|
+
<a href="#ignore_case-instance_method" title="#ignore_case (instance method)">#<strong>ignore_case</strong>(search, case_type) ⇒ Boolean </a>
|
332
410
|
|
333
411
|
|
334
412
|
|
@@ -342,7 +420,8 @@
|
|
342
420
|
|
343
421
|
|
344
422
|
|
345
|
-
<span class="summary_desc"><div class='inline'
|
423
|
+
<span class="summary_desc"><div class='inline'><p>Determine if case should be ignored for searches.</p>
|
424
|
+
</div></span>
|
346
425
|
|
347
426
|
</li>
|
348
427
|
|
@@ -504,7 +583,8 @@
|
|
504
583
|
|
505
584
|
|
506
585
|
|
507
|
-
<span class="summary_desc"><div class='inline'
|
586
|
+
<span class="summary_desc"><div class='inline'><p>Test if item is included in never_finish config and thus should not receive a @done tag.</p>
|
587
|
+
</div></span>
|
508
588
|
|
509
589
|
</li>
|
510
590
|
|
@@ -526,7 +606,8 @@
|
|
526
606
|
|
527
607
|
|
528
608
|
|
529
|
-
<span class="summary_desc"><div class='inline'
|
609
|
+
<span class="summary_desc"><div class='inline'><p>Test if item is included in never_time config and thus should not receive a date on the @done tag.</p>
|
610
|
+
</div></span>
|
530
611
|
|
531
612
|
</li>
|
532
613
|
|
@@ -557,7 +638,7 @@
|
|
557
638
|
<li class="public ">
|
558
639
|
<span class="summary_signature">
|
559
640
|
|
560
|
-
<a href="#tag_array-instance_method" title="#tag_array (instance method)">#<strong>tag_array</strong> ⇒
|
641
|
+
<a href="#tag_array-instance_method" title="#tag_array (instance method)">#<strong>tag_array</strong> ⇒ Array </a>
|
561
642
|
|
562
643
|
|
563
644
|
|
@@ -571,7 +652,8 @@
|
|
571
652
|
|
572
653
|
|
573
654
|
|
574
|
-
<span class="summary_desc"><div class='inline'
|
655
|
+
<span class="summary_desc"><div class='inline'><p>convert tags on item to an array with @ symbols removed.</p>
|
656
|
+
</div></span>
|
575
657
|
|
576
658
|
</li>
|
577
659
|
|
@@ -642,6 +724,29 @@
|
|
642
724
|
<span class="summary_desc"><div class='inline'><p>Test if item contains tag(s).</p>
|
643
725
|
</div></span>
|
644
726
|
|
727
|
+
</li>
|
728
|
+
|
729
|
+
|
730
|
+
<li class="public ">
|
731
|
+
<span class="summary_signature">
|
732
|
+
|
733
|
+
<a href="#to_pretty-instance_method" title="#to_pretty (instance method)">#<strong>to_pretty</strong>(elements: %i[date title section]) ⇒ Object </a>
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
</span>
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
<span class="summary_desc"><div class='inline'><p>outputs a colored string with relative date and highlighted tags.</p>
|
748
|
+
</div></span>
|
749
|
+
|
645
750
|
</li>
|
646
751
|
|
647
752
|
|
@@ -671,6 +776,17 @@
|
|
671
776
|
</ul>
|
672
777
|
|
673
778
|
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
|
789
|
+
<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>
|
674
790
|
<div id="constructor_details" class="method_details_list">
|
675
791
|
<h2>Constructor Details</h2>
|
676
792
|
|
@@ -874,7 +990,19 @@ the item belongs</p>
|
|
874
990
|
|
875
991
|
|
876
992
|
<div class="method_details first">
|
877
|
-
<h3 class="signature first" id="
|
993
|
+
<h3 class="signature first" id="calculate_end_date-instance_method">
|
994
|
+
|
995
|
+
#<strong>calculate_end_date</strong>(opt) ⇒ <tt>Object</tt>
|
996
|
+
|
997
|
+
|
998
|
+
|
999
|
+
|
1000
|
+
|
1001
|
+
</h3>
|
1002
|
+
</div>
|
1003
|
+
|
1004
|
+
<div class="method_details ">
|
1005
|
+
<h3 class="signature " id="duration-instance_method">
|
878
1006
|
|
879
1007
|
#<strong>duration</strong> ⇒ <tt>Object</tt>
|
880
1008
|
|
@@ -990,6 +1118,65 @@ the item belongs</p>
|
|
990
1118
|
</ul>
|
991
1119
|
|
992
1120
|
</div>
|
1121
|
+
</div>
|
1122
|
+
|
1123
|
+
<div class="method_details ">
|
1124
|
+
<h3 class="signature " id="expand_date_tags-instance_method">
|
1125
|
+
|
1126
|
+
#<strong>expand_date_tags</strong>(additional_tags = nil) ⇒ <tt>Object</tt>
|
1127
|
+
|
1128
|
+
|
1129
|
+
|
1130
|
+
|
1131
|
+
|
1132
|
+
</h3><div class="docstring">
|
1133
|
+
<div class="discussion">
|
1134
|
+
<p>Updates the title of the Item by expanding natural
|
1135
|
+
language dates within configured date tags (tags
|
1136
|
+
whose value is expected to be a date)</p>
|
1137
|
+
|
1138
|
+
|
1139
|
+
</div>
|
1140
|
+
</div>
|
1141
|
+
<div class="tags">
|
1142
|
+
<p class="tag_title">Parameters:</p>
|
1143
|
+
<ul class="param">
|
1144
|
+
|
1145
|
+
<li>
|
1146
|
+
|
1147
|
+
<span class='name'>additional_tags</span>
|
1148
|
+
|
1149
|
+
|
1150
|
+
<span class='type'></span>
|
1151
|
+
|
1152
|
+
|
1153
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1154
|
+
|
1155
|
+
|
1156
|
+
—
|
1157
|
+
<div class='inline'><p>An array of additional
|
1158
|
+
tag names to consider
|
1159
|
+
dates</p>
|
1160
|
+
</div>
|
1161
|
+
|
1162
|
+
</li>
|
1163
|
+
|
1164
|
+
</ul>
|
1165
|
+
|
1166
|
+
|
1167
|
+
</div>
|
1168
|
+
</div>
|
1169
|
+
|
1170
|
+
<div class="method_details ">
|
1171
|
+
<h3 class="signature " id="highlight_search-instance_method">
|
1172
|
+
|
1173
|
+
#<strong>highlight_search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt>Object</tt>
|
1174
|
+
|
1175
|
+
|
1176
|
+
|
1177
|
+
|
1178
|
+
|
1179
|
+
</h3>
|
993
1180
|
</div>
|
994
1181
|
|
995
1182
|
<div class="method_details ">
|
@@ -1034,13 +1221,74 @@ the item belongs</p>
|
|
1034
1221
|
<div class="method_details ">
|
1035
1222
|
<h3 class="signature " id="ignore_case-instance_method">
|
1036
1223
|
|
1037
|
-
#<strong>ignore_case</strong>(search, case_type) ⇒ <tt>
|
1224
|
+
#<strong>ignore_case</strong>(search, case_type) ⇒ <tt>Boolean</tt>
|
1038
1225
|
|
1039
1226
|
|
1040
1227
|
|
1041
1228
|
|
1042
1229
|
|
1043
|
-
</h3>
|
1230
|
+
</h3><div class="docstring">
|
1231
|
+
<div class="discussion">
|
1232
|
+
<p>Determine if case should be ignored for searches</p>
|
1233
|
+
|
1234
|
+
|
1235
|
+
</div>
|
1236
|
+
</div>
|
1237
|
+
<div class="tags">
|
1238
|
+
<p class="tag_title">Parameters:</p>
|
1239
|
+
<ul class="param">
|
1240
|
+
|
1241
|
+
<li>
|
1242
|
+
|
1243
|
+
<span class='name'>search</span>
|
1244
|
+
|
1245
|
+
|
1246
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
1247
|
+
|
1248
|
+
|
1249
|
+
|
1250
|
+
—
|
1251
|
+
<div class='inline'><p>The search string</p>
|
1252
|
+
</div>
|
1253
|
+
|
1254
|
+
</li>
|
1255
|
+
|
1256
|
+
<li>
|
1257
|
+
|
1258
|
+
<span class='name'>case_type</span>
|
1259
|
+
|
1260
|
+
|
1261
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
1262
|
+
|
1263
|
+
|
1264
|
+
|
1265
|
+
—
|
1266
|
+
<div class='inline'><p>The case type</p>
|
1267
|
+
</div>
|
1268
|
+
|
1269
|
+
</li>
|
1270
|
+
|
1271
|
+
</ul>
|
1272
|
+
|
1273
|
+
<p class="tag_title">Returns:</p>
|
1274
|
+
<ul class="return">
|
1275
|
+
|
1276
|
+
<li>
|
1277
|
+
|
1278
|
+
|
1279
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1280
|
+
|
1281
|
+
|
1282
|
+
|
1283
|
+
—
|
1284
|
+
<div class='inline'><p>case should be ignored</p>
|
1285
|
+
</div>
|
1286
|
+
|
1287
|
+
</li>
|
1288
|
+
|
1289
|
+
</ul>
|
1290
|
+
|
1291
|
+
</div>
|
1044
1292
|
</div>
|
1045
1293
|
|
1046
1294
|
<div class="method_details ">
|
@@ -1399,7 +1647,9 @@ type (:sensitive,
|
|
1399
1647
|
|
1400
1648
|
</h3><div class="docstring">
|
1401
1649
|
<div class="discussion">
|
1402
|
-
|
1650
|
+
<p>Test if item is included in never_finish config and
|
1651
|
+
thus should not receive a @done tag</p>
|
1652
|
+
|
1403
1653
|
|
1404
1654
|
</div>
|
1405
1655
|
</div>
|
@@ -1415,6 +1665,10 @@ type (:sensitive,
|
|
1415
1665
|
|
1416
1666
|
|
1417
1667
|
|
1668
|
+
—
|
1669
|
+
<div class='inline'><p>item should receive @done tag</p>
|
1670
|
+
</div>
|
1671
|
+
|
1418
1672
|
</li>
|
1419
1673
|
|
1420
1674
|
</ul>
|
@@ -1433,7 +1687,9 @@ type (:sensitive,
|
|
1433
1687
|
|
1434
1688
|
</h3><div class="docstring">
|
1435
1689
|
<div class="discussion">
|
1436
|
-
|
1690
|
+
<p>Test if item is included in never_time config and
|
1691
|
+
thus should not receive a date on the @done tag</p>
|
1692
|
+
|
1437
1693
|
|
1438
1694
|
</div>
|
1439
1695
|
</div>
|
@@ -1449,6 +1705,10 @@ type (:sensitive,
|
|
1449
1705
|
|
1450
1706
|
|
1451
1707
|
|
1708
|
+
—
|
1709
|
+
<div class='inline'><p>item should receive @done date</p>
|
1710
|
+
</div>
|
1711
|
+
|
1452
1712
|
</li>
|
1453
1713
|
|
1454
1714
|
</ul>
|
@@ -1610,13 +1870,40 @@ type (:sensitive,
|
|
1610
1870
|
<div class="method_details ">
|
1611
1871
|
<h3 class="signature " id="tag_array-instance_method">
|
1612
1872
|
|
1613
|
-
#<strong>tag_array</strong> ⇒ <tt>
|
1873
|
+
#<strong>tag_array</strong> ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
|
1614
1874
|
|
1615
1875
|
|
1616
1876
|
|
1617
1877
|
|
1618
1878
|
|
1619
|
-
</h3>
|
1879
|
+
</h3><div class="docstring">
|
1880
|
+
<div class="discussion">
|
1881
|
+
<p>convert tags on item to an array with @ symbols removed</p>
|
1882
|
+
|
1883
|
+
|
1884
|
+
</div>
|
1885
|
+
</div>
|
1886
|
+
<div class="tags">
|
1887
|
+
|
1888
|
+
<p class="tag_title">Returns:</p>
|
1889
|
+
<ul class="return">
|
1890
|
+
|
1891
|
+
<li>
|
1892
|
+
|
1893
|
+
|
1894
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
1895
|
+
|
1896
|
+
|
1897
|
+
|
1898
|
+
—
|
1899
|
+
<div class='inline'><p>array of tags</p>
|
1900
|
+
</div>
|
1901
|
+
|
1902
|
+
</li>
|
1903
|
+
|
1904
|
+
</ul>
|
1905
|
+
|
1906
|
+
</div>
|
1620
1907
|
</div>
|
1621
1908
|
|
1622
1909
|
<div class="method_details ">
|
@@ -1839,6 +2126,45 @@ type (:sensitive,
|
|
1839
2126
|
|
1840
2127
|
</ul>
|
1841
2128
|
|
2129
|
+
</div>
|
2130
|
+
</div>
|
2131
|
+
|
2132
|
+
<div class="method_details ">
|
2133
|
+
<h3 class="signature " id="to_pretty-instance_method">
|
2134
|
+
|
2135
|
+
#<strong>to_pretty</strong>(elements: %i[date title section]) ⇒ <tt>Object</tt>
|
2136
|
+
|
2137
|
+
|
2138
|
+
|
2139
|
+
|
2140
|
+
|
2141
|
+
</h3><div class="docstring">
|
2142
|
+
<div class="discussion">
|
2143
|
+
<p>outputs a colored string with relative date and highlighted tags</p>
|
2144
|
+
|
2145
|
+
|
2146
|
+
</div>
|
2147
|
+
</div>
|
2148
|
+
<div class="tags">
|
2149
|
+
|
2150
|
+
<p class="tag_title">Returns:</p>
|
2151
|
+
<ul class="return">
|
2152
|
+
|
2153
|
+
<li>
|
2154
|
+
|
2155
|
+
|
2156
|
+
<span class='type'></span>
|
2157
|
+
|
2158
|
+
|
2159
|
+
|
2160
|
+
|
2161
|
+
<div class='inline'><p>Pretty representation of the object.</p>
|
2162
|
+
</div>
|
2163
|
+
|
2164
|
+
</li>
|
2165
|
+
|
2166
|
+
</ul>
|
2167
|
+
|
1842
2168
|
</div>
|
1843
2169
|
</div>
|
1844
2170
|
|
@@ -1869,7 +2195,7 @@ type (:sensitive,
|
|
1869
2195
|
</div>
|
1870
2196
|
|
1871
2197
|
<div id="footer">
|
1872
|
-
Generated on
|
2198
|
+
Generated on Tue Jan 18 07:38:21 2022 by
|
1873
2199
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1874
2200
|
0.9.26 (ruby-3.0.1).
|
1875
2201
|
</div>
|
data/docs/doc/Doing/Items.html
CHANGED
@@ -401,7 +401,7 @@
|
|
401
401
|
|
402
402
|
|
403
403
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></h3>
|
404
|
-
<p class="inherited"><span class='object_link'><a href="../Array.html#highlight_tags-instance_method" title="Array#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="../Array.html#log_tags-instance_method" title="Array#log_tags (method)">#log_tags</a></span>, <span class='object_link'><a href="../Array.html#nested_hash-instance_method" title="Array#nested_hash (method)">#nested_hash</a></span>, <span class='object_link'><a href="../Array.html#tags_to_array-instance_method" title="Array#tags_to_array (method)">#tags_to_array</a></span>, <span class='object_link'><a href="../Array.html#to_tags-instance_method" title="Array#to_tags (method)">#to_tags</a></span>, <span class='object_link'><a href="../Array.html#to_tags!-instance_method" title="Array#to_tags! (method)">#to_tags!</a></span></p>
|
404
|
+
<p class="inherited"><span class='object_link'><a href="../Array.html#highlight_tags-instance_method" title="Array#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="../Array.html#log_tags-instance_method" title="Array#log_tags (method)">#log_tags</a></span>, <span class='object_link'><a href="../Array.html#nested_hash-instance_method" title="Array#nested_hash (method)">#nested_hash</a></span>, <span class='object_link'><a href="../Array.html#tags_to_array-instance_method" title="Array#tags_to_array (method)">#tags_to_array</a></span>, <span class='object_link'><a href="../Array.html#time_string-instance_method" title="Array#time_string (method)">#time_string</a></span>, <span class='object_link'><a href="../Array.html#to_tags-instance_method" title="Array#to_tags (method)">#to_tags</a></span>, <span class='object_link'><a href="../Array.html#to_tags!-instance_method" title="Array#to_tags! (method)">#to_tags!</a></span></p>
|
405
405
|
<div id="constructor_details" class="method_details_list">
|
406
406
|
<h2>Constructor Details</h2>
|
407
407
|
|
@@ -890,7 +890,7 @@ specified section</p>
|
|
890
890
|
</div>
|
891
891
|
|
892
892
|
<div id="footer">
|
893
|
-
Generated on
|
893
|
+
Generated on Tue Jan 18 07:38:21 2022 by
|
894
894
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
895
895
|
0.9.26 (ruby-3.0.1).
|
896
896
|
</div>
|
@@ -1797,7 +1797,7 @@ message (optional)</p>
|
|
1797
1797
|
</div>
|
1798
1798
|
|
1799
1799
|
<div id="footer">
|
1800
|
-
Generated on
|
1800
|
+
Generated on Tue Jan 18 07:38:21 2022 by
|
1801
1801
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1802
1802
|
0.9.26 (ruby-3.0.1).
|
1803
1803
|
</div>
|
data/docs/doc/Doing/Note.html
CHANGED
@@ -323,7 +323,7 @@
|
|
323
323
|
|
324
324
|
|
325
325
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></h3>
|
326
|
-
<p class="inherited"><span class='object_link'><a href="../Array.html#highlight_tags-instance_method" title="Array#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="../Array.html#log_tags-instance_method" title="Array#log_tags (method)">#log_tags</a></span>, <span class='object_link'><a href="../Array.html#nested_hash-instance_method" title="Array#nested_hash (method)">#nested_hash</a></span>, <span class='object_link'><a href="../Array.html#tags_to_array-instance_method" title="Array#tags_to_array (method)">#tags_to_array</a></span>, <span class='object_link'><a href="../Array.html#to_tags-instance_method" title="Array#to_tags (method)">#to_tags</a></span>, <span class='object_link'><a href="../Array.html#to_tags!-instance_method" title="Array#to_tags! (method)">#to_tags!</a></span></p>
|
326
|
+
<p class="inherited"><span class='object_link'><a href="../Array.html#highlight_tags-instance_method" title="Array#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="../Array.html#log_tags-instance_method" title="Array#log_tags (method)">#log_tags</a></span>, <span class='object_link'><a href="../Array.html#nested_hash-instance_method" title="Array#nested_hash (method)">#nested_hash</a></span>, <span class='object_link'><a href="../Array.html#tags_to_array-instance_method" title="Array#tags_to_array (method)">#tags_to_array</a></span>, <span class='object_link'><a href="../Array.html#time_string-instance_method" title="Array#time_string (method)">#time_string</a></span>, <span class='object_link'><a href="../Array.html#to_tags-instance_method" title="Array#to_tags (method)">#to_tags</a></span>, <span class='object_link'><a href="../Array.html#to_tags!-instance_method" title="Array#to_tags! (method)">#to_tags!</a></span></p>
|
327
327
|
<div id="constructor_details" class="method_details_list">
|
328
328
|
<h2>Constructor Details</h2>
|
329
329
|
|
@@ -627,7 +627,7 @@ content</p>
|
|
627
627
|
</div>
|
628
628
|
|
629
629
|
<div id="footer">
|
630
|
-
Generated on
|
630
|
+
Generated on Tue Jan 18 07:38:21 2022 by
|
631
631
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
632
632
|
0.9.26 (ruby-3.0.1).
|
633
633
|
</div>
|
data/docs/doc/Doing/Pager.html
CHANGED
@@ -296,7 +296,7 @@ STDOUT</p>
|
|
296
296
|
</div>
|
297
297
|
|
298
298
|
<div id="footer">
|
299
|
-
Generated on
|
299
|
+
Generated on Tue Jan 18 07:38:21 2022 by
|
300
300
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
301
301
|
0.9.26 (ruby-3.0.1).
|
302
302
|
</div>
|
data/docs/doc/Doing/Plugins.html
CHANGED
@@ -1235,7 +1235,7 @@ e.g. :imp => :import</p>
|
|
1235
1235
|
</div>
|
1236
1236
|
|
1237
1237
|
<div id="footer">
|
1238
|
-
Generated on
|
1238
|
+
Generated on Tue Jan 18 07:38:21 2022 by
|
1239
1239
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1240
1240
|
0.9.26 (ruby-3.0.1).
|
1241
1241
|
</div>
|