dirtravel 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,22 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: DirTravel::Travel
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; Documentation by YARD 0.9.36
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
17
+ <script type="text/javascript">
18
+ pathId = "DirTravel::Travel";
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!DirTravel/Travel.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,48 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
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">
33
38
 
34
39
  <a href="../_index.html">Index (T)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../DirTravel.html" title="DirTravel (module)">DirTravel</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">Travel</span>
38
43
 
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
44
  </div>
42
45
 
43
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
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>
58
56
  </a>
59
57
 
60
58
  </div>
61
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: DirTravel::Travel
62
+ <div id="content"><h1>Class: DirTravel::Travel
67
63
 
68
64
 
69
65
 
70
66
  </h1>
71
-
72
- <dl class="box">
67
+ <div class="box_info">
73
68
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
76
72
  <span class="inheritName">Object</span>
77
73
 
78
74
  <ul class="fullTree">
@@ -83,33 +79,34 @@
83
79
  </ul>
84
80
  <a href="#" class="inheritanceTree">show all</a>
85
81
 
86
- </dd>
87
-
82
+ </dd>
83
+ </dl>
88
84
 
85
+
89
86
 
90
-
91
87
 
92
-
93
88
 
94
89
 
95
90
 
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/dirtravel.rb</dd>
91
+
98
92
 
99
- </dl>
100
- <div class="clear"></div>
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/dirtravel.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
101
 
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
104
104
 
105
- <p>Create directory recursion tree (with <span class='object_link'><a href="#filetree-class_method" title="DirTravel::Travel.filetree (method)">Travel.filetree</a></span>). Optionally filter
106
- with suffix and modify tree building with options Hash (see below).</p>
105
+ <p>Create directory recursion tree (with <span class='object_link'><a href="#filetree-class_method" title="DirTravel::Travel.filetree (method)">Travel.filetree</a></span>). Optionally filter with suffix and modify tree building with options Hash (see below).</p>
107
106
 
108
- <p>If basedir is absolute path, the root name is the search path. If basedir
109
- is relative path, before search the current directory is changed to
110
- referenced directory and root name is the current directory, single level.</p>
107
+ <p>If basedir is an absolute path, the root name is the search path. If basedir is a relative path, the current directory is changed to referenced directory before search and root name is the current directory, single level.</p>
111
108
 
112
- <h2 id="label-Parameters%3A">Parameters:</h2>
109
+ <h2 id="label-Parameters-3A">Parameters:</h2>
113
110
  <dl class="rdoc-list note-list"><dt>sort
114
111
  <dd>
115
112
  <p>Sort directory entries (default: false).</p>
@@ -126,7 +123,7 @@ referenced directory and root name is the current directory, single level.</p>
126
123
 
127
124
  <p>Example:</p>
128
125
 
129
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_d1'>d1</span> <span class='op'>=</span> <span class='const'>DirTravel</span><span class='op'>::</span><span class='const'>Travel</span><span class='period'>.</span><span class='id identifier rubyid_filetree'>filetree</span><span class='lparen'>(</span> <span class='id identifier rubyid_dir1'>dir1</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:sort</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:suffix</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.mp3</span><span class='tstring_end'>&#39;</span></span> <span class='rbrace'>}</span> <span class='rparen'>)</span>
126
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_d1'>d1</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../DirTravel.html" title="DirTravel (module)">DirTravel</a></span></span><span class='op'>::</span><span class='const'>Travel</span><span class='period'>.</span><span class='id identifier rubyid_filetree'><span class='object_link'><a href="#filetree-class_method" title="DirTravel::Travel.filetree (method)">filetree</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_dir1'>dir1</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:sort</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:suffix</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.mp3</span><span class='tstring_end'>&#39;</span></span> <span class='rbrace'>}</span> <span class='rparen'>)</span>
130
127
  </code></pre>
131
128
 
132
129
 
@@ -139,13 +136,13 @@ referenced directory and root name is the current directory, single level.</p>
139
136
 
140
137
 
141
138
 
142
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
139
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
143
140
  <ul class="summary">
144
141
 
145
142
  <li class="public ">
146
143
  <span class="summary_signature">
147
144
 
148
- <a href="#abspath-instance_method" title="#abspath (instance method)">- (Object) <strong>abspath</strong> </a>
145
+ <a href="#abspath-instance_method" title="#abspath (instance method)">#<strong>abspath</strong> &#x21d2; Object </a>
149
146
 
