rubu 0.0.6 → 0.0.7
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 +2 -0
- data/README.rdoc +11 -10
- data/doc/Array.html +28 -28
- data/doc/Rubu.html +2 -2
- data/doc/Rubu/Fork.html +5 -5
- data/doc/Rubu/Info.html +9 -9
- data/doc/Rubu/Mark.html +69 -69
- data/doc/Rubu/Move.html +1 -1
- data/doc/Rubu/MoveStyles.html +9 -9
- data/doc/Rubu/Order.html +11 -9
- data/doc/Rubu/RubyCommand.html +10 -10
- data/doc/Rubu/ShellCommand.html +14 -10
- data/doc/Rubu/State.html +1 -1
- data/doc/Rubu/Step.html +107 -107
- data/doc/Rubu/StepAged.html +5 -5
- data/doc/Rubu/StepAlways.html +5 -5
- data/doc/Rubu/StepMark.html +5 -5
- data/doc/Rubu/Trail.html +57 -57
- data/doc/Rubu/Var.html +9 -9
- data/doc/Rubu/Walk.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +12 -10
- data/doc/index.html +12 -10
- data/doc/top-level-namespace.html +1 -1
- data/example/bin/rubu_example +6 -6
- data/example/build/hello +0 -0
- data/example/build/hello_world.o +0 -0
- data/lib/rubu.rb +15 -9
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b28ddbf7bef3521b9c1b56353f9428f2fbafc9304aadb03d84a31a9f7293242
|
4
|
+
data.tar.gz: 8898434c4ab0a30d43c9ef743b33f3faf647025cfefd850b2e787eef55ffc01a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 507b1439ce62612ae7352711c59433a6235102421f83e5a10944e66edf4ceb6aec86efaea11ca11f4e124705bbfc88a5e09b80916c3c07aa084290987ad53fac
|
7
|
+
data.tar.gz: 2cde5734b4028998b7aa8fd95f209d67069a0da64ea3ae3e96c2b672170fb5e6725064b9c9c1bcea3892270f50eeaef9613bf0793d38a608c2c7d81871b8904b
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -99,7 +99,7 @@ process convenient.
|
|
99
99
|
*Step* is build action that transforms source file(s) to target
|
100
100
|
file(s). For example, a C source file compilation is a *Step* where
|
101
101
|
one source file is converted to a corresponding object file. *Step* is
|
102
|
-
given
|
102
|
+
given *Source-Mark* and *Target-Mark* as arguments. Hence this type of
|
103
103
|
*Step* a is one-to-one mapping.
|
104
104
|
|
105
105
|
Linking multiple objects to an executable is a many-to-one
|
@@ -141,7 +141,7 @@ division is semantic and user might choose to combine everything to
|
|
141
141
|
To summarize and highlight the relationships between concepts, see the
|
142
142
|
diagram below:
|
143
143
|
|
144
|
-
RBP => Trail+ => Step+ [s/p] => Move+ [s/p] =>
|
144
|
+
RBP => Trail+ => Step+ [s/p] => Move+ [s/p] => Source-Mark*, Target-Mark*
|
145
145
|
=> Order+
|
146
146
|
=> Var*
|
147
147
|
=> Info*
|
@@ -156,8 +156,8 @@ RBP includes *Trails*, *Orders*, and possibly *Vars* and
|
|
156
156
|
in sequence or in parallel.
|
157
157
|
|
158
158
|
*Step* includes one or more *Moves*, and they can also be sequential
|
159
|
-
or parallel. *Move* has typically at least one *
|
160
|
-
least one *
|
159
|
+
or parallel. *Move* has typically at least one *Source-Mark* and at
|
160
|
+
least one *Target-Mark*. However, there are exceptions as well.
|
161
161
|
|
162
162
|
|
163
163
|
The suggested ordering within {Rubu} Build Program is:
|
@@ -167,8 +167,8 @@ The suggested ordering within {Rubu} Build Program is:
|
|
167
167
|
|
168
168
|
[file collection] Collect source and target files either using Ruby
|
169
169
|
with glob pattern, direct references, or through
|
170
|
-
manifest files. Convert file names to *Mark*
|
171
|
-
|
170
|
+
manifest files. Convert file names to *Mark* objects
|
171
|
+
(*Source-Mark*, *Target-Mark*).
|
172
172
|
|
173
173
|
[step definition] Define *Steps*. Inherit one of the *Step* types
|
174
174
|
(classes) and define at least the "step" method.
|
@@ -202,8 +202,9 @@ to get all C source files:
|
|
202
202
|
|
203
203
|
cee_files = Mark.glob( "#{Var[:source_dir]}/*.c" )
|
204
204
|
|
205
|
-
This creates a list of *Mark* objects which are source files
|
206
|
-
corresponding object files can be
|
205
|
+
This creates a list of *Mark* objects which are source files,
|
206
|
+
i.e. *Source-Marks*. The corresponding object (target) files can be
|
207
|
+
created with "peer" method:
|
207
208
|
|
208
209
|
obj_files = cee_files.peer( Var[ :build_dir ], '.o' )
|
209
210
|
|
@@ -230,8 +231,8 @@ is required, then an additional "setup" method can be defined as well.
|
|
230
231
|
"setup" method is typically used to change the command according to
|
231
232
|
user configuration. "step" method is the action for *Step*. {Rubu}
|
232
233
|
executes it, if necessary. For example, if *Step* is a *StepAged*
|
233
|
-
class, then the "step" method is only called if the
|
234
|
-
newer than the
|
234
|
+
class, then the "step" method is only called if the *Source-Mark* is
|
235
|
+
newer than the *Target-Mark*.
|
235
236
|
|
236
237
|
"step" method may include only one command or a set of commands. If
|
237
238
|
one command is needed, it can be simply executed:
|
data/doc/Array.html
CHANGED
@@ -280,12 +280,12 @@
|
|
280
280
|
<pre class="lines">
|
281
281
|
|
282
282
|
|
283
|
-
|
284
|
-
|
285
|
-
|
283
|
+
903
|
284
|
+
904
|
285
|
+
905</pre>
|
286
286
|
</td>
|
287
287
|
<td>
|
288
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
288
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 903</span>
|
289
289
|
|
290
290
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</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='rparen'>)</span>
|
291
291
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</span> <span class='rparen'>)</span>
|
@@ -321,14 +321,14 @@
|
|
321
321
|
<pre class="lines">
|
322
322
|
|
323
323
|
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
324
|
+
896
|
325
|
+
897
|
326
|
+
898
|
327
|
+
899
|
328
|
+
900</pre>
|
329
329
|
</td>
|
330
330
|
<td>
|
331
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
331
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 896</span>
|
332
332
|
|
333
333
|
<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>
|
334
334
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
|
@@ -366,12 +366,12 @@
|
|
366
366
|
<pre class="lines">
|
367
367
|
|
368
368
|
|
369
|
-
|
370
|
-
|
371
|
-
|
369
|
+
908
|
370
|
+
909
|
371
|
+
910</pre>
|
372
372
|
</td>
|
373
373
|
<td>
|
374
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
374
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 908</span>
|
375
375
|
|
376
376
|
<span class='kw'>def</span> <span class='id identifier rubyid_rpath'>rpath</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</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='rparen'>)</span>
|
377
377
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_rpath'>rpath</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</span> <span class='rparen'>)</span>
|
@@ -407,15 +407,15 @@
|
|
407
407
|
<pre class="lines">
|
408
408
|
|
409
409
|
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
410
|
+
888
|
411
|
+
889
|
412
|
+
890
|
413
|
+
891
|
414
|
+
892
|
415
|
+
893</pre>
|
416
416
|
</td>
|
417
417
|
<td>
|
418
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
418
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 888</span>
|
419
419
|
|
420
420
|
<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>
|
421
421
|
<span class='kw'>self</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_item'>item</span><span class='op'>|</span>
|
@@ -454,14 +454,14 @@
|
|
454
454
|
<pre class="lines">
|
455
455
|
|
456
456
|
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
457
|
+
881
|
458
|
+
882
|
459
|
+
883
|
460
|
+
884
|
461
|
+
885</pre>
|
462
462
|
</td>
|
463
463
|
<td>
|
464
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
464
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 881</span>
|
465
465
|
|
466
466
|
<span class='kw'>def</span> <span class='id identifier rubyid_use'>use</span>
|
467
467
|
<span class='kw'>self</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_item'>item</span><span class='op'>|</span>
|
@@ -478,7 +478,7 @@
|
|
478
478
|
</div>
|
479
479
|
|
480
480
|
<div id="footer">
|
481
|
-
Generated on
|
481
|
+
Generated on Sat Sep 29 22:28:27 2018 by
|
482
482
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
483
483
|
0.9.16 (ruby-2.5.1).
|
484
484
|
</div>
|
data/doc/Rubu.html
CHANGED
@@ -109,7 +109,7 @@
|
|
109
109
|
<dt id="VERSION-constant" class="">VERSION =
|
110
110
|
|
111
111
|
</dt>
|
112
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.7</span><span class='tstring_end'>"</span></span></pre></dd>
|
113
113
|
|
114
114
|
</dl>
|
115
115
|
|
@@ -194,7 +194,7 @@
|
|
194
194
|
</div>
|
195
195
|
|
196
196
|
<div id="footer">
|
197
|
-
Generated on
|
197
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
198
198
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
199
199
|
0.9.16 (ruby-2.5.1).
|
200
200
|
</div>
|
data/doc/Rubu/Fork.html
CHANGED
@@ -224,12 +224,12 @@
|
|
224
224
|
<pre class="lines">
|
225
225
|
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
227
|
+
869
|
228
|
+
870
|
229
|
+
871</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 869</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 Sat Sep 29 22:28:27 2018 by
|
248
248
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
249
249
|
0.9.16 (ruby-2.5.1).
|
250
250
|
</div>
|
data/doc/Rubu/Info.html
CHANGED
@@ -224,12 +224,12 @@
|
|
224
224
|
<pre class="lines">
|
225
225
|
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
227
|
+
478
|
228
|
+
479
|
229
|
+
480</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 478</span>
|
233
233
|
|
234
234
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Info (class)">Info</a></span></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>
|
235
235
|
<span class='cvar'>@@info</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -265,12 +265,12 @@
|
|
265
265
|
<pre class="lines">
|
266
266
|
|
267
267
|
|
268
|
-
|
269
|
-
|
270
|
-
|
268
|
+
473
|
269
|
+
474
|
270
|
+
475</pre>
|
271
271
|
</td>
|
272
272
|
<td>
|
273
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
273
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 473</span>
|
274
274
|
|
275
275
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Info (class)">Info</a></span></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>
|
276
276
|
<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>
|
@@ -285,7 +285,7 @@
|
|
285
285
|
</div>
|
286
286
|
|
287
287
|
<div id="footer">
|
288
|
-
Generated on
|
288
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
289
289
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
290
290
|
0.9.16 (ruby-2.5.1).
|
291
291
|
</div>
|
data/doc/Rubu/Mark.html
CHANGED
@@ -659,8 +659,6 @@ bare file names are not usable.</p>
|
|
659
659
|
<pre class="lines">
|
660
660
|
|
661
661
|
|
662
|
-
333
|
663
|
-
334
|
664
662
|
335
|
665
663
|
336
|
666
664
|
337
|
@@ -671,10 +669,12 @@ bare file names are not usable.</p>
|
|
671
669
|
342
|
672
670
|
343
|
673
671
|
344
|
674
|
-
345
|
672
|
+
345
|
673
|
+
346
|
674
|
+
347</pre>
|
675
675
|
</td>
|
676
676
|
<td>
|
677
|
-
<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 335</span>
|
678
678
|
|
679
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>
|
680
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'><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></span>
|
@@ -727,12 +727,12 @@ bare file names are not usable.</p>
|
|
727
727
|
<pre class="lines">
|
728
728
|
|
729
729
|
|
730
|
-
|
731
|
-
|
732
|
-
|
730
|
+
321
|
731
|
+
322
|
732
|
+
323</pre>
|
733
733
|
</td>
|
734
734
|
<td>
|
735
|
-
<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 321</span>
|
736
736
|
|
737
737
|
<span class='kw'>def</span> <span class='id identifier rubyid_base'>base</span>
|
738
738
|
<span class='ivar'>@base</span>
|
@@ -770,12 +770,12 @@ bare file names are not usable.</p>
|
|
770
770
|
<pre class="lines">
|
771
771
|
|
772
772
|
|
773
|
-
|
774
|
-
|
775
|
-
|
773
|
+
315
|
774
|
+
316
|
775
|
+
317</pre>
|
776
776
|
</td>
|
777
777
|
<td>
|
778
|
-
<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 315</span>
|
779
779
|
|
780
780
|
<span class='kw'>def</span> <span class='id identifier rubyid_dir'>dir</span>
|
781
781
|
<span class='ivar'>@dir</span>
|
@@ -813,12 +813,12 @@ bare file names are not usable.</p>
|
|
813
813
|
<pre class="lines">
|
814
814
|
|
815
815
|
|
816
|
-
|
817
|
-
|
818
|
-
|
816
|
+
324
|
817
|
+
325
|
818
|
+
326</pre>
|
819
819
|
</td>
|
820
820
|
<td>
|
821
|
-
<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 324</span>
|
822
822
|
|
823
823
|
<span class='kw'>def</span> <span class='id identifier rubyid_ext'>ext</span>
|
824
824
|
<span class='ivar'>@ext</span>
|
@@ -856,12 +856,12 @@ bare file names are not usable.</p>
|
|
856
856
|
<pre class="lines">
|
857
857
|
|
858
858
|
|
859
|
-
|
860
|
-
|
861
|
-
|
859
|
+
318
|
860
|
+
319
|
861
|
+
320</pre>
|
862
862
|
</td>
|
863
863
|
<td>
|
864
|
-
<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 318</span>
|
865
865
|
|
866
866
|
<span class='kw'>def</span> <span class='id identifier rubyid_rdir'>rdir</span>
|
867
867
|
<span class='ivar'>@rdir</span>
|
@@ -899,12 +899,12 @@ bare file names are not usable.</p>
|
|
899
899
|
<pre class="lines">
|
900
900
|
|
901
901
|
|
902
|
-
|
903
|
-
|
904
|
-
|
902
|
+
327
|
903
|
+
328
|
904
|
+
329</pre>
|
905
905
|
</td>
|
906
906
|
<td>
|
907
|
-
<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 327</span>
|
908
908
|
|
909
909
|
<span class='kw'>def</span> <span class='id identifier rubyid_skip'>skip</span>
|
910
910
|
<span class='ivar'>@skip</span>
|
@@ -967,12 +967,12 @@ bare file names are not usable.</p>
|
|
967
967
|
<pre class="lines">
|
968
968
|
|
969
969
|
|
970
|
-
|
971
|
-
|
972
|
-
|
970
|
+
309
|
971
|
+
310
|
972
|
+
311</pre>
|
973
973
|
</td>
|
974
974
|
<td>
|
975
|
-
<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 309</span>
|
976
976
|
|
977
977
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Mark (class)">Mark</a></span></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>
|
978
978
|
<span class='const'><span class='object_link'><a href="" title="Rubu::Mark (class)">Mark</a></span></span><span class='period'>.</span><span class='id identifier rubyid_list'><span class='object_link'><a href="#list-class_method" title="Rubu::Mark.list (method)">list</a></span></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>
|
@@ -1028,15 +1028,15 @@ bare file names are not usable.</p>
|
|
1028
1028
|
<pre class="lines">
|
1029
1029
|
|
1030
1030
|
|
1031
|
-
296
|
1032
|
-
297
|
1033
1031
|
298
|
1034
1032
|
299
|
1035
1033
|
300
|
1036
|
-
301
|
1034
|
+
301
|
1035
|
+
302
|
1036
|
+
303</pre>
|
1037
1037
|
</td>
|
1038
1038
|
<td>
|
1039
|
-
<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 298</span>
|
1040
1040
|
|
1041
1041
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Mark (class)">Mark</a></span></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>
|
1042
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'><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></span>
|
@@ -1095,17 +1095,17 @@ bare file names are not usable.</p>
|
|
1095
1095
|
<pre class="lines">
|
1096
1096
|
|
1097
1097
|
|
1098
|
-
284
|
1099
|
-
285
|
1100
1098
|
286
|
1101
1099
|
287
|
1102
1100
|
288
|
1103
1101
|
289
|
1104
1102
|
290
|
1105
|
-
291
|
1103
|
+
291
|
1104
|
+
292
|
1105
|
+
293</pre>
|
1106
1106
|
</td>
|
1107
1107
|
<td>
|
1108
|
-
<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 286</span>
|
1109
1109
|
|
1110
1110
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Mark (class)">Mark</a></span></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>
|
1111
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>
|
@@ -1152,12 +1152,12 @@ bare file names are not usable.</p>
|
|
1152
1152
|
<pre class="lines">
|
1153
1153
|
|
1154
1154
|
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1155
|
+
350
|
1156
|
+
351
|
1157
|
+
352</pre>
|
1158
1158
|
</td>
|
1159
1159
|
<td>
|
1160
|
-
<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 350</span>
|
1161
1161
|
|
1162
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>
|
1163
1163
|
<span class='ivar'>@opt</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -1193,12 +1193,12 @@ bare file names are not usable.</p>
|
|
1193
1193
|
<pre class="lines">
|
1194
1194
|
|
1195
1195
|
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1196
|
+
355
|
1197
|
+
356
|
1198
|
+
357</pre>
|
1199
1199
|
</td>
|
1200
1200
|
<td>
|
1201
|
-
<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 355</span>
|
1202
1202
|
|
1203
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>
|
1204
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>
|
@@ -1247,12 +1247,12 @@ bare file names are not usable.</p>
|
|
1247
1247
|
<pre class="lines">
|
1248
1248
|
|
1249
1249
|
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1250
|
+
390
|
1251
|
+
391
|
1252
|
+
392</pre>
|
1253
1253
|
</td>
|
1254
1254
|
<td>
|
1255
|
-
<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 390</span>
|
1256
1256
|
|
1257
1257
|
<span class='kw'>def</span> <span class='id identifier rubyid_exist?'>exist?</span>
|
1258
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>
|
@@ -1310,12 +1310,12 @@ bare file names are not usable.</p>
|
|
1310
1310
|
<pre class="lines">
|
1311
1311
|
|
1312
1312
|
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1313
|
+
368
|
1314
|
+
369
|
1315
|
+
370</pre>
|
1316
1316
|
</td>
|
1317
1317
|
<td>
|
1318
|
-
<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 368</span>
|
1319
1319
|
|
1320
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>
|
1321
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>
|
@@ -1405,13 +1405,13 @@ bare file names are not usable.</p>
|
|
1405
1405
|
<pre class="lines">
|
1406
1406
|
|
1407
1407
|
|
1408
|
-
382
|
1409
|
-
383
|
1410
1408
|
384
|
1411
|
-
385
|
1409
|
+
385
|
1410
|
+
386
|
1411
|
+
387</pre>
|
1412
1412
|
</td>
|
1413
1413
|
<td>
|
1414
|
-
<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 384</span>
|
1415
1415
|
|
1416
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>
|
1417
1417
|
<span class='id identifier rubyid_base'>base</span> <span class='op'>||=</span> <span class='ivar'>@base</span>
|
@@ -1470,12 +1470,12 @@ bare file names are not usable.</p>
|
|
1470
1470
|
<pre class="lines">
|
1471
1471
|
|
1472
1472
|
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1473
|
+
375
|
1474
|
+
376
|
1475
|
+
377</pre>
|
1476
1476
|
</td>
|
1477
1477
|
<td>
|
1478
|
-
<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 375</span>
|
1479
1479
|
|
1480
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>
|
1481
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>
|
@@ -1511,13 +1511,13 @@ bare file names are not usable.</p>
|
|
1511
1511
|
<pre class="lines">
|
1512
1512
|
|
1513
1513
|
|
1514
|
-
358
|
1515
|
-
359
|
1516
1514
|
360
|
1517
|
-
361
|
1515
|
+
361
|
1516
|
+
362
|
1517
|
+
363</pre>
|
1518
1518
|
</td>
|
1519
1519
|
<td>
|
1520
|
-
<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 360</span>
|
1521
1521
|
|
1522
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>
|
1523
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>
|
@@ -1554,12 +1554,12 @@ bare file names are not usable.</p>
|
|
1554
1554
|
<pre class="lines">
|
1555
1555
|
|
1556
1556
|
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1557
|
+
395
|
1558
|
+
396
|
1559
|
+
397</pre>
|
1560
1560
|
</td>
|
1561
1561
|
<td>
|
1562
|
-
<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 395</span>
|
1563
1563
|
|
1564
1564
|
<span class='kw'>def</span> <span class='id identifier rubyid_time'>time</span>
|
1565
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>
|
@@ -1574,7 +1574,7 @@ bare file names are not usable.</p>
|
|
1574
1574
|
</div>
|
1575
1575
|
|
1576
1576
|
<div id="footer">
|
1577
|
-
Generated on
|
1577
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
1578
1578
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1579
1579
|
0.9.16 (ruby-2.5.1).
|
1580
1580
|
</div>
|