rubu 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +236 -8
- data/doc/Array.html +103 -38
- data/doc/Rubu.html +2 -2
- data/doc/Rubu/AgedStep.html +275 -0
- data/doc/Rubu/AlwaysStep.html +275 -0
- data/doc/Rubu/Fork.html +20 -20
- data/doc/Rubu/Info.html +39 -13
- data/doc/Rubu/Mark.html +318 -110
- data/doc/Rubu/MarkStep.html +275 -0
- data/doc/Rubu/Move.html +937 -0
- data/doc/Rubu/MoveStyles.html +403 -0
- data/doc/Rubu/Order.html +39 -13
- data/doc/Rubu/RubyCommand.html +39 -26
- data/doc/Rubu/ShellCommand.html +37 -24
- data/doc/Rubu/State.html +135 -38
- data/doc/Rubu/Step.html +1859 -0
- data/doc/Rubu/StepAged.html +279 -0
- data/doc/Rubu/StepAlways.html +279 -0
- data/doc/Rubu/StepMark.html +279 -0
- data/doc/Rubu/Trail.html +1022 -0
- data/doc/Rubu/TrailRun.html +377 -0
- data/doc/Rubu/Var.html +39 -13
- data/doc/Rubu/Walk.html +16 -16
- data/doc/_index.html +51 -59
- data/doc/class_list.html +1 -1
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +255 -8
- data/doc/index.html +255 -8
- data/doc/method_list.html +88 -88
- data/doc/top-level-namespace.html +1 -1
- data/example/bin/rubu_example +49 -51
- data/example/build/hello +0 -0
- data/example/build/hello_world.o +0 -0
- data/example/build/world.c +6 -0
- data/example/build/world.o +0 -0
- data/lib/rubu.rb +168 -85
- data/lib/version.rb +1 -1
- metadata +17 -2
data/doc/Rubu/Fork.html
CHANGED
@@ -73,14 +73,14 @@
|
|
73
73
|
|
74
74
|
<dt class="r1">Inherits:</dt>
|
75
75
|
<dd class="r1">
|
76
|
-
<span class="inheritName"><span class='object_link'><a href="
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="Trail.html" title="Rubu::Trail (class)">Trail</a></span></span>
|
77
77
|
|
78
78
|
<ul class="fullTree">
|
79
79
|
<li>Object</li>
|
80
80
|
|
81
|
-
<li class="next"><span class='object_link'><a href="
|
81
|
+
<li class="next"><span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></li>
|
82
82
|
|
83
|
-
<li class="next"><span class='object_link'><a href="
|
83
|
+
<li class="next"><span class='object_link'><a href="Trail.html" title="Rubu::Trail (class)">Trail</a></span></li>
|
84
84
|
|
85
85
|
<li class="next">Rubu::Fork</li>
|
86
86
|
|
@@ -106,7 +106,7 @@
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
107
107
|
<div class="discussion">
|
108
108
|
|
109
|
-
<p>Parallel
|
109
|
+
<p>Parallel Trail.</p>
|
110
110
|
|
111
111
|
|
112
112
|
</div>
|
@@ -122,13 +122,13 @@
|
|
122
122
|
|
123
123
|
<h2>Instance Attribute Summary</h2>
|
124
124
|
|
125
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="
|
126
|
-
<p class="inherited"><span class='object_link'><a href="
|
125
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Trail.html" title="Rubu::Trail (class)">Trail</a></span></h3>
|
126
|
+
<p class="inherited"><span class='object_link'><a href="Trail.html#name-instance_method" title="Rubu::Trail#name (method)">#name</a></span></p>
|
127
127
|
|
128
128
|
|
129
129
|
|
130
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="
|
131
|
-
<p class="inherited"><span class='object_link'><a href="
|
130
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
131
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#errmsg-instance_method" title="Rubu::Move#errmsg (method)">#errmsg</a></span>, <span class='object_link'><a href="Move.html#output-instance_method" title="Rubu::Move#output (method)">#output</a></span>, <span class='object_link'><a href="Move.html#status-instance_method" title="Rubu::Move#status (method)">#status</a></span>, <span class='object_link'><a href="Move.html#subs-instance_method" title="Rubu::Move#subs (method)">#subs</a></span></p>
|
132
132
|
|
133
133
|
|
134
134
|
|
@@ -173,8 +173,8 @@
|
|
173
173
|
|
174
174
|
|
175
175
|
|
176
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="
|
177
|
-
<p class="inherited"><span class='object_link'><a href="
|
176
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Trail.html" title="Rubu::Trail (class)">Trail</a></span></h3>
|
177
|
+
<p class="inherited"><span class='object_link'><a href="Trail.html#%5B%5D-class_method" title="Rubu::Trail.[] (method)">[]</a></span>, <span class='object_link'><a href="Trail.html#form-class_method" title="Rubu::Trail.form (method)">form</a></span>, <span class='object_link'><a href="Trail.html#initialize-instance_method" title="Rubu::Trail#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Trail.html#load_setup-class_method" title="Rubu::Trail.load_setup (method)">load_setup</a></span>, <span class='object_link'><a href="Trail.html#pick-instance_method" title="Rubu::Trail#pick (method)">#pick</a></span>, <span class='object_link'><a href="Trail.html#run-class_method" title="Rubu::Trail.run (method)">run</a></span>, <span class='object_link'><a href="Trail.html#setup-class_method" title="Rubu::Trail.setup (method)">setup</a></span></p>
|
178
178
|
|
179
179
|
|
180
180
|
|
@@ -184,8 +184,8 @@
|
|
184
184
|
|
185
185
|
|
186
186
|
|
187
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="
|
188
|
-
<p class="inherited"><span class='object_link'><a href="
|
187
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="MoveStyles.html" title="Rubu::MoveStyles (module)">MoveStyles</a></span></h3>
|
188
|
+
<p class="inherited"><span class='object_link'><a href="MoveStyles.html#parallel_run-instance_method" title="Rubu::MoveStyles#parallel_run (method)">#parallel_run</a></span>, <span class='object_link'><a href="MoveStyles.html#serial_run-instance_method" title="Rubu::MoveStyles#serial_run (method)">#serial_run</a></span></p>
|
189
189
|
|
190
190
|
|
191
191
|
|
@@ -195,12 +195,12 @@
|
|
195
195
|
|
196
196
|
|
197
197
|
|
198
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="
|
199
|
-
<p class="inherited"><span class='object_link'><a href="
|
198
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
199
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#use-instance_method" title="Rubu::Move#use (method)">#use</a></span></p>
|
200
200
|
<div id="constructor_details" class="method_details_list">
|
201
201
|
<h2>Constructor Details</h2>
|
202
202
|
|
203
|
-
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="
|
203
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Trail.html#initialize-instance_method" title="Rubu::Trail#initialize (method)">Rubu::Trail</a></span></p>
|
204
204
|
|
205
205
|
</div>
|
206
206
|
|
@@ -224,12 +224,12 @@
|
|
224
224
|
<pre class="lines">
|
225
225
|
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
227
|
+
830
|
228
|
+
831
|
229
|
+
832</pre>
|
230
230
|
</td>
|
231
231
|
<td>
|
232
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
232
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 830</span>
|
233
233
|
|
234
234
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
235
235
|
<span class='id identifier rubyid_parallel_run'>parallel_run</span>
|
@@ -244,7 +244,7 @@
|
|
244
244
|
</div>
|
245
245
|
|
246
246
|
<div id="footer">
|
247
|
-
Generated on
|
247
|
+
Generated on Sun Jul 1 17:48:17 2018 by
|
248
248
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
249
249
|
0.8.7.6 (ruby-2.3.3).
|
250
250
|
</div>
|
data/doc/Rubu/Info.html
CHANGED
@@ -154,7 +154,9 @@
|
|
154
154
|
|
155
155
|
|
156
156
|
|
157
|
-
<span class="summary_desc"><div class='inline'
|
157
|
+
<span class="summary_desc"><div class='inline'>
|
158
|
+
<p>Get Info entry value.</p>
|
159
|
+
</div></span>
|
158
160
|
|
159
161
|
</li>
|
160
162
|
|
@@ -176,7 +178,9 @@
|
|
176
178
|
|
177
179
|
|
178
180
|
|
179
|
-
<span class="summary_desc"><div class='inline'
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>Set Info entry value.</p>
|
183
|
+
</div></span>
|
180
184
|
|
181
185
|
</li>
|
182
186
|
|
@@ -199,18 +203,29 @@
|
|
199
203
|
|
200
204
|
|
201
205
|
|
202
|
-
</h3><
|
206
|
+
</h3><div class="docstring">
|
207
|
+
<div class="discussion">
|
208
|
+
|
209
|
+
<p>Get Info entry value.</p>
|
210
|
+
|
211
|
+
|
212
|
+
</div>
|
213
|
+
</div>
|
214
|
+
<div class="tags">
|
215
|
+
|
216
|
+
|
217
|
+
</div><table class="source_code">
|
203
218
|
<tr>
|
204
219
|
<td>
|
205
220
|
<pre class="lines">
|
206
221
|
|
207
222
|
|
208
|
-
|
209
|
-
|
210
|
-
|
223
|
+
450
|
224
|
+
451
|
225
|
+
452</pre>
|
211
226
|
</td>
|
212
227
|
<td>
|
213
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
228
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 450</span>
|
214
229
|
|
215
230
|
<span class='kw'>def</span> <span class='const'>Info</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
216
231
|
<span class='cvar'>@@info</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -229,18 +244,29 @@
|
|
229
244
|
|
230
245
|
|
231
246
|
|
232
|
-
</h3><
|
247
|
+
</h3><div class="docstring">
|
248
|
+
<div class="discussion">
|
249
|
+
|
250
|
+
<p>Set Info entry value.</p>
|
251
|
+
|
252
|
+
|
253
|
+
</div>
|
254
|
+
</div>
|
255
|
+
<div class="tags">
|
256
|
+
|
257
|
+
|
258
|
+
</div><table class="source_code">
|
233
259
|
<tr>
|
234
260
|
<td>
|
235
261
|
<pre class="lines">
|
236
262
|
|
237
263
|
|
238
|
-
|
239
|
-
|
240
|
-
|
264
|
+
445
|
265
|
+
446
|
266
|
+
447</pre>
|
241
267
|
</td>
|
242
268
|
<td>
|
243
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
269
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 445</span>
|
244
270
|
|
245
271
|
<span class='kw'>def</span> <span class='const'>Info</span><span class='period'>.</span><span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
246
272
|
<span class='cvar'>@@info</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -255,7 +281,7 @@
|
|
255
281
|
</div>
|
256
282
|
|
257
283
|
<div id="footer">
|
258
|
-
Generated on
|
284
|
+
Generated on Sun Jul 1 17:48:17 2018 by
|
259
285
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
260
286
|
0.8.7.6 (ruby-2.3.3).
|
261
287
|
</div>
|
data/doc/Rubu/Mark.html
CHANGED
@@ -102,8 +102,10 @@
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
104
|
|
105
|
-
<p>Source or Target file for
|
106
|
-
|
105
|
+
<p>Source or Target file for Step commands. Rubu handles only Marks, and hence
|
106
|
+
bare file names are not usable.</p>
|
107
|
+
|
108
|
+
<p>Mark includes both relative and absolute paths for the file.</p>
|
107
109
|
|
108
110
|
|
109
111
|
</div>
|
@@ -255,7 +257,7 @@ hence bare file names are not usable.</p>
|
|
255
257
|
|
256
258
|
|
257
259
|
<span class="summary_desc"><div class='inline'>
|
258
|
-
<p>Skip file.</p>
|
260
|
+
<p>Skip file in Step.</p>
|
259
261
|
</div></span>
|
260
262
|
|
261
263
|
</li>
|
@@ -292,7 +294,7 @@ hence bare file names are not usable.</p>
|
|
292
294
|
|
293
295
|
|
294
296
|
<span class="summary_desc"><div class='inline'>
|
295
|
-
<p>Convert a list of file names matched with pattern to Marks.</p>
|
297
|
+
<p>Convert a list of file names matched with glob pattern to Marks.</p>
|
296
298
|
</div></span>
|
297
299
|
|
298
300
|
</li>
|
@@ -373,7 +375,7 @@ hence bare file names are not usable.</p>
|
|
373
375
|
|
374
376
|
|
375
377
|
<span class="summary_desc"><div class='inline'>
|
376
|
-
<p>Get options.</p>
|
378
|
+
<p>Get options with key.</p>
|
377
379
|
</div></span>
|
378
380
|
|
379
381
|
</li>
|
@@ -397,7 +399,7 @@ hence bare file names are not usable.</p>
|
|
397
399
|
|
398
400
|
|
399
401
|
<span class="summary_desc"><div class='inline'>
|
400
|
-
<p>Set
|
402
|
+
<p>Set option.</p>
|
401
403
|
</div></span>
|
402
404
|
|
403
405
|
</li>
|
@@ -447,7 +449,7 @@ hence bare file names are not usable.</p>
|
|
447
449
|
|
448
450
|
|
449
451
|
<span class="summary_desc"><div class='inline'>
|
450
|
-
<p>
|
452
|
+
<p>Create Mark object.</p>
|
451
453
|
</div></span>
|
452
454
|
|
453
455
|
</li>
|
@@ -456,7 +458,7 @@ hence bare file names are not usable.</p>
|
|
456
458
|
<li class="public ">
|
457
459
|
<span class="summary_signature">
|
458
460
|
|
459
|
-
<a href="#path-instance_method" title="#path (instance method)">- (Object) <strong>path</strong>(ext =
|
461
|
+
<a href="#path-instance_method" title="#path (instance method)">- (Object) <strong>path</strong>(ext = @ext) </a>
|
460
462
|
|
461
463
|
|
462
464
|
|
@@ -504,7 +506,7 @@ hence bare file names are not usable.</p>
|
|
504
506
|
<li class="public ">
|
505
507
|
<span class="summary_signature">
|
506
508
|
|
507
|
-
<a href="#rpath-instance_method" title="#rpath (instance method)">- (Object) <strong>rpath</strong>(ext =
|
509
|
+
<a href="#rpath-instance_method" title="#rpath (instance method)">- (Object) <strong>rpath</strong>(ext = @ext) </a>
|
508
510
|
|
509
511
|
|
510
512
|
|
@@ -543,7 +545,7 @@ hence bare file names are not usable.</p>
|
|
543
545
|
|
544
546
|
|
545
547
|
<span class="summary_desc"><div class='inline'>
|
546
|
-
<p>Set
|
548
|
+
<p>Set option.</p>
|
547
549
|
</div></span>
|
548
550
|
|
549
551
|
</li>
|
@@ -567,7 +569,7 @@ hence bare file names are not usable.</p>
|
|
567
569
|
|
568
570
|
|
569
571
|
<span class="summary_desc"><div class='inline'>
|
570
|
-
<p>Mark
|
572
|
+
<p>Mark update time.</p>
|
571
573
|
</div></span>
|
572
574
|
|
573
575
|
</li>
|
@@ -591,13 +593,65 @@ hence bare file names are not usable.</p>
|
|
591
593
|
</h3><div class="docstring">
|
592
594
|
<div class="discussion">
|
593
595
|
|
594
|
-
<p>
|
596
|
+
<p>Create Mark object.</p>
|
595
597
|
|
596
598
|
|
597
599
|
</div>
|
598
600
|
</div>
|
599
601
|
<div class="tags">
|
602
|
+
<p class="tag_title">Parameters:</p>
|
603
|
+
<ul class="param">
|
604
|
+
|
605
|
+
<li>
|
606
|
+
|
607
|
+
<span class='name'>rdir</span>
|
608
|
+
|
609
|
+
|
610
|
+
<span class='type'></span>
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
—
|
615
|
+
<div class='inline'>
|
616
|
+
<p>Relative file path.</p>
|
617
|
+
</div>
|
618
|
+
|
619
|
+
</li>
|
620
|
+
|
621
|
+
<li>
|
622
|
+
|
623
|
+
<span class='name'>base</span>
|
624
|
+
|
625
|
+
|
626
|
+
<span class='type'></span>
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
—
|
631
|
+
<div class='inline'>
|
632
|
+
<p>Basename of file.</p>
|
633
|
+
</div>
|
634
|
+
|
635
|
+
</li>
|
600
636
|
|
637
|
+
<li>
|
638
|
+
|
639
|
+
<span class='name'>ext</span>
|
640
|
+
|
641
|
+
|
642
|
+
<span class='type'></span>
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
—
|
647
|
+
<div class='inline'>
|
648
|
+
<p>File extension (suffix).</p>
|
649
|
+
</div>
|
650
|
+
|
651
|
+
</li>
|
652
|
+
|
653
|
+
</ul>
|
654
|
+
|
601
655
|
|
602
656
|
</div><table class="source_code">
|
603
657
|
<tr>
|
@@ -605,22 +659,22 @@ hence bare file names are not usable.</p>
|
|
605
659
|
<pre class="lines">
|
606
660
|
|
607
661
|
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
662
|
+
324
|
663
|
+
325
|
664
|
+
326
|
665
|
+
327
|
666
|
+
328
|
667
|
+
329
|
668
|
+
330
|
669
|
+
331
|
670
|
+
332
|
671
|
+
333
|
672
|
+
334
|
673
|
+
335
|
674
|
+
336</pre>
|
621
675
|
</td>
|
622
676
|
<td>
|
623
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
677
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 324</span>
|
624
678
|
|
625
679
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_rdir'>rdir</span><span class='comma'>,</span> <span class='id identifier rubyid_base'>base</span><span class='comma'>,</span> <span class='id identifier rubyid_ext'>ext</span> <span class='rparen'>)</span>
|
626
680
|
<span class='kw'>if</span> <span class='id identifier rubyid_rdir'>rdir</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span> <span class='const'>Array</span>
|
@@ -673,12 +727,12 @@ hence bare file names are not usable.</p>
|
|
673
727
|
<pre class="lines">
|
674
728
|
|
675
729
|
|
676
|
-
|
677
|
-
|
678
|
-
|
730
|
+
310
|
731
|
+
311
|
732
|
+
312</pre>
|
679
733
|
</td>
|
680
734
|
<td>
|
681
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
735
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 310</span>
|
682
736
|
|
683
737
|
<span class='kw'>def</span> <span class='id identifier rubyid_base'>base</span>
|
684
738
|
<span class='ivar'>@base</span>
|
@@ -716,12 +770,12 @@ hence bare file names are not usable.</p>
|
|
716
770
|
<pre class="lines">
|
717
771
|
|
718
772
|
|
719
|
-
|
720
|
-
|
721
|
-
|
773
|
+
304
|
774
|
+
305
|
775
|
+
306</pre>
|
722
776
|
</td>
|
723
777
|
<td>
|
724
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
778
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 304</span>
|
725
779
|
|
726
780
|
<span class='kw'>def</span> <span class='id identifier rubyid_dir'>dir</span>
|
727
781
|
<span class='ivar'>@dir</span>
|
@@ -759,12 +813,12 @@ hence bare file names are not usable.</p>
|
|
759
813
|
<pre class="lines">
|
760
814
|
|
761
815
|
|
762
|
-
|
763
|
-
|
764
|
-
|
816
|
+
313
|
817
|
+
314
|
818
|
+
315</pre>
|
765
819
|
</td>
|
766
820
|
<td>
|
767
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
821
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 313</span>
|
768
822
|
|
769
823
|
<span class='kw'>def</span> <span class='id identifier rubyid_ext'>ext</span>
|
770
824
|
<span class='ivar'>@ext</span>
|
@@ -802,12 +856,12 @@ hence bare file names are not usable.</p>
|
|
802
856
|
<pre class="lines">
|
803
857
|
|
804
858
|
|
805
|
-
|
806
|
-
|
807
|
-
|
859
|
+
307
|
860
|
+
308
|
861
|
+
309</pre>
|
808
862
|
</td>
|
809
863
|
<td>
|
810
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
864
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 307</span>
|
811
865
|
|
812
866
|
<span class='kw'>def</span> <span class='id identifier rubyid_rdir'>rdir</span>
|
813
867
|
<span class='ivar'>@rdir</span>
|
@@ -831,7 +885,7 @@ hence bare file names are not usable.</p>
|
|
831
885
|
</h3><div class="docstring">
|
832
886
|
<div class="discussion">
|
833
887
|
|
834
|
-
<p>Skip file.</p>
|
888
|
+
<p>Skip file in Step.</p>
|
835
889
|
|
836
890
|
|
837
891
|
</div>
|
@@ -845,12 +899,12 @@ hence bare file names are not usable.</p>
|
|
845
899
|
<pre class="lines">
|
846
900
|
|
847
901
|
|
848
|
-
|
849
|
-
|
850
|
-
|
902
|
+
316
|
903
|
+
317
|
904
|
+
318</pre>
|
851
905
|
</td>
|
852
906
|
<td>
|
853
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
907
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 316</span>
|
854
908
|
|
855
909
|
<span class='kw'>def</span> <span class='id identifier rubyid_skip'>skip</span>
|
856
910
|
<span class='ivar'>@skip</span>
|
@@ -879,13 +933,33 @@ hence bare file names are not usable.</p>
|
|
879
933
|
</h3><div class="docstring">
|
880
934
|
<div class="discussion">
|
881
935
|
|
882
|
-
<p>Convert a list of file names matched with pattern to Marks.</p>
|
936
|
+
<p>Convert a list of file names matched with glob pattern to Marks.</p>
|
883
937
|
|
884
938
|
|
885
939
|
</div>
|
886
940
|
</div>
|
887
941
|
<div class="tags">
|
942
|
+
<p class="tag_title">Parameters:</p>
|
943
|
+
<ul class="param">
|
944
|
+
|
945
|
+
<li>
|
946
|
+
|
947
|
+
<span class='name'>pattern</span>
|
948
|
+
|
949
|
+
|
950
|
+
<span class='type'></span>
|
951
|
+
|
952
|
+
|
953
|
+
|
954
|
+
—
|
955
|
+
<div class='inline'>
|
956
|
+
<p>Glob pattern.</p>
|
957
|
+
</div>
|
958
|
+
|
959
|
+
</li>
|
888
960
|
|
961
|
+
</ul>
|
962
|
+
|
889
963
|
|
890
964
|
</div><table class="source_code">
|
891
965
|
<tr>
|
@@ -893,12 +967,12 @@ hence bare file names are not usable.</p>
|
|
893
967
|
<pre class="lines">
|
894
968
|
|
895
969
|
|
896
|
-
|
897
|
-
|
898
|
-
|
970
|
+
298
|
971
|
+
299
|
972
|
+
300</pre>
|
899
973
|
</td>
|
900
974
|
<td>
|
901
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
975
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 298</span>
|
902
976
|
|
903
977
|
<span class='kw'>def</span> <span class='const'>Mark</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span><span class='lparen'>(</span> <span class='id identifier rubyid_pattern'>pattern</span> <span class='rparen'>)</span>
|
904
978
|
<span class='const'>Mark</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span> <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_pattern'>pattern</span> <span class='rparen'>)</span> <span class='rparen'>)</span>
|
@@ -926,7 +1000,27 @@ hence bare file names are not usable.</p>
|
|
926
1000
|
</div>
|
927
1001
|
</div>
|
928
1002
|
<div class="tags">
|
1003
|
+
<p class="tag_title">Parameters:</p>
|
1004
|
+
<ul class="param">
|
929
1005
|
|
1006
|
+
<li>
|
1007
|
+
|
1008
|
+
<span class='name'>files</span>
|
1009
|
+
|
1010
|
+
|
1011
|
+
<span class='type'></span>
|
1012
|
+
|
1013
|
+
|
1014
|
+
|
1015
|
+
—
|
1016
|
+
<div class='inline'>
|
1017
|
+
<p>List of files to convert to Marks.</p>
|
1018
|
+
</div>
|
1019
|
+
|
1020
|
+
</li>
|
1021
|
+
|
1022
|
+
</ul>
|
1023
|
+
|
930
1024
|
|
931
1025
|
</div><table class="source_code">
|
932
1026
|
<tr>
|
@@ -934,15 +1028,15 @@ hence bare file names are not usable.</p>
|
|
934
1028
|
<pre class="lines">
|
935
1029
|
|
936
1030
|
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
1031
|
+
287
|
1032
|
+
288
|
1033
|
+
289
|
1034
|
+
290
|
1035
|
+
291
|
1036
|
+
292</pre>
|
943
1037
|
</td>
|
944
1038
|
<td>
|
945
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1039
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 287</span>
|
946
1040
|
|
947
1041
|
<span class='kw'>def</span> <span class='const'>Mark</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span> <span class='id identifier rubyid_files'>files</span> <span class='rparen'>)</span>
|
948
1042
|
<span class='kw'>unless</span> <span class='id identifier rubyid_files'>files</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span> <span class='const'>Array</span>
|
@@ -973,7 +1067,27 @@ hence bare file names are not usable.</p>
|
|
973
1067
|
</div>
|
974
1068
|
</div>
|
975
1069
|
<div class="tags">
|
1070
|
+
<p class="tag_title">Parameters:</p>
|
1071
|
+
<ul class="param">
|
976
1072
|
|
1073
|
+
<li>
|
1074
|
+
|
1075
|
+
<span class='name'>file_path</span>
|
1076
|
+
|
1077
|
+
|
1078
|
+
<span class='type'></span>
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
—
|
1083
|
+
<div class='inline'>
|
1084
|
+
<p>Relative or absolute path of file.</p>
|
1085
|
+
</div>
|
1086
|
+
|
1087
|
+
</li>
|
1088
|
+
|
1089
|
+
</ul>
|
1090
|
+
|
977
1091
|
|
978
1092
|
</div><table class="source_code">
|
979
1093
|
<tr>
|
@@ -981,17 +1095,17 @@ hence bare file names are not usable.</p>
|
|
981
1095
|
<pre class="lines">
|
982
1096
|
|
983
1097
|
|
984
|
-
273
|
985
|
-
274
|
986
1098
|
275
|
987
1099
|
276
|
988
1100
|
277
|
989
1101
|
278
|
990
1102
|
279
|
991
|
-
280
|
1103
|
+
280
|
1104
|
+
281
|
1105
|
+
282</pre>
|
992
1106
|
</td>
|
993
1107
|
<td>
|
994
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1108
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 275</span>
|
995
1109
|
|
996
1110
|
<span class='kw'>def</span> <span class='const'>Mark</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span> <span class='id identifier rubyid_file_path'>file_path</span> <span class='rparen'>)</span>
|
997
1111
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span> <span class='id identifier rubyid_file_path'>file_path</span> <span class='rparen'>)</span>
|
@@ -1024,7 +1138,7 @@ hence bare file names are not usable.</p>
|
|
1024
1138
|
</h3><div class="docstring">
|
1025
1139
|
<div class="discussion">
|
1026
1140
|
|
1027
|
-
<p>Get options.</p>
|
1141
|
+
<p>Get options with key.</p>
|
1028
1142
|
|
1029
1143
|
|
1030
1144
|
</div>
|
@@ -1038,12 +1152,12 @@ hence bare file names are not usable.</p>
|
|
1038
1152
|
<pre class="lines">
|
1039
1153
|
|
1040
1154
|
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1155
|
+
339
|
1156
|
+
340
|
1157
|
+
341</pre>
|
1044
1158
|
</td>
|
1045
1159
|
<td>
|
1046
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1160
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 339</span>
|
1047
1161
|
|
1048
1162
|
<span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
1049
1163
|
<span class='ivar'>@opt</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -1065,7 +1179,7 @@ hence bare file names are not usable.</p>
|
|
1065
1179
|
</h3><div class="docstring">
|
1066
1180
|
<div class="discussion">
|
1067
1181
|
|
1068
|
-
<p>Set
|
1182
|
+
<p>Set option.</p>
|
1069
1183
|
|
1070
1184
|
|
1071
1185
|
</div>
|
@@ -1079,12 +1193,12 @@ hence bare file names are not usable.</p>
|
|
1079
1193
|
<pre class="lines">
|
1080
1194
|
|
1081
1195
|
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1196
|
+
344
|
1197
|
+
345
|
1198
|
+
346</pre>
|
1085
1199
|
</td>
|
1086
1200
|
<td>
|
1087
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1201
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 344</span>
|
1088
1202
|
|
1089
1203
|
<span class='kw'>def</span> <span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
1090
1204
|
<span class='ivar'>@opt</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -1133,12 +1247,12 @@ hence bare file names are not usable.</p>
|
|
1133
1247
|
<pre class="lines">
|
1134
1248
|
|
1135
1249
|
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1250
|
+
379
|
1251
|
+
380
|
1252
|
+
381</pre>
|
1139
1253
|
</td>
|
1140
1254
|
<td>
|
1141
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1255
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 379</span>
|
1142
1256
|
|
1143
1257
|
<span class='kw'>def</span> <span class='id identifier rubyid_exist?'>exist?</span>
|
1144
1258
|
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span> <span class='id identifier rubyid_path'>path</span> <span class='rparen'>)</span>
|
@@ -1151,7 +1265,7 @@ hence bare file names are not usable.</p>
|
|
1151
1265
|
<div class="method_details ">
|
1152
1266
|
<h3 class="signature " id="path-instance_method">
|
1153
1267
|
|
1154
|
-
- (<tt>Object</tt>) <strong>path</strong>(ext =
|
1268
|
+
- (<tt>Object</tt>) <strong>path</strong>(ext = @ext)
|
1155
1269
|
|
1156
1270
|
|
1157
1271
|
|
@@ -1166,7 +1280,29 @@ hence bare file names are not usable.</p>
|
|
1166
1280
|
</div>
|
1167
1281
|
</div>
|
1168
1282
|
<div class="tags">
|
1283
|
+
<p class="tag_title">Parameters:</p>
|
1284
|
+
<ul class="param">
|
1285
|
+
|
1286
|
+
<li>
|
1287
|
+
|
1288
|
+
<span class='name'>ext</span>
|
1289
|
+
|
1290
|
+
|
1291
|
+
<span class='type'></span>
|
1292
|
+
|
1293
|
+
|
1294
|
+
<em class="default">(defaults to: <tt>@ext</tt>)</em>
|
1295
|
+
|
1296
|
+
|
1297
|
+
—
|
1298
|
+
<div class='inline'>
|
1299
|
+
<p>Use this extensions instead, if given.</p>
|
1300
|
+
</div>
|
1301
|
+
|
1302
|
+
</li>
|
1169
1303
|
|
1304
|
+
</ul>
|
1305
|
+
|
1170
1306
|
|
1171
1307
|
</div><table class="source_code">
|
1172
1308
|
<tr>
|
@@ -1174,16 +1310,14 @@ hence bare file names are not usable.</p>
|
|
1174
1310
|
<pre class="lines">
|
1175
1311
|
|
1176
1312
|
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
333</pre>
|
1313
|
+
357
|
1314
|
+
358
|
1315
|
+
359</pre>
|
1181
1316
|
</td>
|
1182
1317
|
<td>
|
1183
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1318
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 357</span>
|
1184
1319
|
|
1185
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span> <span class='id identifier rubyid_ext'>ext</span> <span class='op'>=</span> <span class='
|
1186
|
-
<span class='id identifier rubyid_ext'>ext</span> <span class='op'>||=</span> <span class='ivar'>@ext</span>
|
1320
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span> <span class='id identifier rubyid_ext'>ext</span> <span class='op'>=</span> <span class='ivar'>@ext</span> <span class='rparen'>)</span>
|
1187
1321
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@dir</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><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@base</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ext'>ext</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
1188
1322
|
<span class='kw'>end</span></pre>
|
1189
1323
|
</td>
|
@@ -1209,7 +1343,61 @@ hence bare file names are not usable.</p>
|
|
1209
1343
|
</div>
|
1210
1344
|
</div>
|
1211
1345
|
<div class="tags">
|
1346
|
+
<p class="tag_title">Parameters:</p>
|
1347
|
+
<ul class="param">
|
1348
|
+
|
1349
|
+
<li>
|
1350
|
+
|
1351
|
+
<span class='name'>rdir</span>
|
1352
|
+
|
1353
|
+
|
1354
|
+
<span class='type'></span>
|
1355
|
+
|
1356
|
+
|
1357
|
+
|
1358
|
+
—
|
1359
|
+
<div class='inline'>
|
1360
|
+
<p>Relative path of peer.</p>
|
1361
|
+
</div>
|
1362
|
+
|
1363
|
+
</li>
|
1212
1364
|
|
1365
|
+
<li>
|
1366
|
+
|
1367
|
+
<span class='name'>ext</span>
|
1368
|
+
|
1369
|
+
|
1370
|
+
<span class='type'></span>
|
1371
|
+
|
1372
|
+
|
1373
|
+
|
1374
|
+
—
|
1375
|
+
<div class='inline'>
|
1376
|
+
<p>Extension of peer.</p>
|
1377
|
+
</div>
|
1378
|
+
|
1379
|
+
</li>
|
1380
|
+
|
1381
|
+
<li>
|
1382
|
+
|
1383
|
+
<span class='name'>base</span>
|
1384
|
+
|
1385
|
+
|
1386
|
+
<span class='type'></span>
|
1387
|
+
|
1388
|
+
|
1389
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1390
|
+
|
1391
|
+
|
1392
|
+
—
|
1393
|
+
<div class='inline'>
|
1394
|
+
<p>Optional basename of peer (use original if not given).</p>
|
1395
|
+
</div>
|
1396
|
+
|
1397
|
+
</li>
|
1398
|
+
|
1399
|
+
</ul>
|
1400
|
+
|
1213
1401
|
|
1214
1402
|
</div><table class="source_code">
|
1215
1403
|
<tr>
|
@@ -1217,13 +1405,13 @@ hence bare file names are not usable.</p>
|
|
1217
1405
|
<pre class="lines">
|
1218
1406
|
|
1219
1407
|
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1408
|
+
373
|
1409
|
+
374
|
1410
|
+
375
|
1411
|
+
376</pre>
|
1224
1412
|
</td>
|
1225
1413
|
<td>
|
1226
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1414
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 373</span>
|
1227
1415
|
|
1228
1416
|
<span class='kw'>def</span> <span class='id identifier rubyid_peer'>peer</span><span class='lparen'>(</span> <span class='id identifier rubyid_rdir'>rdir</span><span class='comma'>,</span> <span class='id identifier rubyid_ext'>ext</span><span class='comma'>,</span> <span class='id identifier rubyid_base'>base</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
1229
1417
|
<span class='id identifier rubyid_base'>base</span> <span class='op'>||=</span> <span class='ivar'>@base</span>
|
@@ -1237,7 +1425,7 @@ hence bare file names are not usable.</p>
|
|
1237
1425
|
<div class="method_details ">
|
1238
1426
|
<h3 class="signature " id="rpath-instance_method">
|
1239
1427
|
|
1240
|
-
- (<tt>Object</tt>) <strong>rpath</strong>(ext =
|
1428
|
+
- (<tt>Object</tt>) <strong>rpath</strong>(ext = @ext)
|
1241
1429
|
|
1242
1430
|
|
1243
1431
|
|
@@ -1252,7 +1440,29 @@ hence bare file names are not usable.</p>
|
|
1252
1440
|
</div>
|
1253
1441
|
</div>
|
1254
1442
|
<div class="tags">
|
1443
|
+
<p class="tag_title">Parameters:</p>
|
1444
|
+
<ul class="param">
|
1445
|
+
|
1446
|
+
<li>
|
1447
|
+
|
1448
|
+
<span class='name'>ext</span>
|
1449
|
+
|
1450
|
+
|
1451
|
+
<span class='type'></span>
|
1452
|
+
|
1453
|
+
|
1454
|
+
<em class="default">(defaults to: <tt>@ext</tt>)</em>
|
1455
|
+
|
1456
|
+
|
1457
|
+
—
|
1458
|
+
<div class='inline'>
|
1459
|
+
<p>Use this extensions instead, if given.</p>
|
1460
|
+
</div>
|
1461
|
+
|
1462
|
+
</li>
|
1255
1463
|
|
1464
|
+
</ul>
|
1465
|
+
|
1256
1466
|
|
1257
1467
|
</div><table class="source_code">
|
1258
1468
|
<tr>
|
@@ -1260,16 +1470,14 @@ hence bare file names are not usable.</p>
|
|
1260
1470
|
<pre class="lines">
|
1261
1471
|
|
1262
1472
|
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
339</pre>
|
1473
|
+
364
|
1474
|
+
365
|
1475
|
+
366</pre>
|
1267
1476
|
</td>
|
1268
1477
|
<td>
|
1269
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1478
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 364</span>
|
1270
1479
|
|
1271
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_rpath'>rpath</span><span class='lparen'>(</span> <span class='id identifier rubyid_ext'>ext</span> <span class='op'>=</span> <span class='
|
1272
|
-
<span class='id identifier rubyid_ext'>ext</span> <span class='op'>||=</span> <span class='ivar'>@ext</span>
|
1480
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_rpath'>rpath</span><span class='lparen'>(</span> <span class='id identifier rubyid_ext'>ext</span> <span class='op'>=</span> <span class='ivar'>@ext</span> <span class='rparen'>)</span>
|
1273
1481
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@rdir</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><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@base</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ext'>ext</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
1274
1482
|
<span class='kw'>end</span></pre>
|
1275
1483
|
</td>
|
@@ -1289,7 +1497,7 @@ hence bare file names are not usable.</p>
|
|
1289
1497
|
</h3><div class="docstring">
|
1290
1498
|
<div class="discussion">
|
1291
1499
|
|
1292
|
-
<p>Set
|
1500
|
+
<p>Set option.</p>
|
1293
1501
|
|
1294
1502
|
|
1295
1503
|
</div>
|
@@ -1303,13 +1511,13 @@ hence bare file names are not usable.</p>
|
|
1303
1511
|
<pre class="lines">
|
1304
1512
|
|
1305
1513
|
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1514
|
+
349
|
1515
|
+
350
|
1516
|
+
351
|
1517
|
+
352</pre>
|
1310
1518
|
</td>
|
1311
1519
|
<td>
|
1312
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1520
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 349</span>
|
1313
1521
|
|
1314
1522
|
<span class='kw'>def</span> <span class='id identifier rubyid_set_opt'>set_opt</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
1315
1523
|
<span class='ivar'>@opt</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -1332,7 +1540,7 @@ hence bare file names are not usable.</p>
|
|
1332
1540
|
</h3><div class="docstring">
|
1333
1541
|
<div class="discussion">
|
1334
1542
|
|
1335
|
-
<p>Mark
|
1543
|
+
<p>Mark update time.</p>
|
1336
1544
|
|
1337
1545
|
|
1338
1546
|
</div>
|
@@ -1346,12 +1554,12 @@ hence bare file names are not usable.</p>
|
|
1346
1554
|
<pre class="lines">
|
1347
1555
|
|
1348
1556
|
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1557
|
+
384
|
1558
|
+
385
|
1559
|
+
386</pre>
|
1352
1560
|
</td>
|
1353
1561
|
<td>
|
1354
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1562
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 384</span>
|
1355
1563
|
|
1356
1564
|
<span class='kw'>def</span> <span class='id identifier rubyid_time'>time</span>
|
1357
1565
|
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_stat'>stat</span><span class='lparen'>(</span> <span class='id identifier rubyid_path'>path</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_mtime'>mtime</span>
|
@@ -1366,7 +1574,7 @@ hence bare file names are not usable.</p>
|
|
1366
1574
|
</div>
|
1367
1575
|
|
1368
1576
|
<div id="footer">
|
1369
|
-
Generated on
|
1577
|
+
Generated on Sun Jul 1 17:48:17 2018 by
|
1370
1578
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1371
1579
|
0.8.7.6 (ruby-2.3.3).
|
1372
1580
|
</div>
|