dirtravel 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.rdoc +2 -0
- data/doc/DirTravel/DirEntry.html +51 -50
- data/doc/DirTravel/DirTravelError.html +48 -47
- data/doc/DirTravel/Entry.html +79 -78
- data/doc/DirTravel/FileEntry.html +58 -57
- data/doc/DirTravel/Travel.html +77 -80
- data/doc/DirTravel.html +58 -60
- data/doc/_index.html +32 -35
- data/doc/class_list.html +26 -33
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +253 -95
- data/doc/file.CHANGELOG.html +37 -38
- data/doc/file.README.html +33 -37
- data/doc/file_list.html +31 -33
- data/doc/frames.html +15 -19
- data/doc/index.html +33 -37
- data/doc/js/app.js +172 -77
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +150 -106
- data/doc/top-level-namespace.html +38 -40
- data/lib/dirtravel.rb +5 -5
- data/lib/version.rb +1 -1
- metadata +9 -17
data/doc/DirTravel/Entry.html
CHANGED
@@ -1,23 +1,22 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: DirTravel::Entry
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.36
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
18
|
-
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "DirTravel::Entry";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!DirTravel/Entry.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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 (E)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../DirTravel.html" title="DirTravel (module)">DirTravel</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Entry</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
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
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
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: DirTravel::Entry
|
62
|
+
<div id="content"><h1>Class: DirTravel::Entry
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Tree::TreeNode</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,21 +81,25 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/dirtravel.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
@@ -120,13 +120,13 @@
|
|
120
120
|
|
121
121
|
|
122
122
|
|
123
|
-
<h2>Instance Attribute Summary <small
|
123
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
124
124
|
<ul class="summary">
|
125
125
|
|
126
126
|
<li class="public ">
|
127
127
|
<span class="summary_signature">
|
128
128
|
|
129
|
-
<a href="#name-instance_method" title="#name (instance method)"
|
129
|
+
<a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> ⇒ Object </a>
|
130
130
|
|
131
131
|
|
132
132
|
|
@@ -158,7 +158,7 @@
|
|
158
158
|
|
159
159
|
<h2>
|
160
160
|
Instance Method Summary
|
161
|
-
<small
|
161
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
162
162
|
</h2>
|
163
163
|
|
164
164
|
<ul class="summary">
|
@@ -166,7 +166,7 @@
|
|
166
166
|
<li class="public ">
|
167
167
|
<span class="summary_signature">
|
168
168
|
|
169
|
-
<a href="#abspath-instance_method" title="#abspath (instance method)"
|
169
|
+
<a href="#abspath-instance_method" title="#abspath (instance method)">#<strong>abspath</strong> ⇒ Object </a>
|
170
170
|
|
171
171
|
|
172
172
|
|
@@ -190,7 +190,7 @@
|
|
190
190
|
<li class="public ">
|
191
191
|
<span class="summary_signature">
|
192
192
|
|
193
|
-
<a href="#dir-instance_method" title="#dir (instance method)"
|
193
|
+
<a href="#dir-instance_method" title="#dir (instance method)">#<strong>dir</strong>(basedir = self) ⇒ String </a>
|
194
194
|
|
195
195
|
|
196
196
|
|
@@ -214,7 +214,7 @@
|
|
214
214
|
<li class="public ">
|
215
215
|
<span class="summary_signature">
|
216
216
|
|
217
|
-
<a href="#files-instance_method" title="#files (instance method)"
|
217
|
+
<a href="#files-instance_method" title="#files (instance method)">#<strong>files</strong> ⇒ Object </a>
|
218
218
|
|
219
219
|
|
220
220
|
|
@@ -238,7 +238,7 @@
|
|
238
238
|
<li class="public ">
|
239
239
|
<span class="summary_signature">
|
240
240
|
|
241
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
241
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(name) ⇒ Entry </a>
|
242
242
|
|
243
243
|
|
244
244
|
|
@@ -264,7 +264,7 @@
|
|
264
264
|
<li class="public ">
|
265
265
|
<span class="summary_signature">
|
266
266
|
|
267
|
-
<a href="#parts-instance_method" title="#parts (instance method)"
|
267
|
+
<a href="#parts-instance_method" title="#parts (instance method)">#<strong>parts</strong>(basedir = self) ⇒ Array </a>
|
268
268
|
|
269
269
|
|
270
270
|
|
@@ -290,7 +290,7 @@
|
|
290
290
|
<li class="public ">
|
291
291
|
<span class="summary_signature">
|
292
292
|
|
293
|
-
<a href="#path-instance_method" title="#path (instance method)"
|
293
|
+
<a href="#path-instance_method" title="#path (instance method)">#<strong>path</strong> ⇒ Object </a>
|
294
294
|
|
295
295
|
|
296
296
|
|
@@ -314,7 +314,7 @@
|
|
314
314
|
<li class="public ">
|
315
315
|
<span class="summary_signature">
|
316
316
|
|
317
|
-
<a href="#relative%3F-instance_method" title="#relative? (instance method)"
|
317
|
+
<a href="#relative%3F-instance_method" title="#relative? (instance method)">#<strong>relative?</strong> ⇒ Boolean </a>
|
318
318
|
|
319
319
|
|
320
320
|
|
@@ -338,7 +338,7 @@
|
|
338
338
|
<li class="public ">
|
339
339
|
<span class="summary_signature">
|
340
340
|
|
341
|
-
<a href="#rename-instance_method" title="#rename (instance method)"
|
341
|
+
<a href="#rename-instance_method" title="#rename (instance method)">#<strong>rename</strong>(name) ⇒ Object </a>
|
342
342
|
|
343
343
|
|
344
344
|
|
@@ -362,7 +362,7 @@
|
|
362
362
|
<li class="public ">
|
363
363
|
<span class="summary_signature">
|
364
364
|
|
365
|
-
<a href="#select_level-instance_method" title="#select_level (instance method)"
|
365
|
+
<a href="#select_level-instance_method" title="#select_level (instance method)">#<strong>select_level</strong>(level) ⇒ Array </a>
|
366
366
|
|
367
367
|
|
368
368
|
|
@@ -386,7 +386,7 @@
|
|
386
386
|
<li class="public ">
|
387
387
|
<span class="summary_signature">
|
388
388
|
|
389
|
-
<a href="#stat-instance_method" title="#stat (instance method)"
|
389
|
+
<a href="#stat-instance_method" title="#stat (instance method)">#<strong>stat</strong> ⇒ Object </a>
|
390
390
|
|
391
391
|
|
392
392
|
|
@@ -410,7 +410,7 @@
|
|
410
410
|
<li class="public ">
|
411
411
|
<span class="summary_signature">
|
412
412
|
|
413
|
-
<a href="#subpath-instance_method" title="#subpath (instance method)"
|
413
|
+
<a href="#subpath-instance_method" title="#subpath (instance method)">#<strong>subpath</strong>(level = 1) ⇒ Object </a>
|
414
414
|
|
415
415
|
|
416
416
|
|
@@ -434,7 +434,7 @@
|
|
434
434
|
<li class="public ">
|
435
435
|
<span class="summary_signature">
|
436
436
|
|
437
|
-
<a href="#tip-instance_method" title="#tip (instance method)"
|
437
|
+
<a href="#tip-instance_method" title="#tip (instance method)">#<strong>tip</strong> ⇒ Object </a>
|
438
438
|
|
439
439
|
|
440
440
|
|
@@ -465,7 +465,7 @@
|
|
465
465
|
<div class="method_details first">
|
466
466
|
<h3 class="signature first" id="initialize-instance_method">
|
467
467
|
|
468
|
-
|
468
|
+
#<strong>initialize</strong>(name) ⇒ <tt><span class='object_link'><a href="" title="DirTravel::Entry (class)">Entry</a></span></tt>
|
469
469
|
|
470
470
|
|
471
471
|
|
@@ -515,7 +515,7 @@
|
|
515
515
|
<div class="method_details first">
|
516
516
|
<h3 class="signature first" id="name-instance_method">
|
517
517
|
|
518
|
-
|
518
|
+
#<strong>name</strong> ⇒ <tt>Object</tt>
|
519
519
|
|
520
520
|
|
521
521
|
|
@@ -563,7 +563,7 @@
|
|
563
563
|
<div class="method_details first">
|
564
564
|
<h3 class="signature first" id="abspath-instance_method">
|
565
565
|
|
566
|
-
|
566
|
+
#<strong>abspath</strong> ⇒ <tt>Object</tt>
|
567
567
|
|
568
568
|
|
569
569
|
|
@@ -601,7 +601,7 @@
|
|
601
601
|
<span class='kw'>if</span> <span class='ivar'>@abspath</span>
|
602
602
|
<span class='ivar'>@abspath</span>
|
603
603
|
<span class='kw'>else</span>
|
604
|
-
<span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_abspath'>abspath</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_subpath'>subpath</span>
|
604
|
+
<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><span class='period'>.</span><span class='id identifier rubyid_abspath'>abspath</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_subpath'>subpath</span>
|
605
605
|
<span class='kw'>end</span>
|
606
606
|
<span class='kw'>end</span></pre>
|
607
607
|
</td>
|
@@ -612,7 +612,7 @@
|
|
612
612
|
<div class="method_details ">
|
613
613
|
<h3 class="signature " id="dir-instance_method">
|
614
614
|
|
615
|
-
|
615
|
+
#<strong>dir</strong>(basedir = self) ⇒ <tt>String</tt>
|
616
616
|
|
617
617
|
|
618
618
|
|
@@ -693,7 +693,7 @@
|
|
693
693
|
<div class="method_details ">
|
694
694
|
<h3 class="signature " id="files-instance_method">
|
695
695
|
|
696
|
-
|
696
|
+
#<strong>files</strong> ⇒ <tt>Object</tt>
|
697
697
|
|
698
698
|
|
699
699
|
|
@@ -724,7 +724,7 @@
|
|
724
724
|
<pre class="code"><span class="info file"># File 'lib/dirtravel.rb', line 131</span>
|
725
725
|
|
726
726
|
<span class='kw'>def</span> <span class='id identifier rubyid_files'>files</span>
|
727
|
-
<span class='id identifier rubyid_select'>select</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span> <span class='const'>FileEntry</span> <span class='rparen'>)</span> <span class='kw'>end</span>
|
727
|
+
<span class='id identifier rubyid_select'>select</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span> <span class='const'><span class='object_link'><a href="FileEntry.html" title="DirTravel::FileEntry (class)">FileEntry</a></span></span> <span class='rparen'>)</span> <span class='kw'>end</span>
|
728
728
|
<span class='kw'>end</span></pre>
|
729
729
|
</td>
|
730
730
|
</tr>
|
@@ -734,7 +734,7 @@
|
|
734
734
|
<div class="method_details ">
|
735
735
|
<h3 class="signature " id="parts-instance_method">
|
736
736
|
|
737
|
-
|
737
|
+
#<strong>parts</strong>(basedir = self) ⇒ <tt>Array</tt>
|
738
738
|
|
739
739
|
|
740
740
|
|
@@ -829,7 +829,7 @@
|
|
829
829
|
<div class="method_details ">
|
830
830
|
<h3 class="signature " id="path-instance_method">
|
831
831
|
|
832
|
-
|
832
|
+
#<strong>path</strong> ⇒ <tt>Object</tt>
|
833
833
|
|
834
834
|
|
835
835
|
|
@@ -870,7 +870,7 @@
|
|
870
870
|
<div class="method_details ">
|
871
871
|
<h3 class="signature " id="relative?-instance_method">
|
872
872
|
|
873
|
-
|
873
|
+
#<strong>relative?</strong> ⇒ <tt>Boolean</tt>
|
874
874
|
|
875
875
|
|
876
876
|
|
@@ -924,7 +924,7 @@
|
|
924
924
|
<div class="method_details ">
|
925
925
|
<h3 class="signature " id="rename-instance_method">
|
926
926
|
|
927
|
-
|
927
|
+
#<strong>rename</strong>(name) ⇒ <tt>Object</tt>
|
928
928
|
|
929
929
|
|
930
930
|
|
@@ -999,7 +999,7 @@
|
|
999
999
|
<div class="method_details ">
|
1000
1000
|
<h3 class="signature " id="select_level-instance_method">
|
1001
1001
|
|
1002
|
-
|
1002
|
+
#<strong>select_level</strong>(level) ⇒ <tt>Array</tt>
|
1003
1003
|
|
1004
1004
|
|
1005
1005
|
|
@@ -1078,7 +1078,7 @@
|
|
1078
1078
|
<div class="method_details ">
|
1079
1079
|
<h3 class="signature " id="stat-instance_method">
|
1080
1080
|
|
1081
|
-
|
1081
|
+
#<strong>stat</strong> ⇒ <tt>Object</tt>
|
1082
1082
|
|
1083
1083
|
|
1084
1084
|
|
@@ -1119,7 +1119,7 @@
|
|
1119
1119
|
<div class="method_details ">
|
1120
1120
|
<h3 class="signature " id="subpath-instance_method">
|
1121
1121
|
|
1122
|
-
|
1122
|
+
#<strong>subpath</strong>(level = 1) ⇒ <tt>Object</tt>
|
1123
1123
|
|
1124
1124
|
|
1125
1125
|
|
@@ -1178,7 +1178,7 @@
|
|
1178
1178
|
<span class='kw'>def</span> <span class='id identifier rubyid_subpath'>subpath</span><span class='lparen'>(</span> <span class='id identifier rubyid_level'>level</span> <span class='op'>=</span> <span class='int'>1</span> <span class='rparen'>)</span>
|
1179
1179
|
<span class='id identifier rubyid_pa'>pa</span> <span class='op'>=</span> <span class='id identifier rubyid_parts'>parts</span>
|
1180
1180
|
<span class='kw'>if</span> <span class='id identifier rubyid_level'>level</span> <span class='op'><</span> <span class='int'>0</span> <span class='op'>||</span> <span class='id identifier rubyid_level'>level</span> <span class='op'>></span> <span class='id identifier rubyid_pa'>pa</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span>
|
1181
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>DirTravelError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Invalid index for subpath level!</span><span class='tstring_end'>"</span></span>
|
1181
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="DirTravelError.html" title="DirTravel::DirTravelError (class)">DirTravelError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Invalid index for subpath level!</span><span class='tstring_end'>"</span></span>
|
1182
1182
|
<span class='kw'>end</span>
|
1183
1183
|
<span class='id identifier rubyid_pa'>pa</span><span class='lbracket'>[</span> <span class='id identifier rubyid_level'>level</span> <span class='op'>..</span> <span class='op'>-</span><span class='int'>1</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
|
1184
1184
|
<span class='kw'>end</span></pre>
|
@@ -1190,7 +1190,7 @@
|
|
1190
1190
|
<div class="method_details ">
|
1191
1191
|
<h3 class="signature " id="tip-instance_method">
|
1192
1192
|
|
1193
|
-
|
1193
|
+
#<strong>tip</strong> ⇒ <tt>Object</tt>
|
1194
1194
|
|
1195
1195
|
|
1196
1196
|
|
@@ -1232,11 +1232,12 @@
|
|
1232
1232
|
|
1233
1233
|
</div>
|
1234
1234
|
|
1235
|
-
|
1236
|
-
Generated on
|
1237
|
-
<a href="
|
1238
|
-
0.
|
1235
|
+
<div id="footer">
|
1236
|
+
Generated on Fri Jun 28 14:38:02 2024 by
|
1237
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1238
|
+
0.9.36 (ruby-3.1.2).
|
1239
1239
|
</div>
|
1240
1240
|
|
1241
|
+
</div>
|
1241
1242
|
</body>
|
1242
1243
|
</html>
|