150
147
 
151
148
 
@@ -172,7 +169,7 @@ referenced directory and root name is the current directory, single level.</p>
172
169
  <li class="public ">
173
170
  <span class="summary_signature">
174
171
 
175
- <a href="#basedir-instance_method" title="#basedir (instance method)">- (Object) <strong>basedir</strong> </a>
172
+ <a href="#basedir-instance_method" title="#basedir (instance method)">#<strong>basedir</strong> &#x21d2; Object </a>
176
173
 
177
174
 
178
175
 
@@ -199,7 +196,7 @@ referenced directory and root name is the current directory, single level.</p>
199
196
  <li class="public ">
200
197
  <span class="summary_signature">
201
198
 
202
- <a href="#defaults-instance_method" title="#defaults (instance method)">- (Object) <strong>defaults</strong> </a>
199
+ <a href="#defaults-instance_method" title="#defaults (instance method)">#<strong>defaults</strong> &#x21d2; Object </a>
203
200
 
204
201
 
205
202
 
@@ -226,7 +223,7 @@ referenced directory and root name is the current directory, single level.</p>
226
223
  <li class="public ">
227
224
  <span class="summary_signature">
228
225
 
229
- <a href="#root-instance_method" title="#root (instance method)">- (Object) <strong>root</strong> </a>
226
+ <a href="#root-instance_method" title="#root (instance method)">#<strong>root</strong> &#x21d2; Object </a>
230
227
 
231
228
 
232
229
 
@@ -258,7 +255,7 @@ referenced directory and root name is the current directory, single level.</p>
258
255
 
259
256
  <h2>
260
257
  Class Method Summary
261
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
258
+ <small><a href="#" class="summary_toggle">collapse</a></small>
262
259
  </h2>
263
260
 
264
261
  <ul class="summary">
@@ -266,7 +263,7 @@ referenced directory and root name is the current directory, single level.</p>
266
263
  <li class="public ">
267
264
  <span class="summary_signature">
268
265
 
269
- <a href="#filetree-class_method" title="filetree (class method)">+ (DirEntry) <strong>filetree</strong>(basedir = &#39;.&#39;, options = {}) </a>
266
+ <a href="#filetree-class_method" title="filetree (class method)">.<strong>filetree</strong>(basedir = &#39;.&#39;, options = {}) &#x21d2; DirEntry </a>
270
267
 
271
268
 
272
269
 
@@ -291,7 +288,7 @@ referenced directory and root name is the current directory, single level.</p>
291
288
 
292
289
  <h2>
293
290
  Instance Method Summary
294
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
291
+ <small><a href="#" class="summary_toggle">collapse</a></small>
295
292
  </h2>
296
293
 
297
294
  <ul class="summary">
@@ -299,7 +296,7 @@ referenced directory and root name is the current directory, single level.</p>
299
296
  <li class="public ">
300
297
  <span class="summary_signature">
301
298
 
302
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Travel) <strong>initialize</strong>(basedir, abspath, options = {}) </a>
299
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(basedir, abspath, options = {}) &#x21d2; Travel </a>
303
300
 
304
301
 
305
302
 
@@ -325,7 +322,7 @@ referenced directory and root name is the current directory, single level.</p>
325
322
  <li class="public ">
326
323
  <span class="summary_signature">
327
324
 
328
- <a href="#travel-instance_method" title="#travel (instance method)">- (Object) <strong>travel</strong>(suffix = @defaults[ :suffix ]) </a>
325
+ <a href="#travel-instance_method" title="#travel (instance method)">#<strong>travel</strong>(suffix = ) &#x21d2; Object </a>
329
326
 
330
327
 
331
328
 
@@ -355,7 +352,7 @@ referenced directory and root name is the current directory, single level.</p>
355
352
  <div class="method_details first">
356
353
  <h3 class="signature first" id="initialize-instance_method">
357
354
 
358
- - (<tt><span class='object_link'><a href="" title="DirTravel::Travel (class)">Travel</a></span></tt>) <strong>initialize</strong>(basedir, abspath, options = {})
355
+ #<strong>initialize</strong>(basedir, abspath, options = {}) &#x21d2; <tt><span class='object_link'><a href="" title="DirTravel::Travel (class)">Travel</a></span></tt>
359
356
 
360
357
 
361
358
 
@@ -364,8 +361,7 @@ referenced directory and root name is the current directory, single level.</p>
364
361
  </h3><div class="docstring">
365
362
  <div class="discussion">
366
363
 
367
- <p>Create directory recursion object. Overlay options on top of defaults.
368
- Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTravel::DirEntry (class)">DirEntry</a></span>.</p>
364
+ <p>Create directory recursion object. Overlay options on top of defaults. Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTravel::DirEntry (class)">DirEntry</a></span>.</p>
369
365
 
370
366
 
371
367
  </div>
@@ -465,7 +461,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
465
461
 
466
462
  <span class='ivar'>@defaults</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span> <span class='id identifier rubyid_options'>options</span> <span class='rparen'>)</span>
