my_help 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.gitignore +1 -1
  4. data/.yardoc/checksums +11 -5
  5. data/.yardoc/object_types +0 -0
  6. data/.yardoc/objects/root.dat +0 -0
  7. data/doc/MyHelp/CLI.html +749 -0
  8. data/doc/MyHelp/Config.html +693 -0
  9. data/doc/MyHelp/Error.html +124 -0
  10. data/doc/MyHelp/GetConfig.html +196 -0
  11. data/doc/MyHelp/Git.html +291 -0
  12. data/doc/MyHelp/Init.html +449 -0
  13. data/doc/MyHelp/List.html +577 -0
  14. data/doc/MyHelp/Md2Hash.html +632 -0
  15. data/doc/MyHelp/Modify.html +393 -0
  16. data/doc/MyHelp/Org2Hash.html +542 -0
  17. data/doc/MyHelp.html +10 -8
  18. data/doc/Org2Yaml.html +497 -0
  19. data/doc/_index.html +102 -7
  20. data/doc/class_list.html +1 -1
  21. data/doc/file.README.html +81 -412
  22. data/doc/frames.html +1 -1
  23. data/doc/index.html +81 -412
  24. data/doc/method_list.html +292 -36
  25. data/doc/top-level-namespace.html +5 -5
  26. data/lib/my_help/version.rb +1 -1
  27. data/my_help.gemspec +1 -0
  28. data/pkg/my_help-0.8.6.gem +0 -0
  29. data/pkg/my_help-0.9.0.gem +0 -0
  30. data/pkg/my_help-1.0b.gem +0 -0
  31. data/pkg/my_help-1.0c.gem +0 -0
  32. data/pkg/my_help-1.1.gem +0 -0
  33. data/pkg/my_help-1.1a.gem +0 -0
  34. metadata +20 -24
  35. data/'../test'/.my_help/.my_help_conf.yml +0 -2
  36. data/'../test'/.my_help/emacs.org +0 -50
  37. data/'../test'/.my_help/org.org +0 -64
  38. data/'../test'/.my_help/todo.org +0 -11
  39. data/docs/README.html +0 -218
  40. data/docs/README.org +0 -202
  41. data/docs/old_docs/16b_nasu.pdf +0 -0
  42. data/docs/old_docs/17b_oyagi.pdf +0 -0
  43. data/docs/old_docs/19b_okabata.pdf +0 -0
  44. data/docs/old_docs/19b_yamaguchi.pdf +0 -0
  45. data/docs/old_docs/features/delete.feature +0 -7
  46. data/docs/old_docs/features/edit.feature +0 -7
  47. data/docs/old_docs/features/list.feature +0 -6
  48. data/docs/old_docs/features/new.feature +0 -7
  49. data/docs/old_docs/features/step_definitions/delete_spec.rb +0 -12
  50. data/docs/old_docs/features/step_definitions/edit_spec.rb +0 -14
  51. data/docs/old_docs/features/step_definitions/list_spec.rb +0 -10
  52. data/docs/old_docs/features/step_definitions/new_spec.rb +0 -12
  53. data/docs/old_docs/features/support/env.rb +0 -3
  54. data/docs/old_docs/fukumori_symp/18_human_interface_fukumori_workshop.pdf +0 -0
  55. data/docs/old_docs/fukumori_symp/memo_perp_magician.pdf +0 -0
  56. data/docs/old_docs/fukumori_symp//347/237/245/350/255/230/343/201/256/347/233/264/344/272/244/350/243/234/347/251/272/351/226/223.png +0 -0
