my_help 1.2.2 → 1.2.4p1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +5 -5
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +11 -12
- data/README.org +117 -84
- data/README_e.org +110 -0
- data/Rakefile +20 -1
- data/development_memo.org +5 -0
- data/doc/MyHelp/CLI.html +56 -54
- data/doc/MyHelp/Config.html +4 -4
- data/doc/MyHelp/Error.html +3 -3
- data/doc/MyHelp/GetConfig.html +3 -3
- data/doc/MyHelp/Git.html +3 -3
- data/doc/MyHelp/Init.html +3 -3
- data/doc/MyHelp/List.html +19 -15
- data/doc/MyHelp/Md2Hash.html +3 -3
- data/doc/MyHelp/Modify.html +3 -3
- data/doc/MyHelp/Org2Hash.html +7 -5
- data/doc/MyHelp.html +4 -4
- data/doc/Org2Yaml.html +3 -3
- data/doc/_index.html +4 -4
- data/doc/file.README.html +3 -3
- data/doc/frames.html +10 -5
- data/doc/index.html +3 -3
- data/doc/top-level-namespace.html +3 -3
- data/lib/my_help/cli.rb +29 -2
- data/lib/my_help/config.rb +1 -1
- data/lib/my_help/list.rb +5 -3
- data/lib/my_help/org2hash.rb +2 -1
- data/lib/my_help/version.rb +1 -1
- data/lib/templates/emacs.org +2 -1
- data/lib/templates/emacs_j.org +76 -0
- data/lib/templates/example.org +5 -6
- data/lib/templates/my_help_j.org +24 -0
- data/lib/templates/org_j.org +25 -0
- data/my_help_install.org +33 -0
- metadata +8 -7
- data/README_j.org +0 -143
- data/doc/MyHelp/Control.html +0 -1127
- data/doc/OrgToYaml.html +0 -497
- data/tmp.txt +0 -14
data/doc/MyHelp/CLI.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::CLI
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -424,21 +424,21 @@
|
|
424
424
|
<pre class="lines">
|
425
425
|
|
426
426
|
|
427
|
-
86
|
428
|
-
87
|
429
|
-
88
|
430
|
-
89
|
431
|
-
90
|
432
427
|
91
|
433
428
|
92
|
434
429
|
93
|
435
430
|
94
|
436
431
|
95
|
437
432
|
96
|
438
|
-
97
|
433
|
+
97
|
434
|
+
98
|
435
|
+
99
|
436
|
+
100
|
437
|
+
101
|
438
|
+
102</pre>
|
439
439
|
</td>
|
440
440
|
<td>
|
441
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
441
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 91</span>
|
442
442
|
|
443
443
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
444
444
|
<span class='id identifier rubyid_c'>c</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span>
|
@@ -472,14 +472,14 @@
|
|
472
472
|
<pre class="lines">
|
473
473
|
|
474
474
|
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
475
|
+
73
|
476
|
+
74
|
477
|
+
75
|
478
|
+
76
|
479
|
+
77</pre>
|
480
480
|
</td>
|
481
481
|
<td>
|
482
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
482
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 73</span>
|
483
483
|
|
484
484
|
<span class='kw'>def</span> <span class='id identifier rubyid_edit'>edit</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
485
485
|
<span class='id identifier rubyid_c'>c</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span>
|
@@ -506,13 +506,13 @@
|
|
506
506
|
<pre class="lines">
|
507
507
|
|
508
508
|
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
509
|
+
106
|
510
|
+
107
|
511
|
+
108
|
512
|
+
109</pre>
|
513
513
|
</td>
|
514
514
|
<td>
|
515
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
515
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 106</span>
|
516
516
|
|
517
517
|
<span class='kw'>def</span> <span class='id identifier rubyid_hello'>hello</span>
|
518
518
|
<span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_gets'>gets</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span>
|
@@ -538,10 +538,6 @@
|
|
538
538
|
<pre class="lines">
|
539
539
|
|
540
540
|
|
541
|
-
27
|
542
|
-
28
|
543
|
-
29
|
544
|
-
30
|
545
541
|
31
|
546
542
|
32
|
547
543
|
33
|
@@ -550,14 +546,20 @@
|
|
550
546
|
36
|
551
547
|
37
|
552
548
|
38
|
553
|
-
39
|
549
|
+
39
|
550
|
+
40
|
551
|
+
41
|
552
|
+
42
|
553
|
+
43
|
554
|
+
44</pre>
|
554
555
|
</td>
|
555
556
|
<td>
|
556
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
557
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 31</span>
|
557
558
|
|
558
559
|
<span class='kw'>def</span> <span class='id identifier rubyid_init'>init</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
559
560
|
<span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span> <span class='comment'># for using methods in Config
|
560
|
-
</span>
|
561
|
+
</span>
|
562
|
+
<span class='comment'>#config.ask_default
|
561
563
|
</span> <span class='id identifier rubyid_init'>init</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Init.html" title="MyHelp::Init (class)">Init</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Init.html#initialize-instance_method" title="MyHelp::Init#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span><span class='rparen'>)</span>
|
562
564
|
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Local help dir exist.</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_init'>init</span><span class='period'>.</span><span class='id identifier rubyid_help_dir_exist?'>help_dir_exist?</span>
|
563
565
|
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Choose default markup '.org' [Y or .md]? </span><span class='tstring_end'>"</span></span>
|
@@ -599,17 +601,17 @@
|
|
599
601
|
<pre class="lines">
|
600
602
|
|
601
603
|
|
602
|
-
57
|
603
|
-
58
|
604
|
-
59
|
605
|
-
60
|
606
|
-
61
|
607
604
|
62
|
608
605
|
63
|
609
|
-
64
|
606
|
+
64
|
607
|
+
65
|
608
|
+
66
|
609
|
+
67
|
610
|
+
68
|
611
|
+
69</pre>
|
610
612
|
</td>
|
611
613
|
<td>
|
612
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
614
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 62</span>
|
613
615
|
|
614
616
|
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
615
617
|
<span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span>
|
@@ -639,16 +641,16 @@
|
|
639
641
|
<pre class="lines">
|
640
642
|
|
641
643
|
|
642
|
-
76
|
643
|
-
77
|
644
|
-
78
|
645
|
-
79
|
646
|
-
80
|
647
644
|
81
|
648
|
-
82
|
645
|
+
82
|
646
|
+
83
|
647
|
+
84
|
648
|
+
85
|
649
|
+
86
|
650
|
+
87</pre>
|
649
651
|
</td>
|
650
652
|
<td>
|
651
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
653
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 81</span>
|
652
654
|
|
653
655
|
<span class='kw'>def</span> <span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
654
656
|
<span class='id identifier rubyid_c'>c</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span>
|
@@ -677,18 +679,18 @@
|
|
677
679
|
<pre class="lines">
|
678
680
|
|
679
681
|
|
680
|
-
43
|
681
|
-
44
|
682
|
-
45
|
683
|
-
46
|
684
|
-
47
|
685
682
|
48
|
686
683
|
49
|
687
684
|
50
|
688
|
-
51
|
685
|
+
51
|
686
|
+
52
|
687
|
+
53
|
688
|
+
54
|
689
|
+
55
|
690
|
+
56</pre>
|
689
691
|
</td>
|
690
692
|
<td>
|
691
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
693
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 48</span>
|
692
694
|
|
693
695
|
<span class='kw'>def</span> <span class='id identifier rubyid_set'>set</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
694
696
|
<span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span> <span class='comment'># for using methods in Config
|
@@ -719,15 +721,15 @@
|
|
719
721
|
<pre class="lines">
|
720
722
|
|
721
723
|
|
722
|
-
|
723
|
-
|
724
|
-
|
724
|
+
22
|
725
|
+
23
|
726
|
+
24</pre>
|
725
727
|
</td>
|
726
728
|
<td>
|
727
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line
|
729
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/cli.rb', line 22</span>
|
728
730
|
|
729
731
|
<span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
|
730
|
-
<span class='id identifier
|
732
|
+
<span class='id identifier rubyid_print'>print</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>my_help </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="../MyHelp.html#VERSION-constant" title="MyHelp::VERSION (constant)">VERSION</a></span></span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
731
733
|
<span class='kw'>end</span></pre>
|
732
734
|
</td>
|
733
735
|
</tr>
|
@@ -739,9 +741,9 @@
|
|
739
741
|
</div>
|
740
742
|
|
741
743
|
<div id="footer">
|
742
|
-
Generated on
|
744
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
743
745
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
744
|
-
0.9.
|
746
|
+
0.9.36 (ruby-3.0.2).
|
745
747
|
</div>
|
746
748
|
|
747
749
|
</div>
|
data/doc/MyHelp/Config.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::Config
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -366,7 +366,7 @@
|
|
366
366
|
<span class='ivar'>@config</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
367
367
|
<span class='label'>template_dir:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>../templates</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid___dir__'>__dir__</span><span class='rparen'>)</span><span class='comma'>,</span>
|
368
368
|
<span class='label'>local_help_dir:</span> <span class='id identifier rubyid_local_help_dir'>local_help_dir</span><span class='comma'>,</span>
|
369
|
-
<span class='label'>conf_file:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier
|
369
|
+
<span class='label'>conf_file:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_conf_path'>conf_path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.my_help_conf.yml</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='comma'>,</span>
|
370
370
|
<span class='label'>editor:</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>EDITOR</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>emacs</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
371
371
|
<span class='label'>ext:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.org</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
372
372
|
<span class='label'>verbose:</span> <span class='kw'>false</span><span class='comma'>,</span>
|
@@ -683,9 +683,9 @@
|
|
683
683
|
</div>
|
684
684
|
|
685
685
|
<div id="footer">
|
686
|
-
Generated on
|
686
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
687
687
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
688
|
-
0.9.
|
688
|
+
0.9.36 (ruby-3.0.2).
|
689
689
|
</div>
|
690
690
|
|
691
691
|
</div>
|
data/doc/MyHelp/Error.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: MyHelp::Error
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -114,9 +114,9 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.9.
|
119
|
+
0.9.36 (ruby-3.0.2).
|
120
120
|
</div>
|
121
121
|
|
122
122
|
</div>
|
data/doc/MyHelp/GetConfig.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: MyHelp::GetConfig
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -186,9 +186,9 @@
|
|
186
186
|
</div>
|
187
187
|
|
188
188
|
<div id="footer">
|
189
|
-
Generated on
|
189
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
190
190
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
191
|
-
0.9.
|
191
|
+
0.9.36 (ruby-3.0.2).
|
192
192
|
</div>
|
193
193
|
|
194
194
|
</div>
|
data/doc/MyHelp/Git.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::Git
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -281,9 +281,9 @@
|
|
281
281
|
</div>
|
282
282
|
|
283
283
|
<div id="footer">
|
284
|
-
Generated on
|
284
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
285
285
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
286
|
-
0.9.
|
286
|
+
0.9.36 (ruby-3.0.2).
|
287
287
|
</div>
|
288
288
|
|
289
289
|
</div>
|
data/doc/MyHelp/Init.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::Init
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -439,9 +439,9 @@
|
|
439
439
|
</div>
|
440
440
|
|
441
441
|
<div id="footer">
|
442
|
-
Generated on
|
442
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
443
443
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
444
|
-
0.9.
|
444
|
+
0.9.36 (ruby-3.0.2).
|
445
445
|
</div>
|
446
446
|
|
447
447
|
</div>
|
data/doc/MyHelp/List.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::List
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -307,7 +307,7 @@
|
|
307
307
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_ext'>ext</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.org</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_layer'>layer</span> <span class='op'>=</span> <span class='int'>1</span><span class='rparen'>)</span>
|
308
308
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='id identifier rubyid_path'>path</span>
|
309
309
|
<span class='ivar'>@ext</span> <span class='op'>=</span> <span class='id identifier rubyid_ext'>ext</span>
|
310
|
-
<span class='
|
310
|
+
<span class='ivar'>@layer</span> <span class='op'>=</span> <span class='id identifier rubyid_layer'>layer</span>
|
311
311
|
<span class='kw'>end</span></pre>
|
312
312
|
</td>
|
313
313
|
</tr>
|
@@ -336,8 +336,6 @@
|
|
336
336
|
<pre class="lines">
|
337
337
|
|
338
338
|
|
339
|
-
60
|
340
|
-
61
|
341
339
|
62
|
342
340
|
63
|
343
341
|
64
|
@@ -350,10 +348,12 @@
|
|
350
348
|
71
|
351
349
|
72
|
352
350
|
73
|
353
|
-
74
|
351
|
+
74
|
352
|
+
75
|
353
|
+
76</pre>
|
354
354
|
</td>
|
355
355
|
<td>
|
356
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/list.rb', line
|
356
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/list.rb', line 62</span>
|
357
357
|
|
358
358
|
<span class='kw'>def</span> <span class='id identifier rubyid_find_near'>find_near</span><span class='lparen'>(</span><span class='id identifier rubyid_input_item'>input_item</span><span class='rparen'>)</span>
|
359
359
|
<span class='id identifier rubyid_candidates'>candidates</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -445,8 +445,6 @@
|
|
445
445
|
<pre class="lines">
|
446
446
|
|
447
447
|
|
448
|
-
44
|
449
|
-
45
|
450
448
|
46
|
451
449
|
47
|
452
450
|
48
|
@@ -459,10 +457,12 @@
|
|
459
457
|
55
|
460
458
|
56
|
461
459
|
57
|
462
|
-
58
|
460
|
+
58
|
461
|
+
59
|
462
|
+
60</pre>
|
463
463
|
</td>
|
464
464
|
<td>
|
465
|
-
<pre class="code"><span class="info file"># File 'lib/my_help/list.rb', line
|
465
|
+
<pre class="code"><span class="info file"># File 'lib/my_help/list.rb', line 46</span>
|
466
466
|
|
467
467
|
<span class='kw'>def</span> <span class='id identifier rubyid_list_help_with'>list_help_with</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_item'>item</span><span class='rparen'>)</span>
|
468
468
|
<span class='ivar'>@help_info</span> <span class='op'>=</span> <span class='id identifier rubyid_read_help'>read_help</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
@@ -507,7 +507,9 @@
|
|
507
507
|
37
|
508
508
|
38
|
509
509
|
39
|
510
|
-
40
|
510
|
+
40
|
511
|
+
41
|
512
|
+
42</pre>
|
511
513
|
</td>
|
512
514
|
<td>
|
513
515
|
<pre class="code"><span class="info file"># File 'lib/my_help/list.rb', line 32</span>
|
@@ -517,8 +519,10 @@
|
|
517
519
|
<span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span><span class='lparen'>(</span><span class='id identifier rubyid_files'>files</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_inject'>inject</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_out'>out</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='op'>|</span>
|
518
520
|
<span class='comment'># p [out, file]
|
519
521
|
</span> <span class='id identifier rubyid_help_info'>help_info</span> <span class='op'>=</span> <span class='id identifier rubyid_read_help'>read_help</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span>
|
520
|
-
<span class='id identifier
|
521
|
-
|
522
|
+
<span class='id identifier rubyid_head'>head</span> <span class='op'>=</span> <span class='id identifier rubyid_help_info'>help_info</span><span class='lbracket'>[</span><span class='symbol'>:items</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>head</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>?</span>
|
523
|
+
<span class='id identifier rubyid_help_info'>help_info</span><span class='lbracket'>[</span><span class='symbol'>:items</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>head</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>:</span>
|
524
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
525
|
+
<span class='id identifier rubyid_out'>out</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%10s: %s\n</span><span class='tstring_end'>"</span></span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='id identifier rubyid_help_info'>help_info</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_head'>head</span><span class='rbracket'>]</span>
|
522
526
|
<span class='kw'>end</span>
|
523
527
|
<span class='kw'>end</span></pre>
|
524
528
|
</td>
|
@@ -567,9 +571,9 @@
|
|
567
571
|
</div>
|
568
572
|
|
569
573
|
<div id="footer">
|
570
|
-
Generated on
|
574
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
571
575
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
572
|
-
0.9.
|
576
|
+
0.9.36 (ruby-3.0.2).
|
573
577
|
</div>
|
574
578
|
|
575
579
|
</div>
|
data/doc/MyHelp/Md2Hash.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::Md2Hash
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -622,9 +622,9 @@
|
|
622
622
|
</div>
|
623
623
|
|
624
624
|
<div id="footer">
|
625
|
-
Generated on
|
625
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
626
626
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
627
|
-
0.9.
|
627
|
+
0.9.36 (ruby-3.0.2).
|
628
628
|
</div>
|
629
629
|
|
630
630
|
</div>
|
data/doc/MyHelp/Modify.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::Modify
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -383,9 +383,9 @@
|
|
383
383
|
</div>
|
384
384
|
|
385
385
|
<div id="footer">
|
386
|
-
Generated on
|
386
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
387
387
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
388
|
-
0.9.
|
388
|
+
0.9.36 (ruby-3.0.2).
|
389
389
|
</div>
|
390
390
|
|
391
391
|
</div>
|
data/doc/MyHelp/Org2Hash.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MyHelp::Org2Hash
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -456,13 +456,15 @@
|
|
456
456
|
|
457
457
|
41
|
458
458
|
42
|
459
|
-
43
|
459
|
+
43
|
460
|
+
44</pre>
|
460
461
|
</td>
|
461
462
|
<td>
|
462
463
|
<pre class="code"><span class="info file"># File 'lib/my_help/org2hash.rb', line 41</span>
|
463
464
|
|
464
465
|
<span class='kw'>def</span> <span class='id identifier rubyid_read_item'>read_item</span><span class='lparen'>(</span><span class='id identifier rubyid_line'>line</span><span class='rparen'>)</span>
|
465
|
-
<span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\* (.+)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span
|
466
|
+
<span class='id identifier rubyid_m'>m</span> <span class='op'>=</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\* (.+)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
|
467
|
+
<span class='id identifier rubyid_m'>m</span> <span class='op'>?</span> <span class='id identifier rubyid_m'>m</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
466
468
|
<span class='kw'>end</span></pre>
|
467
469
|
</td>
|
468
470
|
</tr>
|
@@ -532,9 +534,9 @@
|
|
532
534
|
</div>
|
533
535
|
|
534
536
|
<div id="footer">
|
535
|
-
Generated on
|
537
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
536
538
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
537
|
-
0.9.
|
539
|
+
0.9.36 (ruby-3.0.2).
|
538
540
|
</div>
|
539
541
|
|
540
542
|
</div>
|
data/doc/MyHelp.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: MyHelp
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<dt id="VERSION-constant" class="">VERSION =
|
110
110
|
|
111
111
|
</dt>
|
112
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.2.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
113
113
|
|
114
114
|
</dl>
|
115
115
|
|
@@ -125,9 +125,9 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
129
129
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
-
0.9.
|
130
|
+
0.9.36 (ruby-3.0.2).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</div>
|
data/doc/Org2Yaml.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Org2Yaml
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -487,9 +487,9 @@
|
|
487
487
|
</div>
|
488
488
|
|
489
489
|
<div id="footer">
|
490
|
-
Generated on
|
490
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
491
491
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
492
|
-
0.9.
|
492
|
+
0.9.36 (ruby-3.0.2).
|
493
493
|
</div>
|
494
494
|
|
495
495
|
</div>
|
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
|
7
|
+
my_help
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<div class="clear"></div>
|
53
53
|
</div>
|
54
54
|
|
55
|
-
<div id="content"><h1 class="noborder title">
|
55
|
+
<div id="content"><h1 class="noborder title">my_help</h1>
|
56
56
|
<div id="listing">
|
57
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
58
|
|
@@ -220,9 +220,9 @@
|
|
220
220
|
</div>
|
221
221
|
|
222
222
|
<div id="footer">
|
223
|
-
Generated on
|
223
|
+
Generated on Thu Sep 26 14:20:51 2024 by
|
224
224
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
225
|
-
0.9.
|
225
|
+
0.9.36 (ruby-3.0.2).
|
226
226
|
</div>
|
227
227
|
|
228
228
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
—
|
9
|
+
— my_help
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -171,9 +171,9 @@ $ my_help set_editor vim
|
|
171
171
|
</div></div>
|
172
172
|
|
173
173
|
<div id="footer">
|
174
|
-
Generated on
|
174
|
+
Generated on Thu Sep 26 14:20:52 2024 by
|
175
175
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
176
|
-
0.9.
|
176
|
+
0.9.36 (ruby-3.0.2).
|
177
177
|
</div>
|
178
178
|
|
179
179
|
</div>
|