467
463
 
468
- <span class='ivar'>@root</span> <span class='op'>=</span> <span class='const'>DirEntry</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='comma'>,</span> <span class='id identifier rubyid_abspath'>abspath</span> <span class='rparen'>)</span>
464
+ <span class='ivar'>@root</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="DirEntry.html" title="DirTravel::DirEntry (class)">DirEntry</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="DirEntry.html#initialize-instance_method" title="DirTravel::DirEntry#initialize (method)">new</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='comma'>,</span> <span class='id identifier rubyid_abspath'>abspath</span> <span class='rparen'>)</span>
469
465
  <span class='kw'>end</span></pre>
470
466
  </td>
471
467
  </tr>
@@ -482,7 +478,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
482
478
  <div class="method_details first">
483
479
  <h3 class="signature first" id="abspath-instance_method">
484
480
 
485
- - (<tt>Object</tt>) <strong>abspath</strong>
481
+ #<strong>abspath</strong> &#x21d2; <tt>Object</tt>
486
482
 
487
483
 
488
484
 
@@ -491,7 +487,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
491
487
  </h3><div class="docstring">
492
488
  <div class="discussion">
493
489
 
494
- <p>Returns the value of attribute abspath</p>
490
+ <p>Returns the value of attribute abspath.</p>
495
491
 
496
492
 
497
493
  </div>
@@ -525,7 +521,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
525
521
  <div class="method_details ">
526
522
  <h3 class="signature " id="basedir-instance_method">
527
523
 
528
- - (<tt>Object</tt>) <strong>basedir</strong>
524
+ #<strong>basedir</strong> &#x21d2; <tt>Object</tt>
529
525
 
530
526
 
531
527
 
@@ -568,7 +564,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
568
564
  <div class="method_details ">
569
565
  <h3 class="signature " id="defaults-instance_method">
570
566
 
571
- - (<tt>Object</tt>) <strong>defaults</strong>
567
+ #<strong>defaults</strong> &#x21d2; <tt>Object</tt>
572
568
 
573
569
 
574
570
 
@@ -611,7 +607,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
611
607
  <div class="method_details ">
612
608
  <h3 class="signature " id="root-instance_method">
613
609
 
614
- - (<tt>Object</tt>) <strong>root</strong>
610
+ #<strong>root</strong> &#x21d2; <tt>Object</tt>
615
611
 
616
612
 
617
613
 
@@ -641,7 +637,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
641
637
  <td>
642
638
  <pre class="code"><span class="info file"># File 'lib/dirtravel.rb', line 225</span>
643
639
 
644
- <span class='kw'>def</span> <span class='id identifier rubyid_root'>root</span>
640
+ <span class='kw'>def</span> <span class='id identifier rubyid_root'><span class='object_link'><a href="../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span>
645
641
  <span class='ivar'>@root</span>
646
642
  <span class='kw'>end</span></pre>
647
643
  </td>
@@ -659,7 +655,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
659
655
  <div class="method_details first">
660
656
  <h3 class="signature first" id="filetree-class_method">
661
657
 