@@ -0,0 +1,632 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: MyHelp::Md2Hash
8
+
9
+ &mdash; Documentation by YARD 0.9.28
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "MyHelp::Md2Hash";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (M)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../MyHelp.html" title="MyHelp (module)">MyHelp</a></span></span>
41
+ &raquo;
42
+ <span class="title">Md2Hash</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: MyHelp::Md2Hash
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">MyHelp::Md2Hash</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/my_help/md2hash.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+
103
+
104
+ <h2>
105
+ Constant Summary
106
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
107
+ </h2>
108
+
109
+ <dl class="constants">
110
+
111
+ <dt id="TRANS-constant" class="">TRANS =
112
+
113
+ </dt>
114
+ <dd><pre class="code"><span class='lbrace'>{</span>
115
+ <span class='comment'>#current
116
+ </span> <span class='comment'># new action
117
+ </span> <span class='comment'>#-----------------------------------
118
+ </span> <span class='label'>init:</span> <span class='lbrace'>{</span>
119
+ <span class='comment'>#&quot;*&quot; =&gt; [:init, :ignore],
120
+ </span> <span class='symbol'>:default</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='symbol'>:init</span><span class='comma'>,</span> <span class='symbol'>:ignore</span><span class='rbracket'>]</span><span class='comma'>,</span>
121
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>#</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='symbol'>:reading</span><span class='comma'>,</span> <span class='symbol'>:item</span><span class='rbracket'>]</span><span class='comma'>,</span>
122
+ <span class='rbrace'>}</span><span class='comma'>,</span>
123
+ <span class='label'>reading:</span> <span class='lbrace'>{</span>
124
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>#</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='symbol'>:reading</span><span class='comma'>,</span> <span class='symbol'>:item</span><span class='rbracket'>]</span><span class='comma'>,</span>
125
+ <span class='symbol'>:default</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='symbol'>:reading</span><span class='comma'>,</span> <span class='symbol'>:data</span><span class='rbracket'>]</span><span class='comma'>,</span>
126
+ <span class='rbrace'>}</span><span class='comma'>,</span>
127
+ <span class='rbrace'>}</span></pre></dd>
128
+
129
+ </dl>
130
+
131
+
132
+
133
+
134
+
135
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
136
+ <ul class="summary">
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#contents-instance_method" title="#contents (instance method)">#<strong>contents</strong> &#x21d2; Object </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <span class="summary_desc"><div class='inline'>
159
+ <p>Returns the value of attribute contents.</p>
160
+ </div></span>
161
+
162
+ </li>
163
+
164
+
165
+ <li class="public ">
166
+ <span class="summary_signature">
167
+
168
+ <a href="#md_text-instance_method" title="#md_text (instance method)">#<strong>md_text</strong> &#x21d2; Object </a>
169
+
170
+
171
+
172
+ </span>
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ <span class="summary_desc"><div class='inline'>
186
+ <p>Returns the value of attribute md_text.</p>
187
+ </div></span>
188
+
189
+ </li>
190
+
191
+
192
+ <li class="public ">
193
+ <span class="summary_signature">
194
+
195
+ <a href="#opts-instance_method" title="#opts (instance method)">#<strong>opts</strong> &#x21d2; Object </a>
196
+
197
+
198
+
199
+ </span>
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+ <span class="summary_desc"><div class='inline'>
213
+ <p>Returns the value of attribute opts.</p>
214
+ </div></span>
215
+
216
+ </li>
217
+
218
+
219
+ <li class="public ">
220
+ <span class="summary_signature">
221
+
222
+ <a href="#results-instance_method" title="#results (instance method)">#<strong>results</strong> &#x21d2; Object </a>
223
+
224
+
225
+
226
+ </span>
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+ <span class="summary_desc"><div class='inline'>
240
+ <p>Returns the value of attribute results.</p>
241
+ </div></span>
242
+
243
+ </li>
244
+
245
+
246
+ </ul>
247
+
248
+
249
+
250
+
251
+
252
+ <h2>
253
+ Instance Method Summary
254
+ <small><a href="#" class="summary_toggle">collapse</a></small>
255
+ </h2>
256
+
257
+ <ul class="summary">
258
+
259
+ <li class="public ">
260
+ <span class="summary_signature">
261
+
262
+ <a href="#fsm-instance_method" title="#fsm (instance method)">#<strong>fsm</strong> &#x21d2; Object </a>
263
+
264
+
265
+
266
+ </span>
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+ <span class="summary_desc"><div class='inline'></div></span>
277
+
278
+ </li>
279
+
280
+
281
+ <li class="public ">
282
+ <span class="summary_signature">
283
+
284
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(md_text = &quot;&quot;, **opts) &#x21d2; Md2Hash </a>
285
+
286
+
287
+
288
+ </span>
289
+
290
+
291
+ <span class="note title constructor">constructor</span>
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+ <span class="summary_desc"><div class='inline'>
301
+ <p>A new instance of Md2Hash.</p>
302
+ </div></span>
303
+
304
+ </li>
305
+
306
+
307
+ </ul>
308
+
309
+
310
+ <div id="constructor_details" class="method_details_list">
311
+ <h2>Constructor Details</h2>
312
+
313
+ <div class="method_details first">
314
+ <h3 class="signature first" id="initialize-instance_method">
315
+
316
+ #<strong>initialize</strong>(md_text = &quot;&quot;, **opts) &#x21d2; <tt><span class='object_link'><a href="" title="MyHelp::Md2Hash (class)">Md2Hash</a></span></tt>
317
+
318
+
319
+
320
+
321
+
322
+ </h3><div class="docstring">
323
+ <div class="discussion">
324
+
325
+ <p>Returns a new instance of Md2Hash.</p>
326
+
327
+
328
+ </div>
329
+ </div>
330
+ <div class="tags">
331
+
332
+
333
+ </div><table class="source_code">
334
+ <tr>
335
+ <td>
336
+ <pre class="lines">
337
+
338
+
339
+ 5
340
+ 6
341
+ 7
342
+ 8
343
+ 9
344
+ 10</pre>
345
+ </td>
346
+ <td>
347
+ <pre class="code"><span class="info file"># File 'lib/my_help/md2hash.rb', line 5</span>
348
+
349
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_md_text'>md_text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
350
+ <span class='ivar'>@opts</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span>
351
+ <span class='ivar'>@md_text</span> <span class='op'>=</span> <span class='id identifier rubyid_md_text'>md_text</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
352
+ <span class='ivar'>@contents</span> <span class='op'>=</span> <span class='id identifier rubyid_fsm'>fsm</span>
353
+ <span class='comment'>#fsm()
354
+ </span><span class='kw'>end</span></pre>
355
+ </td>
356
+ </tr>
357
+ </table>
358
+ </div>
359
+
360
+ </div>
361
+
362
+ <div id="instance_attr_details" class="attr_details">
363
+ <h2>Instance Attribute Details</h2>
364
+
365
+
366
+ <span id="contents=-instance_method"></span>
367
+ <div class="method_details first">
368
+ <h3 class="signature first" id="contents-instance_method">
369
+
370
+ #<strong>contents</strong> &#x21d2; <tt>Object</tt>
371
+
372
+
373
+
374
+
375
+
376
+ </h3><div class="docstring">
377
+ <div class="discussion">
378
+
379
+ <p>Returns the value of attribute contents.</p>
380
+
381
+
382
+ </div>
383
+ </div>
384
+ <div class="tags">
385
+
386
+
387
+ </div><table class="source_code">
388
+ <tr>
389
+ <td>
390
+ <pre class="lines">
391
+
392
+
393
+ 3
394
+ 4
395
+ 5</pre>
396
+ </td>
397
+ <td>
398
+ <pre class="code"><span class="info file"># File 'lib/my_help/md2hash.rb', line 3</span>
399
+
400
+ <span class='kw'>def</span> <span class='id identifier rubyid_contents'>contents</span>
401
+ <span class='ivar'>@contents</span>
402
+ <span class='kw'>end</span></pre>
403
+ </td>
404
+ </tr>
405
+ </table>
406
+ </div>
407
+
408
+
409
+ <span id="md_text=-instance_method"></span>
410
+ <div class="method_details ">
411
+ <h3 class="signature " id="md_text-instance_method">
412
+
413
+ #<strong>md_text</strong> &#x21d2; <tt>Object</tt>
414
+
415
+
416
+
417
+
418
+
419
+ </h3><div class="docstring">
420
+ <div class="discussion">
421
+
422
+ <p>Returns the value of attribute md_text.</p>
423
+
424
+
425
+ </div>
426
+ </div>
427
+ <div class="tags">
428
+
429
+
430
+ </div><table class="source_code">
431
+ <tr>
432
+ <td>
433
+ <pre class="lines">
434
+
435
+
436
+ 3
437
+ 4
438
+ 5</pre>
439
+ </td>
440
+ <td>
441
+ <pre class="code"><span class="info file"># File 'lib/my_help/md2hash.rb', line 3</span>
442
+
443
+ <span class='kw'>def</span> <span class='id identifier rubyid_md_text'>md_text</span>
444
+ <span class='ivar'>@md_text</span>
445
+ <span class='kw'>end</span></pre>
446
+ </td>
447
+ </tr>
448
+ </table>
449
+ </div>
450
+
451
+
452
+ <span id="opts=-instance_method"></span>
453
+ <div class="method_details ">
454
+ <h3 class="signature " id="opts-instance_method">
455
+
456
+ #<strong>opts</strong> &#x21d2; <tt>Object</tt>
457
+
458
+
459
+
460
+
461
+
462
+ </h3><div class="docstring">
463
+ <div class="discussion">
464
+
465
+ <p>Returns the value of attribute opts.</p>
466
+
467
+
468
+ </div>
469
+ </div>
470
+ <div class="tags">
471
+
472
+
473
+ </div><table class="source_code">
474
+ <tr>
475
+ <td>
476
+ <pre class="lines">
477
+
478
+
479
+ 3
480
+ 4
481
+ 5</pre>
482
+ </td>
483
+ <td>
484
+ <pre class="code"><span class="info file"># File 'lib/my_help/md2hash.rb', line 3</span>
485
+
486
+ <span class='kw'>def</span> <span class='id identifier rubyid_opts'>opts</span>
487
+ <span class='ivar'>@opts</span>
488
+ <span class='kw'>end</span></pre>
489
+ </td>
490
+ </tr>
491
+ </table>
492
+ </div>
493
+
494
+
495
+ <span id="results=-instance_method"></span>
496
+ <div class="method_details ">
497
+ <h3 class="signature " id="results-instance_method">
498
+
499
+ #<strong>results</strong> &#x21d2; <tt>Object</tt>
500
+
501
+
502
+
503
+
504
+
505
+ </h3><div class="docstring">
506
+ <div class="discussion">
507
+
508
+ <p>Returns the value of attribute results.</p>
509
+
510
+
511
+ </div>
512
+ </div>
513
+ <div class="tags">
514
+
515
+
516
+ </div><table class="source_code">
517
+ <tr>
518
+ <td>
519
+ <pre class="lines">
520
+
521
+
522
+ 3
523
+ 4
524
+ 5</pre>
525
+ </td>
526
+ <td>
527
+ <pre class="code"><span class="info file"># File 'lib/my_help/md2hash.rb', line 3</span>
528
+
529
+ <span class='kw'>def</span> <span class='id identifier rubyid_results'>results</span>
530
+ <span class='ivar'>@results</span>
531
+ <span class='kw'>end</span></pre>
532
+ </td>
533
+ </tr>
534
+ </table>
535
+ </div>
536
+
537
+ </div>
538
+
539
+
540
+ <div id="instance_method_details" class="method_details_list">
541
+ <h2>Instance Method Details</h2>
542
+
543
+
544
+ <div class="method_details first">
545
+ <h3 class="signature first" id="fsm-instance_method">
546
+
547
+ #<strong>fsm</strong> &#x21d2; <tt>Object</tt>
548
+
549
+
550
+
551
+
552
+
553
+ </h3><table class="source_code">
554
+ <tr>
555
+ <td>
556
+ <pre class="lines">
557
+
558
+
559
+ 27
560
+ 28
561
+ 29
562
+ 30
563
+ 31
564
+ 32
565
+ 33
566
+ 34
567
+ 35
568
+ 36
569
+ 37
570
+ 38
571
+ 39
572
+ 40
573
+ 41
574
+ 42
575
+ 43
576
+ 44
577
+ 45
578
+ 46
579
+ 47
580
+ 48
581
+ 49
582
+ 50
583
+ 51
584
+ 52</pre>
585
+ </td>
586
+ <td>
587
+ <pre class="code"><span class="info file"># File 'lib/my_help/md2hash.rb', line 27</span>
588
+
589
+ <span class='kw'>def</span> <span class='id identifier rubyid_fsm'>fsm</span>
590
+ <span class='id identifier rubyid_contents'>contents</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
591
+ <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='symbol'>:init</span>
592
+ <span class='ivar'>@results</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
593
+ <span class='id identifier rubyid_item'>item</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
594
+ <span class='ivar'>@md_text</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_line'>line</span><span class='op'>|</span>
595
+ <span class='id identifier rubyid_state'>state</span><span class='comma'>,</span> <span class='id identifier rubyid_action'>action</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#TRANS-constant" title="MyHelp::Md2Hash::TRANS (constant)">TRANS</a></span></span><span class='lbracket'>[</span><span class='id identifier rubyid_state'>state</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='id identifier rubyid_line'>line</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="#TRANS-constant" title="MyHelp::Md2Hash::TRANS (constant)">TRANS</a></span></span><span class='lbracket'>[</span><span class='id identifier rubyid_state'>state</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='symbol'>:default</span><span class='rbracket'>]</span>
596
+
597
+ <span class='kw'>if</span> <span class='id identifier rubyid_line'>line</span><span class='lbracket'>[</span><span class='int'>0</span><span class='op'>..</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>#+</span><span class='tstring_end'>&quot;</span></span> <span class='comment'># line[1] != &quot; &quot;
598
+ </span> <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='symbol'>:init</span>
599
+ <span class='id identifier rubyid_action'>action</span> <span class='op'>=</span> <span class='symbol'>:ignore</span>
600
+ <span class='kw'>end</span>
601
+
602
+ <span class='id identifier rubyid_results'>results</span> <span class='op'>&lt;&lt;</span> <span class='lbracket'>[</span><span class='id identifier rubyid_line'>line</span><span class='comma'>,</span> <span class='id identifier rubyid_state'>state</span><span class='comma'>,</span> <span class='id identifier rubyid_action'>action</span><span class='rbracket'>]</span>
603
+
604
+ <span class='kw'>case</span> <span class='id identifier rubyid_action'>action</span>
605
+ <span class='kw'>when</span> <span class='symbol'>:ignore</span>
606
+ <span class='kw'>when</span> <span class='symbol'>:item</span>
607
+ <span class='id identifier rubyid_item'>item</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><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
608
+ <span class='id identifier rubyid_contents'>contents</span><span class='lbracket'>[</span><span class='id identifier rubyid_item'>item</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
609
+ <span class='kw'>when</span> <span class='symbol'>:data</span>
610
+ <span class='id identifier rubyid_contents'>contents</span><span class='lbracket'>[</span><span class='id identifier rubyid_item'>item</span><span class='rbracket'>]</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_line'>line</span>
611
+ <span class='kw'>end</span>
612
+ <span class='kw'>end</span>
613
+ <span class='kw'>return</span> <span class='id identifier rubyid_contents'>contents</span>
614
+ <span class='kw'>end</span></pre>
615
+ </td>
616
+ </tr>
617
+ </table>
618
+ </div>
619
+
620
+ </div>
621
+
622
+ </div>
623
+
624
+ <div id="footer">
625
+ Generated on Fri Jan 6 13:07:57 2023 by
626
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
627
+ 0.9.28 (ruby-3.0.2).
628
+ </div>
629
+
630
+ </div>
631
+ </body>
632
+ </html>