doing 2.1.22 → 2.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +17 -14
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +323 -111
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +2 -1
- data/bin/commands/add_section.rb +13 -0
- data/bin/commands/again.rb +99 -0
- data/bin/commands/archive.rb +96 -0
- data/bin/commands/cancel.rb +102 -0
- data/bin/commands/changes.rb +42 -0
- data/bin/commands/choose.rb +9 -0
- data/bin/commands/colors.rb +19 -0
- data/bin/commands/commands.rb +87 -0
- data/bin/commands/commands_accepting.rb +25 -0
- data/bin/commands/completion.rb +24 -0
- data/bin/commands/config.rb +245 -0
- data/bin/commands/done.rb +249 -0
- data/bin/commands/finish.rb +149 -0
- data/bin/commands/flag.rb +126 -0
- data/bin/commands/grep.rb +124 -0
- data/bin/commands/import.rb +101 -0
- data/bin/commands/install_fzf.rb +17 -0
- data/bin/commands/last.rb +114 -0
- data/bin/commands/meanwhile.rb +86 -0
- data/bin/commands/note.rb +130 -0
- data/bin/commands/now.rb +151 -0
- data/bin/commands/on.rb +66 -0
- data/bin/commands/open.rb +53 -0
- data/bin/commands/plugins.rb +23 -0
- data/bin/commands/recent.rb +78 -0
- data/bin/commands/redo.rb +22 -0
- data/bin/commands/reset.rb +106 -0
- data/bin/commands/rotate.rb +73 -0
- data/bin/commands/sections.rb +11 -0
- data/bin/commands/select.rb +123 -0
- data/bin/commands/show.rb +231 -0
- data/bin/commands/since.rb +64 -0
- data/bin/commands/tag.rb +179 -0
- data/bin/commands/tag_dir.rb +29 -0
- data/bin/commands/tags.rb +93 -0
- data/bin/commands/template.rb +61 -0
- data/bin/commands/today.rb +65 -0
- data/bin/commands/undo.rb +49 -0
- data/bin/commands/view.rb +238 -0
- data/bin/commands/views.rb +11 -0
- data/bin/commands/yesterday.rb +73 -0
- data/bin/doing +54 -3505
- data/docs/doc/Array.html +79 -11
- data/docs/doc/BooleanTermParser/Clause.html +5 -5
- data/docs/doc/BooleanTermParser/Operator.html +4 -4
- data/docs/doc/BooleanTermParser/Query.html +8 -8
- data/docs/doc/BooleanTermParser/QueryParser.html +2 -2
- data/docs/doc/BooleanTermParser/QueryTransformer.html +2 -2
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/Color.html +4 -4
- data/docs/doc/Doing/Completion.html +2 -2
- data/docs/doc/Doing/Configuration.html +17 -18
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +2 -2
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +2 -2
- data/docs/doc/Doing/Errors/DoingStandardError.html +2 -2
- data/docs/doc/Doing/Errors/EmptyInput.html +2 -2
- data/docs/doc/Doing/Errors/NoResults.html +2 -2
- data/docs/doc/Doing/Errors/PluginException.html +3 -3
- data/docs/doc/Doing/Errors/UserCancelled.html +2 -2
- data/docs/doc/Doing/Errors/WrongCommand.html +2 -2
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/Hooks.html +6 -6
- data/docs/doc/Doing/Item.html +50 -16
- data/docs/doc/Doing/Items.html +10 -10
- data/docs/doc/Doing/LogAdapter.html +24 -24
- data/docs/doc/Doing/Note.html +7 -7
- data/docs/doc/Doing/Pager.html +4 -4
- data/docs/doc/Doing/Plugins.html +7 -7
- data/docs/doc/Doing/Prompt.html +59 -14
- data/docs/doc/Doing/Section.html +6 -6
- data/docs/doc/Doing/TemplateString.html +8 -8
- data/docs/doc/Doing/Types.html +206 -0
- data/docs/doc/Doing/Util/Backup.html +10 -10
- data/docs/doc/Doing/Util.html +16 -19
- data/docs/doc/Doing/WWID.html +65 -53
- data/docs/doc/Doing.html +3 -3
- data/docs/doc/FalseClass.html +201 -0
- data/docs/doc/GLI/Commands/Help.html +185 -0
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +17 -17
- data/docs/doc/GLI/Commands.html +5 -3
- data/docs/doc/GLI.html +4 -2
- data/docs/doc/Hash.html +47 -21
- data/docs/doc/Numeric.html +5 -5
- data/docs/doc/Object.html +203 -0
- data/docs/doc/PhraseParser/Operator.html +4 -4
- data/docs/doc/PhraseParser/PhraseClause.html +5 -5
- data/docs/doc/PhraseParser/Query.html +10 -10
- data/docs/doc/PhraseParser/QueryParser.html +2 -2
- data/docs/doc/PhraseParser/QueryTransformer.html +2 -2
- data/docs/doc/PhraseParser/TermClause.html +5 -5
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +7 -7
- data/docs/doc/String.html +144 -51
- data/docs/doc/Symbol.html +8 -8
- data/docs/doc/Time.html +6 -6
- data/docs/doc/TrueClass.html +201 -0
- data/docs/doc/_index.html +46 -16
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +292 -212
- data/docs/doc/top-level-namespace.html +2 -2
- data/docs/index.md +1 -1
- data/doing.rdoc +178 -16
- data/example_plugin.rb +2 -2
- data/lib/completion/_doing.zsh +27 -27
- data/lib/completion/doing.bash +31 -20
- data/lib/completion/doing.fish +33 -11
- data/lib/doing/array.rb +2 -2
- data/lib/doing/changelog/change.rb +115 -0
- data/lib/doing/changelog/changes.rb +73 -0
- data/lib/doing/changelog/entry.rb +21 -0
- data/lib/doing/changelog/version.rb +97 -0
- data/lib/doing/changelog.rb +6 -0
- data/lib/doing/completion/fish_completion.rb +2 -1
- data/lib/doing/configuration.rb +20 -13
- data/lib/doing/good.rb +64 -0
- data/lib/doing/hash.rb +7 -2
- data/lib/doing/help_monkey_patch.rb +31 -0
- data/lib/doing/hooks.rb +8 -4
- data/lib/doing/item.rb +24 -35
- data/lib/doing/pager.rb +1 -0
- data/lib/doing/plugins/export/template_export.rb +1 -1
- data/lib/doing/plugins/import/calendar_import.rb +1 -1
- data/lib/doing/plugins/import/doing_import.rb +1 -1
- data/lib/doing/plugins/import/timing_import.rb +1 -1
- data/lib/doing/prompt.rb +8 -0
- data/lib/doing/string.rb +20 -11
- data/lib/doing/string_chronify.rb +1 -1
- data/lib/doing/template_string.rb +2 -2
- data/lib/doing/types.rb +3 -0
- data/lib/doing/util.rb +12 -11
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +62 -37
- data/lib/doing.rb +2 -0
- data/lib/examples/commands/wiki.rb +6 -7
- data/lib/helpers/threaded_tests.rb +61 -71
- data/lib/helpers/threaded_tests_string.rb +50 -0
- metadata +56 -2
data/docs/doc/Status.html
CHANGED
@@ -242,7 +242,7 @@
|
|
242
242
|
<div class="method_details first">
|
243
243
|
<h3 class="signature first" id="clear-instance_method">
|
244
244
|
|
245
|
-
#<strong>clear</strong> ⇒ <tt>Object</tt>
|
245
|
+
#<strong>clear</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
246
246
|
|
247
247
|
|
248
248
|
|
@@ -254,7 +254,7 @@
|
|
254
254
|
<div class="method_details ">
|
255
255
|
<h3 class="signature " id="cols-instance_method">
|
256
256
|
|
257
|
-
#<strong>cols</strong> ⇒ <tt>Object</tt>
|
257
|
+
#<strong>cols</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
258
258
|
|
259
259
|
|
260
260
|
|
@@ -266,7 +266,7 @@
|
|
266
266
|
<div class="method_details ">
|
267
267
|
<h3 class="signature " id="esc-instance_method">
|
268
268
|
|
269
|
-
#<strong>esc</strong> ⇒ <tt>Object</tt>
|
269
|
+
#<strong>esc</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
270
270
|
|
271
271
|
|
272
272
|
|
@@ -278,7 +278,7 @@
|
|
278
278
|
<div class="method_details ">
|
279
279
|
<h3 class="signature " id="msg-instance_method">
|
280
280
|
|
281
|
-
#<strong>msg</strong>(msg, reset: true, color: 'green', end_char: "\n") ⇒ <tt>Object</tt>
|
281
|
+
#<strong>msg</strong>(msg, reset: true, color: 'green', end_char: "\n") ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
282
282
|
|
283
283
|
|
284
284
|
|
@@ -290,7 +290,7 @@
|
|
290
290
|
<div class="method_details ">
|
291
291
|
<h3 class="signature " id="progress-instance_method">
|
292
292
|
|
293
|
-
#<strong>progress</strong>(msg, idx, total, tail = []) ⇒ <tt>Object</tt>
|
293
|
+
#<strong>progress</strong>(msg, idx, total, tail = []) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
294
294
|
|
295
295
|
|
296
296
|
|
@@ -302,7 +302,7 @@
|
|
302
302
|
<div class="method_details ">
|
303
303
|
<h3 class="signature " id="status-instance_method">
|
304
304
|
|
305
|
-
#<strong>status</strong>(msg, reset: true, end_char: "\n") ⇒ <tt>Object</tt>
|
305
|
+
#<strong>status</strong>(msg, reset: true, end_char: "\n") ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
306
306
|
|
307
307
|
|
308
308
|
|
@@ -316,7 +316,7 @@
|
|
316
316
|
</div>
|
317
317
|
|
318
318
|
<div id="footer">
|
319
|
-
Generated on
|
319
|
+
Generated on Sun Jan 23 16:30:43 2022 by
|
320
320
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
321
321
|
0.9.27 (ruby-3.0.1).
|
322
322
|
</div>
|
data/docs/doc/String.html
CHANGED
@@ -69,10 +69,10 @@
|
|
69
69
|
<dl>
|
70
70
|
<dt>Inherits:</dt>
|
71
71
|
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">String</li>
|
78
78
|
|
@@ -100,7 +100,7 @@
|
|
100
100
|
<dl>
|
101
101
|
<dt>Defined in:</dt>
|
102
102
|
<dd>lib/doing/string.rb<span class="defines">,<br />
|
103
|
-
lib/doing/string_chronify.rb,<br /> lib/doing/template_string.rb</span>
|
103
|
+
lib/doing/good.rb,<br /> lib/doing/string_chronify.rb,<br /> lib/doing/template_string.rb</span>
|
104
104
|
</dd>
|
105
105
|
</dl>
|
106
106
|
|
@@ -411,6 +411,29 @@
|
|
411
411
|
<span class="summary_desc"><div class='inline'><p>Convert (chronify) natural language dates within configured date tags (tags whose value is expected to be a date).</p>
|
412
412
|
</div></span>
|
413
413
|
|
414
|
+
</li>
|
415
|
+
|
416
|
+
|
417
|
+
<li class="public ">
|
418
|
+
<span class="summary_signature">
|
419
|
+
|
420
|
+
<a href="#good%3F-instance_method" title="#good? (instance method)">#<strong>good?</strong> ⇒ Boolean </a>
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
</span>
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
<span class="summary_desc"><div class='inline'><p>Tests if object is nil or empty.</p>
|
435
|
+
</div></span>
|
436
|
+
|
414
437
|
</li>
|
415
438
|
|
416
439
|
|
@@ -1185,7 +1208,29 @@
|
|
1185
1208
|
<li class="public ">
|
1186
1209
|
<span class="summary_signature">
|
1187
1210
|
|
1188
|
-
<a href="#to_phrase_query-instance_method" title="#to_phrase_query (instance method)">#<strong>to_phrase_query</strong>
|
1211
|
+
<a href="#to_phrase_query-instance_method" title="#to_phrase_query (instance method)">#<strong>to_phrase_query</strong> ⇒ Object </a>
|
1212
|
+
|
1213
|
+
|
1214
|
+
|
1215
|
+
</span>
|
1216
|
+
|
1217
|
+
|
1218
|
+
|
1219
|
+
|
1220
|
+
|
1221
|
+
|
1222
|
+
|
1223
|
+
|
1224
|
+
|
1225
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
1226
|
+
|
1227
|
+
</li>
|
1228
|
+
|
1229
|
+
|
1230
|
+
<li class="public ">
|
1231
|
+
<span class="summary_signature">
|
1232
|
+
|
1233
|
+
<a href="#to_query-instance_method" title="#to_query (instance method)">#<strong>to_query</strong> ⇒ Object </a>
|
1189
1234
|
|
1190
1235
|
|
1191
1236
|
|
@@ -1637,7 +1682,7 @@
|
|
1637
1682
|
<div class="method_details ">
|
1638
1683
|
<h3 class="signature " id="add_tags!-instance_method">
|
1639
1684
|
|
1640
|
-
#<strong>add_tags!</strong>(tags, remove: false) ⇒ <tt>Object</tt>
|
1685
|
+
#<strong>add_tags!</strong>(tags, remove: false) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1641
1686
|
|
1642
1687
|
|
1643
1688
|
|
@@ -1665,7 +1710,7 @@
|
|
1665
1710
|
<div class="method_details ">
|
1666
1711
|
<h3 class="signature " id="cap_first-instance_method">
|
1667
1712
|
|
1668
|
-
#<strong>cap_first</strong> ⇒ <tt>Object</tt>
|
1713
|
+
#<strong>cap_first</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1669
1714
|
|
1670
1715
|
|
1671
1716
|
|
@@ -1860,7 +1905,7 @@ added to a Time object</p>
|
|
1860
1905
|
<div class="method_details ">
|
1861
1906
|
<h3 class="signature " id="clean_unlinked_urls-instance_method">
|
1862
1907
|
|
1863
|
-
#<strong>clean_unlinked_urls</strong> ⇒ <tt>Object</tt>
|
1908
|
+
#<strong>clean_unlinked_urls</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1864
1909
|
|
1865
1910
|
|
1866
1911
|
|
@@ -1882,7 +1927,7 @@ added to a Time object</p>
|
|
1882
1927
|
<div class="method_details ">
|
1883
1928
|
<h3 class="signature " id="compress-instance_method">
|
1884
1929
|
|
1885
|
-
#<strong>compress</strong> ⇒ <tt>Object</tt>
|
1930
|
+
#<strong>compress</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1886
1931
|
|
1887
1932
|
|
1888
1933
|
|
@@ -1904,7 +1949,7 @@ added to a Time object</p>
|
|
1904
1949
|
<div class="method_details ">
|
1905
1950
|
<h3 class="signature " id="compress!-instance_method">
|
1906
1951
|
|
1907
|
-
#<strong>compress!</strong> ⇒ <tt>Object</tt>
|
1952
|
+
#<strong>compress!</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1908
1953
|
|
1909
1954
|
|
1910
1955
|
|
@@ -1916,7 +1961,7 @@ added to a Time object</p>
|
|
1916
1961
|
<div class="method_details ">
|
1917
1962
|
<h3 class="signature " id="dedup_tags-instance_method">
|
1918
1963
|
|
1919
|
-
#<strong>dedup_tags</strong> ⇒ <tt>Object</tt>
|
1964
|
+
#<strong>dedup_tags</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1920
1965
|
|
1921
1966
|
|
1922
1967
|
|
@@ -1955,7 +2000,7 @@ added to a Time object</p>
|
|
1955
2000
|
<div class="method_details ">
|
1956
2001
|
<h3 class="signature " id="dedup_tags!-instance_method">
|
1957
2002
|
|
1958
|
-
#<strong>dedup_tags!</strong> ⇒ <tt>Object</tt>
|
2003
|
+
#<strong>dedup_tags!</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1959
2004
|
|
1960
2005
|
|
1961
2006
|
|
@@ -1983,7 +2028,7 @@ added to a Time object</p>
|
|
1983
2028
|
<div class="method_details ">
|
1984
2029
|
<h3 class="signature " id="expand_date_tags-instance_method">
|
1985
2030
|
|
1986
|
-
#<strong>expand_date_tags</strong>(additional_tags = nil) ⇒ <tt>Object</tt>
|
2031
|
+
#<strong>expand_date_tags</strong>(additional_tags = nil) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1987
2032
|
|
1988
2033
|
|
1989
2034
|
|
@@ -2024,13 +2069,53 @@ consider date_tags</p>
|
|
2024
2069
|
</ul>
|
2025
2070
|
|
2026
2071
|
|
2072
|
+
</div>
|
2073
|
+
</div>
|
2074
|
+
|
2075
|
+
<div class="method_details ">
|
2076
|
+
<h3 class="signature " id="good?-instance_method">
|
2077
|
+
|
2078
|
+
#<strong>good?</strong> ⇒ <tt>Boolean</tt>
|
2079
|
+
|
2080
|
+
|
2081
|
+
|
2082
|
+
|
2083
|
+
|
2084
|
+
</h3><div class="docstring">
|
2085
|
+
<div class="discussion">
|
2086
|
+
<p>Tests if object is nil or empty</p>
|
2087
|
+
|
2088
|
+
|
2089
|
+
</div>
|
2090
|
+
</div>
|
2091
|
+
<div class="tags">
|
2092
|
+
|
2093
|
+
<p class="tag_title">Returns:</p>
|
2094
|
+
<ul class="return">
|
2095
|
+
|
2096
|
+
<li>
|
2097
|
+
|
2098
|
+
|
2099
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
2100
|
+
|
2101
|
+
|
2102
|
+
|
2103
|
+
—
|
2104
|
+
<div class='inline'><p>true if object is defined and
|
2105
|
+
has content</p>
|
2106
|
+
</div>
|
2107
|
+
|
2108
|
+
</li>
|
2109
|
+
|
2110
|
+
</ul>
|
2111
|
+
|
2027
2112
|
</div>
|
2028
2113
|
</div>
|
2029
2114
|
|
2030
2115
|
<div class="method_details ">
|
2031
2116
|
<h3 class="signature " id="highlight_search-instance_method">
|
2032
2117
|
|
2033
|
-
#<strong>highlight_search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt>Object</tt>
|
2118
|
+
#<strong>highlight_search</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2034
2119
|
|
2035
2120
|
|
2036
2121
|
|
@@ -2042,7 +2127,7 @@ consider date_tags</p>
|
|
2042
2127
|
<div class="method_details ">
|
2043
2128
|
<h3 class="signature " id="highlight_search!-instance_method">
|
2044
2129
|
|
2045
|
-
#<strong>highlight_search!</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt>Object</tt>
|
2130
|
+
#<strong>highlight_search!</strong>(search, distance: nil, negate: false, case_type: nil) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2046
2131
|
|
2047
2132
|
|
2048
2133
|
|
@@ -2114,7 +2199,7 @@ consider date_tags</p>
|
|
2114
2199
|
<div class="method_details ">
|
2115
2200
|
<h3 class="signature " id="highlight_tags!-instance_method">
|
2116
2201
|
|
2117
|
-
#<strong>highlight_tags!</strong>(color = 'yellow', last_color: nil) ⇒ <tt>Object</tt>
|
2202
|
+
#<strong>highlight_tags!</strong>(color = 'yellow', last_color: nil) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2118
2203
|
|
2119
2204
|
|
2120
2205
|
|
@@ -2195,7 +2280,7 @@ consider date_tags</p>
|
|
2195
2280
|
<div class="method_details ">
|
2196
2281
|
<h3 class="signature " id="ignore_case-instance_method">
|
2197
2282
|
|
2198
|
-
#<strong>ignore_case</strong>(search, case_type) ⇒ <tt>Object</tt>
|
2283
|
+
#<strong>ignore_case</strong>(search, case_type) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2199
2284
|
|
2200
2285
|
|
2201
2286
|
|
@@ -2326,7 +2411,7 @@ may not render the same style.</p>
|
|
2326
2411
|
<div class="method_details ">
|
2327
2412
|
<h3 class="signature " id="link_urls-instance_method">
|
2328
2413
|
|
2329
|
-
#<strong>link_urls</strong>(**opt) ⇒ <tt>Object</tt>
|
2414
|
+
#<strong>link_urls</strong>(**opt) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2330
2415
|
|
2331
2416
|
|
2332
2417
|
|
@@ -2390,7 +2475,7 @@ may not render the same style.</p>
|
|
2390
2475
|
<div class="method_details ">
|
2391
2476
|
<h3 class="signature " id="link_urls!-instance_method">
|
2392
2477
|
|
2393
|
-
#<strong>link_urls!</strong>(**opt) ⇒ <tt>Object</tt>
|
2478
|
+
#<strong>link_urls!</strong>(**opt) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2394
2479
|
|
2395
2480
|
|
2396
2481
|
|
@@ -2457,7 +2542,7 @@ may not render the same style.</p>
|
|
2457
2542
|
<div class="method_details ">
|
2458
2543
|
<h3 class="signature " id="normalize_age!-instance_method">
|
2459
2544
|
|
2460
|
-
#<strong>normalize_age!</strong>(default = :newest) ⇒ <tt>Object</tt>
|
2545
|
+
#<strong>normalize_age!</strong>(default = :newest) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2461
2546
|
|
2462
2547
|
|
2463
2548
|
|
@@ -2485,7 +2570,7 @@ may not render the same style.</p>
|
|
2485
2570
|
<div class="method_details ">
|
2486
2571
|
<h3 class="signature " id="normalize_bool-instance_method">
|
2487
2572
|
|
2488
|
-
#<strong>normalize_bool</strong>(default = :and) ⇒ <tt>Object</tt>
|
2573
|
+
#<strong>normalize_bool</strong>(default = :and) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2489
2574
|
|
2490
2575
|
|
2491
2576
|
|
@@ -2524,7 +2609,7 @@ may not render the same style.</p>
|
|
2524
2609
|
<div class="method_details ">
|
2525
2610
|
<h3 class="signature " id="normalize_bool!-instance_method">
|
2526
2611
|
|
2527
|
-
#<strong>normalize_bool!</strong>(default = :and) ⇒ <tt>Object</tt>
|
2612
|
+
#<strong>normalize_bool!</strong>(default = :and) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2528
2613
|
|
2529
2614
|
|
2530
2615
|
|
@@ -2552,7 +2637,7 @@ may not render the same style.</p>
|
|
2552
2637
|
<div class="method_details ">
|
2553
2638
|
<h3 class="signature " id="normalize_case-instance_method">
|
2554
2639
|
|
2555
|
-
#<strong>normalize_case</strong>(default = :smart) ⇒ <tt>Object</tt>
|
2640
|
+
#<strong>normalize_case</strong>(default = :smart) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2556
2641
|
|
2557
2642
|
|
2558
2643
|
|
@@ -2591,7 +2676,7 @@ may not render the same style.</p>
|
|
2591
2676
|
<div class="method_details ">
|
2592
2677
|
<h3 class="signature " id="normalize_case!-instance_method">
|
2593
2678
|
|
2594
|
-
#<strong>normalize_case!</strong> ⇒ <tt>Object</tt>
|
2679
|
+
#<strong>normalize_case!</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2595
2680
|
|
2596
2681
|
|
2597
2682
|
|
@@ -2619,7 +2704,7 @@ may not render the same style.</p>
|
|
2619
2704
|
<div class="method_details ">
|
2620
2705
|
<h3 class="signature " id="normalize_matching-instance_method">
|
2621
2706
|
|
2622
|
-
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt>Object</tt>
|
2707
|
+
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2623
2708
|
|
2624
2709
|
|
2625
2710
|
|
@@ -2681,7 +2766,7 @@ doesn't match a known symbol</p>
|
|
2681
2766
|
<div class="method_details ">
|
2682
2767
|
<h3 class="signature " id="normalize_matching!-instance_method">
|
2683
2768
|
|
2684
|
-
#<strong>normalize_matching!</strong>(default = :pattern) ⇒ <tt>Object</tt>
|
2769
|
+
#<strong>normalize_matching!</strong>(default = :pattern) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2685
2770
|
|
2686
2771
|
|
2687
2772
|
|
@@ -2709,7 +2794,7 @@ doesn't match a known symbol</p>
|
|
2709
2794
|
<div class="method_details ">
|
2710
2795
|
<h3 class="signature " id="normalize_order-instance_method">
|
2711
2796
|
|
2712
|
-
#<strong>normalize_order</strong>(default = 'asc') ⇒ <tt>Object</tt>
|
2797
|
+
#<strong>normalize_order</strong>(default = 'asc') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2713
2798
|
|
2714
2799
|
|
2715
2800
|
|
@@ -2800,7 +2885,7 @@ to avoid match groups</p>
|
|
2800
2885
|
<div class="method_details ">
|
2801
2886
|
<h3 class="signature " id="normalize_trigger!-instance_method">
|
2802
2887
|
|
2803
|
-
#<strong>normalize_trigger!</strong> ⇒ <tt>Object</tt>
|
2888
|
+
#<strong>normalize_trigger!</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2804
2889
|
|
2805
2890
|
|
2806
2891
|
|
@@ -2867,7 +2952,7 @@ to avoid match groups</p>
|
|
2867
2952
|
<div class="method_details ">
|
2868
2953
|
<h3 class="signature " id="remove_self_links-instance_method">
|
2869
2954
|
|
2870
|
-
#<strong>remove_self_links</strong> ⇒ <tt>Object</tt>
|
2955
|
+
#<strong>remove_self_links</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2871
2956
|
|
2872
2957
|
|
2873
2958
|
|
@@ -2889,7 +2974,7 @@ to avoid match groups</p>
|
|
2889
2974
|
<div class="method_details ">
|
2890
2975
|
<h3 class="signature " id="replace_qualified_urls-instance_method">
|
2891
2976
|
|
2892
|
-
#<strong>replace_qualified_urls</strong>(**options) ⇒ <tt>Object</tt>
|
2977
|
+
#<strong>replace_qualified_urls</strong>(**options) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2893
2978
|
|
2894
2979
|
|
2895
2980
|
|
@@ -2911,7 +2996,7 @@ to avoid match groups</p>
|
|
2911
2996
|
<div class="method_details ">
|
2912
2997
|
<h3 class="signature " id="set_type-instance_method">
|
2913
2998
|
|
2914
|
-
#<strong>set_type</strong>(kind = nil) ⇒ <tt>Object</tt>
|
2999
|
+
#<strong>set_type</strong>(kind = nil) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2915
3000
|
|
2916
3001
|
|
2917
3002
|
|
@@ -2978,7 +3063,7 @@ not recognized)</p>
|
|
2978
3063
|
<div class="method_details ">
|
2979
3064
|
<h3 class="signature " id="simple_wrap-instance_method">
|
2980
3065
|
|
2981
|
-
#<strong>simple_wrap</strong>(width) ⇒ <tt>Object</tt>
|
3066
|
+
#<strong>simple_wrap</strong>(width) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
2982
3067
|
|
2983
3068
|
|
2984
3069
|
|
@@ -3002,8 +3087,6 @@ not recognized)</p>
|
|
3002
3087
|
DateTime objects as [start, end]. If only one date is
|
3003
3088
|
given, end time is nil.</p>
|
3004
3089
|
|
3005
|
-
<p>"mon 3pm to mon 5pm".split_date_range</p>
|
3006
|
-
|
3007
3090
|
|
3008
3091
|
</div>
|
3009
3092
|
</div>
|
@@ -3016,7 +3099,7 @@ given, end time is nil.</p>
|
|
3016
3099
|
<p class="example_title"><div class='inline'><p>Process a natural language date range</p>
|
3017
3100
|
</div></p>
|
3018
3101
|
|
3019
|
-
<pre class="example code"><code></code></pre>
|
3102
|
+
<pre class="example code"><code><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>mon 3pm to mon 5pm</span><span class='tstring_end'>"</span></span><span class='period'>.</span><span class='id identifier rubyid_split_date_range'>split_date_range</span></code></pre>
|
3020
3103
|
|
3021
3104
|
</div>
|
3022
3105
|
|
@@ -3205,7 +3288,7 @@ array</p>
|
|
3205
3288
|
<div class="method_details ">
|
3206
3289
|
<h3 class="signature " id="tag!-instance_method">
|
3207
3290
|
|
3208
|
-
#<strong>tag!</strong>(tag, **options) ⇒ <tt>Object</tt>
|
3291
|
+
#<strong>tag!</strong>(tag, **options) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3209
3292
|
|
3210
3293
|
|
3211
3294
|
|
@@ -3234,7 +3317,7 @@ array</p>
|
|
3234
3317
|
<div class="method_details ">
|
3235
3318
|
<h3 class="signature " id="time_string-instance_method">
|
3236
3319
|
|
3237
|
-
#<strong>time_string</strong>(format: :dhm) ⇒ <tt>Object</tt>
|
3320
|
+
#<strong>time_string</strong>(format: :dhm) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3238
3321
|
|
3239
3322
|
|
3240
3323
|
|
@@ -3277,7 +3360,7 @@ array</p>
|
|
3277
3360
|
<div class="method_details ">
|
3278
3361
|
<h3 class="signature " id="to_bool-instance_method">
|
3279
3362
|
|
3280
|
-
#<strong>to_bool</strong> ⇒ <tt>Object</tt>
|
3363
|
+
#<strong>to_bool</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3281
3364
|
|
3282
3365
|
|
3283
3366
|
|
@@ -3289,7 +3372,7 @@ array</p>
|
|
3289
3372
|
<div class="method_details ">
|
3290
3373
|
<h3 class="signature " id="to_p-instance_method">
|
3291
3374
|
|
3292
|
-
#<strong>to_p</strong>(number) ⇒ <tt>Object</tt>
|
3375
|
+
#<strong>to_p</strong>(number) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3293
3376
|
|
3294
3377
|
|
3295
3378
|
|
@@ -3331,7 +3414,19 @@ object the string represents</p>
|
|
3331
3414
|
<div class="method_details ">
|
3332
3415
|
<h3 class="signature " id="to_phrase_query-instance_method">
|
3333
3416
|
|
3334
|
-
#<strong>to_phrase_query</strong>
|
3417
|
+
#<strong>to_phrase_query</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3418
|
+
|
3419
|
+
|
3420
|
+
|
3421
|
+
|
3422
|
+
|
3423
|
+
</h3>
|
3424
|
+
</div>
|
3425
|
+
|
3426
|
+
<div class="method_details ">
|
3427
|
+
<h3 class="signature " id="to_query-instance_method">
|
3428
|
+
|
3429
|
+
#<strong>to_query</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3335
3430
|
|
3336
3431
|
|
3337
3432
|
|
@@ -3364,10 +3459,8 @@ haystack, spaces indicate unlimited distance.</p>
|
|
3364
3459
|
<p class="tag_title">Examples:</p>
|
3365
3460
|
|
3366
3461
|
|
3367
|
-
|
3368
|
-
|
3369
|
-
|
3370
|
-
<pre class="example code"><code></code></pre>
|
3462
|
+
<pre class="example code"><code><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>this word</span><span class='tstring_end'>"</span></span><span class='period'>.</span><span class='id identifier rubyid_to_rx'>to_rx</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
|
3463
|
+
<span class='comment'># => /t.{0,3}h.{0,3}i.{0,3}s.{0,3}.*?w.{0,3}o.{0,3}r.{0,3}d/</span></code></pre>
|
3371
3464
|
|
3372
3465
|
</div>
|
3373
3466
|
<p class="tag_title">Parameters:</p>
|
@@ -3527,7 +3620,7 @@ can include parenthetical values (with spaces)</p>
|
|
3527
3620
|
<div class="method_details ">
|
3528
3621
|
<h3 class="signature " id="truncate-instance_method">
|
3529
3622
|
|
3530
|
-
#<strong>truncate</strong>(len, ellipsis: '...') ⇒ <tt>Object</tt>
|
3623
|
+
#<strong>truncate</strong>(len, ellipsis: '...') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3531
3624
|
|
3532
3625
|
|
3533
3626
|
|
@@ -3568,7 +3661,7 @@ can include parenthetical values (with spaces)</p>
|
|
3568
3661
|
<div class="method_details ">
|
3569
3662
|
<h3 class="signature " id="truncate!-instance_method">
|
3570
3663
|
|
3571
|
-
#<strong>truncate!</strong>(len, ellipsis: '...') ⇒ <tt>Object</tt>
|
3664
|
+
#<strong>truncate!</strong>(len, ellipsis: '...') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3572
3665
|
|
3573
3666
|
|
3574
3667
|
|
@@ -3580,7 +3673,7 @@ can include parenthetical values (with spaces)</p>
|
|
3580
3673
|
<div class="method_details ">
|
3581
3674
|
<h3 class="signature " id="truncmiddle-instance_method">
|
3582
3675
|
|
3583
|
-
#<strong>truncmiddle</strong>(len, ellipsis: '...') ⇒ <tt>Object</tt>
|
3676
|
+
#<strong>truncmiddle</strong>(len, ellipsis: '...') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3584
3677
|
|
3585
3678
|
|
3586
3679
|
|
@@ -3638,7 +3731,7 @@ can include parenthetical values (with spaces)</p>
|
|
3638
3731
|
<div class="method_details ">
|
3639
3732
|
<h3 class="signature " id="truncmiddle!-instance_method">
|
3640
3733
|
|
3641
|
-
#<strong>truncmiddle!</strong>(len, ellipsis: '...') ⇒ <tt>Object</tt>
|
3734
|
+
#<strong>truncmiddle!</strong>(len, ellipsis: '...') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3642
3735
|
|
3643
3736
|
|
3644
3737
|
|
@@ -3689,7 +3782,7 @@ can include parenthetical values (with spaces)</p>
|
|
3689
3782
|
<div class="method_details ">
|
3690
3783
|
<h3 class="signature " id="uncolor-instance_method">
|
3691
3784
|
|
3692
|
-
#<strong>uncolor</strong> ⇒ <tt>Object</tt>
|
3785
|
+
#<strong>uncolor</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3693
3786
|
|
3694
3787
|
|
3695
3788
|
|
@@ -3728,7 +3821,7 @@ can include parenthetical values (with spaces)</p>
|
|
3728
3821
|
<div class="method_details ">
|
3729
3822
|
<h3 class="signature " id="uncolor!-instance_method">
|
3730
3823
|
|
3731
|
-
#<strong>uncolor!</strong> ⇒ <tt>Object</tt>
|
3824
|
+
#<strong>uncolor!</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3732
3825
|
|
3733
3826
|
|
3734
3827
|
|
@@ -3827,7 +3920,7 @@ Uses \S (non-whitespace) instead of . (any character)</p>
|
|
3827
3920
|
<div class="method_details ">
|
3828
3921
|
<h3 class="signature " id="wrap-instance_method">
|
3829
3922
|
|
3830
|
-
#<strong>wrap</strong>(len, pad: 0, indent: ' ', offset: 0, prefix: '', color: '', after: '', reset: '', pad_first: false) ⇒ <tt>Object</tt>
|
3923
|
+
#<strong>wrap</strong>(len, pad: 0, indent: ' ', offset: 0, prefix: '', color: '', after: '', reset: '', pad_first: false) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
3831
3924
|
|
3832
3925
|
|
3833
3926
|
|
@@ -3904,7 +3997,7 @@ Uses \S (non-whitespace) instead of . (any character)</p>
|
|
3904
3997
|
</div>
|
3905
3998
|
|
3906
3999
|
<div id="footer">
|
3907
|
-
Generated on
|
4000
|
+
Generated on Sun Jan 23 16:30:43 2022 by
|
3908
4001
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
3909
4002
|
0.9.27 (ruby-3.0.1).
|
3910
4003
|
</div>
|
data/docs/doc/Symbol.html
CHANGED
@@ -69,10 +69,10 @@
|
|
69
69
|
<dl>
|
70
70
|
<dt>Inherits:</dt>
|
71
71
|
<dd>
|
72
|
-
<span class="inheritName">Object</span>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
73
73
|
|
74
74
|
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
75
|
+
<li><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></li>
|
76
76
|
|
77
77
|
<li class="next">Symbol</li>
|
78
78
|
|
@@ -246,7 +246,7 @@
|
|
246
246
|
<div class="method_details first">
|
247
247
|
<h3 class="signature first" id="normalize_age-instance_method">
|
248
248
|
|
249
|
-
#<strong>normalize_age</strong>(default = :newest) ⇒ <tt>Object</tt>
|
249
|
+
#<strong>normalize_age</strong>(default = :newest) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
250
250
|
|
251
251
|
|
252
252
|
|
@@ -258,7 +258,7 @@
|
|
258
258
|
<div class="method_details ">
|
259
259
|
<h3 class="signature " id="normalize_bool-instance_method">
|
260
260
|
|
261
|
-
#<strong>normalize_bool</strong>(default = :and) ⇒ <tt>Object</tt>
|
261
|
+
#<strong>normalize_bool</strong>(default = :and) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
262
262
|
|
263
263
|
|
264
264
|
|
@@ -270,7 +270,7 @@
|
|
270
270
|
<div class="method_details ">
|
271
271
|
<h3 class="signature " id="normalize_case-instance_method">
|
272
272
|
|
273
|
-
#<strong>normalize_case</strong> ⇒ <tt>Object</tt>
|
273
|
+
#<strong>normalize_case</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
274
274
|
|
275
275
|
|
276
276
|
|
@@ -282,7 +282,7 @@
|
|
282
282
|
<div class="method_details ">
|
283
283
|
<h3 class="signature " id="normalize_matching-instance_method">
|
284
284
|
|
285
|
-
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt>Object</tt>
|
285
|
+
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
286
286
|
|
287
287
|
|
288
288
|
|
@@ -294,7 +294,7 @@
|
|
294
294
|
<div class="method_details ">
|
295
295
|
<h3 class="signature " id="normalize_order-instance_method">
|
296
296
|
|
297
|
-
#<strong>normalize_order</strong>(default = 'asc') ⇒ <tt>Object</tt>
|
297
|
+
#<strong>normalize_order</strong>(default = 'asc') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
298
298
|
|
299
299
|
|
300
300
|
|
@@ -308,7 +308,7 @@
|
|
308
308
|
</div>
|
309
309
|
|
310
310
|
<div id="footer">
|
311
|
-
Generated on
|
311
|
+
Generated on Sun Jan 23 16:30:43 2022 by
|
312
312
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
313
313
|
0.9.27 (ruby-3.0.1).
|
314
314
|
</div>
|