662
- + (<tt><span class='object_link'><a href="DirEntry.html" title="DirTravel::DirEntry (class)">DirEntry</a></span></tt>) <strong>filetree</strong>(basedir = &#39;.&#39;, options = {})
658
+ .<strong>filetree</strong>(basedir = &#39;.&#39;, options = {}) &#x21d2; <tt><span class='object_link'><a href="DirEntry.html" title="DirTravel::DirEntry (class)">DirEntry</a></span></tt>
663
659
 
664
660
 
665
661
 
@@ -808,7 +804,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
808
804
  <td>
809
805
  <pre class="code"><span class="info file"># File 'lib/dirtravel.rb', line 240</span>
810
806
 
811
- <span class='kw'>def</span> <span class='const'>Travel</span><span class='period'>.</span><span class='id identifier rubyid_filetree'>filetree</span><span class='lparen'>(</span> <span class='id identifier rubyid_basedir'>basedir</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='rparen'>)</span>
807
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="DirTravel::Travel (class)">Travel</a></span></span><span class='period'>.</span><span class='id identifier rubyid_filetree'>filetree</span><span class='lparen'>(</span> <span class='id identifier rubyid_basedir'>basedir</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='rparen'>)</span>
812
808
 
813
809
  <span class='comment'># Non-nil if directory needs to be changed.
814
810
  </span> <span class='id identifier rubyid_pwd'>pwd</span> <span class='op'>=</span> <span class='kw'>nil</span>
@@ -816,7 +812,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
816
812
  <span class='kw'>if</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/</span><span class='tstring_end'>&#39;</span></span>
817
813
 
818
814
  <span class='comment'># Absolue path.
819
- </span> <span class='id identifier rubyid_t'>t</span> <span class='op'>=</span> <span class='const'>Travel</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='comma'>,</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='rparen'>)</span>
815
+ </span> <span class='id identifier rubyid_t'>t</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="DirTravel::Travel (class)">Travel</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="DirTravel::Travel#initialize (method)">new</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='comma'>,</span> <span class='id identifier rubyid_basedir'>basedir</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='rparen'>)</span>
820
816
  <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_travel'>travel</span>
821
817
 
822
818
  <span class='kw'>else</span>
@@ -835,7 +831,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
835
831
  <span class='comment'># Goto target.
836
832
  </span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_chdir'>chdir</span><span class='lparen'>(</span> <span class='id identifier rubyid_dir'>dir</span> <span class='rparen'>)</span>
837
833
 
838
- <span class='id identifier rubyid_t'>t</span> <span class='op'>=</span> <span class='const'>Travel</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_base'>base</span><span class='comma'>,</span> <span class='id identifier rubyid_full'>full</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='rparen'>)</span>
834
+ <span class='id identifier rubyid_t'>t</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="DirTravel::Travel (class)">Travel</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="DirTravel::Travel#initialize (method)">new</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_base'>base</span><span class='comma'>,</span> <span class='id identifier rubyid_full'>full</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='rparen'>)</span>
839
835
  <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_travel'>travel</span>
840
836
  <span class='kw'>end</span>
841
837
 
@@ -854,7 +850,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
854
850
  <span class='kw'>end</span>
855
851
 
856
852
  <span class='comment'># Create the &quot;one-up&quot; root.
857
- </span> <span class='id identifier rubyid_newRoot'>newRoot</span> <span class='op'>=</span> <span class='const'>DirEntry</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_uppath'>uppath</span> <span class='rparen'>)</span>
853
+ </span> <span class='id identifier rubyid_newRoot'>newRoot</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="DirEntry.html" title="DirTravel::DirEntry (class)">DirEntry</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="DirEntry.html#initialize-instance_method" title="DirTravel::DirEntry#initialize (method)">new</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_uppath'>uppath</span> <span class='rparen'>)</span>
858
854
 
859
855
  <span class='comment'># Rename old root.
860
856
  </span> <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_rename'>rename</span><span class='lparen'>(</span> <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_tip'>tip</span> <span class='rparen'>)</span>
@@ -886,7 +882,7 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
886
882
  <div class="method_details first">
887
883
  <h3 class="signature first" id="travel-instance_method">
888
884
 
889
- - (<tt>Object</tt>) <strong>travel</strong>(suffix = @defaults[ :suffix ])
885
+ #<strong>travel</strong>(suffix = ) &#x21d2; <tt>Object</tt>
890
886
 
891
887
 
892
888
 
@@ -928,11 +924,12 @@ Initialize root <span class='object_link'><a href="DirEntry.html" title="DirTrav
928
924
 
929
925
  </div>
930
926
 
931
- <div id="footer">
932
- Generated on Sun Apr 19 15:01:50 2015 by
933
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
934
- 0.8.7.6 (ruby-2.1.2).
927
+ <div id="footer">
928
+ Generated on Fri Jun 28 14:38:02 2024 by
929
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
930
+ 0.9.36 (ruby-3.1.2).
935
931
  </div>
936
932
 
933
+ </div>
937
934
  </body>
938
935
  </html>