rook 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LGPL +504 -0
- data/README.txt +15 -6
- data/bin/rook +1 -1
- data/doc-api/classes/BZ2/Reader.html +24 -24
- data/doc-api/classes/Digest/Base.html +18 -18
- data/doc-api/classes/Enumerable.html +55 -55
- data/doc-api/classes/File.html +53 -6
- data/doc-api/classes/FileUtils.html +90 -90
- data/doc-api/classes/Kernel.html +48 -48
- data/doc-api/classes/Rook.html +18 -5
- data/doc-api/classes/Rook/Assertion.html +29 -14
- data/doc-api/classes/Rook/Commands.html +296 -364
- data/doc-api/classes/Rook/Cookbook.html +165 -60
- data/doc-api/classes/Rook/CookbookError.html +7 -7
- data/doc-api/classes/Rook/CookbookValidator.html +24 -24
- data/doc-api/classes/Rook/Kitchen.html +379 -224
- data/doc-api/classes/Rook/KitchenHelper.html +69 -69
- data/doc-api/classes/Rook/Main.html +47 -30
- data/doc-api/classes/Rook/Recipe.html +63 -35
- data/doc-api/classes/Rook/Util.html +72 -68
- data/doc-api/classes/Rook/Util/UndefinedPropertyError.html +6 -6
- data/doc-api/classes/Rook/{Parameters.html → ValueTable.html} +129 -123
- data/doc-api/created.rid +1 -1
- data/doc-api/files/rook/commands_rb.html +2 -2
- data/doc-api/files/rook/cookbook_rb.html +2 -2
- data/doc-api/files/rook/helper/bz2_rb.html +1 -1
- data/doc-api/files/rook/helper/digest_rb.html +1 -1
- data/doc-api/files/rook/helper/enumerable_rb.html +1 -1
- data/doc-api/files/rook/helper/file_rb.html +2 -2
- data/doc-api/files/rook/helper/fileutils_rb.html +1 -1
- data/doc-api/files/rook/helper/kernel_rb.html +1 -1
- data/doc-api/files/rook/kitchen_rb.html +2 -2
- data/doc-api/files/rook/main_rb.html +2 -2
- data/doc-api/files/rook/recipe_rb.html +2 -2
- data/doc-api/files/rook/util_rb.html +2 -2
- data/doc-api/files/rook_rb.html +2 -2
- data/doc-api/fr_class_index.html +1 -1
- data/doc-api/fr_file_index.html +0 -1
- data/doc-api/fr_method_index.html +148 -140
- data/doc-api/index.html +1 -1
- data/examples/hello_c/Rookbook.rb +1 -1
- data/examples/hello_c/Rookbook.yaml +8 -8
- data/examples/project/README.txt +2 -2
- data/examples/project/Rookbook.rb +20 -19
- data/examples/project/Rookbook.yaml +30 -28
- data/examples/project/bin/example +2 -2
- data/examples/project/example.gemspec +1 -1
- data/examples/project/lib/example.rb +2 -2
- data/examples/project/test/test.rb +2 -2
- data/lib/rook.rb +5 -2
- data/lib/rook/commands.rb +28 -17
- data/lib/rook/cookbook.rb +107 -92
- data/lib/rook/helper/bz2.rb +1 -1
- data/lib/rook/helper/digest.rb +1 -1
- data/lib/rook/helper/enumerable.rb +1 -1
- data/lib/rook/helper/file.rb +28 -3
- data/lib/rook/helper/fileutils.rb +1 -1
- data/lib/rook/helper/kernel.rb +1 -1
- data/lib/rook/kitchen.rb +138 -100
- data/lib/rook/main.rb +72 -47
- data/lib/rook/recipe.rb +51 -35
- data/lib/rook/rookbook.schema.yaml +34 -54
- data/lib/rook/util.rb +22 -8
- data/rook.gemspec +5 -5
- metadata +5 -7
- data/COPYING +0 -340
- data/doc-api/files/__/README_txt.html +0 -313
data/doc-api/classes/Kernel.html
CHANGED
@@ -89,14 +89,14 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
89
89
|
<h3 class="section-bar">Methods</h3>
|
90
90
|
|
91
91
|
<div class="name-list">
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
92
|
+
<a href="#M000150">array_basenames</a>
|
93
|
+
<a href="#M000148">array_delete_prefix</a>
|
94
|
+
<a href="#M000147">array_delete_suffix</a>
|
95
|
+
<a href="#M000151">array_dirnames</a>
|
96
|
+
<a href="#M000149">array_join</a>
|
97
|
+
<a href="#M000144">array_prefix</a>
|
98
|
+
<a href="#M000146">array_sandwich</a>
|
99
|
+
<a href="#M000145">array_suffix</a>
|
100
100
|
</div>
|
101
101
|
</div>
|
102
102
|
|
@@ -118,19 +118,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
118
118
|
<div id="methods">
|
119
119
|
<h3 class="section-bar">Public Instance methods</h3>
|
120
120
|
|
121
|
-
<div id="method-
|
122
|
-
<a name="
|
121
|
+
<div id="method-M000150" class="method-detail">
|
122
|
+
<a name="M000150"></a>
|
123
123
|
|
124
124
|
<div class="method-heading">
|
125
|
-
<a href="#
|
125
|
+
<a href="#M000150" class="method-signature">
|
126
126
|
<span class="method-name">array_basenames</span><span class="method-args">(array)</span>
|
127
127
|
</a>
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div class="method-description">
|
131
131
|
<p><a class="source-toggle" href="#"
|
132
|
-
onclick="toggleCode('
|
133
|
-
<div class="method-source-code" id="
|
132
|
+
onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
|
133
|
+
<div class="method-source-code" id="M000150-source">
|
134
134
|
<pre>
|
135
135
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 84</span>
|
136
136
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_basenames</span>(<span class="ruby-identifier">array</span>)
|
@@ -141,19 +141,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
141
141
|
</div>
|
142
142
|
</div>
|
143
143
|
|
144
|
-
<div id="method-
|
145
|
-
<a name="
|
144
|
+
<div id="method-M000148" class="method-detail">
|
145
|
+
<a name="M000148"></a>
|
146
146
|
|
147
147
|
<div class="method-heading">
|
148
|
-
<a href="#
|
148
|
+
<a href="#M000148" class="method-signature">
|
149
149
|
<span class="method-name">array_delete_prefix</span><span class="method-args">(array, prefix)</span>
|
150
150
|
</a>
|
151
151
|
</div>
|
152
152
|
|
153
153
|
<div class="method-description">
|
154
154
|
<p><a class="source-toggle" href="#"
|
155
|
-
onclick="toggleCode('
|
156
|
-
<div class="method-source-code" id="
|
155
|
+
onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
|
156
|
+
<div class="method-source-code" id="M000148-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 67</span>
|
159
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_delete_prefix</span>(<span class="ruby-identifier">array</span>, <span class="ruby-identifier">prefix</span>)
|
@@ -164,19 +164,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
164
164
|
</div>
|
165
165
|
</div>
|
166
166
|
|
167
|
-
<div id="method-
|
168
|
-
<a name="
|
167
|
+
<div id="method-M000147" class="method-detail">
|
168
|
+
<a name="M000147"></a>
|
169
169
|
|
170
170
|
<div class="method-heading">
|
171
|
-
<a href="#
|
171
|
+
<a href="#M000147" class="method-signature">
|
172
172
|
<span class="method-name">array_delete_suffix</span><span class="method-args">(array, suffix=/\.\w+\z/)</span>
|
173
173
|
</a>
|
174
174
|
</div>
|
175
175
|
|
176
176
|
<div class="method-description">
|
177
177
|
<p><a class="source-toggle" href="#"
|
178
|
-
onclick="toggleCode('
|
179
|
-
<div class="method-source-code" id="
|
178
|
+
onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
|
179
|
+
<div class="method-source-code" id="M000147-source">
|
180
180
|
<pre>
|
181
181
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 55</span>
|
182
182
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_delete_suffix</span>(<span class="ruby-identifier">array</span>, <span class="ruby-identifier">suffix</span>=<span class="ruby-regexp re">/\.\w+\z/</span>)
|
@@ -187,19 +187,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
187
187
|
</div>
|
188
188
|
</div>
|
189
189
|
|
190
|
-
<div id="method-
|
191
|
-
<a name="
|
190
|
+
<div id="method-M000151" class="method-detail">
|
191
|
+
<a name="M000151"></a>
|
192
192
|
|
193
193
|
<div class="method-heading">
|
194
|
-
<a href="#
|
194
|
+
<a href="#M000151" class="method-signature">
|
195
195
|
<span class="method-name">array_dirnames</span><span class="method-args">(array)</span>
|
196
196
|
</a>
|
197
197
|
</div>
|
198
198
|
|
199
199
|
<div class="method-description">
|
200
200
|
<p><a class="source-toggle" href="#"
|
201
|
-
onclick="toggleCode('
|
202
|
-
<div class="method-source-code" id="
|
201
|
+
onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
|
202
|
+
<div class="method-source-code" id="M000151-source">
|
203
203
|
<pre>
|
204
204
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 96</span>
|
205
205
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_dirnames</span>(<span class="ruby-identifier">array</span>)
|
@@ -210,19 +210,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
210
210
|
</div>
|
211
211
|
</div>
|
212
212
|
|
213
|
-
<div id="method-
|
214
|
-
<a name="
|
213
|
+
<div id="method-M000149" class="method-detail">
|
214
|
+
<a name="M000149"></a>
|
215
215
|
|
216
216
|
<div class="method-heading">
|
217
|
-
<a href="#
|
217
|
+
<a href="#M000149" class="method-signature">
|
218
218
|
<span class="method-name">array_join</span><span class="method-args">(array, separator)</span>
|
219
219
|
</a>
|
220
220
|
</div>
|
221
221
|
|
222
222
|
<div class="method-description">
|
223
223
|
<p><a class="source-toggle" href="#"
|
224
|
-
onclick="toggleCode('
|
225
|
-
<div class="method-source-code" id="
|
224
|
+
onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
|
225
|
+
<div class="method-source-code" id="M000149-source">
|
226
226
|
<pre>
|
227
227
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 79</span>
|
228
228
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_join</span>(<span class="ruby-identifier">array</span>, <span class="ruby-identifier">separator</span>)
|
@@ -233,19 +233,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
233
233
|
</div>
|
234
234
|
</div>
|
235
235
|
|
236
|
-
<div id="method-
|
237
|
-
<a name="
|
236
|
+
<div id="method-M000144" class="method-detail">
|
237
|
+
<a name="M000144"></a>
|
238
238
|
|
239
239
|
<div class="method-heading">
|
240
|
-
<a href="#
|
240
|
+
<a href="#M000144" class="method-signature">
|
241
241
|
<span class="method-name">array_prefix</span><span class="method-args">(array, prefix)</span>
|
242
242
|
</a>
|
243
243
|
</div>
|
244
244
|
|
245
245
|
<div class="method-description">
|
246
246
|
<p><a class="source-toggle" href="#"
|
247
|
-
onclick="toggleCode('
|
248
|
-
<div class="method-source-code" id="
|
247
|
+
onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
|
248
|
+
<div class="method-source-code" id="M000144-source">
|
249
249
|
<pre>
|
250
250
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 19</span>
|
251
251
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_prefix</span>(<span class="ruby-identifier">array</span>, <span class="ruby-identifier">prefix</span>)
|
@@ -256,19 +256,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
256
256
|
</div>
|
257
257
|
</div>
|
258
258
|
|
259
|
-
<div id="method-
|
260
|
-
<a name="
|
259
|
+
<div id="method-M000146" class="method-detail">
|
260
|
+
<a name="M000146"></a>
|
261
261
|
|
262
262
|
<div class="method-heading">
|
263
|
-
<a href="#
|
263
|
+
<a href="#M000146" class="method-signature">
|
264
264
|
<span class="method-name">array_sandwich</span><span class="method-args">(array, prefix, suffix)</span>
|
265
265
|
</a>
|
266
266
|
</div>
|
267
267
|
|
268
268
|
<div class="method-description">
|
269
269
|
<p><a class="source-toggle" href="#"
|
270
|
-
onclick="toggleCode('
|
271
|
-
<div class="method-source-code" id="
|
270
|
+
onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
|
271
|
+
<div class="method-source-code" id="M000146-source">
|
272
272
|
<pre>
|
273
273
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 43</span>
|
274
274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_sandwich</span>(<span class="ruby-identifier">array</span>, <span class="ruby-identifier">prefix</span>, <span class="ruby-identifier">suffix</span>)
|
@@ -279,19 +279,19 @@ these are convenience for non-ruby user and compatibility with Kook.
|
|
279
279
|
</div>
|
280
280
|
</div>
|
281
281
|
|
282
|
-
<div id="method-
|
283
|
-
<a name="
|
282
|
+
<div id="method-M000145" class="method-detail">
|
283
|
+
<a name="M000145"></a>
|
284
284
|
|
285
285
|
<div class="method-heading">
|
286
|
-
<a href="#
|
286
|
+
<a href="#M000145" class="method-signature">
|
287
287
|
<span class="method-name">array_suffix</span><span class="method-args">(array, suffix)</span>
|
288
288
|
</a>
|
289
289
|
</div>
|
290
290
|
|
291
291
|
<div class="method-description">
|
292
292
|
<p><a class="source-toggle" href="#"
|
293
|
-
onclick="toggleCode('
|
294
|
-
<div class="method-source-code" id="
|
293
|
+
onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
|
294
|
+
<div class="method-source-code" id="M000145-source">
|
295
295
|
<pre>
|
296
296
|
<span class="ruby-comment cmt"># File rook/helper/kernel.rb, line 31</span>
|
297
297
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">array_suffix</span>(<span class="ruby-identifier">array</span>, <span class="ruby-identifier">suffix</span>)
|
data/doc-api/classes/Rook.html
CHANGED
@@ -55,10 +55,6 @@
|
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="../files/rook_rb.html">
|
59
|
-
rook.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
58
|
<a href="../files/rook/commands_rb.html">
|
63
59
|
rook/commands.rb
|
64
60
|
</a>
|
@@ -82,6 +78,10 @@
|
|
82
78
|
<a href="../files/rook/util_rb.html">
|
83
79
|
rook/util.rb
|
84
80
|
</a>
|
81
|
+
<br />
|
82
|
+
<a href="../files/rook_rb.html">
|
83
|
+
rook.rb
|
84
|
+
</a>
|
85
85
|
<br />
|
86
86
|
</td>
|
87
87
|
</tr>
|
@@ -122,12 +122,25 @@ Class <a href="Rook/CookbookError.html" class="link">Rook::CookbookError</a><br
|
|
122
122
|
Class <a href="Rook/CookbookValidator.html" class="link">Rook::CookbookValidator</a><br />
|
123
123
|
Class <a href="Rook/Kitchen.html" class="link">Rook::Kitchen</a><br />
|
124
124
|
Class <a href="Rook/Main.html" class="link">Rook::Main</a><br />
|
125
|
-
Class <a href="Rook/Parameters.html" class="link">Rook::Parameters</a><br />
|
126
125
|
Class <a href="Rook/Recipe.html" class="link">Rook::Recipe</a><br />
|
127
126
|
Class <a href="Rook/RookError.html" class="link">Rook::RookError</a><br />
|
127
|
+
Class <a href="Rook/ValueTable.html" class="link">Rook::ValueTable</a><br />
|
128
128
|
|
129
129
|
</div>
|
130
130
|
|
131
|
+
<div id="constants-list">
|
132
|
+
<h3 class="section-bar">Constants</h3>
|
133
|
+
|
134
|
+
<div class="name-list">
|
135
|
+
<table summary="Constants">
|
136
|
+
<tr class="top-aligned-row context-row">
|
137
|
+
<td class="context-item-name">RELEASE</td>
|
138
|
+
<td>=</td>
|
139
|
+
<td class="context-item-value">('$Release: 0.2.0 $' =~ /\$Release: 0.2.0 $/) && $1</td>
|
140
|
+
</tr>
|
141
|
+
</table>
|
142
|
+
</div>
|
143
|
+
</div>
|
131
144
|
|
132
145
|
|
133
146
|
|
@@ -80,8 +80,9 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
84
|
-
<a href="#
|
83
|
+
<a href="#M000059">assert</a>
|
84
|
+
<a href="#M000061">assert!</a>
|
85
|
+
<a href="#M000060">assert_failed</a>
|
85
86
|
</div>
|
86
87
|
</div>
|
87
88
|
|
@@ -103,21 +104,21 @@
|
|
103
104
|
<div id="methods">
|
104
105
|
<h3 class="section-bar">Public Instance methods</h3>
|
105
106
|
|
106
|
-
<div id="method-
|
107
|
-
<a name="
|
107
|
+
<div id="method-M000059" class="method-detail">
|
108
|
+
<a name="M000059"></a>
|
108
109
|
|
109
110
|
<div class="method-heading">
|
110
|
-
<a href="#
|
111
|
+
<a href="#M000059" class="method-signature">
|
111
112
|
<span class="method-name">assert</span><span class="method-args">(expr, message)</span>
|
112
113
|
</a>
|
113
114
|
</div>
|
114
115
|
|
115
116
|
<div class="method-description">
|
116
117
|
<p><a class="source-toggle" href="#"
|
117
|
-
onclick="toggleCode('
|
118
|
-
<div class="method-source-code" id="
|
118
|
+
onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
|
119
|
+
<div class="method-source-code" id="M000059-source">
|
119
120
|
<pre>
|
120
|
-
<span class="ruby-comment cmt"># File rook.rb, line
|
121
|
+
<span class="ruby-comment cmt"># File rook.rb, line 37</span>
|
121
122
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assert</span>(<span class="ruby-identifier">expr</span>, <span class="ruby-identifier">message</span>)
|
122
123
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">AssertionError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">message</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">expr</span>
|
123
124
|
<span class="ruby-keyword kw">end</span>
|
@@ -126,21 +127,35 @@
|
|
126
127
|
</div>
|
127
128
|
</div>
|
128
129
|
|
129
|
-
<div id="method-
|
130
|
-
<a name="
|
130
|
+
<div id="method-M000061" class="method-detail">
|
131
|
+
<a name="M000061"></a>
|
132
|
+
|
133
|
+
<div class="method-heading">
|
134
|
+
<span class="method-name">assert!</span><span class="method-args">(message)</span>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<div class="method-description">
|
138
|
+
<p>
|
139
|
+
Alias for <a href="Assertion.html#M000060">assert_failed</a>
|
140
|
+
</p>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div id="method-M000060" class="method-detail">
|
145
|
+
<a name="M000060"></a>
|
131
146
|
|
132
147
|
<div class="method-heading">
|
133
|
-
<a href="#
|
148
|
+
<a href="#M000060" class="method-signature">
|
134
149
|
<span class="method-name">assert_failed</span><span class="method-args">(message)</span>
|
135
150
|
</a>
|
136
151
|
</div>
|
137
152
|
|
138
153
|
<div class="method-description">
|
139
154
|
<p><a class="source-toggle" href="#"
|
140
|
-
onclick="toggleCode('
|
141
|
-
<div class="method-source-code" id="
|
155
|
+
onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
|
156
|
+
<div class="method-source-code" id="M000060-source">
|
142
157
|
<pre>
|
143
|
-
<span class="ruby-comment cmt"># File rook.rb, line
|
158
|
+
<span class="ruby-comment cmt"># File rook.rb, line 40</span>
|
144
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assert_failed</span>(<span class="ruby-identifier">message</span>)
|
145
160
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">AssertionError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">message</span>)
|
146
161
|
<span class="ruby-keyword kw">end</span>
|
@@ -86,49 +86,46 @@ commands for recipe method
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#M000019">
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
114
|
-
<a href="#
|
115
|
-
<a href="#
|
116
|
-
<a href="#
|
117
|
-
<a href="#
|
118
|
-
<a href="#
|
119
|
-
<a href="#
|
120
|
-
<a href="#
|
121
|
-
<a href="#
|
122
|
-
<a href="#
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#M000054">unzip</a>
|
130
|
-
<a href="#M000052">zip</a>
|
131
|
-
<a href="#M000053">zip_r</a>
|
89
|
+
<a href="#M000023">cd</a>
|
90
|
+
<a href="#M000024">chdir</a>
|
91
|
+
<a href="#M000025">chmod</a>
|
92
|
+
<a href="#M000026">chmod_R</a>
|
93
|
+
<a href="#M000027">chown</a>
|
94
|
+
<a href="#M000028">chown_R</a>
|
95
|
+
<a href="#M000019">comment</a>
|
96
|
+
<a href="#M000036">cp</a>
|
97
|
+
<a href="#M000040">cp_a</a>
|
98
|
+
<a href="#M000037">cp_p</a>
|
99
|
+
<a href="#M000039">cp_pr</a>
|
100
|
+
<a href="#M000038">cp_r</a>
|
101
|
+
<a href="#M000021">echo</a>
|
102
|
+
<a href="#M000022">echo_n</a>
|
103
|
+
<a href="#M000048">edit</a>
|
104
|
+
<a href="#M000042">ln</a>
|
105
|
+
<a href="#M000043">ln_s</a>
|
106
|
+
<a href="#M000044">ln_sf</a>
|
107
|
+
<a href="#M000029">mkdir</a>
|
108
|
+
<a href="#M000030">mkdir_p</a>
|
109
|
+
<a href="#M000041">mv</a>
|
110
|
+
<a href="#M000049">replace</a>
|
111
|
+
<a href="#M000031">rm</a>
|
112
|
+
<a href="#M000032">rm_f</a>
|
113
|
+
<a href="#M000033">rm_r</a>
|
114
|
+
<a href="#M000034">rm_rf</a>
|
115
|
+
<a href="#M000045">store</a>
|
116
|
+
<a href="#M000047">store_a</a>
|
117
|
+
<a href="#M000046">store_p</a>
|
118
|
+
<a href="#M000020">sys</a>
|
119
|
+
<a href="#M000053">tar_cf</a>
|
120
|
+
<a href="#M000057">tar_cjf</a>
|
121
|
+
<a href="#M000055">tar_czf</a>
|
122
|
+
<a href="#M000054">tar_xf</a>
|
123
|
+
<a href="#M000058">tar_xjf</a>
|
124
|
+
<a href="#M000056">tar_xzf</a>
|
125
|
+
<a href="#M000035">touch</a>
|
126
|
+
<a href="#M000052">unzip</a>
|
127
|
+
<a href="#M000050">zip</a>
|
128
|
+
<a href="#M000051">zip_r</a>
|
132
129
|
</div>
|
133
130
|
</div>
|
134
131
|
|
@@ -150,21 +147,21 @@ commands for recipe method
|
|
150
147
|
<div id="methods">
|
151
148
|
<h3 class="section-bar">Private Instance methods</h3>
|
152
149
|
|
153
|
-
<div id="method-
|
154
|
-
<a name="
|
150
|
+
<div id="method-M000023" class="method-detail">
|
151
|
+
<a name="M000023"></a>
|
155
152
|
|
156
153
|
<div class="method-heading">
|
157
|
-
<a href="#
|
154
|
+
<a href="#M000023" class="method-signature">
|
158
155
|
<span class="method-name">cd</span><span class="method-args">(dir, &block)</span>
|
159
156
|
</a>
|
160
157
|
</div>
|
161
158
|
|
162
159
|
<div class="method-description">
|
163
160
|
<p><a class="source-toggle" href="#"
|
164
|
-
onclick="toggleCode('
|
165
|
-
<div class="method-source-code" id="
|
161
|
+
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
162
|
+
<div class="method-source-code" id="M000023-source">
|
166
163
|
<pre>
|
167
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
164
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 179</span>
|
168
165
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cd</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
169
166
|
<span class="ruby-identifier">_chdir</span>(<span class="ruby-identifier">:ch</span>, <span class="ruby-identifier">dir</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
170
167
|
<span class="ruby-keyword kw">end</span>
|
@@ -173,21 +170,21 @@ commands for recipe method
|
|
173
170
|
</div>
|
174
171
|
</div>
|
175
172
|
|
176
|
-
<div id="method-
|
177
|
-
<a name="
|
173
|
+
<div id="method-M000024" class="method-detail">
|
174
|
+
<a name="M000024"></a>
|
178
175
|
|
179
176
|
<div class="method-heading">
|
180
|
-
<a href="#
|
177
|
+
<a href="#M000024" class="method-signature">
|
181
178
|
<span class="method-name">chdir</span><span class="method-args">(dir, &block)</span>
|
182
179
|
</a>
|
183
180
|
</div>
|
184
181
|
|
185
182
|
<div class="method-description">
|
186
183
|
<p><a class="source-toggle" href="#"
|
187
|
-
onclick="toggleCode('
|
188
|
-
<div class="method-source-code" id="
|
184
|
+
onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
|
185
|
+
<div class="method-source-code" id="M000024-source">
|
189
186
|
<pre>
|
190
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
187
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 183</span>
|
191
188
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
192
189
|
<span class="ruby-identifier">_chdir</span>(<span class="ruby-identifier">:chdir</span>, <span class="ruby-identifier">dir</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
193
190
|
<span class="ruby-keyword kw">end</span>
|
@@ -196,21 +193,21 @@ commands for recipe method
|
|
196
193
|
</div>
|
197
194
|
</div>
|
198
195
|
|
199
|
-
<div id="method-
|
200
|
-
<a name="
|
196
|
+
<div id="method-M000025" class="method-detail">
|
197
|
+
<a name="M000025"></a>
|
201
198
|
|
202
199
|
<div class="method-heading">
|
203
|
-
<a href="#
|
200
|
+
<a href="#M000025" class="method-signature">
|
204
201
|
<span class="method-name">chmod</span><span class="method-args">(mode, *args)</span>
|
205
202
|
</a>
|
206
203
|
</div>
|
207
204
|
|
208
205
|
<div class="method-description">
|
209
206
|
<p><a class="source-toggle" href="#"
|
210
|
-
onclick="toggleCode('
|
211
|
-
<div class="method-source-code" id="
|
207
|
+
onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
|
208
|
+
<div class="method-source-code" id="M000025-source">
|
212
209
|
<pre>
|
213
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
210
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 204</span>
|
214
211
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chmod</span>(<span class="ruby-identifier">mode</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
215
212
|
<span class="ruby-identifier">_chmod</span>(<span class="ruby-identifier">:chmod</span>, <span class="ruby-identifier">mode</span>, <span class="ruby-identifier">args</span>)
|
216
213
|
<span class="ruby-keyword kw">end</span>
|
@@ -219,21 +216,21 @@ commands for recipe method
|
|
219
216
|
</div>
|
220
217
|
</div>
|
221
218
|
|
222
|
-
<div id="method-
|
223
|
-
<a name="
|
219
|
+
<div id="method-M000026" class="method-detail">
|
220
|
+
<a name="M000026"></a>
|
224
221
|
|
225
222
|
<div class="method-heading">
|
226
|
-
<a href="#
|
223
|
+
<a href="#M000026" class="method-signature">
|
227
224
|
<span class="method-name">chmod_R</span><span class="method-args">(mode, *args)</span>
|
228
225
|
</a>
|
229
226
|
</div>
|
230
227
|
|
231
228
|
<div class="method-description">
|
232
229
|
<p><a class="source-toggle" href="#"
|
233
|
-
onclick="toggleCode('
|
234
|
-
<div class="method-source-code" id="
|
230
|
+
onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
|
231
|
+
<div class="method-source-code" id="M000026-source">
|
235
232
|
<pre>
|
236
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
233
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 208</span>
|
237
234
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chmod_R</span>(<span class="ruby-identifier">mode</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
238
235
|
<span class="ruby-identifier">_chmod</span>(<span class="ruby-identifier">:chmod_R</span>, <span class="ruby-identifier">mode</span>, <span class="ruby-identifier">args</span>)
|
239
236
|
<span class="ruby-keyword kw">end</span>
|
@@ -242,21 +239,21 @@ commands for recipe method
|
|
242
239
|
</div>
|
243
240
|
</div>
|
244
241
|
|
245
|
-
<div id="method-
|
246
|
-
<a name="
|
242
|
+
<div id="method-M000027" class="method-detail">
|
243
|
+
<a name="M000027"></a>
|
247
244
|
|
248
245
|
<div class="method-heading">
|
249
|
-
<a href="#
|
246
|
+
<a href="#M000027" class="method-signature">
|
250
247
|
<span class="method-name">chown</span><span class="method-args">(user, group, *args, &block)</span>
|
251
248
|
</a>
|
252
249
|
</div>
|
253
250
|
|
254
251
|
<div class="method-description">
|
255
252
|
<p><a class="source-toggle" href="#"
|
256
|
-
onclick="toggleCode('
|
257
|
-
<div class="method-source-code" id="
|
253
|
+
onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
|
254
|
+
<div class="method-source-code" id="M000027-source">
|
258
255
|
<pre>
|
259
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
256
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 220</span>
|
260
257
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chown</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
261
258
|
<span class="ruby-identifier">_chown</span>(<span class="ruby-identifier">:chown</span>, <span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
262
259
|
<span class="ruby-keyword kw">end</span>
|
@@ -265,21 +262,21 @@ commands for recipe method
|
|
265
262
|
</div>
|
266
263
|
</div>
|
267
264
|
|
268
|
-
<div id="method-
|
269
|
-
<a name="
|
265
|
+
<div id="method-M000028" class="method-detail">
|
266
|
+
<a name="M000028"></a>
|
270
267
|
|
271
268
|
<div class="method-heading">
|
272
|
-
<a href="#
|
269
|
+
<a href="#M000028" class="method-signature">
|
273
270
|
<span class="method-name">chown_R</span><span class="method-args">(user, group, *args, &block)</span>
|
274
271
|
</a>
|
275
272
|
</div>
|
276
273
|
|
277
274
|
<div class="method-description">
|
278
275
|
<p><a class="source-toggle" href="#"
|
279
|
-
onclick="toggleCode('
|
280
|
-
<div class="method-source-code" id="
|
276
|
+
onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
|
277
|
+
<div class="method-source-code" id="M000028-source">
|
281
278
|
<pre>
|
282
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
279
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 224</span>
|
283
280
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chown_R</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
284
281
|
<span class="ruby-identifier">_chown</span>(<span class="ruby-identifier">:chown_R</span>, <span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
285
282
|
<span class="ruby-keyword kw">end</span>
|
@@ -293,7 +290,7 @@ commands for recipe method
|
|
293
290
|
|
294
291
|
<div class="method-heading">
|
295
292
|
<a href="#M000019" class="method-signature">
|
296
|
-
<span class="method-name">
|
293
|
+
<span class="method-name">comment</span><span class="method-args">(str)</span>
|
297
294
|
</a>
|
298
295
|
</div>
|
299
296
|
|
@@ -302,52 +299,6 @@ commands for recipe method
|
|
302
299
|
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
303
300
|
<div class="method-source-code" id="M000019-source">
|
304
301
|
<pre>
|
305
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line 116</span>
|
306
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmd</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt"># :doc:</span>
|
307
|
-
<span class="ruby-identifier">_system</span>(<span class="ruby-identifier">:cmd</span>, <span class="ruby-identifier">str</span>, <span class="ruby-keyword kw">false</span>)
|
308
|
-
<span class="ruby-keyword kw">end</span>
|
309
|
-
</pre>
|
310
|
-
</div>
|
311
|
-
</div>
|
312
|
-
</div>
|
313
|
-
|
314
|
-
<div id="method-M000020" class="method-detail">
|
315
|
-
<a name="M000020"></a>
|
316
|
-
|
317
|
-
<div class="method-heading">
|
318
|
-
<a href="#M000020" class="method-signature">
|
319
|
-
<span class="method-name">cmd!</span><span class="method-args">(str)</span>
|
320
|
-
</a>
|
321
|
-
</div>
|
322
|
-
|
323
|
-
<div class="method-description">
|
324
|
-
<p><a class="source-toggle" href="#"
|
325
|
-
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
326
|
-
<div class="method-source-code" id="M000020-source">
|
327
|
-
<pre>
|
328
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line 120</span>
|
329
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmd!</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt"># :doc:</span>
|
330
|
-
<span class="ruby-identifier">_system</span>(<span class="ruby-value str">'cmd!'</span><span class="ruby-value str">'cmd!'</span>, <span class="ruby-identifier">str</span>, <span class="ruby-keyword kw">true</span>)
|
331
|
-
<span class="ruby-keyword kw">end</span>
|
332
|
-
</pre>
|
333
|
-
</div>
|
334
|
-
</div>
|
335
|
-
</div>
|
336
|
-
|
337
|
-
<div id="method-M000018" class="method-detail">
|
338
|
-
<a name="M000018"></a>
|
339
|
-
|
340
|
-
<div class="method-heading">
|
341
|
-
<a href="#M000018" class="method-signature">
|
342
|
-
<span class="method-name">comment</span><span class="method-args">(str)</span>
|
343
|
-
</a>
|
344
|
-
</div>
|
345
|
-
|
346
|
-
<div class="method-description">
|
347
|
-
<p><a class="source-toggle" href="#"
|
348
|
-
onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
|
349
|
-
<div class="method-source-code" id="M000018-source">
|
350
|
-
<pre>
|
351
302
|
<span class="ruby-comment cmt"># File rook/commands.rb, line 37</span>
|
352
303
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">comment</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt"># :doc:</span>
|
353
304
|
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"### "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">$rook_verbose</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">false</span>
|
@@ -357,21 +308,21 @@ commands for recipe method
|
|
357
308
|
</div>
|
358
309
|
</div>
|
359
310
|
|
360
|
-
<div id="method-
|
361
|
-
<a name="
|
311
|
+
<div id="method-M000036" class="method-detail">
|
312
|
+
<a name="M000036"></a>
|
362
313
|
|
363
314
|
<div class="method-heading">
|
364
|
-
<a href="#
|
315
|
+
<a href="#M000036" class="method-signature">
|
365
316
|
<span class="method-name">cp</span><span class="method-args">(*args, &block)</span>
|
366
317
|
</a>
|
367
318
|
</div>
|
368
319
|
|
369
320
|
<div class="method-description">
|
370
321
|
<p><a class="source-toggle" href="#"
|
371
|
-
onclick="toggleCode('
|
372
|
-
<div class="method-source-code" id="
|
322
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
323
|
+
<div class="method-source-code" id="M000036-source">
|
373
324
|
<pre>
|
374
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
325
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 302</span>
|
375
326
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
376
327
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:cp</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
377
328
|
<span class="ruby-keyword kw">end</span>
|
@@ -380,21 +331,21 @@ commands for recipe method
|
|
380
331
|
</div>
|
381
332
|
</div>
|
382
333
|
|
383
|
-
<div id="method-
|
384
|
-
<a name="
|
334
|
+
<div id="method-M000040" class="method-detail">
|
335
|
+
<a name="M000040"></a>
|
385
336
|
|
386
337
|
<div class="method-heading">
|
387
|
-
<a href="#
|
338
|
+
<a href="#M000040" class="method-signature">
|
388
339
|
<span class="method-name">cp_a</span><span class="method-args">(*args, &block)</span>
|
389
340
|
</a>
|
390
341
|
</div>
|
391
342
|
|
392
343
|
<div class="method-description">
|
393
344
|
<p><a class="source-toggle" href="#"
|
394
|
-
onclick="toggleCode('
|
395
|
-
<div class="method-source-code" id="
|
345
|
+
onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
|
346
|
+
<div class="method-source-code" id="M000040-source">
|
396
347
|
<pre>
|
397
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
348
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 318</span>
|
398
349
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp_a</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
399
350
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:cp_a</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
400
351
|
<span class="ruby-keyword kw">end</span>
|
@@ -403,21 +354,21 @@ commands for recipe method
|
|
403
354
|
</div>
|
404
355
|
</div>
|
405
356
|
|
406
|
-
<div id="method-
|
407
|
-
<a name="
|
357
|
+
<div id="method-M000037" class="method-detail">
|
358
|
+
<a name="M000037"></a>
|
408
359
|
|
409
360
|
<div class="method-heading">
|
410
|
-
<a href="#
|
361
|
+
<a href="#M000037" class="method-signature">
|
411
362
|
<span class="method-name">cp_p</span><span class="method-args">(*args, &block)</span>
|
412
363
|
</a>
|
413
364
|
</div>
|
414
365
|
|
415
366
|
<div class="method-description">
|
416
367
|
<p><a class="source-toggle" href="#"
|
417
|
-
onclick="toggleCode('
|
418
|
-
<div class="method-source-code" id="
|
368
|
+
onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
|
369
|
+
<div class="method-source-code" id="M000037-source">
|
419
370
|
<pre>
|
420
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
371
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 306</span>
|
421
372
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp_p</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
422
373
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:cp_p</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
423
374
|
<span class="ruby-keyword kw">end</span>
|
@@ -426,21 +377,21 @@ commands for recipe method
|
|
426
377
|
</div>
|
427
378
|
</div>
|
428
379
|
|
429
|
-
<div id="method-
|
430
|
-
<a name="
|
380
|
+
<div id="method-M000039" class="method-detail">
|
381
|
+
<a name="M000039"></a>
|
431
382
|
|
432
383
|
<div class="method-heading">
|
433
|
-
<a href="#
|
384
|
+
<a href="#M000039" class="method-signature">
|
434
385
|
<span class="method-name">cp_pr</span><span class="method-args">(*args, &block)</span>
|
435
386
|
</a>
|
436
387
|
</div>
|
437
388
|
|
438
389
|
<div class="method-description">
|
439
390
|
<p><a class="source-toggle" href="#"
|
440
|
-
onclick="toggleCode('
|
441
|
-
<div class="method-source-code" id="
|
391
|
+
onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
|
392
|
+
<div class="method-source-code" id="M000039-source">
|
442
393
|
<pre>
|
443
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
394
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 314</span>
|
444
395
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp_pr</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
445
396
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:cp_pr</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
446
397
|
<span class="ruby-keyword kw">end</span>
|
@@ -449,21 +400,21 @@ commands for recipe method
|
|
449
400
|
</div>
|
450
401
|
</div>
|
451
402
|
|
452
|
-
<div id="method-
|
453
|
-
<a name="
|
403
|
+
<div id="method-M000038" class="method-detail">
|
404
|
+
<a name="M000038"></a>
|
454
405
|
|
455
406
|
<div class="method-heading">
|
456
|
-
<a href="#
|
407
|
+
<a href="#M000038" class="method-signature">
|
457
408
|
<span class="method-name">cp_r</span><span class="method-args">(*args, &block)</span>
|
458
409
|
</a>
|
459
410
|
</div>
|
460
411
|
|
461
412
|
<div class="method-description">
|
462
413
|
<p><a class="source-toggle" href="#"
|
463
|
-
onclick="toggleCode('
|
464
|
-
<div class="method-source-code" id="
|
414
|
+
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
415
|
+
<div class="method-source-code" id="M000038-source">
|
465
416
|
<pre>
|
466
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
417
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 310</span>
|
467
418
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp_r</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
468
419
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:cp_r</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
469
420
|
<span class="ruby-keyword kw">end</span>
|
@@ -472,21 +423,21 @@ commands for recipe method
|
|
472
423
|
</div>
|
473
424
|
</div>
|
474
425
|
|
475
|
-
<div id="method-
|
476
|
-
<a name="
|
426
|
+
<div id="method-M000021" class="method-detail">
|
427
|
+
<a name="M000021"></a>
|
477
428
|
|
478
429
|
<div class="method-heading">
|
479
|
-
<a href="#
|
430
|
+
<a href="#M000021" class="method-signature">
|
480
431
|
<span class="method-name">echo</span><span class="method-args">(*args)</span>
|
481
432
|
</a>
|
482
433
|
</div>
|
483
434
|
|
484
435
|
<div class="method-description">
|
485
436
|
<p><a class="source-toggle" href="#"
|
486
|
-
onclick="toggleCode('
|
487
|
-
<div class="method-source-code" id="
|
437
|
+
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
438
|
+
<div class="method-source-code" id="M000021-source">
|
488
439
|
<pre>
|
489
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
440
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 154</span>
|
490
441
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">echo</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
491
442
|
<span class="ruby-identifier">_echo</span>(<span class="ruby-identifier">:echo</span>, <span class="ruby-identifier">args</span>, <span class="ruby-keyword kw">true</span>)
|
492
443
|
<span class="ruby-keyword kw">end</span>
|
@@ -495,21 +446,21 @@ commands for recipe method
|
|
495
446
|
</div>
|
496
447
|
</div>
|
497
448
|
|
498
|
-
<div id="method-
|
499
|
-
<a name="
|
449
|
+
<div id="method-M000022" class="method-detail">
|
450
|
+
<a name="M000022"></a>
|
500
451
|
|
501
452
|
<div class="method-heading">
|
502
|
-
<a href="#
|
453
|
+
<a href="#M000022" class="method-signature">
|
503
454
|
<span class="method-name">echo_n</span><span class="method-args">(*args)</span>
|
504
455
|
</a>
|
505
456
|
</div>
|
506
457
|
|
507
458
|
<div class="method-description">
|
508
459
|
<p><a class="source-toggle" href="#"
|
509
|
-
onclick="toggleCode('
|
510
|
-
<div class="method-source-code" id="
|
460
|
+
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
461
|
+
<div class="method-source-code" id="M000022-source">
|
511
462
|
<pre>
|
512
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
463
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 158</span>
|
513
464
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">echo_n</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
514
465
|
<span class="ruby-identifier">_echo</span>(<span class="ruby-identifier">:echo_n</span>, <span class="ruby-identifier">args</span>, <span class="ruby-keyword kw">false</span>)
|
515
466
|
<span class="ruby-keyword kw">end</span>
|
@@ -518,21 +469,21 @@ commands for recipe method
|
|
518
469
|
</div>
|
519
470
|
</div>
|
520
471
|
|
521
|
-
<div id="method-
|
522
|
-
<a name="
|
472
|
+
<div id="method-M000048" class="method-detail">
|
473
|
+
<a name="M000048"></a>
|
523
474
|
|
524
475
|
<div class="method-heading">
|
525
|
-
<a href="#
|
476
|
+
<a href="#M000048" class="method-signature">
|
526
477
|
<span class="method-name">edit</span><span class="method-args">(*args, &block)</span>
|
527
478
|
</a>
|
528
479
|
</div>
|
529
480
|
|
530
481
|
<div class="method-description">
|
531
482
|
<p><a class="source-toggle" href="#"
|
532
|
-
onclick="toggleCode('
|
533
|
-
<div class="method-source-code" id="
|
483
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
484
|
+
<div class="method-source-code" id="M000048-source">
|
534
485
|
<pre>
|
535
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
486
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 351</span>
|
536
487
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">edit</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
537
488
|
<span class="ruby-identifier">args</span>, <span class="ruby-identifier">opts</span> = <span class="ruby-identifier">_handle_args</span>(<span class="ruby-identifier">:edit</span>, <span class="ruby-identifier">args</span>)
|
538
489
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$rook_noexec</span>
|
@@ -545,21 +496,21 @@ commands for recipe method
|
|
545
496
|
</div>
|
546
497
|
</div>
|
547
498
|
|
548
|
-
<div id="method-
|
549
|
-
<a name="
|
499
|
+
<div id="method-M000042" class="method-detail">
|
500
|
+
<a name="M000042"></a>
|
550
501
|
|
551
502
|
<div class="method-heading">
|
552
|
-
<a href="#
|
503
|
+
<a href="#M000042" class="method-signature">
|
553
504
|
<span class="method-name">ln</span><span class="method-args">(*args, &block)</span>
|
554
505
|
</a>
|
555
506
|
</div>
|
556
507
|
|
557
508
|
<div class="method-description">
|
558
509
|
<p><a class="source-toggle" href="#"
|
559
|
-
onclick="toggleCode('
|
560
|
-
<div class="method-source-code" id="
|
510
|
+
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
511
|
+
<div class="method-source-code" id="M000042-source">
|
561
512
|
<pre>
|
562
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
513
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 326</span>
|
563
514
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ln</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
564
515
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:ln</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
565
516
|
<span class="ruby-keyword kw">end</span>
|
@@ -568,21 +519,21 @@ commands for recipe method
|
|
568
519
|
</div>
|
569
520
|
</div>
|
570
521
|
|
571
|
-
<div id="method-
|
572
|
-
<a name="
|
522
|
+
<div id="method-M000043" class="method-detail">
|
523
|
+
<a name="M000043"></a>
|
573
524
|
|
574
525
|
<div class="method-heading">
|
575
|
-
<a href="#
|
526
|
+
<a href="#M000043" class="method-signature">
|
576
527
|
<span class="method-name">ln_s</span><span class="method-args">(*args, &block)</span>
|
577
528
|
</a>
|
578
529
|
</div>
|
579
530
|
|
580
531
|
<div class="method-description">
|
581
532
|
<p><a class="source-toggle" href="#"
|
582
|
-
onclick="toggleCode('
|
583
|
-
<div class="method-source-code" id="
|
533
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
534
|
+
<div class="method-source-code" id="M000043-source">
|
584
535
|
<pre>
|
585
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
536
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 330</span>
|
586
537
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ln_s</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
587
538
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:ln_s</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
588
539
|
<span class="ruby-keyword kw">end</span>
|
@@ -591,21 +542,21 @@ commands for recipe method
|
|
591
542
|
</div>
|
592
543
|
</div>
|
593
544
|
|
594
|
-
<div id="method-
|
595
|
-
<a name="
|
545
|
+
<div id="method-M000044" class="method-detail">
|
546
|
+
<a name="M000044"></a>
|
596
547
|
|
597
548
|
<div class="method-heading">
|
598
|
-
<a href="#
|
549
|
+
<a href="#M000044" class="method-signature">
|
599
550
|
<span class="method-name">ln_sf</span><span class="method-args">(*args, &block)</span>
|
600
551
|
</a>
|
601
552
|
</div>
|
602
553
|
|
603
554
|
<div class="method-description">
|
604
555
|
<p><a class="source-toggle" href="#"
|
605
|
-
onclick="toggleCode('
|
606
|
-
<div class="method-source-code" id="
|
556
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
557
|
+
<div class="method-source-code" id="M000044-source">
|
607
558
|
<pre>
|
608
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
559
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 334</span>
|
609
560
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ln_sf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
610
561
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:ln_s</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
611
562
|
<span class="ruby-keyword kw">end</span>
|
@@ -614,21 +565,21 @@ commands for recipe method
|
|
614
565
|
</div>
|
615
566
|
</div>
|
616
567
|
|
617
|
-
<div id="method-
|
618
|
-
<a name="
|
568
|
+
<div id="method-M000029" class="method-detail">
|
569
|
+
<a name="M000029"></a>
|
619
570
|
|
620
571
|
<div class="method-heading">
|
621
|
-
<a href="#
|
572
|
+
<a href="#M000029" class="method-signature">
|
622
573
|
<span class="method-name">mkdir</span><span class="method-args">(*args)</span>
|
623
574
|
</a>
|
624
575
|
</div>
|
625
576
|
|
626
577
|
<div class="method-description">
|
627
578
|
<p><a class="source-toggle" href="#"
|
628
|
-
onclick="toggleCode('
|
629
|
-
<div class="method-source-code" id="
|
579
|
+
onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
|
580
|
+
<div class="method-source-code" id="M000029-source">
|
630
581
|
<pre>
|
631
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
582
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 238</span>
|
632
583
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mkdir</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
633
584
|
<span class="ruby-identifier">_command_arg1</span>(<span class="ruby-identifier">:mkdir</span>, <span class="ruby-identifier">args</span>)
|
634
585
|
<span class="ruby-keyword kw">end</span>
|
@@ -637,21 +588,21 @@ commands for recipe method
|
|
637
588
|
</div>
|
638
589
|
</div>
|
639
590
|
|
640
|
-
<div id="method-
|
641
|
-
<a name="
|
591
|
+
<div id="method-M000030" class="method-detail">
|
592
|
+
<a name="M000030"></a>
|
642
593
|
|
643
594
|
<div class="method-heading">
|
644
|
-
<a href="#
|
595
|
+
<a href="#M000030" class="method-signature">
|
645
596
|
<span class="method-name">mkdir_p</span><span class="method-args">(*args)</span>
|
646
597
|
</a>
|
647
598
|
</div>
|
648
599
|
|
649
600
|
<div class="method-description">
|
650
601
|
<p><a class="source-toggle" href="#"
|
651
|
-
onclick="toggleCode('
|
652
|
-
<div class="method-source-code" id="
|
602
|
+
onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
|
603
|
+
<div class="method-source-code" id="M000030-source">
|
653
604
|
<pre>
|
654
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
605
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 242</span>
|
655
606
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mkdir_p</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
656
607
|
<span class="ruby-identifier">_command_arg1</span>(<span class="ruby-identifier">:mkdir_p</span>, <span class="ruby-identifier">args</span>)
|
657
608
|
<span class="ruby-keyword kw">end</span>
|
@@ -660,21 +611,21 @@ commands for recipe method
|
|
660
611
|
</div>
|
661
612
|
</div>
|
662
613
|
|
663
|
-
<div id="method-
|
664
|
-
<a name="
|
614
|
+
<div id="method-M000041" class="method-detail">
|
615
|
+
<a name="M000041"></a>
|
665
616
|
|
666
617
|
<div class="method-heading">
|
667
|
-
<a href="#
|
618
|
+
<a href="#M000041" class="method-signature">
|
668
619
|
<span class="method-name">mv</span><span class="method-args">(*args, &block)</span>
|
669
620
|
</a>
|
670
621
|
</div>
|
671
622
|
|
672
623
|
<div class="method-description">
|
673
624
|
<p><a class="source-toggle" href="#"
|
674
|
-
onclick="toggleCode('
|
675
|
-
<div class="method-source-code" id="
|
625
|
+
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
626
|
+
<div class="method-source-code" id="M000041-source">
|
676
627
|
<pre>
|
677
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
628
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 322</span>
|
678
629
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mv</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
679
630
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:mv</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
680
631
|
<span class="ruby-keyword kw">end</span>
|
@@ -683,21 +634,48 @@ commands for recipe method
|
|
683
634
|
</div>
|
684
635
|
</div>
|
685
636
|
|
686
|
-
<div id="method-
|
687
|
-
<a name="
|
637
|
+
<div id="method-M000049" class="method-detail">
|
638
|
+
<a name="M000049"></a>
|
688
639
|
|
689
640
|
<div class="method-heading">
|
690
|
-
<a href="#
|
641
|
+
<a href="#M000049" class="method-signature">
|
642
|
+
<span class="method-name">replace</span><span class="method-args">(*args, &block)</span>
|
643
|
+
</a>
|
644
|
+
</div>
|
645
|
+
|
646
|
+
<div class="method-description">
|
647
|
+
<p><a class="source-toggle" href="#"
|
648
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
649
|
+
<div class="method-source-code" id="M000049-source">
|
650
|
+
<pre>
|
651
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 360</span>
|
652
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
653
|
+
<span class="ruby-identifier">args</span>, <span class="ruby-identifier">opts</span> = <span class="ruby-identifier">_handle_args</span>(<span class="ruby-identifier">:edit</span>, <span class="ruby-identifier">args</span>)
|
654
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$rook_noexec</span>
|
655
|
+
<span class="ruby-identifier">args</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">filename</span><span class="ruby-operator">|</span>
|
656
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">filename</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">test</span>(<span class="ruby-value">?f</span>, <span class="ruby-identifier">filename</span>)
|
657
|
+
<span class="ruby-keyword kw">end</span>
|
658
|
+
<span class="ruby-keyword kw">end</span>
|
659
|
+
</pre>
|
660
|
+
</div>
|
661
|
+
</div>
|
662
|
+
</div>
|
663
|
+
|
664
|
+
<div id="method-M000031" class="method-detail">
|
665
|
+
<a name="M000031"></a>
|
666
|
+
|
667
|
+
<div class="method-heading">
|
668
|
+
<a href="#M000031" class="method-signature">
|
691
669
|
<span class="method-name">rm</span><span class="method-args">(*args)</span>
|
692
670
|
</a>
|
693
671
|
</div>
|
694
672
|
|
695
673
|
<div class="method-description">
|
696
674
|
<p><a class="source-toggle" href="#"
|
697
|
-
onclick="toggleCode('
|
698
|
-
<div class="method-source-code" id="
|
675
|
+
onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
|
676
|
+
<div class="method-source-code" id="M000031-source">
|
699
677
|
<pre>
|
700
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
678
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 267</span>
|
701
679
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
702
680
|
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm</span>, <span class="ruby-identifier">args</span>)
|
703
681
|
<span class="ruby-keyword kw">end</span>
|
@@ -706,21 +684,21 @@ commands for recipe method
|
|
706
684
|
</div>
|
707
685
|
</div>
|
708
686
|
|
709
|
-
<div id="method-
|
710
|
-
<a name="
|
687
|
+
<div id="method-M000032" class="method-detail">
|
688
|
+
<a name="M000032"></a>
|
711
689
|
|
712
690
|
<div class="method-heading">
|
713
|
-
<a href="#
|
691
|
+
<a href="#M000032" class="method-signature">
|
714
692
|
<span class="method-name">rm_f</span><span class="method-args">(*args)</span>
|
715
693
|
</a>
|
716
694
|
</div>
|
717
695
|
|
718
696
|
<div class="method-description">
|
719
697
|
<p><a class="source-toggle" href="#"
|
720
|
-
onclick="toggleCode('
|
721
|
-
<div class="method-source-code" id="
|
698
|
+
onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
|
699
|
+
<div class="method-source-code" id="M000032-source">
|
722
700
|
<pre>
|
723
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
701
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 271</span>
|
724
702
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm_f</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
725
703
|
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm_f</span>, <span class="ruby-identifier">args</span>)
|
726
704
|
<span class="ruby-keyword kw">end</span>
|
@@ -729,21 +707,21 @@ commands for recipe method
|
|
729
707
|
</div>
|
730
708
|
</div>
|
731
709
|
|
732
|
-
<div id="method-
|
733
|
-
<a name="
|
710
|
+
<div id="method-M000033" class="method-detail">
|
711
|
+
<a name="M000033"></a>
|
734
712
|
|
735
713
|
<div class="method-heading">
|
736
|
-
<a href="#
|
714
|
+
<a href="#M000033" class="method-signature">
|
737
715
|
<span class="method-name">rm_r</span><span class="method-args">(*args)</span>
|
738
716
|
</a>
|
739
717
|
</div>
|
740
718
|
|
741
719
|
<div class="method-description">
|
742
720
|
<p><a class="source-toggle" href="#"
|
743
|
-
onclick="toggleCode('
|
744
|
-
<div class="method-source-code" id="
|
721
|
+
onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
|
722
|
+
<div class="method-source-code" id="M000033-source">
|
745
723
|
<pre>
|
746
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
724
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 275</span>
|
747
725
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm_r</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
748
726
|
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm_r</span>, <span class="ruby-identifier">args</span>)
|
749
727
|
<span class="ruby-keyword kw">end</span>
|
@@ -752,21 +730,21 @@ commands for recipe method
|
|
752
730
|
</div>
|
753
731
|
</div>
|
754
732
|
|
755
|
-
<div id="method-
|
756
|
-
<a name="
|
733
|
+
<div id="method-M000034" class="method-detail">
|
734
|
+
<a name="M000034"></a>
|
757
735
|
|
758
736
|
<div class="method-heading">
|
759
|
-
<a href="#
|
737
|
+
<a href="#M000034" class="method-signature">
|
760
738
|
<span class="method-name">rm_rf</span><span class="method-args">(*args)</span>
|
761
739
|
</a>
|
762
740
|
</div>
|
763
741
|
|
764
742
|
<div class="method-description">
|
765
743
|
<p><a class="source-toggle" href="#"
|
766
|
-
onclick="toggleCode('
|
767
|
-
<div class="method-source-code" id="
|
744
|
+
onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
|
745
|
+
<div class="method-source-code" id="M000034-source">
|
768
746
|
<pre>
|
769
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
747
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 279</span>
|
770
748
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm_rf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
771
749
|
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm_rf</span>, <span class="ruby-identifier">args</span>)
|
772
750
|
<span class="ruby-keyword kw">end</span>
|
@@ -775,21 +753,21 @@ commands for recipe method
|
|
775
753
|
</div>
|
776
754
|
</div>
|
777
755
|
|
778
|
-
<div id="method-
|
779
|
-
<a name="
|
756
|
+
<div id="method-M000045" class="method-detail">
|
757
|
+
<a name="M000045"></a>
|
780
758
|
|
781
759
|
<div class="method-heading">
|
782
|
-
<a href="#
|
760
|
+
<a href="#M000045" class="method-signature">
|
783
761
|
<span class="method-name">store</span><span class="method-args">(*args, &block)</span>
|
784
762
|
</a>
|
785
763
|
</div>
|
786
764
|
|
787
765
|
<div class="method-description">
|
788
766
|
<p><a class="source-toggle" href="#"
|
789
|
-
onclick="toggleCode('
|
790
|
-
<div class="method-source-code" id="
|
767
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
768
|
+
<div class="method-source-code" id="M000045-source">
|
791
769
|
<pre>
|
792
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
770
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 338</span>
|
793
771
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
794
772
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:store</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
795
773
|
<span class="ruby-keyword kw">end</span>
|
@@ -798,21 +776,21 @@ commands for recipe method
|
|
798
776
|
</div>
|
799
777
|
</div>
|
800
778
|
|
801
|
-
<div id="method-
|
802
|
-
<a name="
|
779
|
+
<div id="method-M000047" class="method-detail">
|
780
|
+
<a name="M000047"></a>
|
803
781
|
|
804
782
|
<div class="method-heading">
|
805
|
-
<a href="#
|
783
|
+
<a href="#M000047" class="method-signature">
|
806
784
|
<span class="method-name">store_a</span><span class="method-args">(*args, &block)</span>
|
807
785
|
</a>
|
808
786
|
</div>
|
809
787
|
|
810
788
|
<div class="method-description">
|
811
789
|
<p><a class="source-toggle" href="#"
|
812
|
-
onclick="toggleCode('
|
813
|
-
<div class="method-source-code" id="
|
790
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
791
|
+
<div class="method-source-code" id="M000047-source">
|
814
792
|
<pre>
|
815
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
793
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 346</span>
|
816
794
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_a</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
817
795
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:store_p</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
818
796
|
<span class="ruby-keyword kw">end</span>
|
@@ -821,21 +799,21 @@ commands for recipe method
|
|
821
799
|
</div>
|
822
800
|
</div>
|
823
801
|
|
824
|
-
<div id="method-
|
825
|
-
<a name="
|
802
|
+
<div id="method-M000046" class="method-detail">
|
803
|
+
<a name="M000046"></a>
|
826
804
|
|
827
805
|
<div class="method-heading">
|
828
|
-
<a href="#
|
806
|
+
<a href="#M000046" class="method-signature">
|
829
807
|
<span class="method-name">store_p</span><span class="method-args">(*args, &block)</span>
|
830
808
|
</a>
|
831
809
|
</div>
|
832
810
|
|
833
811
|
<div class="method-description">
|
834
812
|
<p><a class="source-toggle" href="#"
|
835
|
-
onclick="toggleCode('
|
836
|
-
<div class="method-source-code" id="
|
813
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
814
|
+
<div class="method-source-code" id="M000046-source">
|
837
815
|
<pre>
|
838
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
816
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 342</span>
|
839
817
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_p</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :doc:</span>
|
840
818
|
<span class="ruby-identifier">_command_srcdest</span>(<span class="ruby-identifier">:store_p</span>, <span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
841
819
|
<span class="ruby-keyword kw">end</span>
|
@@ -844,21 +822,21 @@ commands for recipe method
|
|
844
822
|
</div>
|
845
823
|
</div>
|
846
824
|
|
847
|
-
<div id="method-
|
848
|
-
<a name="
|
825
|
+
<div id="method-M000020" class="method-detail">
|
826
|
+
<a name="M000020"></a>
|
849
827
|
|
850
828
|
<div class="method-heading">
|
851
|
-
<a href="#
|
829
|
+
<a href="#M000020" class="method-signature">
|
852
830
|
<span class="method-name">sys</span><span class="method-args">(str)</span>
|
853
831
|
</a>
|
854
832
|
</div>
|
855
833
|
|
856
834
|
<div class="method-description">
|
857
835
|
<p><a class="source-toggle" href="#"
|
858
|
-
onclick="toggleCode('
|
859
|
-
<div class="method-source-code" id="
|
836
|
+
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
837
|
+
<div class="method-source-code" id="M000020-source">
|
860
838
|
<pre>
|
861
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
839
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 134</span>
|
862
840
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sys</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt"># :doc:</span>
|
863
841
|
<span class="ruby-identifier">_system</span>(<span class="ruby-identifier">:sys</span>, <span class="ruby-identifier">str</span>, <span class="ruby-keyword kw">false</span>)
|
864
842
|
<span class="ruby-keyword kw">end</span>
|
@@ -867,67 +845,21 @@ commands for recipe method
|
|
867
845
|
</div>
|
868
846
|
</div>
|
869
847
|
|
870
|
-
<div id="method-
|
871
|
-
<a name="
|
872
|
-
|
873
|
-
<div class="method-heading">
|
874
|
-
<a href="#M000021" class="method-signature">
|
875
|
-
<span class="method-name">system</span><span class="method-args">(str)</span>
|
876
|
-
</a>
|
877
|
-
</div>
|
878
|
-
|
879
|
-
<div class="method-description">
|
880
|
-
<p><a class="source-toggle" href="#"
|
881
|
-
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
882
|
-
<div class="method-source-code" id="M000021-source">
|
883
|
-
<pre>
|
884
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line 124</span>
|
885
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt"># :doc:</span>
|
886
|
-
<span class="ruby-identifier">_system</span>(<span class="ruby-identifier">:system</span>, <span class="ruby-identifier">str</span>, <span class="ruby-keyword kw">false</span>)
|
887
|
-
<span class="ruby-keyword kw">end</span>
|
888
|
-
</pre>
|
889
|
-
</div>
|
890
|
-
</div>
|
891
|
-
</div>
|
892
|
-
|
893
|
-
<div id="method-M000022" class="method-detail">
|
894
|
-
<a name="M000022"></a>
|
895
|
-
|
896
|
-
<div class="method-heading">
|
897
|
-
<a href="#M000022" class="method-signature">
|
898
|
-
<span class="method-name">system!</span><span class="method-args">(str)</span>
|
899
|
-
</a>
|
900
|
-
</div>
|
901
|
-
|
902
|
-
<div class="method-description">
|
903
|
-
<p><a class="source-toggle" href="#"
|
904
|
-
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
905
|
-
<div class="method-source-code" id="M000022-source">
|
906
|
-
<pre>
|
907
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line 128</span>
|
908
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system!</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt"># :doc:</span>
|
909
|
-
<span class="ruby-identifier">_system</span>(<span class="ruby-value str">'system!'</span><span class="ruby-value str">'system!'</span>, <span class="ruby-identifier">str</span>, <span class="ruby-keyword kw">true</span>)
|
910
|
-
<span class="ruby-keyword kw">end</span>
|
911
|
-
</pre>
|
912
|
-
</div>
|
913
|
-
</div>
|
914
|
-
</div>
|
915
|
-
|
916
|
-
<div id="method-M000055" class="method-detail">
|
917
|
-
<a name="M000055"></a>
|
848
|
+
<div id="method-M000053" class="method-detail">
|
849
|
+
<a name="M000053"></a>
|
918
850
|
|
919
851
|
<div class="method-heading">
|
920
|
-
<a href="#
|
852
|
+
<a href="#M000053" class="method-signature">
|
921
853
|
<span class="method-name">tar_cf</span><span class="method-args">(*args)</span>
|
922
854
|
</a>
|
923
855
|
</div>
|
924
856
|
|
925
857
|
<div class="method-description">
|
926
858
|
<p><a class="source-toggle" href="#"
|
927
|
-
onclick="toggleCode('
|
928
|
-
<div class="method-source-code" id="
|
859
|
+
onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
|
860
|
+
<div class="method-source-code" id="M000053-source">
|
929
861
|
<pre>
|
930
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
862
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 408</span>
|
931
863
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_cf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
932
864
|
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_cf</span>, <span class="ruby-identifier">args</span>)
|
933
865
|
<span class="ruby-keyword kw">end</span>
|
@@ -936,21 +868,21 @@ commands for recipe method
|
|
936
868
|
</div>
|
937
869
|
</div>
|
938
870
|
|
939
|
-
<div id="method-
|
940
|
-
<a name="
|
871
|
+
<div id="method-M000057" class="method-detail">
|
872
|
+
<a name="M000057"></a>
|
941
873
|
|
942
874
|
<div class="method-heading">
|
943
|
-
<a href="#
|
875
|
+
<a href="#M000057" class="method-signature">
|
944
876
|
<span class="method-name">tar_cjf</span><span class="method-args">(*args)</span>
|
945
877
|
</a>
|
946
878
|
</div>
|
947
879
|
|
948
880
|
<div class="method-description">
|
949
881
|
<p><a class="source-toggle" href="#"
|
950
|
-
onclick="toggleCode('
|
951
|
-
<div class="method-source-code" id="
|
882
|
+
onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
|
883
|
+
<div class="method-source-code" id="M000057-source">
|
952
884
|
<pre>
|
953
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
885
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 424</span>
|
954
886
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_cjf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
955
887
|
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_cjf</span>, <span class="ruby-identifier">args</span>)
|
956
888
|
<span class="ruby-keyword kw">end</span>
|
@@ -959,21 +891,21 @@ commands for recipe method
|
|
959
891
|
</div>
|
960
892
|
</div>
|
961
893
|
|
962
|
-
<div id="method-
|
963
|
-
<a name="
|
894
|
+
<div id="method-M000055" class="method-detail">
|
895
|
+
<a name="M000055"></a>
|
964
896
|
|
965
897
|
<div class="method-heading">
|
966
|
-
<a href="#
|
898
|
+
<a href="#M000055" class="method-signature">
|
967
899
|
<span class="method-name">tar_czf</span><span class="method-args">(*args)</span>
|
968
900
|
</a>
|
969
901
|
</div>
|
970
902
|
|
971
903
|
<div class="method-description">
|
972
904
|
<p><a class="source-toggle" href="#"
|
973
|
-
onclick="toggleCode('
|
974
|
-
<div class="method-source-code" id="
|
905
|
+
onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
|
906
|
+
<div class="method-source-code" id="M000055-source">
|
975
907
|
<pre>
|
976
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
908
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 416</span>
|
977
909
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_czf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
978
910
|
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_czf</span>, <span class="ruby-identifier">args</span>)
|
979
911
|
<span class="ruby-keyword kw">end</span>
|
@@ -982,21 +914,21 @@ commands for recipe method
|
|
982
914
|
</div>
|
983
915
|
</div>
|
984
916
|
|
985
|
-
<div id="method-
|
986
|
-
<a name="
|
917
|
+
<div id="method-M000054" class="method-detail">
|
918
|
+
<a name="M000054"></a>
|
987
919
|
|
988
920
|
<div class="method-heading">
|
989
|
-
<a href="#
|
921
|
+
<a href="#M000054" class="method-signature">
|
990
922
|
<span class="method-name">tar_xf</span><span class="method-args">(*args)</span>
|
991
923
|
</a>
|
992
924
|
</div>
|
993
925
|
|
994
926
|
<div class="method-description">
|
995
927
|
<p><a class="source-toggle" href="#"
|
996
|
-
onclick="toggleCode('
|
997
|
-
<div class="method-source-code" id="
|
928
|
+
onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
|
929
|
+
<div class="method-source-code" id="M000054-source">
|
998
930
|
<pre>
|
999
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
931
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 412</span>
|
1000
932
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_xf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1001
933
|
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_xf</span>, <span class="ruby-identifier">args</span>)
|
1002
934
|
<span class="ruby-keyword kw">end</span>
|
@@ -1005,21 +937,21 @@ commands for recipe method
|
|
1005
937
|
</div>
|
1006
938
|
</div>
|
1007
939
|
|
1008
|
-
<div id="method-
|
1009
|
-
<a name="
|
940
|
+
<div id="method-M000058" class="method-detail">
|
941
|
+
<a name="M000058"></a>
|
1010
942
|
|
1011
943
|
<div class="method-heading">
|
1012
|
-
<a href="#
|
944
|
+
<a href="#M000058" class="method-signature">
|
1013
945
|
<span class="method-name">tar_xjf</span><span class="method-args">(*args)</span>
|
1014
946
|
</a>
|
1015
947
|
</div>
|
1016
948
|
|
1017
949
|
<div class="method-description">
|
1018
950
|
<p><a class="source-toggle" href="#"
|
1019
|
-
onclick="toggleCode('
|
1020
|
-
<div class="method-source-code" id="
|
951
|
+
onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
|
952
|
+
<div class="method-source-code" id="M000058-source">
|
1021
953
|
<pre>
|
1022
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
954
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 428</span>
|
1023
955
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_xjf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1024
956
|
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_xjf</span>, <span class="ruby-identifier">args</span>)
|
1025
957
|
<span class="ruby-keyword kw">end</span>
|
@@ -1028,21 +960,21 @@ commands for recipe method
|
|
1028
960
|
</div>
|
1029
961
|
</div>
|
1030
962
|
|
1031
|
-
<div id="method-
|
1032
|
-
<a name="
|
963
|
+
<div id="method-M000056" class="method-detail">
|
964
|
+
<a name="M000056"></a>
|
1033
965
|
|
1034
966
|
<div class="method-heading">
|
1035
|
-
<a href="#
|
967
|
+
<a href="#M000056" class="method-signature">
|
1036
968
|
<span class="method-name">tar_xzf</span><span class="method-args">(*args)</span>
|
1037
969
|
</a>
|
1038
970
|
</div>
|
1039
971
|
|
1040
972
|
<div class="method-description">
|
1041
973
|
<p><a class="source-toggle" href="#"
|
1042
|
-
onclick="toggleCode('
|
1043
|
-
<div class="method-source-code" id="
|
974
|
+
onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
|
975
|
+
<div class="method-source-code" id="M000056-source">
|
1044
976
|
<pre>
|
1045
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
977
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 420</span>
|
1046
978
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_xzf</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1047
979
|
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_xzf</span>, <span class="ruby-identifier">args</span>)
|
1048
980
|
<span class="ruby-keyword kw">end</span>
|
@@ -1051,21 +983,21 @@ commands for recipe method
|
|
1051
983
|
</div>
|
1052
984
|
</div>
|
1053
985
|
|
1054
|
-
<div id="method-
|
1055
|
-
<a name="
|
986
|
+
<div id="method-M000035" class="method-detail">
|
987
|
+
<a name="M000035"></a>
|
1056
988
|
|
1057
989
|
<div class="method-heading">
|
1058
|
-
<a href="#
|
990
|
+
<a href="#M000035" class="method-signature">
|
1059
991
|
<span class="method-name">touch</span><span class="method-args">(*args)</span>
|
1060
992
|
</a>
|
1061
993
|
</div>
|
1062
994
|
|
1063
995
|
<div class="method-description">
|
1064
996
|
<p><a class="source-toggle" href="#"
|
1065
|
-
onclick="toggleCode('
|
1066
|
-
<div class="method-source-code" id="
|
997
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
998
|
+
<div class="method-source-code" id="M000035-source">
|
1067
999
|
<pre>
|
1068
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
1000
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 283</span>
|
1069
1001
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">touch</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1070
1002
|
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:touch</span>, <span class="ruby-identifier">args</span>)
|
1071
1003
|
<span class="ruby-keyword kw">end</span>
|
@@ -1074,21 +1006,21 @@ commands for recipe method
|
|
1074
1006
|
</div>
|
1075
1007
|
</div>
|
1076
1008
|
|
1077
|
-
<div id="method-
|
1078
|
-
<a name="
|
1009
|
+
<div id="method-M000052" class="method-detail">
|
1010
|
+
<a name="M000052"></a>
|
1079
1011
|
|
1080
1012
|
<div class="method-heading">
|
1081
|
-
<a href="#
|
1013
|
+
<a href="#M000052" class="method-signature">
|
1082
1014
|
<span class="method-name">unzip</span><span class="method-args">(*args)</span>
|
1083
1015
|
</a>
|
1084
1016
|
</div>
|
1085
1017
|
|
1086
1018
|
<div class="method-description">
|
1087
1019
|
<p><a class="source-toggle" href="#"
|
1088
|
-
onclick="toggleCode('
|
1089
|
-
<div class="method-source-code" id="
|
1020
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
1021
|
+
<div class="method-source-code" id="M000052-source">
|
1090
1022
|
<pre>
|
1091
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
1023
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 396</span>
|
1092
1024
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unzip</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1093
1025
|
<span class="ruby-identifier">_unzip</span>(<span class="ruby-identifier">:unzip</span>, <span class="ruby-identifier">args</span>)
|
1094
1026
|
<span class="ruby-keyword kw">end</span>
|
@@ -1097,21 +1029,21 @@ commands for recipe method
|
|
1097
1029
|
</div>
|
1098
1030
|
</div>
|
1099
1031
|
|
1100
|
-
<div id="method-
|
1101
|
-
<a name="
|
1032
|
+
<div id="method-M000050" class="method-detail">
|
1033
|
+
<a name="M000050"></a>
|
1102
1034
|
|
1103
1035
|
<div class="method-heading">
|
1104
|
-
<a href="#
|
1036
|
+
<a href="#M000050" class="method-signature">
|
1105
1037
|
<span class="method-name">zip</span><span class="method-args">(*args)</span>
|
1106
1038
|
</a>
|
1107
1039
|
</div>
|
1108
1040
|
|
1109
1041
|
<div class="method-description">
|
1110
1042
|
<p><a class="source-toggle" href="#"
|
1111
|
-
onclick="toggleCode('
|
1112
|
-
<div class="method-source-code" id="
|
1043
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
1044
|
+
<div class="method-source-code" id="M000050-source">
|
1113
1045
|
<pre>
|
1114
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
1046
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 376</span>
|
1115
1047
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">zip</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1116
1048
|
<span class="ruby-identifier">_zip</span>(<span class="ruby-identifier">:zip</span>, <span class="ruby-identifier">args</span>)
|
1117
1049
|
<span class="ruby-keyword kw">end</span>
|
@@ -1120,21 +1052,21 @@ commands for recipe method
|
|
1120
1052
|
</div>
|
1121
1053
|
</div>
|
1122
1054
|
|
1123
|
-
<div id="method-
|
1124
|
-
<a name="
|
1055
|
+
<div id="method-M000051" class="method-detail">
|
1056
|
+
<a name="M000051"></a>
|
1125
1057
|
|
1126
1058
|
<div class="method-heading">
|
1127
|
-
<a href="#
|
1059
|
+
<a href="#M000051" class="method-signature">
|
1128
1060
|
<span class="method-name">zip_r</span><span class="method-args">(*args)</span>
|
1129
1061
|
</a>
|
1130
1062
|
</div>
|
1131
1063
|
|
1132
1064
|
<div class="method-description">
|
1133
1065
|
<p><a class="source-toggle" href="#"
|
1134
|
-
onclick="toggleCode('
|
1135
|
-
<div class="method-source-code" id="
|
1066
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
1067
|
+
<div class="method-source-code" id="M000051-source">
|
1136
1068
|
<pre>
|
1137
|
-
<span class="ruby-comment cmt"># File rook/commands.rb, line
|
1069
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 380</span>
|
1138
1070
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">zip_r</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-comment cmt"># :doc:</span>
|
1139
1071
|
<span class="ruby-identifier">_zip</span>(<span class="ruby-identifier">:zip_r</span>, <span class="ruby-identifier">args</span>)
|
1140
1072
|
<span class="ruby-keyword kw">end</span>
|