doing 2.1.21 → 2.1.25
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/.yardoc/checksums +19 -16
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +51 -13
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +6 -3
- data/bin/doing +254 -103
- data/docs/doc/Array.html +74 -34
- 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 +16 -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 +16 -16
- 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 +4 -4
- 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 +119 -21
- data/docs/doc/Numeric.html +5 -5
- 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 +206 -51
- data/docs/doc/Symbol.html +8 -8
- data/docs/doc/Time.html +6 -6
- data/docs/doc/_index.html +51 -14
- 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 +348 -252
- data/docs/doc/top-level-namespace.html +2 -93
- data/docs/index.md +1 -1
- data/doing.rdoc +177 -20
- data/example_plugin.rb +2 -2
- data/lib/completion/_doing.zsh +24 -24
- data/lib/completion/doing.bash +31 -20
- data/lib/completion/doing.fish +32 -10
- data/lib/doing/array.rb +5 -4
- data/lib/doing/array_chronify.rb +4 -3
- 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 -14
- data/lib/doing/good.rb +64 -0
- data/lib/doing/hash.rb +28 -5
- 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/log_adapter.rb +1 -1
- data/lib/doing/pager.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +9 -3
- 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 +4 -2
- data/lib/doing/string.rb +30 -12
- data/lib/doing/string_chronify.rb +1 -1
- data/lib/doing/template_string.rb +9 -2
- data/lib/doing/types.rb +23 -16
- data/lib/doing/util.rb +12 -11
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +65 -46
- data/lib/doing.rb +3 -0
- data/lib/helpers/threaded_tests.rb +106 -99
- data/lib/helpers/threaded_tests_string.rb +50 -0
- metadata +12 -2
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>
|
|
7
|
+
Module: Doing::Types
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.9.27
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript">
|
|
18
|
+
pathId = "Doing::Types";
|
|
19
|
+
relpath = '../';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
24
|
+
|
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
38
|
+
|
|
39
|
+
<a href="../_index.html">Index (T)</a> »
|
|
40
|
+
<span class='title'><span class='object_link'><a href="../Doing.html" title="Doing (module)">Doing</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">Types</span>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="search">
|
|
47
|
+
|
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
|
49
|
+
href="../class_list.html">
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div id="content"><h1>Module: Doing::Types
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<dl>
|
|
80
|
+
<dt>Defined in:</dt>
|
|
81
|
+
<dd>lib/doing/types.rb</dd>
|
|
82
|
+
</dl>
|
|
83
|
+
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
<h2>
|
|
89
|
+
Constant Summary
|
|
90
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
|
91
|
+
</h2>
|
|
92
|
+
|
|
93
|
+
<dl class="constants">
|
|
94
|
+
|
|
95
|
+
<dt id="REGEX_BOOL-constant" class="">REGEX_BOOL =
|
|
96
|
+
|
|
97
|
+
</dt>
|
|
98
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
99
|
+
|
|
100
|
+
<dt id="REGEX_SORT_ORDER-constant" class="">REGEX_SORT_ORDER =
|
|
101
|
+
|
|
102
|
+
</dt>
|
|
103
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?:a(?:sc)?|d(?:esc)?)$</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
104
|
+
|
|
105
|
+
<dt id="REGEX_VALUE_QUERY-constant" class="">REGEX_VALUE_QUERY =
|
|
106
|
+
|
|
107
|
+
</dt>
|
|
108
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$</span><span class='regexp_end'>/</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
109
|
+
|
|
110
|
+
<dt id="REGEX_CLOCK-constant" class="">REGEX_CLOCK =
|
|
111
|
+
|
|
112
|
+
</dt>
|
|
113
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon)</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
114
|
+
|
|
115
|
+
<dt id="REGEX_TIME-constant" class="">REGEX_TIME =
|
|
116
|
+
|
|
117
|
+
</dt>
|
|
118
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#REGEX_CLOCK-constant" title="Doing::Types::REGEX_CLOCK (constant)">REGEX_CLOCK</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>$</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
119
|
+
|
|
120
|
+
<dt id="REGEX_DAY-constant" class="">REGEX_DAY =
|
|
121
|
+
|
|
122
|
+
</dt>
|
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(mon|tue|wed|thur?|fri|sat|sun)(\w+(day)?)?$</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
124
|
+
|
|
125
|
+
<dt id="REGEX_RANGE_INDICATOR-constant" class="">REGEX_RANGE_INDICATOR =
|
|
126
|
+
|
|
127
|
+
</dt>
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> +(?:to|through|thru|(?:un)?til|-+) +</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
|
+
|
|
130
|
+
<dt id="REGEX_RANGE-constant" class="">REGEX_RANGE =
|
|
131
|
+
|
|
132
|
+
</dt>
|
|
133
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^\S+</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#REGEX_RANGE_INDICATOR-constant" title="Doing::Types::REGEX_RANGE_INDICATOR (constant)">REGEX_RANGE_INDICATOR</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>+\S+</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
134
|
+
|
|
135
|
+
<dt id="REGEX_TIME_RANGE-constant" class="">REGEX_TIME_RANGE =
|
|
136
|
+
|
|
137
|
+
</dt>
|
|
138
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#REGEX_CLOCK-constant" title="Doing::Types::REGEX_CLOCK (constant)">REGEX_CLOCK</a></span></span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#REGEX_RANGE_INDICATOR-constant" title="Doing::Types::REGEX_RANGE_INDICATOR (constant)">REGEX_RANGE_INDICATOR</a></span></span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#REGEX_CLOCK-constant" title="Doing::Types::REGEX_CLOCK (constant)">REGEX_CLOCK</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>$</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
139
|
+
|
|
140
|
+
<dt id="InvalidExportType-constant" class="">InvalidExportType =
|
|
141
|
+
|
|
142
|
+
</dt>
|
|
143
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span></pre></dd>
|
|
144
|
+
|
|
145
|
+
<dt id="MissingConfigFile-constant" class="">MissingConfigFile =
|
|
146
|
+
|
|
147
|
+
</dt>
|
|
148
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span></pre></dd>
|
|
149
|
+
|
|
150
|
+
<dt id="TagArray-constant" class="">TagArray =
|
|
151
|
+
|
|
152
|
+
</dt>
|
|
153
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></span><span class='rparen'>)</span></pre></dd>
|
|
154
|
+
|
|
155
|
+
<dt id="TemplateName-constant" class="">TemplateName =
|
|
156
|
+
|
|
157
|
+
</dt>
|
|
158
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></span><span class='rparen'>)</span></pre></dd>
|
|
159
|
+
|
|
160
|
+
<dt id="DateBeginString-constant" class="">DateBeginString =
|
|
161
|
+
|
|
162
|
+
</dt>
|
|
163
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>DateTime</span><span class='rparen'>)</span></pre></dd>
|
|
164
|
+
|
|
165
|
+
<dt id="DateEndString-constant" class="">DateEndString =
|
|
166
|
+
|
|
167
|
+
</dt>
|
|
168
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>DateTime</span><span class='rparen'>)</span></pre></dd>
|
|
169
|
+
|
|
170
|
+
<dt id="DateRangeString-constant" class="">DateRangeString =
|
|
171
|
+
|
|
172
|
+
</dt>
|
|
173
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></span><span class='rparen'>)</span></pre></dd>
|
|
174
|
+
|
|
175
|
+
<dt id="DateRangeOptionalString-constant" class="">DateRangeOptionalString =
|
|
176
|
+
|
|
177
|
+
</dt>
|
|
178
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></span><span class='rparen'>)</span></pre></dd>
|
|
179
|
+
|
|
180
|
+
<dt id="DateIntervalString-constant" class="">DateIntervalString =
|
|
181
|
+
|
|
182
|
+
</dt>
|
|
183
|
+
<dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>DateTime</span><span class='rparen'>)</span></pre></dd>
|
|
184
|
+
|
|
185
|
+
</dl>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div id="footer">
|
|
199
|
+
Generated on Sun Jan 23 09:24:05 2022 by
|
|
200
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
201
|
+
0.9.27 (ruby-3.0.1).
|
|
202
|
+
</div>
|
|
203
|
+
|
|
204
|
+
</div>
|
|
205
|
+
</body>
|
|
206
|
+
</html>
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
<div class="method_details first">
|
|
375
375
|
<h3 class="signature first" id="clear_redo-instance_method">
|
|
376
376
|
|
|
377
|
-
#<strong>clear_redo</strong>(filename) ⇒ <tt>Object</tt>
|
|
377
|
+
#<strong>clear_redo</strong>(filename) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
378
378
|
|
|
379
379
|
|
|
380
380
|
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
<div class="method_details ">
|
|
416
416
|
<h3 class="signature " id="clear_undone-instance_method">
|
|
417
417
|
|
|
418
|
-
#<strong>clear_undone</strong>(filename = nil) ⇒ <tt>Object</tt>
|
|
418
|
+
#<strong>clear_undone</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
419
419
|
|
|
420
420
|
|
|
421
421
|
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
<div class="method_details ">
|
|
488
488
|
<h3 class="signature " id="prune_backups-instance_method">
|
|
489
489
|
|
|
490
|
-
#<strong>prune_backups</strong>(filename, limit = 10) ⇒ <tt>Object</tt>
|
|
490
|
+
#<strong>prune_backups</strong>(filename, limit = 10) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
491
491
|
|
|
492
492
|
|
|
493
493
|
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
<div class="method_details ">
|
|
531
531
|
<h3 class="signature " id="redo_backup-instance_method">
|
|
532
532
|
|
|
533
|
-
#<strong>redo_backup</strong>(filename = nil, count: 1) ⇒ <tt>Object</tt>
|
|
533
|
+
#<strong>redo_backup</strong>(filename = nil, count: 1) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
534
534
|
|
|
535
535
|
|
|
536
536
|
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
<div class="method_details ">
|
|
587
587
|
<h3 class="signature " id="restore_last_backup-instance_method">
|
|
588
588
|
|
|
589
|
-
#<strong>restore_last_backup</strong>(filename = nil, count: 1) ⇒ <tt>Object</tt>
|
|
589
|
+
#<strong>restore_last_backup</strong>(filename = nil, count: 1) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
590
590
|
|
|
591
591
|
|
|
592
592
|
|
|
@@ -644,7 +644,7 @@ different from default</p>
|
|
|
644
644
|
<div class="method_details ">
|
|
645
645
|
<h3 class="signature " id="select_backup-instance_method">
|
|
646
646
|
|
|
647
|
-
#<strong>select_backup</strong>(filename = nil) ⇒ <tt>Object</tt>
|
|
647
|
+
#<strong>select_backup</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
648
648
|
|
|
649
649
|
|
|
650
650
|
|
|
@@ -701,7 +701,7 @@ provided, only backups of that filename will be used.</p>
|
|
|
701
701
|
<div class="method_details ">
|
|
702
702
|
<h3 class="signature " id="select_redo-instance_method">
|
|
703
703
|
|
|
704
|
-
#<strong>select_redo</strong>(filename = nil) ⇒ <tt>Object</tt>
|
|
704
|
+
#<strong>select_redo</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
705
705
|
|
|
706
706
|
|
|
707
707
|
|
|
@@ -758,7 +758,7 @@ provided, only backups of that filename will be used.</p>
|
|
|
758
758
|
<div class="method_details ">
|
|
759
759
|
<h3 class="signature " id="show_menu-instance_method">
|
|
760
760
|
|
|
761
|
-
#<strong>show_menu</strong>(options, filename) ⇒ <tt>Object</tt>
|
|
761
|
+
#<strong>show_menu</strong>(options, filename) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
762
762
|
|
|
763
763
|
|
|
764
764
|
|
|
@@ -792,7 +792,7 @@ provided, only backups of that filename will be used.</p>
|
|
|
792
792
|
<div class="method_details ">
|
|
793
793
|
<h3 class="signature " id="write_backup-instance_method">
|
|
794
794
|
|
|
795
|
-
#<strong>write_backup</strong>(filename = nil) ⇒ <tt>Object</tt>
|
|
795
|
+
#<strong>write_backup</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
|
796
796
|
|
|
797
797
|
|
|
798
798
|
|
|
@@ -836,7 +836,7 @@ in a hidden directory</p>
|
|
|
836
836
|
</div>
|
|
837
837
|
|
|
838
838
|
<div id="footer">
|
|
839
|
-
Generated on
|
|
839
|
+
Generated on Sun Jan 23 09:24:05 2022 by
|
|
840
840
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
841
841
|
0.9.27 (ruby-3.0.1).
|
|
842
842
|
</div>
|
data/docs/doc/Doing/Util.html
CHANGED
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
<div class="method_details first">
|
|
500
500
|
<h3 class="signature first" id="args_for_editor-instance_method">
|
|
501
501
|
|
|
502
|
-
#<strong>args_for_editor</strong>(editor) ⇒ <tt>Object</tt>
|
|
502
|
+
#<strong>args_for_editor</strong>(editor) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
503
503
|
|
|
504
504
|
|
|
505
505
|
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
<div class="method_details ">
|
|
512
512
|
<h3 class="signature " id="deep_merge_hashes-instance_method">
|
|
513
513
|
|
|
514
|
-
#<strong>deep_merge_hashes</strong>(master_hash, other_hash) ⇒ <tt>Object</tt>
|
|
514
|
+
#<strong>deep_merge_hashes</strong>(master_hash, other_hash) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
515
515
|
|
|
516
516
|
|
|
517
517
|
|
|
@@ -585,7 +585,7 @@ method.</p>
|
|
|
585
585
|
<div class="method_details ">
|
|
586
586
|
<h3 class="signature " id="deep_merge_hashes!-instance_method">
|
|
587
587
|
|
|
588
|
-
#<strong>deep_merge_hashes!</strong>(target, overwrite) ⇒ <tt>Object</tt>
|
|
588
|
+
#<strong>deep_merge_hashes!</strong>(target, overwrite) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
589
589
|
|
|
590
590
|
|
|
591
591
|
|
|
@@ -615,7 +615,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
615
615
|
<div class="method_details ">
|
|
616
616
|
<h3 class="signature " id="default_editor-instance_method">
|
|
617
617
|
|
|
618
|
-
#<strong>default_editor</strong> ⇒ <tt>Object</tt>
|
|
618
|
+
#<strong>default_editor</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
619
619
|
|
|
620
620
|
|
|
621
621
|
|
|
@@ -661,7 +661,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
661
661
|
<div class="method_details ">
|
|
662
662
|
<h3 class="signature " id="duplicate_frozen_values-instance_method">
|
|
663
663
|
|
|
664
|
-
#<strong>duplicate_frozen_values</strong>(target) ⇒ <tt>Object</tt>
|
|
664
|
+
#<strong>duplicate_frozen_values</strong>(target) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
665
665
|
|
|
666
666
|
|
|
667
667
|
|
|
@@ -673,7 +673,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
673
673
|
<div class="method_details ">
|
|
674
674
|
<h3 class="signature " id="editor_with_args-instance_method">
|
|
675
675
|
|
|
676
|
-
#<strong>editor_with_args</strong> ⇒ <tt>Object</tt>
|
|
676
|
+
#<strong>editor_with_args</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
677
677
|
|
|
678
678
|
|
|
679
679
|
|
|
@@ -685,7 +685,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
685
685
|
<div class="method_details ">
|
|
686
686
|
<h3 class="signature " id="exec_available-instance_method">
|
|
687
687
|
|
|
688
|
-
#<strong>exec_available</strong>(cli) ⇒ <tt>Object</tt>
|
|
688
|
+
#<strong>exec_available</strong>(cli) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
689
689
|
|
|
690
690
|
|
|
691
691
|
|
|
@@ -726,7 +726,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
726
726
|
<div class="method_details ">
|
|
727
727
|
<h3 class="signature " id="find_default_editor-instance_method">
|
|
728
728
|
|
|
729
|
-
#<strong>find_default_editor</strong>(editor_for = 'default') ⇒ <tt>Object</tt>
|
|
729
|
+
#<strong>find_default_editor</strong>(editor_for = 'default') ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
730
730
|
|
|
731
731
|
|
|
732
732
|
|
|
@@ -738,7 +738,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
738
738
|
<div class="method_details ">
|
|
739
739
|
<h3 class="signature " id="first_available_exec-instance_method">
|
|
740
740
|
|
|
741
|
-
#<strong>first_available_exec</strong>(*commands) ⇒ <tt>Object</tt>
|
|
741
|
+
#<strong>first_available_exec</strong>(*commands) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
742
742
|
|
|
743
743
|
|
|
744
744
|
|
|
@@ -757,10 +757,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
757
757
|
<p class="tag_title">Examples:</p>
|
|
758
758
|
|
|
759
759
|
|
|
760
|
-
|
|
761
|
-
</div></p>
|
|
762
|
-
|
|
763
|
-
<pre class="example code"><code></code></pre>
|
|
760
|
+
<pre class="example code"><code><span class='const'><span class='object_link'><a href="../Doing.html" title="Doing (module)">Doing</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Doing::Util (module)">Util</a></span></span><span class='period'>.</span><span class='id identifier rubyid_first_available_exec'>first_available_exec</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>bat</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>less -Xr</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>more -r</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cat</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></code></pre>
|
|
764
761
|
|
|
765
762
|
</div>
|
|
766
763
|
|
|
@@ -805,7 +802,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
805
802
|
<div class="method_details ">
|
|
806
803
|
<h3 class="signature " id="merge_default_proc-instance_method">
|
|
807
804
|
|
|
808
|
-
#<strong>merge_default_proc</strong>(target, overwrite) ⇒ <tt>Object</tt>
|
|
805
|
+
#<strong>merge_default_proc</strong>(target, overwrite) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
809
806
|
|
|
810
807
|
|
|
811
808
|
|
|
@@ -817,7 +814,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
817
814
|
<div class="method_details ">
|
|
818
815
|
<h3 class="signature " id="merge_values-instance_method">
|
|
819
816
|
|
|
820
|
-
#<strong>merge_values</strong>(target, overwrite) ⇒ <tt>Object</tt>
|
|
817
|
+
#<strong>merge_values</strong>(target, overwrite) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
821
818
|
|
|
822
819
|
|
|
823
820
|
|
|
@@ -829,7 +826,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
829
826
|
<div class="method_details ">
|
|
830
827
|
<h3 class="signature " id="safe_load_file-instance_method">
|
|
831
828
|
|
|
832
|
-
#<strong>safe_load_file</strong>(filename) ⇒ <tt>Object</tt>
|
|
829
|
+
#<strong>safe_load_file</strong>(filename) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
833
830
|
|
|
834
831
|
|
|
835
832
|
|
|
@@ -841,7 +838,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
841
838
|
<div class="method_details ">
|
|
842
839
|
<h3 class="signature " id="user_home-instance_method">
|
|
843
840
|
|
|
844
|
-
#<strong>user_home</strong> ⇒ <tt>Object</tt>
|
|
841
|
+
#<strong>user_home</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
845
842
|
|
|
846
843
|
|
|
847
844
|
|
|
@@ -853,7 +850,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
853
850
|
<div class="method_details ">
|
|
854
851
|
<h3 class="signature " id="write_to_file-instance_method">
|
|
855
852
|
|
|
856
|
-
#<strong>write_to_file</strong>(file, content, backup: true) ⇒ <tt>Object</tt>
|
|
853
|
+
#<strong>write_to_file</strong>(file, content, backup: true) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
|
857
854
|
|
|
858
855
|
|
|
859
856
|
|
|
@@ -928,7 +925,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
928
925
|
</div>
|
|
929
926
|
|
|
930
927
|
<div id="footer">
|
|
931
|
-
Generated on
|
|
928
|
+
Generated on Sun Jan 23 09:24:05 2022 by
|
|
932
929
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
933
930
|
0.9.27 (ruby-3.0.1).
|
|
934
931
|
</div>
|