doing 2.1.39 → 2.1.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/CHANGELOG.md +67 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +4 -4
- data/bin/commands/again.rb +1 -3
- data/bin/commands/changes.rb +50 -34
- data/bin/commands/commands.rb +77 -52
- data/bin/commands/commands_accepting.rb +57 -53
- data/bin/commands/config.rb +45 -36
- data/bin/commands/done.rb +1 -18
- data/bin/commands/finish.rb +90 -59
- data/bin/commands/flag.rb +5 -1
- data/bin/commands/grep.rb +3 -14
- data/bin/commands/last.rb +2 -8
- data/bin/commands/meanwhile.rb +13 -6
- data/bin/commands/now.rb +151 -107
- data/bin/commands/on.rb +8 -18
- data/bin/commands/recent.rb +2 -8
- data/bin/commands/reset.rb +24 -1
- data/bin/commands/select.rb +1 -1
- data/bin/commands/show.rb +6 -17
- data/bin/commands/since.rb +1 -12
- data/bin/commands/tag_dir.rb +49 -15
- data/bin/commands/today.rb +2 -13
- data/bin/commands/undo.rb +4 -6
- data/bin/commands/view.rb +1 -1
- data/bin/commands/yesterday.rb +2 -13
- data/bin/doing +15 -8
- data/{Dockerfile → docker/Dockerfile} +3 -1
- data/{Dockerfile-2.6 → docker/Dockerfile-2.6} +2 -2
- data/{Dockerfile-2.7 → docker/Dockerfile-2.7} +2 -2
- data/{Dockerfile-3.0 → docker/Dockerfile-3.0} +2 -2
- data/{bash_profile → docker/bash_profile} +0 -0
- data/{inputrc → docker/inputrc} +0 -0
- data/docs/doc/Array.html +85 -2
- 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/ArrayNestedHash.html +198 -0
- data/docs/doc/Doing/ArrayTags.html +424 -0
- data/docs/doc/Doing/CSVExport.html +266 -0
- data/docs/doc/Doing/CalendarImport.html +232 -0
- data/docs/doc/Doing/Change.html +617 -0
- data/docs/doc/Doing/Changes.html +468 -0
- data/docs/doc/Doing/ChronifyArray.html +347 -0
- data/docs/doc/Doing/ChronifyNumeric.html +271 -0
- data/docs/doc/Doing/ChronifyString.html +682 -0
- data/docs/doc/Doing/Color.html +167 -21
- data/docs/doc/Doing/Completion/BashCompletions.html +445 -0
- data/docs/doc/Doing/Completion/FishCompletions.html +445 -0
- data/docs/doc/Doing/Completion/StringUtils.html +229 -0
- data/docs/doc/Doing/Completion/ZshCompletions.html +445 -0
- data/docs/doc/Doing/Completion.html +17 -3
- data/docs/doc/Doing/Configuration.html +3 -2
- data/docs/doc/Doing/DayOneRenderer.html +383 -0
- data/docs/doc/Doing/DayoneExport.html +290 -0
- data/docs/doc/Doing/DoingImport.html +391 -0
- data/docs/doc/Doing/Entry.html +381 -0
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +7 -3
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +7 -3
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +10 -2
- data/docs/doc/Doing/Errors/HistoryLimitError.html +194 -0
- data/docs/doc/Doing/Errors/InvalidPlugin.html +194 -0
- data/docs/doc/Doing/Errors/MissingBackupFile.html +194 -0
- data/docs/doc/Doing/Errors/NoResults.html +10 -2
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +10 -2
- data/docs/doc/Doing/Errors/WrongCommand.html +10 -2
- data/docs/doc/Doing/Errors.html +9 -9
- data/docs/doc/Doing/HTMLExport.html +256 -0
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +179 -1660
- data/docs/doc/Doing/ItemDates.html +564 -0
- data/docs/doc/Doing/ItemQuery.html +614 -0
- data/docs/doc/Doing/ItemState.html +387 -0
- data/docs/doc/Doing/ItemTags.html +498 -0
- data/docs/doc/Doing/Items.html +581 -15
- data/docs/doc/Doing/JSONExport.html +222 -0
- data/docs/doc/Doing/Logger.html +1 -1
- data/docs/doc/Doing/MarkdownExport.html +266 -0
- data/docs/doc/Doing/MarkdownRenderer.html +383 -0
- data/docs/doc/Doing/Note.html +18 -4
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +181 -76
- data/docs/doc/Doing/Prompt.html +32 -683
- data/docs/doc/Doing/PromptChoose.html +484 -0
- data/docs/doc/Doing/PromptFZF.html +391 -0
- data/docs/doc/Doing/PromptInput.html +572 -0
- data/docs/doc/Doing/PromptSTD.html +293 -0
- data/docs/doc/Doing/PromptYN.html +237 -0
- data/docs/doc/Doing/Section.html +58 -2
- data/docs/doc/Doing/StringHighlight.html +533 -0
- data/docs/doc/Doing/StringNormalize.html +929 -0
- data/docs/doc/Doing/StringQuery.html +725 -0
- data/docs/doc/Doing/StringTags.html +884 -0
- data/docs/doc/Doing/StringTransform.html +599 -0
- data/docs/doc/Doing/StringTruncate.html +448 -0
- data/docs/doc/Doing/StringURL.html +409 -0
- data/docs/doc/Doing/SymbolNormalize.html +341 -0
- data/docs/doc/Doing/TaskPaperExport.html +222 -0
- data/docs/doc/Doing/TemplateExport.html +249 -0
- data/docs/doc/Doing/TemplateString.html +102 -3
- data/docs/doc/Doing/TimingImport.html +285 -0
- data/docs/doc/Doing/Types.html +1 -1
- data/docs/doc/Doing/Util/Backup.html +11 -163
- data/docs/doc/Doing/Util.html +67 -10
- data/docs/doc/Doing/Version.html +523 -0
- data/docs/doc/Doing/WWID/WWIDUtil.html +510 -0
- data/docs/doc/Doing/WWID.html +476 -139
- data/docs/doc/Doing/WWIDDisplay.html +865 -0
- data/docs/doc/Doing/WWIDEditor.html +466 -0
- data/docs/doc/Doing/WWIDFileTools.html +359 -0
- data/docs/doc/Doing/WWIDFilter.html +466 -0
- data/docs/doc/Doing/WWIDGuess.html +299 -0
- data/docs/doc/Doing/WWIDInteractive.html +752 -0
- data/docs/doc/Doing/WWIDModify.html +1078 -0
- data/docs/doc/Doing/WWIDTags.html +302 -0
- data/docs/doc/Doing/WWIDTimers.html +359 -0
- data/docs/doc/Doing/WWIDUtil.html +510 -0
- data/docs/doc/Doing.html +9 -6
- data/docs/doc/FalseClass.html +1 -1
- data/docs/doc/GLI/Commands/Help.html +1 -1
- 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 +23 -78
- data/docs/doc/Object.html +1 -1
- 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 +58 -633
- data/docs/doc/Symbol.html +9 -224
- data/docs/doc/Time.html +119 -13
- data/docs/doc/TrueClass.html +1 -1
- data/docs/doc/_index.html +348 -4
- 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 +1904 -592
- data/docs/doc/top-level-namespace.html +12 -4
- data/docs/index.md +1 -1
- data/doing.rdoc +67 -15
- data/lib/completion/_doing.zsh +6 -6
- data/lib/completion/doing.bash +10 -10
- data/lib/completion/doing.fish +10 -3
- data/lib/doing/add_options.rb +39 -1
- data/lib/doing/array/array.rb +18 -12
- data/lib/doing/array/cleanup.rb +31 -0
- data/lib/doing/array/nested_hash.rb +1 -1
- data/lib/doing/array/tags.rb +6 -5
- data/lib/doing/changelog/changelog.rb +6 -0
- data/lib/doing/chronify/array.rb +65 -25
- data/lib/doing/chronify/chronify.rb +12 -0
- data/lib/doing/chronify/numeric.rb +3 -2
- data/lib/doing/chronify/string.rb +1 -1
- data/lib/doing/colors.rb +77 -30
- data/lib/doing/completion/completion_string.rb +25 -0
- data/lib/doing/completion.rb +4 -5
- data/lib/doing/configuration.rb +7 -3
- data/lib/doing/errors.rb +51 -35
- data/lib/doing/good.rb +8 -0
- data/lib/doing/hooks.rb +3 -3
- data/lib/doing/item/dates.rb +112 -0
- data/lib/doing/item/item.rb +128 -0
- data/lib/doing/{item.rb → item/query.rb} +2 -353
- data/lib/doing/item/state.rb +59 -0
- data/lib/doing/item/tags.rb +87 -0
- data/lib/doing/items/filter.rb +67 -0
- data/lib/doing/items/items.rb +57 -0
- data/lib/doing/items/modify.rb +36 -0
- data/lib/doing/items/sections.rb +83 -0
- data/lib/doing/items/util.rb +74 -0
- data/lib/doing/normalize.rb +10 -2
- data/lib/doing/note.rb +1 -1
- data/lib/doing/pager.rb +9 -3
- data/lib/doing/plugin_manager.rb +33 -8
- data/lib/doing/plugins/export/markdown_export.rb +4 -2
- data/lib/doing/plugins/export/template_export.rb +4 -4
- data/lib/doing/plugins/import/cal_to_json.scpt +0 -0
- data/lib/doing/plugins/import/doing_import.rb +1 -1
- data/lib/doing/prompt/choose.rb +118 -0
- data/lib/doing/prompt/fzf.rb +84 -0
- data/lib/doing/prompt/input.rb +129 -0
- data/lib/doing/prompt/prompt.rb +41 -0
- data/lib/doing/prompt/std.rb +32 -0
- data/lib/doing/prompt/yn.rb +64 -0
- data/lib/doing/section.rb +4 -0
- data/lib/doing/string/highlight.rb +1 -1
- data/lib/doing/string/query.rb +1 -1
- data/lib/doing/string/string.rb +18 -7
- data/lib/doing/string/tags.rb +14 -3
- data/lib/doing/string/transform.rb +7 -1
- data/lib/doing/string/truncate.rb +1 -1
- data/lib/doing/string/url.rb +1 -1
- data/lib/doing/time.rb +19 -1
- data/lib/doing/util.rb +12 -6
- data/lib/doing/util_backup.rb +62 -57
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid/display.rb +396 -0
- data/lib/doing/wwid/editor.rb +214 -0
- data/lib/doing/wwid/filetools.rb +183 -0
- data/lib/doing/wwid/filter.rb +226 -0
- data/lib/doing/wwid/guess.rb +85 -0
- data/lib/doing/wwid/interactive.rb +377 -0
- data/lib/doing/wwid/modify.rb +617 -0
- data/lib/doing/wwid/tags.rb +51 -0
- data/lib/doing/wwid/timers.rb +342 -0
- data/lib/doing/wwid/wwid.rb +121 -0
- data/lib/doing/wwid/wwidutil.rb +101 -0
- data/lib/doing.rb +7 -7
- data/lib/helpers/threaded_tests.rb +1 -0
- metadata +94 -14
- data/lib/doing/changelog.rb +0 -6
- data/lib/doing/completion/string.rb +0 -17
- data/lib/doing/items.rb +0 -196
- data/lib/doing/prompt.rb +0 -330
- data/lib/doing/wwid.rb +0 -2398
data/docs/doc/String.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="Doing/ChronifyString.html" title="Doing::ChronifyString (module)">Doing::ChronifyString</a></span>, <span class='object_link'><a href="Doing/Color.html" title="Doing::Color (module)">Doing::Color</a></span>, <span class='object_link'><a href="Doing/Completion/StringUtils.html" title="Doing::Completion::StringUtils (module)">Doing::Completion::StringUtils</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html" title="Doing::StringHighlight (module)">Doing::StringHighlight</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html" title="Doing::StringNormalize (module)">Doing::StringNormalize</a></span>, <span class='object_link'><a href="Doing/StringQuery.html" title="Doing::StringQuery (module)">Doing::StringQuery</a></span>, <span class='object_link'><a href="Doing/StringTags.html" title="Doing::StringTags (module)">Doing::StringTags</a></span>, <span class='object_link'><a href="Doing/StringTransform.html" title="Doing::StringTransform (module)">Doing::StringTransform</a></span>, <span class='object_link'><a href="Doing/StringTruncate.html" title="Doing::StringTruncate (module)">Doing::StringTruncate</a></span>, <span class='object_link'><a href="Doing/StringURL.html" title="Doing::StringURL (module)">Doing::StringURL</a></span></dd>
|
93
|
+
</dl>
|
94
|
+
|
90
95
|
|
91
96
|
|
92
97
|
|
@@ -95,7 +100,7 @@
|
|
95
100
|
<dl>
|
96
101
|
<dt>Defined in:</dt>
|
97
102
|
<dd>lib/doing/colors.rb<span class="defines">,<br />
|
98
|
-
lib/doing/good.rb,<br /> lib/doing/normalize.rb</span>
|
103
|
+
lib/doing/good.rb,<br /> lib/doing/normalize.rb,<br /> lib/doing/string/string.rb,<br /> lib/doing/chronify/chronify.rb,<br /> lib/doing/completion/zsh_completion.rb,<br /> lib/doing/completion/completion_string.rb</span>
|
99
104
|
</dd>
|
100
105
|
</dl>
|
101
106
|
|
@@ -103,7 +108,7 @@
|
|
103
108
|
|
104
109
|
<h2>Overview</h2><div class="docstring">
|
105
110
|
<div class="discussion">
|
106
|
-
<p>
|
111
|
+
<p>Template coloring</p>
|
107
112
|
|
108
113
|
|
109
114
|
</div>
|
@@ -118,6 +123,12 @@
|
|
118
123
|
|
119
124
|
|
120
125
|
|
126
|
+
<h2>Constant Summary</h2>
|
127
|
+
|
128
|
+
<h3 class="inherited">Constants included
|
129
|
+
from <span class='object_link'><a href="Doing/Color.html" title="Doing::Color (module)">Doing::Color</a></span></h3>
|
130
|
+
<p class="inherited"><span class='object_link'><a href="Doing/Color.html#ATTRIBUTES-constant" title="Doing::Color::ATTRIBUTES (constant)">Doing::Color::ATTRIBUTES</a></span>, <span class='object_link'><a href="Doing/Color.html#ATTRIBUTE_NAMES-constant" title="Doing::Color::ATTRIBUTE_NAMES (constant)">Doing::Color::ATTRIBUTE_NAMES</a></span>, <span class='object_link'><a href="Doing/Color.html#COLORED_REGEXP-constant" title="Doing::Color::COLORED_REGEXP (constant)">Doing::Color::COLORED_REGEXP</a></span></p>
|
131
|
+
|
121
132
|
|
122
133
|
|
123
134
|
|
@@ -156,7 +167,7 @@
|
|
156
167
|
<li class="public ">
|
157
168
|
<span class="summary_signature">
|
158
169
|
|
159
|
-
<a href="#
|
170
|
+
<a href="#normalize_color-instance_method" title="#normalize_color (instance method)">#<strong>normalize_color</strong> ⇒ String </a>
|
160
171
|
|
161
172
|
|
162
173
|
|
@@ -170,7 +181,7 @@
|
|
170
181
|
|
171
182
|
|
172
183
|
|
173
|
-
<span class="summary_desc"><div class='inline'><p>
|
184
|
+
<span class="summary_desc"><div class='inline'><p>Normalize a color name, removing underscores, replacing "bright" with "bold", and converting bgbold to boldbg.</p>
|
174
185
|
</div></span>
|
175
186
|
|
176
187
|
</li>
|
@@ -179,7 +190,7 @@
|
|
179
190
|
<li class="public ">
|
180
191
|
<span class="summary_signature">
|
181
192
|
|
182
|
-
<a href="#
|
193
|
+
<a href="#sanitize-instance_method" title="#sanitize (instance method)">#<strong>sanitize</strong> ⇒ Object </a>
|
183
194
|
|
184
195
|
|
185
196
|
|
@@ -201,7 +212,7 @@
|
|
201
212
|
<li class="public ">
|
202
213
|
<span class="summary_signature">
|
203
214
|
|
204
|
-
<a href="#
|
215
|
+
<a href="#utf8-instance_method" title="#utf8 (instance method)">#<strong>utf8</strong> ⇒ String </a>
|
205
216
|
|
206
217
|
|
207
218
|
|
@@ -215,7 +226,7 @@
|
|
215
226
|
|
216
227
|
|
217
228
|
|
218
|
-
<span class="summary_desc"><div class='inline'><p>
|
229
|
+
<span class="summary_desc"><div class='inline'><p>Force UTF-8 encoding if available.</p>
|
219
230
|
</div></span>
|
220
231
|
|
221
232
|
</li>
|
@@ -224,29 +235,7 @@
|
|
224
235
|
<li class="public ">
|
225
236
|
<span class="summary_signature">
|
226
237
|
|
227
|
-
<a href="#
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
</span>
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
242
|
-
|
243
|
-
</li>
|
244
|
-
|
245
|
-
|
246
|
-
<li class="public ">
|
247
|
-
<span class="summary_signature">
|
248
|
-
|
249
|
-
<a href="#normalize_case-instance_method" title="#normalize_case (instance method)">#<strong>normalize_case</strong>(default = :smart) ⇒ Object </a>
|
238
|
+
<a href="#validate_color-instance_method" title="#validate_color (instance method)">#<strong>validate_color</strong> ⇒ String </a>
|
250
239
|
|
251
240
|
|
252
241
|
|
@@ -260,65 +249,27 @@
|
|
260
249
|
|
261
250
|
|
262
251
|
|
263
|
-
<span class="summary_desc"><div class='inline'><p>
|
252
|
+
<span class="summary_desc"><div class='inline'><p>Extract the longest valid %color name from a string.</p>
|
264
253
|
</div></span>
|
265
254
|
|
266
255
|
</li>
|
267
256
|
|
268
257
|
|
269
|
-
|
270
|
-
<span class="summary_signature">
|
271
|
-
|
272
|
-
<a href="#normalize_case!-instance_method" title="#normalize_case! (instance method)">#<strong>normalize_case!</strong>(default = :smart) ⇒ Object </a>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
</span>
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
258
|
+
</ul>
|
287
259
|
|
288
|
-
</li>
|
289
260
|
|
290
|
-
|
291
|
-
<li class="public ">
|
292
|
-
<span class="summary_signature">
|
293
|
-
|
294
|
-
<a href="#normalize_color-instance_method" title="#normalize_color (instance method)">#<strong>normalize_color</strong> ⇒ String </a>
|
295
|
-
|
296
261
|
|
297
|
-
|
298
|
-
</span>
|
299
|
-
|
300
262
|
|
301
263
|
|
302
264
|
|
303
265
|
|
304
266
|
|
305
267
|
|
306
|
-
|
307
268
|
|
308
|
-
<span class="summary_desc"><div class='inline'><p>Normalize a color name, removing underscores, replacing "bright" with "bold", and converting bgbold to boldbg.</p>
|
309
|
-
</div></span>
|
310
269
|
|
311
|
-
</
|
312
|
-
|
313
|
-
|
314
|
-
<li class="public ">
|
315
|
-
<span class="summary_signature">
|
316
|
-
|
317
|
-
<a href="#normalize_matching-instance_method" title="#normalize_matching (instance method)">#<strong>normalize_matching</strong>(default = :pattern) ⇒ Object </a>
|
318
|
-
|
270
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/Completion/StringUtils.html" title="Doing::Completion::StringUtils (module)">Doing::Completion::StringUtils</a></span></h3>
|
271
|
+
<p class="inherited"><span class='object_link'><a href="Doing/Completion/StringUtils.html#ltrunc-instance_method" title="Doing::Completion::StringUtils#ltrunc (method)">#ltrunc</a></span>, <span class='object_link'><a href="Doing/Completion/StringUtils.html#ltrunc!-instance_method" title="Doing::Completion::StringUtils#ltrunc! (method)">#ltrunc!</a></span>, <span class='object_link'><a href="Doing/Completion/StringUtils.html#short_desc-instance_method" title="Doing::Completion::StringUtils#short_desc (method)">#short_desc</a></span></p>
|
319
272
|
|
320
|
-
|
321
|
-
</span>
|
322
273
|
|
323
274
|
|
324
275
|
|
@@ -326,22 +277,10 @@
|
|
326
277
|
|
327
278
|
|
328
279
|
|
329
|
-
|
330
|
-
|
331
|
-
<span class="summary_desc"><div class='inline'><p>Convert a matching configuration string to a symbol.</p>
|
332
|
-
</div></span>
|
333
280
|
|
334
|
-
</
|
335
|
-
|
336
|
-
|
337
|
-
<li class="public ">
|
338
|
-
<span class="summary_signature">
|
339
|
-
|
340
|
-
<a href="#normalize_matching!-instance_method" title="#normalize_matching! (instance method)">#<strong>normalize_matching!</strong>(default = :pattern) ⇒ Object </a>
|
341
|
-
|
281
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/ChronifyString.html" title="Doing::ChronifyString (module)">Doing::ChronifyString</a></span></h3>
|
282
|
+
<p class="inherited"><span class='object_link'><a href="Doing/ChronifyString.html#chronify-instance_method" title="Doing::ChronifyString#chronify (method)">#chronify</a></span>, <span class='object_link'><a href="Doing/ChronifyString.html#chronify_qty-instance_method" title="Doing::ChronifyString#chronify_qty (method)">#chronify_qty</a></span>, <span class='object_link'><a href="Doing/ChronifyString.html#expand_date_tags-instance_method" title="Doing::ChronifyString#expand_date_tags (method)">#expand_date_tags</a></span>, <span class='object_link'><a href="Doing/ChronifyString.html#is_range%3F-instance_method" title="Doing::ChronifyString#is_range? (method)">#is_range?</a></span>, <span class='object_link'><a href="Doing/ChronifyString.html#split_date_range-instance_method" title="Doing::ChronifyString#split_date_range (method)">#split_date_range</a></span>, <span class='object_link'><a href="Doing/ChronifyString.html#time_string-instance_method" title="Doing::ChronifyString#time_string (method)">#time_string</a></span>, <span class='object_link'><a href="Doing/ChronifyString.html#to_seconds-instance_method" title="Doing::ChronifyString#to_seconds (method)">#to_seconds</a></span></p>
|
342
283
|
|
343
|
-
|
344
|
-
</span>
|
345
284
|
|
346
285
|
|
347
286
|
|
@@ -349,21 +288,10 @@
|
|
349
288
|
|
350
289
|
|
351
290
|
|
352
|
-
|
353
|
-
|
354
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
355
291
|
|
356
|
-
</
|
357
|
-
|
358
|
-
|
359
|
-
<li class="public ">
|
360
|
-
<span class="summary_signature">
|
361
|
-
|
362
|
-
<a href="#normalize_order-instance_method" title="#normalize_order (instance method)">#<strong>normalize_order</strong>(default = :asc) ⇒ Object </a>
|
363
|
-
|
292
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringURL.html" title="Doing::StringURL (module)">Doing::StringURL</a></span></h3>
|
293
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringURL.html#clean_unlinked_urls-instance_method" title="Doing::StringURL#clean_unlinked_urls (method)">#clean_unlinked_urls</a></span>, <span class='object_link'><a href="Doing/StringURL.html#link_urls-instance_method" title="Doing::StringURL#link_urls (method)">#link_urls</a></span>, <span class='object_link'><a href="Doing/StringURL.html#link_urls!-instance_method" title="Doing::StringURL#link_urls! (method)">#link_urls!</a></span>, <span class='object_link'><a href="Doing/StringURL.html#remove_self_links-instance_method" title="Doing::StringURL#remove_self_links (method)">#remove_self_links</a></span>, <span class='object_link'><a href="Doing/StringURL.html#replace_qualified_urls-instance_method" title="Doing::StringURL#replace_qualified_urls (method)">#replace_qualified_urls</a></span></p>
|
364
294
|
|
365
|
-
|
366
|
-
</span>
|
367
295
|
|
368
296
|
|
369
297
|
|
@@ -371,21 +299,10 @@
|
|
371
299
|
|
372
300
|
|
373
301
|
|
374
|
-
|
375
|
-
|
376
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
377
302
|
|
378
|
-
</
|
379
|
-
|
380
|
-
|
381
|
-
<li class="public ">
|
382
|
-
<span class="summary_signature">
|
383
|
-
|
384
|
-
<a href="#normalize_order!-instance_method" title="#normalize_order! (instance method)">#<strong>normalize_order!</strong>(default = :asc) ⇒ Symbol </a>
|
385
|
-
|
303
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringTruncate.html" title="Doing::StringTruncate (module)">Doing::StringTruncate</a></span></h3>
|
304
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringTruncate.html#trunc-instance_method" title="Doing::StringTruncate#trunc (method)">#trunc</a></span>, <span class='object_link'><a href="Doing/StringTruncate.html#trunc!-instance_method" title="Doing::StringTruncate#trunc! (method)">#trunc!</a></span>, <span class='object_link'><a href="Doing/StringTruncate.html#truncend-instance_method" title="Doing::StringTruncate#truncend (method)">#truncend</a></span>, <span class='object_link'><a href="Doing/StringTruncate.html#truncend!-instance_method" title="Doing::StringTruncate#truncend! (method)">#truncend!</a></span>, <span class='object_link'><a href="Doing/StringTruncate.html#truncmiddle-instance_method" title="Doing::StringTruncate#truncmiddle (method)">#truncmiddle</a></span>, <span class='object_link'><a href="Doing/StringTruncate.html#truncmiddle!-instance_method" title="Doing::StringTruncate#truncmiddle! (method)">#truncmiddle!</a></span></p>
|
386
305
|
|
387
|
-
|
388
|
-
</span>
|
389
306
|
|
390
307
|
|
391
308
|
|
@@ -393,22 +310,10 @@
|
|
393
310
|
|
394
311
|
|
395
312
|
|
396
|
-
|
397
|
-
|
398
|
-
<span class="summary_desc"><div class='inline'><p>Convert a sort order string to a qualified type.</p>
|
399
|
-
</div></span>
|
400
313
|
|
401
|
-
</
|
402
|
-
|
403
|
-
|
404
|
-
<li class="public ">
|
405
|
-
<span class="summary_signature">
|
406
|
-
|
407
|
-
<a href="#normalize_tag_sort-instance_method" title="#normalize_tag_sort (instance method)">#<strong>normalize_tag_sort</strong>(default = :name) ⇒ Symbol </a>
|
408
|
-
|
314
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringTransform.html" title="Doing::StringTransform (module)">Doing::StringTransform</a></span></h3>
|
315
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringTransform.html#cap_first-instance_method" title="Doing::StringTransform#cap_first (method)">#cap_first</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#compress-instance_method" title="Doing::StringTransform#compress (method)">#compress</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#compress!-instance_method" title="Doing::StringTransform#compress! (method)">#compress!</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#set_type-instance_method" title="Doing::StringTransform#set_type (method)">#set_type</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#simple_wrap-instance_method" title="Doing::StringTransform#simple_wrap (method)">#simple_wrap</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#titlecase-instance_method" title="Doing::StringTransform#titlecase (method)">#titlecase</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#to_p-instance_method" title="Doing::StringTransform#to_p (method)">#to_p</a></span>, <span class='object_link'><a href="Doing/StringTransform.html#wrap-instance_method" title="Doing::StringTransform#wrap (method)">#wrap</a></span></p>
|
409
316
|
|
410
|
-
|
411
|
-
</span>
|
412
317
|
|
413
318
|
|
414
319
|
|
@@ -416,22 +321,10 @@
|
|
416
321
|
|
417
322
|
|
418
323
|
|
419
|
-
|
420
|
-
|
421
|
-
<span class="summary_desc"><div class='inline'><p>Convert tag sort string to a qualified type.</p>
|
422
|
-
</div></span>
|
423
324
|
|
424
|
-
</
|
425
|
-
|
426
|
-
|
427
|
-
<li class="public ">
|
428
|
-
<span class="summary_signature">
|
429
|
-
|
430
|
-
<a href="#normalize_tag_sort!-instance_method" title="#normalize_tag_sort! (instance method)">#<strong>normalize_tag_sort!</strong>(default = :name) ⇒ Object </a>
|
431
|
-
|
325
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringTags.html" title="Doing::StringTags (module)">Doing::StringTags</a></span></h3>
|
326
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringTags.html#add_at-instance_method" title="Doing::StringTags#add_at (method)">#add_at</a></span>, <span class='object_link'><a href="Doing/StringTags.html#add_tags-instance_method" title="Doing::StringTags#add_tags (method)">#add_tags</a></span>, <span class='object_link'><a href="Doing/StringTags.html#add_tags!-instance_method" title="Doing::StringTags#add_tags! (method)">#add_tags!</a></span>, <span class='object_link'><a href="Doing/StringTags.html#dedup_tags-instance_method" title="Doing::StringTags#dedup_tags (method)">#dedup_tags</a></span>, <span class='object_link'><a href="Doing/StringTags.html#dedup_tags!-instance_method" title="Doing::StringTags#dedup_tags! (method)">#dedup_tags!</a></span>, <span class='object_link'><a href="Doing/StringTags.html#remove_at-instance_method" title="Doing::StringTags#remove_at (method)">#remove_at</a></span>, <span class='object_link'><a href="Doing/StringTags.html#split_tags-instance_method" title="Doing::StringTags#split_tags (method)">#split_tags</a></span>, <span class='object_link'><a href="Doing/StringTags.html#tag-instance_method" title="Doing::StringTags#tag (method)">#tag</a></span>, <span class='object_link'><a href="Doing/StringTags.html#tag!-instance_method" title="Doing::StringTags#tag! (method)">#tag!</a></span>, <span class='object_link'><a href="Doing/StringTags.html#to_tags-instance_method" title="Doing::StringTags#to_tags (method)">#to_tags</a></span></p>
|
432
327
|
|
433
|
-
|
434
|
-
</span>
|
435
328
|
|
436
329
|
|
437
330
|
|
@@ -439,21 +332,10 @@
|
|
439
332
|
|
440
333
|
|
441
334
|
|
442
|
-
|
443
|
-
|
444
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
445
335
|
|
446
|
-
</
|
447
|
-
|
448
|
-
|
449
|
-
<li class="public ">
|
450
|
-
<span class="summary_signature">
|
451
|
-
|
452
|
-
<a href="#normalize_trigger-instance_method" title="#normalize_trigger (instance method)">#<strong>normalize_trigger</strong> ⇒ String </a>
|
453
|
-
|
336
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringQuery.html" title="Doing::StringQuery (module)">Doing::StringQuery</a></span></h3>
|
337
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringQuery.html#ignore%3F-instance_method" title="Doing::StringQuery#ignore? (method)">#ignore?</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#ignore_case-instance_method" title="Doing::StringQuery#ignore_case (method)">#ignore_case</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#rx%3F-instance_method" title="Doing::StringQuery#rx? (method)">#rx?</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#to_bool-instance_method" title="Doing::StringQuery#to_bool (method)">#to_bool</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#to_phrase_query-instance_method" title="Doing::StringQuery#to_phrase_query (method)">#to_phrase_query</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#to_query-instance_method" title="Doing::StringQuery#to_query (method)">#to_query</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#to_rx-instance_method" title="Doing::StringQuery#to_rx (method)">#to_rx</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#truthy%3F-instance_method" title="Doing::StringQuery#truthy? (method)">#truthy?</a></span>, <span class='object_link'><a href="Doing/StringQuery.html#wildcard_to_rx-instance_method" title="Doing::StringQuery#wildcard_to_rx (method)">#wildcard_to_rx</a></span></p>
|
454
338
|
|
455
|
-
|
456
|
-
</span>
|
457
339
|
|
458
340
|
|
459
341
|
|
@@ -461,22 +343,10 @@
|
|
461
343
|
|
462
344
|
|
463
345
|
|
464
|
-
|
465
|
-
|
466
|
-
<span class="summary_desc"><div class='inline'><p>Adds ?: to any parentheticals in a regular expression to avoid match groups.</p>
|
467
|
-
</div></span>
|
468
346
|
|
469
|
-
</
|
470
|
-
|
471
|
-
|
472
|
-
<li class="public ">
|
473
|
-
<span class="summary_signature">
|
474
|
-
|
475
|
-
<a href="#normalize_trigger!-instance_method" title="#normalize_trigger! (instance method)">#<strong>normalize_trigger!</strong> ⇒ Object </a>
|
476
|
-
|
347
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringHighlight.html" title="Doing::StringHighlight (module)">Doing::StringHighlight</a></span></h3>
|
348
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringHighlight.html#highlight_search-instance_method" title="Doing::StringHighlight#highlight_search (method)">#highlight_search</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html#highlight_search!-instance_method" title="Doing::StringHighlight#highlight_search! (method)">#highlight_search!</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html#highlight_tags-instance_method" title="Doing::StringHighlight#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html#highlight_tags!-instance_method" title="Doing::StringHighlight#highlight_tags! (method)">#highlight_tags!</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html#last_color-instance_method" title="Doing::StringHighlight#last_color (method)">#last_color</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html#uncolor-instance_method" title="Doing::StringHighlight#uncolor (method)">#uncolor</a></span>, <span class='object_link'><a href="Doing/StringHighlight.html#uncolor!-instance_method" title="Doing::StringHighlight#uncolor! (method)">#uncolor!</a></span></p>
|
477
349
|
|
478
|
-
|
479
|
-
</span>
|
480
350
|
|
481
351
|
|
482
352
|
|
@@ -484,39 +354,20 @@
|
|
484
354
|
|
485
355
|
|
486
356
|
|
487
|
-
|
488
|
-
|
489
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
490
357
|
|
491
|
-
</
|
492
|
-
|
493
|
-
|
494
|
-
<li class="public ">
|
495
|
-
<span class="summary_signature">
|
496
|
-
|
497
|
-
<a href="#validate_color-instance_method" title="#validate_color (instance method)">#<strong>validate_color</strong> ⇒ String </a>
|
498
|
-
|
358
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/Color.html" title="Doing::Color (module)">Doing::Color</a></span></h3>
|
359
|
+
<p class="inherited"><span class='object_link'><a href="Doing/Color.html#attributes-instance_method" title="Doing::Color#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Doing/Color.html#coloring%3F-class_method" title="Doing::Color.coloring? (method)">coloring?</a></span>, <span class='object_link'><a href="Doing/Color.html#support%3F-instance_method" title="Doing::Color#support? (method)">#support?</a></span>, <span class='object_link'><a href="Doing/Color.html#template-class_method" title="Doing::Color.template (method)">template</a></span>, <span class='object_link'><a href="Doing/Color.html#uncolor-instance_method" title="Doing::Color#uncolor (method)">#uncolor</a></span></p>
|
499
360
|
|
500
|
-
|
501
|
-
</span>
|
502
|
-
|
503
361
|
|
504
362
|
|
505
363
|
|
506
364
|
|
507
365
|
|
508
366
|
|
509
|
-
|
510
|
-
|
511
|
-
<span class="summary_desc"><div class='inline'><p>Extract the longest valid %color name from a string.</p>
|
512
|
-
</div></span>
|
513
367
|
|
514
|
-
</li>
|
515
|
-
|
516
|
-
|
517
|
-
</ul>
|
518
368
|
|
519
|
-
|
369
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringNormalize.html" title="Doing::StringNormalize (module)">Doing::StringNormalize</a></span></h3>
|
370
|
+
<p class="inherited"><span class='object_link'><a href="Doing/StringNormalize.html#normalize_age-instance_method" title="Doing::StringNormalize#normalize_age (method)">#normalize_age</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_age!-instance_method" title="Doing::StringNormalize#normalize_age! (method)">#normalize_age!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_bool-instance_method" title="Doing::StringNormalize#normalize_bool (method)">#normalize_bool</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_bool!-instance_method" title="Doing::StringNormalize#normalize_bool! (method)">#normalize_bool!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_case-instance_method" title="Doing::StringNormalize#normalize_case (method)">#normalize_case</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_case!-instance_method" title="Doing::StringNormalize#normalize_case! (method)">#normalize_case!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_matching-instance_method" title="Doing::StringNormalize#normalize_matching (method)">#normalize_matching</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_matching!-instance_method" title="Doing::StringNormalize#normalize_matching! (method)">#normalize_matching!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_order-instance_method" title="Doing::StringNormalize#normalize_order (method)">#normalize_order</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_order!-instance_method" title="Doing::StringNormalize#normalize_order! (method)">#normalize_order!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_tag_sort-instance_method" title="Doing::StringNormalize#normalize_tag_sort (method)">#normalize_tag_sort</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_tag_sort!-instance_method" title="Doing::StringNormalize#normalize_tag_sort! (method)">#normalize_tag_sort!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_trigger-instance_method" title="Doing::StringNormalize#normalize_trigger (method)">#normalize_trigger</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_trigger!-instance_method" title="Doing::StringNormalize#normalize_trigger! (method)">#normalize_trigger!</a></span></p>
|
520
371
|
|
521
372
|
|
522
373
|
<div id="instance_method_details" class="method_details_list">
|
@@ -564,9 +415,9 @@ has content</p>
|
|
564
415
|
</div>
|
565
416
|
|
566
417
|
<div class="method_details ">
|
567
|
-
<h3 class="signature " id="
|
418
|
+
<h3 class="signature " id="normalize_color-instance_method">
|
568
419
|
|
569
|
-
#<strong>
|
420
|
+
#<strong>normalize_color</strong> ⇒ <tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>
|
570
421
|
|
571
422
|
|
572
423
|
|
@@ -574,7 +425,9 @@ has content</p>
|
|
574
425
|
|
575
426
|
</h3><div class="docstring">
|
576
427
|
<div class="discussion">
|
577
|
-
<p>
|
428
|
+
<p>Normalize a color name, removing underscores,
|
429
|
+
replacing "bright" with "bold", and converting
|
430
|
+
bgbold to boldbg</p>
|
578
431
|
|
579
432
|
|
580
433
|
</div>
|
@@ -587,79 +440,12 @@ has content</p>
|
|
587
440
|
<li>
|
588
441
|
|
589
442
|
|
590
|
-
<span class='type'>(<tt><span class='object_link'><a href="
|
443
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>)</span>
|
591
444
|
|
592
445
|
|
593
446
|
|
594
447
|
—
|
595
|
-
<div class='inline'><p
|
596
|
-
</div>
|
597
|
-
|
598
|
-
</li>
|
599
|
-
|
600
|
-
</ul>
|
601
|
-
|
602
|
-
</div>
|
603
|
-
</div>
|
604
|
-
|
605
|
-
<div class="method_details ">
|
606
|
-
<h3 class="signature " id="normalize_age!-instance_method">
|
607
|
-
|
608
|
-
#<strong>normalize_age!</strong>(default = :newest) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
</h3><div class="docstring">
|
615
|
-
<div class="discussion">
|
616
|
-
|
617
|
-
|
618
|
-
</div>
|
619
|
-
</div>
|
620
|
-
<div class="tags">
|
621
|
-
|
622
|
-
|
623
|
-
<p class="tag_title">See Also:</p>
|
624
|
-
<ul class="see">
|
625
|
-
|
626
|
-
<li><span class='object_link'><a href="#normalize_age-instance_method" title="String#normalize_age (method)">#normalize_age</a></span></li>
|
627
|
-
|
628
|
-
</ul>
|
629
|
-
|
630
|
-
</div>
|
631
|
-
</div>
|
632
|
-
|
633
|
-
<div class="method_details ">
|
634
|
-
<h3 class="signature " id="normalize_bool-instance_method">
|
635
|
-
|
636
|
-
#<strong>normalize_bool</strong>(default = :and) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
</h3><div class="docstring">
|
643
|
-
<div class="discussion">
|
644
|
-
<p>Convert a boolean string to a symbol</p>
|
645
|
-
|
646
|
-
|
647
|
-
</div>
|
648
|
-
</div>
|
649
|
-
<div class="tags">
|
650
|
-
|
651
|
-
<p class="tag_title">Returns:</p>
|
652
|
-
<ul class="return">
|
653
|
-
|
654
|
-
<li>
|
655
|
-
|
656
|
-
|
657
|
-
<span class='type'></span>
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
<div class='inline'><p>Symbol :and, :or, or :not</p>
|
448
|
+
<div class='inline'><p>Normalized color name</p>
|
663
449
|
</div>
|
664
450
|
|
665
451
|
</li>
|
@@ -670,37 +456,21 @@ has content</p>
|
|
670
456
|
</div>
|
671
457
|
|
672
458
|
<div class="method_details ">
|
673
|
-
<h3 class="signature " id="
|
674
|
-
|
675
|
-
#<strong>normalize_bool!</strong>(default = :and) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
459
|
+
<h3 class="signature " id="sanitize-instance_method">
|
676
460
|
|
677
|
-
|
461
|
+
#<strong>sanitize</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
678
462
|
|
679
463
|
|
680
464
|
|
681
|
-
</h3><div class="docstring">
|
682
|
-
<div class="discussion">
|
683
|
-
|
684
465
|
|
685
|
-
</div>
|
686
|
-
</div>
|
687
|
-
<div class="tags">
|
688
466
|
|
689
|
-
|
690
|
-
<p class="tag_title">See Also:</p>
|
691
|
-
<ul class="see">
|
692
|
-
|
693
|
-
<li><span class='object_link'><a href="#normalize_bool-instance_method" title="String#normalize_bool (method)">#normalize_bool</a></span></li>
|
694
|
-
|
695
|
-
</ul>
|
696
|
-
|
697
|
-
</div>
|
467
|
+
</h3>
|
698
468
|
</div>
|
699
469
|
|
700
470
|
<div class="method_details ">
|
701
|
-
<h3 class="signature " id="
|
471
|
+
<h3 class="signature " id="utf8-instance_method">
|
702
472
|
|
703
|
-
#<strong>
|
473
|
+
#<strong>utf8</strong> ⇒ <tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>
|
704
474
|
|
705
475
|
|
706
476
|
|
@@ -708,7 +478,7 @@ has content</p>
|
|
708
478
|
|
709
479
|
</h3><div class="docstring">
|
710
480
|
<div class="discussion">
|
711
|
-
<p>
|
481
|
+
<p>Force UTF-8 encoding if available</p>
|
712
482
|
|
713
483
|
|
714
484
|
</div>
|
@@ -721,363 +491,18 @@ has content</p>
|
|
721
491
|
<li>
|
722
492
|
|
723
493
|
|
724
|
-
<span class='type'></span>
|
494
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>)</span>
|
725
495
|
|
726
496
|
|
727
497
|
|
728
|
-
|
729
|
-
<div class='inline'><p>
|
498
|
+
—
|
499
|
+
<div class='inline'><p>UTF-8 encoded string</p>
|
730
500
|
</div>
|
731
501
|
|
732
502
|
</li>
|
733
503
|
|
734
504
|
</ul>
|
735
505
|
|
736
|
-
</div>
|
737
|
-
</div>
|
738
|
-
|
739
|
-
<div class="method_details ">
|
740
|
-
<h3 class="signature " id="normalize_case!-instance_method">
|
741
|
-
|
742
|
-
#<strong>normalize_case!</strong>(default = :smart) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
</h3><div class="docstring">
|
749
|
-
<div class="discussion">
|
750
|
-
|
751
|
-
|
752
|
-
</div>
|
753
|
-
</div>
|
754
|
-
<div class="tags">
|
755
|
-
|
756
|
-
|
757
|
-
<p class="tag_title">See Also:</p>
|
758
|
-
<ul class="see">
|
759
|
-
|
760
|
-
<li><span class='object_link'><a href="#normalize_case-instance_method" title="String#normalize_case (method)">#normalize_case</a></span></li>
|
761
|
-
|
762
|
-
</ul>
|
763
|
-
|
764
|
-
</div>
|
765
|
-
</div>
|
766
|
-
|
767
|
-
<div class="method_details ">
|
768
|
-
<h3 class="signature " id="normalize_color-instance_method">
|
769
|
-
|
770
|
-
#<strong>normalize_color</strong> ⇒ <tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
</h3><div class="docstring">
|
777
|
-
<div class="discussion">
|
778
|
-
<p>Normalize a color name, removing underscores,
|
779
|
-
replacing "bright" with "bold", and converting
|
780
|
-
bgbold to boldbg</p>
|
781
|
-
|
782
|
-
|
783
|
-
</div>
|
784
|
-
</div>
|
785
|
-
<div class="tags">
|
786
|
-
|
787
|
-
<p class="tag_title">Returns:</p>
|
788
|
-
<ul class="return">
|
789
|
-
|
790
|
-
<li>
|
791
|
-
|
792
|
-
|
793
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>)</span>
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
—
|
798
|
-
<div class='inline'><p>Normalized color name</p>
|
799
|
-
</div>
|
800
|
-
|
801
|
-
</li>
|
802
|
-
|
803
|
-
</ul>
|
804
|
-
|
805
|
-
</div>
|
806
|
-
</div>
|
807
|
-
|
808
|
-
<div class="method_details ">
|
809
|
-
<h3 class="signature " id="normalize_matching-instance_method">
|
810
|
-
|
811
|
-
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
</h3><div class="docstring">
|
818
|
-
<div class="discussion">
|
819
|
-
<p>Convert a matching configuration string to a symbol</p>
|
820
|
-
|
821
|
-
|
822
|
-
</div>
|
823
|
-
</div>
|
824
|
-
<div class="tags">
|
825
|
-
<p class="tag_title">Parameters:</p>
|
826
|
-
<ul class="param">
|
827
|
-
|
828
|
-
<li>
|
829
|
-
|
830
|
-
<span class='name'>default</span>
|
831
|
-
|
832
|
-
|
833
|
-
<span class='type'>(<tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
834
|
-
|
835
|
-
|
836
|
-
<em class="default">(defaults to: <tt>:pattern</tt>)</em>
|
837
|
-
|
838
|
-
|
839
|
-
—
|
840
|
-
<div class='inline'><p>the default matching
|
841
|
-
type to return if the string
|
842
|
-
doesn't match a known symbol</p>
|
843
|
-
</div>
|
844
|
-
|
845
|
-
</li>
|
846
|
-
|
847
|
-
</ul>
|
848
|
-
|
849
|
-
<p class="tag_title">Returns:</p>
|
850
|
-
<ul class="return">
|
851
|
-
|
852
|
-
<li>
|
853
|
-
|
854
|
-
|
855
|
-
<span class='type'></span>
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
<div class='inline'><p>Symbol :fuzzy, :pattern, :exact</p>
|
861
|
-
</div>
|
862
|
-
|
863
|
-
</li>
|
864
|
-
|
865
|
-
</ul>
|
866
|
-
|
867
|
-
</div>
|
868
|
-
</div>
|
869
|
-
|
870
|
-
<div class="method_details ">
|
871
|
-
<h3 class="signature " id="normalize_matching!-instance_method">
|
872
|
-
|
873
|
-
#<strong>normalize_matching!</strong>(default = :pattern) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
</h3><div class="docstring">
|
880
|
-
<div class="discussion">
|
881
|
-
|
882
|
-
|
883
|
-
</div>
|
884
|
-
</div>
|
885
|
-
<div class="tags">
|
886
|
-
|
887
|
-
|
888
|
-
<p class="tag_title">See Also:</p>
|
889
|
-
<ul class="see">
|
890
|
-
|
891
|
-
<li><span class='object_link'><a href="#normalize_matching-instance_method" title="String#normalize_matching (method)">#normalize_matching</a></span></li>
|
892
|
-
|
893
|
-
</ul>
|
894
|
-
|
895
|
-
</div>
|
896
|
-
</div>
|
897
|
-
|
898
|
-
<div class="method_details ">
|
899
|
-
<h3 class="signature " id="normalize_order-instance_method">
|
900
|
-
|
901
|
-
#<strong>normalize_order</strong>(default = :asc) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
</h3>
|
908
|
-
</div>
|
909
|
-
|
910
|
-
<div class="method_details ">
|
911
|
-
<h3 class="signature " id="normalize_order!-instance_method">
|
912
|
-
|
913
|
-
#<strong>normalize_order!</strong>(default = :asc) ⇒ <tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
</h3><div class="docstring">
|
920
|
-
<div class="discussion">
|
921
|
-
<p>Convert a sort order string to a qualified type</p>
|
922
|
-
|
923
|
-
|
924
|
-
</div>
|
925
|
-
</div>
|
926
|
-
<div class="tags">
|
927
|
-
|
928
|
-
<p class="tag_title">Returns:</p>
|
929
|
-
<ul class="return">
|
930
|
-
|
931
|
-
<li>
|
932
|
-
|
933
|
-
|
934
|
-
<span class='type'>(<tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
—
|
939
|
-
<div class='inline'><p>:asc or :desc</p>
|
940
|
-
</div>
|
941
|
-
|
942
|
-
</li>
|
943
|
-
|
944
|
-
</ul>
|
945
|
-
|
946
|
-
</div>
|
947
|
-
</div>
|
948
|
-
|
949
|
-
<div class="method_details ">
|
950
|
-
<h3 class="signature " id="normalize_tag_sort-instance_method">
|
951
|
-
|
952
|
-
#<strong>normalize_tag_sort</strong>(default = :name) ⇒ <tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
</h3><div class="docstring">
|
959
|
-
<div class="discussion">
|
960
|
-
<p>Convert tag sort string to a qualified type</p>
|
961
|
-
|
962
|
-
|
963
|
-
</div>
|
964
|
-
</div>
|
965
|
-
<div class="tags">
|
966
|
-
|
967
|
-
<p class="tag_title">Returns:</p>
|
968
|
-
<ul class="return">
|
969
|
-
|
970
|
-
<li>
|
971
|
-
|
972
|
-
|
973
|
-
<span class='type'>(<tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
—
|
978
|
-
<div class='inline'><p>:name or :time</p>
|
979
|
-
</div>
|
980
|
-
|
981
|
-
</li>
|
982
|
-
|
983
|
-
</ul>
|
984
|
-
|
985
|
-
</div>
|
986
|
-
</div>
|
987
|
-
|
988
|
-
<div class="method_details ">
|
989
|
-
<h3 class="signature " id="normalize_tag_sort!-instance_method">
|
990
|
-
|
991
|
-
#<strong>normalize_tag_sort!</strong>(default = :name) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
</h3><div class="docstring">
|
998
|
-
<div class="discussion">
|
999
|
-
|
1000
|
-
|
1001
|
-
</div>
|
1002
|
-
</div>
|
1003
|
-
<div class="tags">
|
1004
|
-
|
1005
|
-
|
1006
|
-
<p class="tag_title">See Also:</p>
|
1007
|
-
<ul class="see">
|
1008
|
-
|
1009
|
-
<li><span class='object_link'><a href="#normalize_tag_sort-instance_method" title="String#normalize_tag_sort (method)">#normalize_tag_sort</a></span></li>
|
1010
|
-
|
1011
|
-
</ul>
|
1012
|
-
|
1013
|
-
</div>
|
1014
|
-
</div>
|
1015
|
-
|
1016
|
-
<div class="method_details ">
|
1017
|
-
<h3 class="signature " id="normalize_trigger-instance_method">
|
1018
|
-
|
1019
|
-
#<strong>normalize_trigger</strong> ⇒ <tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
</h3><div class="docstring">
|
1026
|
-
<div class="discussion">
|
1027
|
-
<p>Adds ?: to any parentheticals in a regular expression
|
1028
|
-
to avoid match groups</p>
|
1029
|
-
|
1030
|
-
|
1031
|
-
</div>
|
1032
|
-
</div>
|
1033
|
-
<div class="tags">
|
1034
|
-
|
1035
|
-
<p class="tag_title">Returns:</p>
|
1036
|
-
<ul class="return">
|
1037
|
-
|
1038
|
-
<li>
|
1039
|
-
|
1040
|
-
|
1041
|
-
<span class='type'>(<tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>)</span>
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
—
|
1046
|
-
<div class='inline'><p>modified regular expression</p>
|
1047
|
-
</div>
|
1048
|
-
|
1049
|
-
</li>
|
1050
|
-
|
1051
|
-
</ul>
|
1052
|
-
|
1053
|
-
</div>
|
1054
|
-
</div>
|
1055
|
-
|
1056
|
-
<div class="method_details ">
|
1057
|
-
<h3 class="signature " id="normalize_trigger!-instance_method">
|
1058
|
-
|
1059
|
-
#<strong>normalize_trigger!</strong> ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt>
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
</h3><div class="docstring">
|
1066
|
-
<div class="discussion">
|
1067
|
-
|
1068
|
-
|
1069
|
-
</div>
|
1070
|
-
</div>
|
1071
|
-
<div class="tags">
|
1072
|
-
|
1073
|
-
|
1074
|
-
<p class="tag_title">See Also:</p>
|
1075
|
-
<ul class="see">
|
1076
|
-
|
1077
|
-
<li><span class='object_link'><a href="#normalize_trigger-instance_method" title="String#normalize_trigger (method)">#normalize_trigger</a></span></li>
|
1078
|
-
|
1079
|
-
</ul>
|
1080
|
-
|
1081
506
|
</div>
|
1082
507
|
</div>
|
1083
508
|
|
@@ -1129,7 +554,7 @@ be recognized, e.g. %greensomething still finds
|
|
1129
554
|
</div>
|
1130
555
|
|
1131
556
|
<div id="footer">
|
1132
|
-
Generated on
|
557
|
+
Generated on Fri Mar 18 12:56:58 2022 by
|
1133
558
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1134
559
|
0.9.27 (ruby-3.0.1).
|
1135
560
|
</div>
|