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/Doing/Plugins.html
CHANGED
@@ -111,7 +111,7 @@
|
|
111
111
|
<li class="public ">
|
112
112
|
<span class="summary_signature">
|
113
113
|
|
114
|
-
<a href="#available_plugins-class_method" title="available_plugins (class method)">.<strong>available_plugins</strong>(type: :export) ⇒ Array
|
114
|
+
<a href="#available_plugins-class_method" title="available_plugins (class method)">.<strong>available_plugins</strong>(type: :export) ⇒ Array </a>
|
115
115
|
|
116
116
|
|
117
117
|
|
@@ -226,7 +226,7 @@
|
|
226
226
|
<li class="public ">
|
227
227
|
<span class="summary_signature">
|
228
228
|
|
229
|
-
<a href="#plugin_templates-class_method" title="plugin_templates (class method)">.<strong>plugin_templates</strong>(type: :export) ⇒ Array
|
229
|
+
<a href="#plugin_templates-class_method" title="plugin_templates (class method)">.<strong>plugin_templates</strong>(type: :export) ⇒ Array </a>
|
230
230
|
|
231
231
|
|
232
232
|
|
@@ -249,7 +249,7 @@
|
|
249
249
|
<li class="public ">
|
250
250
|
<span class="summary_signature">
|
251
251
|
|
252
|
-
<a href="#plugins-class_method" title="plugins (class method)">.<strong>plugins</strong> ⇒
|
252
|
+
<a href="#plugins-class_method" title="plugins (class method)">.<strong>plugins</strong> ⇒ Hash </a>
|
253
253
|
|
254
254
|
|
255
255
|
|
@@ -263,7 +263,8 @@
|
|
263
263
|
|
264
264
|
|
265
265
|
|
266
|
-
<span class="summary_desc"><div class='inline'
|
266
|
+
<span class="summary_desc"><div class='inline'><p>Storage for registered plugins.</p>
|
267
|
+
</div></span>
|
267
268
|
|
268
269
|
</li>
|
269
270
|
|
@@ -311,28 +312,6 @@
|
|
311
312
|
<span class="summary_desc"><div class='inline'><p>Register a plugin.</p>
|
312
313
|
</div></span>
|
313
314
|
|
314
|
-
</li>
|
315
|
-
|
316
|
-
|
317
|
-
<li class="public ">
|
318
|
-
<span class="summary_signature">
|
319
|
-
|
320
|
-
<a href="#save_template-class_method" title="save_template (class method)">.<strong>save_template</strong>(tpl, dir, filename) ⇒ Object </a>
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
</span>
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
335
|
-
|
336
315
|
</li>
|
337
316
|
|
338
317
|
|
@@ -399,7 +378,8 @@
|
|
399
378
|
|
400
379
|
|
401
380
|
|
402
|
-
<span class="summary_desc"><div class='inline'
|
381
|
+
<span class="summary_desc"><div class='inline'><p>Return the user's home directory.</p>
|
382
|
+
</div></span>
|
403
383
|
|
404
384
|
</li>
|
405
385
|
|
@@ -444,7 +424,8 @@
|
|
444
424
|
|
445
425
|
|
446
426
|
|
447
|
-
<span class="summary_desc"><div class='inline'
|
427
|
+
<span class="summary_desc"><div class='inline'><p>Verifies that a plugin is properly configured with necessary methods for its type.</p>
|
428
|
+
</div></span>
|
448
429
|
|
449
430
|
</li>
|
450
431
|
|
@@ -461,7 +442,7 @@
|
|
461
442
|
<div class="method_details first">
|
462
443
|
<h3 class="signature first" id="available_plugins-class_method">
|
463
444
|
|
464
|
-
.<strong>available_plugins</strong>(type: :export) ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span
|
445
|
+
.<strong>available_plugins</strong>(type: :export) ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
|
465
446
|
|
466
447
|
|
467
448
|
|
@@ -483,7 +464,7 @@
|
|
483
464
|
<span class='name'>type</span>
|
484
465
|
|
485
466
|
|
486
|
-
<span class='type'></span>
|
467
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
487
468
|
|
488
469
|
|
489
470
|
<em class="default">(defaults to: <tt>:export</tt>)</em>
|
@@ -503,12 +484,12 @@
|
|
503
484
|
<li>
|
504
485
|
|
505
486
|
|
506
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span
|
487
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
507
488
|
|
508
489
|
|
509
490
|
|
510
491
|
—
|
511
|
-
<div class='inline'><p>plugin names</p>
|
492
|
+
<div class='inline'><p>Array of plugin names (String)</p>
|
512
493
|
</div>
|
513
494
|
|
514
495
|
</li>
|
@@ -543,16 +524,53 @@
|
|
543
524
|
<span class='name'>options</span>
|
544
525
|
|
545
526
|
|
546
|
-
<span class='type'>(<tt
|
527
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
|
547
528
|
|
548
529
|
|
549
530
|
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
550
531
|
|
551
532
|
|
533
|
+
—
|
534
|
+
<div class='inline'><p>additional options</p>
|
535
|
+
</div>
|
536
|
+
|
552
537
|
</li>
|
553
538
|
|
554
539
|
</ul>
|
555
540
|
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
<p class="tag_title">Options Hash (<tt>options</tt>):</p>
|
545
|
+
<ul class="option">
|
546
|
+
|
547
|
+
<li>
|
548
|
+
<span class="name">:column</span>
|
549
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
550
|
+
<span class="default">
|
551
|
+
|
552
|
+
</span>
|
553
|
+
|
554
|
+
— <div class='inline'><p>display results in a single column</p>
|
555
|
+
</div>
|
556
|
+
|
557
|
+
</li>
|
558
|
+
|
559
|
+
<li>
|
560
|
+
<span class="name">:type</span>
|
561
|
+
<span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
562
|
+
<span class="default">
|
563
|
+
|
564
|
+
</span>
|
565
|
+
|
566
|
+
— <div class='inline'><p>Plugin type: all, import, or export</p>
|
567
|
+
</div>
|
568
|
+
|
569
|
+
</li>
|
570
|
+
|
571
|
+
</ul>
|
572
|
+
|
573
|
+
|
556
574
|
|
557
575
|
</div>
|
558
576
|
</div>
|
@@ -646,7 +664,7 @@
|
|
646
664
|
|
647
665
|
|
648
666
|
—
|
649
|
-
<div class='inline'><p>Plugin names</p>
|
667
|
+
<div class='inline'><p>Plugin names joined with separator</p>
|
650
668
|
</div>
|
651
669
|
|
652
670
|
</li>
|
@@ -721,7 +739,7 @@ for type</p>
|
|
721
739
|
<div class="method_details ">
|
722
740
|
<h3 class="signature " id="plugin_templates-class_method">
|
723
741
|
|
724
|
-
.<strong>plugin_templates</strong>(type: :export) ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span
|
742
|
+
.<strong>plugin_templates</strong>(type: :export) ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>
|
725
743
|
|
726
744
|
|
727
745
|
|
@@ -764,12 +782,12 @@ for type</p>
|
|
764
782
|
<li>
|
765
783
|
|
766
784
|
|
767
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span
|
785
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
|
768
786
|
|
769
787
|
|
770
788
|
|
771
789
|
—
|
772
|
-
<div class='inline'><p>template names</p>
|
790
|
+
<div class='inline'><p>Array of template names (String)</p>
|
773
791
|
</div>
|
774
792
|
|
775
793
|
</li>
|
@@ -782,13 +800,42 @@ for type</p>
|
|
782
800
|
<div class="method_details ">
|
783
801
|
<h3 class="signature " id="plugins-class_method">
|
784
802
|
|
785
|
-
.<strong>plugins</strong> ⇒ <tt><span class='object_link'><a href="../
|
803
|
+
.<strong>plugins</strong> ⇒ <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>
|
786
804
|
|
787
805
|
|
788
806
|
|
789
807
|
|
790
808
|
|
791
|
-
</h3>
|
809
|
+
</h3><div class="docstring">
|
810
|
+
<div class="discussion">
|
811
|
+
<p>Storage for registered plugins. Hash with :import
|
812
|
+
and :export keys containing hashes of available
|
813
|
+
plugins.</p>
|
814
|
+
|
815
|
+
|
816
|
+
</div>
|
817
|
+
</div>
|
818
|
+
<div class="tags">
|
819
|
+
|
820
|
+
<p class="tag_title">Returns:</p>
|
821
|
+
<ul class="return">
|
822
|
+
|
823
|
+
<li>
|
824
|
+
|
825
|
+
|
826
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
|
827
|
+
|
828
|
+
|
829
|
+
|
830
|
+
—
|
831
|
+
<div class='inline'><p>registered plugins</p>
|
832
|
+
</div>
|
833
|
+
|
834
|
+
</li>
|
835
|
+
|
836
|
+
</ul>
|
837
|
+
|
838
|
+
</div>
|
792
839
|
</div>
|
793
840
|
|
794
841
|
<div class="method_details ">
|
@@ -940,40 +987,6 @@ plugin (can be an array of names)</p>
|
|
940
987
|
|
941
988
|
</ul>
|
942
989
|
|
943
|
-
</div>
|
944
|
-
</div>
|
945
|
-
|
946
|
-
<div class="method_details ">
|
947
|
-
<h3 class="signature " id="save_template-class_method">
|
948
|
-
|
949
|
-
.<strong>save_template</strong>(tpl, dir, filename) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
</h3><div class="docstring">
|
956
|
-
<div class="discussion">
|
957
|
-
|
958
|
-
|
959
|
-
</div>
|
960
|
-
</div>
|
961
|
-
<div class="tags">
|
962
|
-
|
963
|
-
<p class="tag_title">Raises:</p>
|
964
|
-
<ul class="raise">
|
965
|
-
|
966
|
-
<li>
|
967
|
-
|
968
|
-
|
969
|
-
<span class='type'>(<tt>DoingRuntimeError</tt>)</span>
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
</li>
|
974
|
-
|
975
|
-
</ul>
|
976
|
-
|
977
990
|
</div>
|
978
991
|
</div>
|
979
992
|
|
@@ -1028,6 +1041,25 @@ written out to the terminal for redirection</p>
|
|
1028
1041
|
—
|
1029
1042
|
<div class='inline'><p>the plugin type
|
1030
1043
|
(:import, :export)</p>
|
1044
|
+
</div>
|
1045
|
+
|
1046
|
+
</li>
|
1047
|
+
|
1048
|
+
<li>
|
1049
|
+
|
1050
|
+
<span class='name'>save_to</span>
|
1051
|
+
|
1052
|
+
|
1053
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
1054
|
+
|
1055
|
+
|
1056
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1057
|
+
|
1058
|
+
|
1059
|
+
—
|
1060
|
+
<div class='inline'><p>if a path is
|
1061
|
+
specified, write the template
|
1062
|
+
to that path. Nil for STDOUT</p>
|
1031
1063
|
</div>
|
1032
1064
|
|
1033
1065
|
</li>
|
@@ -1139,7 +1171,17 @@ triggers for type</p>
|
|
1139
1171
|
|
1140
1172
|
|
1141
1173
|
|
1142
|
-
</h3>
|
1174
|
+
</h3><div class="docstring">
|
1175
|
+
<div class="discussion">
|
1176
|
+
<p>Return the user's home directory</p>
|
1177
|
+
|
1178
|
+
|
1179
|
+
</div>
|
1180
|
+
</div>
|
1181
|
+
<div class="tags">
|
1182
|
+
|
1183
|
+
|
1184
|
+
</div>
|
1143
1185
|
</div>
|
1144
1186
|
|
1145
1187
|
<div class="method_details ">
|
@@ -1227,7 +1269,70 @@ e.g. :imp => :import</p>
|
|
1227
1269
|
|
1228
1270
|
|
1229
1271
|
|
1230
|
-
</h3>
|
1272
|
+
</h3><div class="docstring">
|
1273
|
+
<div class="discussion">
|
1274
|
+
<p>Verifies that a plugin is properly configured with
|
1275
|
+
necessary methods for its type. If the plugin fails
|
1276
|
+
validation, a PluginUncallable exception will be
|
1277
|
+
raised.</p>
|
1278
|
+
|
1279
|
+
|
1280
|
+
</div>
|
1281
|
+
</div>
|
1282
|
+
<div class="tags">
|
1283
|
+
<p class="tag_title">Parameters:</p>
|
1284
|
+
<ul class="param">
|
1285
|
+
|
1286
|
+
<li>
|
1287
|
+
|
1288
|
+
<span class='name'>title</span>
|
1289
|
+
|
1290
|
+
|
1291
|
+
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
1292
|
+
|
1293
|
+
|
1294
|
+
|
1295
|
+
—
|
1296
|
+
<div class='inline'><p>The title</p>
|
1297
|
+
</div>
|
1298
|
+
|
1299
|
+
</li>
|
1300
|
+
|
1301
|
+
<li>
|
1302
|
+
|
1303
|
+
<span class='name'>type</span>
|
1304
|
+
|
1305
|
+
|
1306
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span>
|
1307
|
+
|
1308
|
+
|
1309
|
+
|
1310
|
+
—
|
1311
|
+
<div class='inline'><p>type, :import or
|
1312
|
+
:export</p>
|
1313
|
+
</div>
|
1314
|
+
|
1315
|
+
</li>
|
1316
|
+
|
1317
|
+
<li>
|
1318
|
+
|
1319
|
+
<span class='name'>klass</span>
|
1320
|
+
|
1321
|
+
|
1322
|
+
<span class='type'>(<tt>Class</tt>)</span>
|
1323
|
+
|
1324
|
+
|
1325
|
+
|
1326
|
+
—
|
1327
|
+
<div class='inline'><p>Plugin class</p>
|
1328
|
+
</div>
|
1329
|
+
|
1330
|
+
</li>
|
1331
|
+
|
1332
|
+
</ul>
|
1333
|
+
|
1334
|
+
|
1335
|
+
</div>
|
1231
1336
|
</div>
|
1232
1337
|
|
1233
1338
|
</div>
|
@@ -1235,7 +1340,7 @@ e.g. :imp => :import</p>
|
|
1235
1340
|
</div>
|
1236
1341
|
|
1237
1342
|
<div id="footer">
|
1238
|
-
Generated on
|
1343
|
+
Generated on Fri Mar 18 12:56:58 2022 by
|
1239
1344
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1240
1345
|
0.9.27 (ruby-3.0.1).
|
1241
1346
|
</div>
|