rook 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +124 -37
- data/bin/rook +8 -902
- data/doc-api/classes/BZ2.html +111 -0
- data/doc-api/classes/BZ2/Reader.html +234 -0
- data/doc-api/classes/Digest.html +107 -0
- data/doc-api/classes/Digest/Base.html +254 -0
- data/doc-api/classes/Enumerable.html +430 -0
- data/doc-api/classes/File.html +208 -0
- data/doc-api/classes/FileUtils.html +758 -0
- data/doc-api/classes/Kernel.html +317 -0
- data/doc-api/classes/Rook.html +148 -0
- data/doc-api/classes/Rook/Assertion.html +164 -0
- data/doc-api/classes/Rook/AssertionError.html +111 -0
- data/doc-api/classes/Rook/CommandOptionError.html +113 -0
- data/doc-api/classes/Rook/Commands.html +1158 -0
- data/doc-api/classes/Rook/Cookbook.html +357 -0
- data/doc-api/classes/Rook/CookbookError.html +161 -0
- data/doc-api/classes/Rook/CookbookValidator.html +215 -0
- data/doc-api/classes/Rook/Kitchen.html +875 -0
- data/doc-api/classes/Rook/KitchenHelper.html +386 -0
- data/doc-api/classes/Rook/Main.html +325 -0
- data/doc-api/classes/Rook/Parameters.html +443 -0
- data/doc-api/classes/Rook/Recipe.html +546 -0
- data/doc-api/classes/Rook/RookError.html +111 -0
- data/doc-api/classes/Rook/Util.html +408 -0
- data/doc-api/classes/Rook/Util/UndefinedPropertyError.html +160 -0
- data/doc-api/created.rid +1 -0
- data/doc-api/files/__/README_txt.html +313 -0
- data/doc-api/files/rook/commands_rb.html +115 -0
- data/doc-api/files/rook/cookbook_rb.html +115 -0
- data/doc-api/files/rook/helper/bz2_rb.html +114 -0
- data/doc-api/files/rook/helper/digest_rb.html +114 -0
- data/doc-api/files/rook/helper/enumerable_rb.html +107 -0
- data/doc-api/files/rook/helper/file_rb.html +107 -0
- data/doc-api/files/rook/helper/fileutils_rb.html +124 -0
- data/doc-api/files/rook/helper/kernel_rb.html +107 -0
- data/doc-api/files/rook/kitchen_rb.html +117 -0
- data/doc-api/files/rook/main_rb.html +117 -0
- data/doc-api/files/rook/recipe_rb.html +114 -0
- data/doc-api/files/rook/util_rb.html +115 -0
- data/doc-api/files/rook_rb.html +122 -0
- data/doc-api/fr_class_index.html +50 -0
- data/doc-api/fr_file_index.html +40 -0
- data/doc-api/fr_method_index.html +181 -0
- data/doc-api/index.html +24 -0
- data/doc-api/rdoc-style.css +208 -0
- data/examples/hello_c/Rookbook.rb +37 -0
- data/examples/hello_c/Rookbook.yaml +45 -0
- data/examples/hello_c/hello.c +6 -3
- data/examples/project/README.txt +8 -0
- data/examples/project/Rookbook.props +1 -0
- data/examples/project/Rookbook.rb +120 -0
- data/examples/project/Rookbook.yaml +117 -0
- data/examples/project/bin/example +12 -0
- data/examples/project/example.gemspec +29 -0
- data/examples/project/lib/example.rb +36 -0
- data/examples/{archive → project}/lib/example/bar.rb +0 -0
- data/examples/{archive → project}/lib/example/baz.rb +0 -0
- data/examples/{archive → project}/lib/example/foo.rb +0 -0
- data/examples/project/setup.rb +1331 -0
- data/examples/project/test/test.rb +27 -0
- data/lib/rook.rb +50 -0
- data/lib/rook/commands.rb +426 -0
- data/lib/rook/cookbook.rb +237 -0
- data/lib/rook/helper/bz2.rb +39 -0
- data/lib/rook/helper/digest.rb +76 -0
- data/lib/rook/helper/enumerable.rb +121 -0
- data/lib/rook/helper/file.rb +50 -0
- data/lib/rook/helper/fileutils.rb +340 -0
- data/lib/rook/helper/kernel.rb +108 -0
- data/lib/rook/kitchen.rb +668 -0
- data/lib/rook/main.rb +280 -0
- data/lib/rook/recipe.rb +259 -0
- data/lib/rook/rookbook.schema.yaml +156 -0
- data/lib/rook/util.rb +172 -0
- data/rook.gemspec +56 -0
- metadata +139 -45
- data/examples/archive/COPYING +0 -340
- data/examples/archive/README.txt +0 -1
- data/examples/archive/Rookbook +0 -56
- data/examples/archive/bin/example +0 -0
- data/examples/archive/doc/index.html +0 -0
- data/examples/archive/doc/index.txt +0 -0
- data/examples/archive/lib/example.rb +0 -0
- data/examples/archive/test/test1.rb +0 -0
- data/examples/archive/test/test2.rb +0 -0
- data/examples/hello_c/Rookbook +0 -24
@@ -0,0 +1,164 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Module: Rook::Assertion</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Rook::Assertion</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/rook_rb.html">
|
59
|
+
rook.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="method-list">
|
80
|
+
<h3 class="section-bar">Methods</h3>
|
81
|
+
|
82
|
+
<div class="name-list">
|
83
|
+
<a href="#M000061">assert</a>
|
84
|
+
<a href="#M000062">assert_failed</a>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
<!-- if includes -->
|
92
|
+
|
93
|
+
<div id="section">
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<!-- if method_list -->
|
103
|
+
<div id="methods">
|
104
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
105
|
+
|
106
|
+
<div id="method-M000061" class="method-detail">
|
107
|
+
<a name="M000061"></a>
|
108
|
+
|
109
|
+
<div class="method-heading">
|
110
|
+
<a href="#M000061" class="method-signature">
|
111
|
+
<span class="method-name">assert</span><span class="method-args">(expr, message)</span>
|
112
|
+
</a>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div class="method-description">
|
116
|
+
<p><a class="source-toggle" href="#"
|
117
|
+
onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
|
118
|
+
<div class="method-source-code" id="M000061-source">
|
119
|
+
<pre>
|
120
|
+
<span class="ruby-comment cmt"># File rook.rb, line 35</span>
|
121
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
124
|
+
</pre>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div id="method-M000062" class="method-detail">
|
130
|
+
<a name="M000062"></a>
|
131
|
+
|
132
|
+
<div class="method-heading">
|
133
|
+
<a href="#M000062" class="method-signature">
|
134
|
+
<span class="method-name">assert_failed</span><span class="method-args">(message)</span>
|
135
|
+
</a>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
<div class="method-description">
|
139
|
+
<p><a class="source-toggle" href="#"
|
140
|
+
onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
|
141
|
+
<div class="method-source-code" id="M000062-source">
|
142
|
+
<pre>
|
143
|
+
<span class="ruby-comment cmt"># File rook.rb, line 38</span>
|
144
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assert_failed</span>(<span class="ruby-identifier">message</span>)
|
145
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
147
|
+
</pre>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
</div>
|
157
|
+
|
158
|
+
|
159
|
+
<div id="validator-badges">
|
160
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
161
|
+
</div>
|
162
|
+
|
163
|
+
</body>
|
164
|
+
</html>
|
@@ -0,0 +1,111 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Rook::AssertionError</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Rook::AssertionError</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/rook_rb.html">
|
59
|
+
rook.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Exception
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
<!-- if includes -->
|
90
|
+
|
91
|
+
<div id="section">
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<!-- if method_list -->
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
|
106
|
+
<div id="validator-badges">
|
107
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
+
</div>
|
109
|
+
|
110
|
+
</body>
|
111
|
+
</html>
|
@@ -0,0 +1,113 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Rook::CommandOptionError</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Rook::CommandOptionError</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/rook/main_rb.html">
|
59
|
+
rook/main.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="RookError.html">
|
69
|
+
RookError
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
<!-- if includes -->
|
92
|
+
|
93
|
+
<div id="section">
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<!-- if method_list -->
|
103
|
+
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
<div id="validator-badges">
|
109
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
</body>
|
113
|
+
</html>
|
@@ -0,0 +1,1158 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Module: Rook::Commands</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Rook::Commands</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/rook/commands_rb.html">
|
59
|
+
rook/commands.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
<div id="description">
|
76
|
+
<p>
|
77
|
+
commands for recipe method
|
78
|
+
</p>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000026">cd</a>
|
90
|
+
<a href="#M000027">chdir</a>
|
91
|
+
<a href="#M000028">chmod</a>
|
92
|
+
<a href="#M000029">chmod_R</a>
|
93
|
+
<a href="#M000030">chown</a>
|
94
|
+
<a href="#M000031">chown_R</a>
|
95
|
+
<a href="#M000019">cmd</a>
|
96
|
+
<a href="#M000020">cmd!</a>
|
97
|
+
<a href="#M000018">comment</a>
|
98
|
+
<a href="#M000039">cp</a>
|
99
|
+
<a href="#M000043">cp_a</a>
|
100
|
+
<a href="#M000040">cp_p</a>
|
101
|
+
<a href="#M000042">cp_pr</a>
|
102
|
+
<a href="#M000041">cp_r</a>
|
103
|
+
<a href="#M000024">echo</a>
|
104
|
+
<a href="#M000025">echo_n</a>
|
105
|
+
<a href="#M000051">edit</a>
|
106
|
+
<a href="#M000045">ln</a>
|
107
|
+
<a href="#M000046">ln_s</a>
|
108
|
+
<a href="#M000047">ln_sf</a>
|
109
|
+
<a href="#M000032">mkdir</a>
|
110
|
+
<a href="#M000033">mkdir_p</a>
|
111
|
+
<a href="#M000044">mv</a>
|
112
|
+
<a href="#M000034">rm</a>
|
113
|
+
<a href="#M000035">rm_f</a>
|
114
|
+
<a href="#M000036">rm_r</a>
|
115
|
+
<a href="#M000037">rm_rf</a>
|
116
|
+
<a href="#M000048">store</a>
|
117
|
+
<a href="#M000050">store_a</a>
|
118
|
+
<a href="#M000049">store_p</a>
|
119
|
+
<a href="#M000023">sys</a>
|
120
|
+
<a href="#M000021">system</a>
|
121
|
+
<a href="#M000022">system!</a>
|
122
|
+
<a href="#M000055">tar_cf</a>
|
123
|
+
<a href="#M000059">tar_cjf</a>
|
124
|
+
<a href="#M000057">tar_czf</a>
|
125
|
+
<a href="#M000056">tar_xf</a>
|
126
|
+
<a href="#M000060">tar_xjf</a>
|
127
|
+
<a href="#M000058">tar_xzf</a>
|
128
|
+
<a href="#M000038">touch</a>
|
129
|
+
<a href="#M000054">unzip</a>
|
130
|
+
<a href="#M000052">zip</a>
|
131
|
+
<a href="#M000053">zip_r</a>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
<!-- if includes -->
|
139
|
+
|
140
|
+
<div id="section">
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<!-- if method_list -->
|
150
|
+
<div id="methods">
|
151
|
+
<h3 class="section-bar">Private Instance methods</h3>
|
152
|
+
|
153
|
+
<div id="method-M000026" class="method-detail">
|
154
|
+
<a name="M000026"></a>
|
155
|
+
|
156
|
+
<div class="method-heading">
|
157
|
+
<a href="#M000026" class="method-signature">
|
158
|
+
<span class="method-name">cd</span><span class="method-args">(dir, &block)</span>
|
159
|
+
</a>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
<div class="method-description">
|
163
|
+
<p><a class="source-toggle" href="#"
|
164
|
+
onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
|
165
|
+
<div class="method-source-code" id="M000026-source">
|
166
|
+
<pre>
|
167
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 177</span>
|
168
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
171
|
+
</pre>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
<div id="method-M000027" class="method-detail">
|
177
|
+
<a name="M000027"></a>
|
178
|
+
|
179
|
+
<div class="method-heading">
|
180
|
+
<a href="#M000027" class="method-signature">
|
181
|
+
<span class="method-name">chdir</span><span class="method-args">(dir, &block)</span>
|
182
|
+
</a>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
<div class="method-description">
|
186
|
+
<p><a class="source-toggle" href="#"
|
187
|
+
onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
|
188
|
+
<div class="method-source-code" id="M000027-source">
|
189
|
+
<pre>
|
190
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 181</span>
|
191
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
194
|
+
</pre>
|
195
|
+
</div>
|
196
|
+
</div>
|
197
|
+
</div>
|
198
|
+
|
199
|
+
<div id="method-M000028" class="method-detail">
|
200
|
+
<a name="M000028"></a>
|
201
|
+
|
202
|
+
<div class="method-heading">
|
203
|
+
<a href="#M000028" class="method-signature">
|
204
|
+
<span class="method-name">chmod</span><span class="method-args">(mode, *args)</span>
|
205
|
+
</a>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<div class="method-description">
|
209
|
+
<p><a class="source-toggle" href="#"
|
210
|
+
onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
|
211
|
+
<div class="method-source-code" id="M000028-source">
|
212
|
+
<pre>
|
213
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 202</span>
|
214
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
217
|
+
</pre>
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div id="method-M000029" class="method-detail">
|
223
|
+
<a name="M000029"></a>
|
224
|
+
|
225
|
+
<div class="method-heading">
|
226
|
+
<a href="#M000029" class="method-signature">
|
227
|
+
<span class="method-name">chmod_R</span><span class="method-args">(mode, *args)</span>
|
228
|
+
</a>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<div class="method-description">
|
232
|
+
<p><a class="source-toggle" href="#"
|
233
|
+
onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
|
234
|
+
<div class="method-source-code" id="M000029-source">
|
235
|
+
<pre>
|
236
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 206</span>
|
237
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
240
|
+
</pre>
|
241
|
+
</div>
|
242
|
+
</div>
|
243
|
+
</div>
|
244
|
+
|
245
|
+
<div id="method-M000030" class="method-detail">
|
246
|
+
<a name="M000030"></a>
|
247
|
+
|
248
|
+
<div class="method-heading">
|
249
|
+
<a href="#M000030" class="method-signature">
|
250
|
+
<span class="method-name">chown</span><span class="method-args">(user, group, *args, &block)</span>
|
251
|
+
</a>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
<div class="method-description">
|
255
|
+
<p><a class="source-toggle" href="#"
|
256
|
+
onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
|
257
|
+
<div class="method-source-code" id="M000030-source">
|
258
|
+
<pre>
|
259
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 218</span>
|
260
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
263
|
+
</pre>
|
264
|
+
</div>
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<div id="method-M000031" class="method-detail">
|
269
|
+
<a name="M000031"></a>
|
270
|
+
|
271
|
+
<div class="method-heading">
|
272
|
+
<a href="#M000031" class="method-signature">
|
273
|
+
<span class="method-name">chown_R</span><span class="method-args">(user, group, *args, &block)</span>
|
274
|
+
</a>
|
275
|
+
</div>
|
276
|
+
|
277
|
+
<div class="method-description">
|
278
|
+
<p><a class="source-toggle" href="#"
|
279
|
+
onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
|
280
|
+
<div class="method-source-code" id="M000031-source">
|
281
|
+
<pre>
|
282
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 222</span>
|
283
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
286
|
+
</pre>
|
287
|
+
</div>
|
288
|
+
</div>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
<div id="method-M000019" class="method-detail">
|
292
|
+
<a name="M000019"></a>
|
293
|
+
|
294
|
+
<div class="method-heading">
|
295
|
+
<a href="#M000019" class="method-signature">
|
296
|
+
<span class="method-name">cmd</span><span class="method-args">(str)</span>
|
297
|
+
</a>
|
298
|
+
</div>
|
299
|
+
|
300
|
+
<div class="method-description">
|
301
|
+
<p><a class="source-toggle" href="#"
|
302
|
+
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
303
|
+
<div class="method-source-code" id="M000019-source">
|
304
|
+
<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
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 37</span>
|
352
|
+
<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
|
+
<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>
|
354
|
+
<span class="ruby-keyword kw">end</span>
|
355
|
+
</pre>
|
356
|
+
</div>
|
357
|
+
</div>
|
358
|
+
</div>
|
359
|
+
|
360
|
+
<div id="method-M000039" class="method-detail">
|
361
|
+
<a name="M000039"></a>
|
362
|
+
|
363
|
+
<div class="method-heading">
|
364
|
+
<a href="#M000039" class="method-signature">
|
365
|
+
<span class="method-name">cp</span><span class="method-args">(*args, &block)</span>
|
366
|
+
</a>
|
367
|
+
</div>
|
368
|
+
|
369
|
+
<div class="method-description">
|
370
|
+
<p><a class="source-toggle" href="#"
|
371
|
+
onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
|
372
|
+
<div class="method-source-code" id="M000039-source">
|
373
|
+
<pre>
|
374
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 300</span>
|
375
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
378
|
+
</pre>
|
379
|
+
</div>
|
380
|
+
</div>
|
381
|
+
</div>
|
382
|
+
|
383
|
+
<div id="method-M000043" class="method-detail">
|
384
|
+
<a name="M000043"></a>
|
385
|
+
|
386
|
+
<div class="method-heading">
|
387
|
+
<a href="#M000043" class="method-signature">
|
388
|
+
<span class="method-name">cp_a</span><span class="method-args">(*args, &block)</span>
|
389
|
+
</a>
|
390
|
+
</div>
|
391
|
+
|
392
|
+
<div class="method-description">
|
393
|
+
<p><a class="source-toggle" href="#"
|
394
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
395
|
+
<div class="method-source-code" id="M000043-source">
|
396
|
+
<pre>
|
397
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 316</span>
|
398
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
401
|
+
</pre>
|
402
|
+
</div>
|
403
|
+
</div>
|
404
|
+
</div>
|
405
|
+
|
406
|
+
<div id="method-M000040" class="method-detail">
|
407
|
+
<a name="M000040"></a>
|
408
|
+
|
409
|
+
<div class="method-heading">
|
410
|
+
<a href="#M000040" class="method-signature">
|
411
|
+
<span class="method-name">cp_p</span><span class="method-args">(*args, &block)</span>
|
412
|
+
</a>
|
413
|
+
</div>
|
414
|
+
|
415
|
+
<div class="method-description">
|
416
|
+
<p><a class="source-toggle" href="#"
|
417
|
+
onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
|
418
|
+
<div class="method-source-code" id="M000040-source">
|
419
|
+
<pre>
|
420
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 304</span>
|
421
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
424
|
+
</pre>
|
425
|
+
</div>
|
426
|
+
</div>
|
427
|
+
</div>
|
428
|
+
|
429
|
+
<div id="method-M000042" class="method-detail">
|
430
|
+
<a name="M000042"></a>
|
431
|
+
|
432
|
+
<div class="method-heading">
|
433
|
+
<a href="#M000042" class="method-signature">
|
434
|
+
<span class="method-name">cp_pr</span><span class="method-args">(*args, &block)</span>
|
435
|
+
</a>
|
436
|
+
</div>
|
437
|
+
|
438
|
+
<div class="method-description">
|
439
|
+
<p><a class="source-toggle" href="#"
|
440
|
+
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
441
|
+
<div class="method-source-code" id="M000042-source">
|
442
|
+
<pre>
|
443
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 312</span>
|
444
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
447
|
+
</pre>
|
448
|
+
</div>
|
449
|
+
</div>
|
450
|
+
</div>
|
451
|
+
|
452
|
+
<div id="method-M000041" class="method-detail">
|
453
|
+
<a name="M000041"></a>
|
454
|
+
|
455
|
+
<div class="method-heading">
|
456
|
+
<a href="#M000041" class="method-signature">
|
457
|
+
<span class="method-name">cp_r</span><span class="method-args">(*args, &block)</span>
|
458
|
+
</a>
|
459
|
+
</div>
|
460
|
+
|
461
|
+
<div class="method-description">
|
462
|
+
<p><a class="source-toggle" href="#"
|
463
|
+
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
464
|
+
<div class="method-source-code" id="M000041-source">
|
465
|
+
<pre>
|
466
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 308</span>
|
467
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
470
|
+
</pre>
|
471
|
+
</div>
|
472
|
+
</div>
|
473
|
+
</div>
|
474
|
+
|
475
|
+
<div id="method-M000024" class="method-detail">
|
476
|
+
<a name="M000024"></a>
|
477
|
+
|
478
|
+
<div class="method-heading">
|
479
|
+
<a href="#M000024" class="method-signature">
|
480
|
+
<span class="method-name">echo</span><span class="method-args">(*args)</span>
|
481
|
+
</a>
|
482
|
+
</div>
|
483
|
+
|
484
|
+
<div class="method-description">
|
485
|
+
<p><a class="source-toggle" href="#"
|
486
|
+
onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
|
487
|
+
<div class="method-source-code" id="M000024-source">
|
488
|
+
<pre>
|
489
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 152</span>
|
490
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
493
|
+
</pre>
|
494
|
+
</div>
|
495
|
+
</div>
|
496
|
+
</div>
|
497
|
+
|
498
|
+
<div id="method-M000025" class="method-detail">
|
499
|
+
<a name="M000025"></a>
|
500
|
+
|
501
|
+
<div class="method-heading">
|
502
|
+
<a href="#M000025" class="method-signature">
|
503
|
+
<span class="method-name">echo_n</span><span class="method-args">(*args)</span>
|
504
|
+
</a>
|
505
|
+
</div>
|
506
|
+
|
507
|
+
<div class="method-description">
|
508
|
+
<p><a class="source-toggle" href="#"
|
509
|
+
onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
|
510
|
+
<div class="method-source-code" id="M000025-source">
|
511
|
+
<pre>
|
512
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 156</span>
|
513
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
516
|
+
</pre>
|
517
|
+
</div>
|
518
|
+
</div>
|
519
|
+
</div>
|
520
|
+
|
521
|
+
<div id="method-M000051" class="method-detail">
|
522
|
+
<a name="M000051"></a>
|
523
|
+
|
524
|
+
<div class="method-heading">
|
525
|
+
<a href="#M000051" class="method-signature">
|
526
|
+
<span class="method-name">edit</span><span class="method-args">(*args, &block)</span>
|
527
|
+
</a>
|
528
|
+
</div>
|
529
|
+
|
530
|
+
<div class="method-description">
|
531
|
+
<p><a class="source-toggle" href="#"
|
532
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
533
|
+
<div class="method-source-code" id="M000051-source">
|
534
|
+
<pre>
|
535
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 349</span>
|
536
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$rook_noexec</span>
|
539
|
+
<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>
|
540
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">edit</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>)
|
541
|
+
<span class="ruby-keyword kw">end</span>
|
542
|
+
<span class="ruby-keyword kw">end</span>
|
543
|
+
</pre>
|
544
|
+
</div>
|
545
|
+
</div>
|
546
|
+
</div>
|
547
|
+
|
548
|
+
<div id="method-M000045" class="method-detail">
|
549
|
+
<a name="M000045"></a>
|
550
|
+
|
551
|
+
<div class="method-heading">
|
552
|
+
<a href="#M000045" class="method-signature">
|
553
|
+
<span class="method-name">ln</span><span class="method-args">(*args, &block)</span>
|
554
|
+
</a>
|
555
|
+
</div>
|
556
|
+
|
557
|
+
<div class="method-description">
|
558
|
+
<p><a class="source-toggle" href="#"
|
559
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
560
|
+
<div class="method-source-code" id="M000045-source">
|
561
|
+
<pre>
|
562
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 324</span>
|
563
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
566
|
+
</pre>
|
567
|
+
</div>
|
568
|
+
</div>
|
569
|
+
</div>
|
570
|
+
|
571
|
+
<div id="method-M000046" class="method-detail">
|
572
|
+
<a name="M000046"></a>
|
573
|
+
|
574
|
+
<div class="method-heading">
|
575
|
+
<a href="#M000046" class="method-signature">
|
576
|
+
<span class="method-name">ln_s</span><span class="method-args">(*args, &block)</span>
|
577
|
+
</a>
|
578
|
+
</div>
|
579
|
+
|
580
|
+
<div class="method-description">
|
581
|
+
<p><a class="source-toggle" href="#"
|
582
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
583
|
+
<div class="method-source-code" id="M000046-source">
|
584
|
+
<pre>
|
585
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 328</span>
|
586
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
589
|
+
</pre>
|
590
|
+
</div>
|
591
|
+
</div>
|
592
|
+
</div>
|
593
|
+
|
594
|
+
<div id="method-M000047" class="method-detail">
|
595
|
+
<a name="M000047"></a>
|
596
|
+
|
597
|
+
<div class="method-heading">
|
598
|
+
<a href="#M000047" class="method-signature">
|
599
|
+
<span class="method-name">ln_sf</span><span class="method-args">(*args, &block)</span>
|
600
|
+
</a>
|
601
|
+
</div>
|
602
|
+
|
603
|
+
<div class="method-description">
|
604
|
+
<p><a class="source-toggle" href="#"
|
605
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
606
|
+
<div class="method-source-code" id="M000047-source">
|
607
|
+
<pre>
|
608
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 332</span>
|
609
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
612
|
+
</pre>
|
613
|
+
</div>
|
614
|
+
</div>
|
615
|
+
</div>
|
616
|
+
|
617
|
+
<div id="method-M000032" class="method-detail">
|
618
|
+
<a name="M000032"></a>
|
619
|
+
|
620
|
+
<div class="method-heading">
|
621
|
+
<a href="#M000032" class="method-signature">
|
622
|
+
<span class="method-name">mkdir</span><span class="method-args">(*args)</span>
|
623
|
+
</a>
|
624
|
+
</div>
|
625
|
+
|
626
|
+
<div class="method-description">
|
627
|
+
<p><a class="source-toggle" href="#"
|
628
|
+
onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
|
629
|
+
<div class="method-source-code" id="M000032-source">
|
630
|
+
<pre>
|
631
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 236</span>
|
632
|
+
<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
|
+
<span class="ruby-identifier">_command_arg1</span>(<span class="ruby-identifier">:mkdir</span>, <span class="ruby-identifier">args</span>)
|
634
|
+
<span class="ruby-keyword kw">end</span>
|
635
|
+
</pre>
|
636
|
+
</div>
|
637
|
+
</div>
|
638
|
+
</div>
|
639
|
+
|
640
|
+
<div id="method-M000033" class="method-detail">
|
641
|
+
<a name="M000033"></a>
|
642
|
+
|
643
|
+
<div class="method-heading">
|
644
|
+
<a href="#M000033" class="method-signature">
|
645
|
+
<span class="method-name">mkdir_p</span><span class="method-args">(*args)</span>
|
646
|
+
</a>
|
647
|
+
</div>
|
648
|
+
|
649
|
+
<div class="method-description">
|
650
|
+
<p><a class="source-toggle" href="#"
|
651
|
+
onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
|
652
|
+
<div class="method-source-code" id="M000033-source">
|
653
|
+
<pre>
|
654
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 240</span>
|
655
|
+
<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
|
+
<span class="ruby-identifier">_command_arg1</span>(<span class="ruby-identifier">:mkdir_p</span>, <span class="ruby-identifier">args</span>)
|
657
|
+
<span class="ruby-keyword kw">end</span>
|
658
|
+
</pre>
|
659
|
+
</div>
|
660
|
+
</div>
|
661
|
+
</div>
|
662
|
+
|
663
|
+
<div id="method-M000044" class="method-detail">
|
664
|
+
<a name="M000044"></a>
|
665
|
+
|
666
|
+
<div class="method-heading">
|
667
|
+
<a href="#M000044" class="method-signature">
|
668
|
+
<span class="method-name">mv</span><span class="method-args">(*args, &block)</span>
|
669
|
+
</a>
|
670
|
+
</div>
|
671
|
+
|
672
|
+
<div class="method-description">
|
673
|
+
<p><a class="source-toggle" href="#"
|
674
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
675
|
+
<div class="method-source-code" id="M000044-source">
|
676
|
+
<pre>
|
677
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 320</span>
|
678
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
681
|
+
</pre>
|
682
|
+
</div>
|
683
|
+
</div>
|
684
|
+
</div>
|
685
|
+
|
686
|
+
<div id="method-M000034" class="method-detail">
|
687
|
+
<a name="M000034"></a>
|
688
|
+
|
689
|
+
<div class="method-heading">
|
690
|
+
<a href="#M000034" class="method-signature">
|
691
|
+
<span class="method-name">rm</span><span class="method-args">(*args)</span>
|
692
|
+
</a>
|
693
|
+
</div>
|
694
|
+
|
695
|
+
<div class="method-description">
|
696
|
+
<p><a class="source-toggle" href="#"
|
697
|
+
onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
|
698
|
+
<div class="method-source-code" id="M000034-source">
|
699
|
+
<pre>
|
700
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 265</span>
|
701
|
+
<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
|
+
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm</span>, <span class="ruby-identifier">args</span>)
|
703
|
+
<span class="ruby-keyword kw">end</span>
|
704
|
+
</pre>
|
705
|
+
</div>
|
706
|
+
</div>
|
707
|
+
</div>
|
708
|
+
|
709
|
+
<div id="method-M000035" class="method-detail">
|
710
|
+
<a name="M000035"></a>
|
711
|
+
|
712
|
+
<div class="method-heading">
|
713
|
+
<a href="#M000035" class="method-signature">
|
714
|
+
<span class="method-name">rm_f</span><span class="method-args">(*args)</span>
|
715
|
+
</a>
|
716
|
+
</div>
|
717
|
+
|
718
|
+
<div class="method-description">
|
719
|
+
<p><a class="source-toggle" href="#"
|
720
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
721
|
+
<div class="method-source-code" id="M000035-source">
|
722
|
+
<pre>
|
723
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 269</span>
|
724
|
+
<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
|
+
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm_f</span>, <span class="ruby-identifier">args</span>)
|
726
|
+
<span class="ruby-keyword kw">end</span>
|
727
|
+
</pre>
|
728
|
+
</div>
|
729
|
+
</div>
|
730
|
+
</div>
|
731
|
+
|
732
|
+
<div id="method-M000036" class="method-detail">
|
733
|
+
<a name="M000036"></a>
|
734
|
+
|
735
|
+
<div class="method-heading">
|
736
|
+
<a href="#M000036" class="method-signature">
|
737
|
+
<span class="method-name">rm_r</span><span class="method-args">(*args)</span>
|
738
|
+
</a>
|
739
|
+
</div>
|
740
|
+
|
741
|
+
<div class="method-description">
|
742
|
+
<p><a class="source-toggle" href="#"
|
743
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
744
|
+
<div class="method-source-code" id="M000036-source">
|
745
|
+
<pre>
|
746
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 273</span>
|
747
|
+
<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
|
+
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm_r</span>, <span class="ruby-identifier">args</span>)
|
749
|
+
<span class="ruby-keyword kw">end</span>
|
750
|
+
</pre>
|
751
|
+
</div>
|
752
|
+
</div>
|
753
|
+
</div>
|
754
|
+
|
755
|
+
<div id="method-M000037" class="method-detail">
|
756
|
+
<a name="M000037"></a>
|
757
|
+
|
758
|
+
<div class="method-heading">
|
759
|
+
<a href="#M000037" class="method-signature">
|
760
|
+
<span class="method-name">rm_rf</span><span class="method-args">(*args)</span>
|
761
|
+
</a>
|
762
|
+
</div>
|
763
|
+
|
764
|
+
<div class="method-description">
|
765
|
+
<p><a class="source-toggle" href="#"
|
766
|
+
onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
|
767
|
+
<div class="method-source-code" id="M000037-source">
|
768
|
+
<pre>
|
769
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 277</span>
|
770
|
+
<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
|
+
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:rm_rf</span>, <span class="ruby-identifier">args</span>)
|
772
|
+
<span class="ruby-keyword kw">end</span>
|
773
|
+
</pre>
|
774
|
+
</div>
|
775
|
+
</div>
|
776
|
+
</div>
|
777
|
+
|
778
|
+
<div id="method-M000048" class="method-detail">
|
779
|
+
<a name="M000048"></a>
|
780
|
+
|
781
|
+
<div class="method-heading">
|
782
|
+
<a href="#M000048" class="method-signature">
|
783
|
+
<span class="method-name">store</span><span class="method-args">(*args, &block)</span>
|
784
|
+
</a>
|
785
|
+
</div>
|
786
|
+
|
787
|
+
<div class="method-description">
|
788
|
+
<p><a class="source-toggle" href="#"
|
789
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
790
|
+
<div class="method-source-code" id="M000048-source">
|
791
|
+
<pre>
|
792
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 336</span>
|
793
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
796
|
+
</pre>
|
797
|
+
</div>
|
798
|
+
</div>
|
799
|
+
</div>
|
800
|
+
|
801
|
+
<div id="method-M000050" class="method-detail">
|
802
|
+
<a name="M000050"></a>
|
803
|
+
|
804
|
+
<div class="method-heading">
|
805
|
+
<a href="#M000050" class="method-signature">
|
806
|
+
<span class="method-name">store_a</span><span class="method-args">(*args, &block)</span>
|
807
|
+
</a>
|
808
|
+
</div>
|
809
|
+
|
810
|
+
<div class="method-description">
|
811
|
+
<p><a class="source-toggle" href="#"
|
812
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
813
|
+
<div class="method-source-code" id="M000050-source">
|
814
|
+
<pre>
|
815
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 344</span>
|
816
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
819
|
+
</pre>
|
820
|
+
</div>
|
821
|
+
</div>
|
822
|
+
</div>
|
823
|
+
|
824
|
+
<div id="method-M000049" class="method-detail">
|
825
|
+
<a name="M000049"></a>
|
826
|
+
|
827
|
+
<div class="method-heading">
|
828
|
+
<a href="#M000049" class="method-signature">
|
829
|
+
<span class="method-name">store_p</span><span class="method-args">(*args, &block)</span>
|
830
|
+
</a>
|
831
|
+
</div>
|
832
|
+
|
833
|
+
<div class="method-description">
|
834
|
+
<p><a class="source-toggle" href="#"
|
835
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
836
|
+
<div class="method-source-code" id="M000049-source">
|
837
|
+
<pre>
|
838
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 340</span>
|
839
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
842
|
+
</pre>
|
843
|
+
</div>
|
844
|
+
</div>
|
845
|
+
</div>
|
846
|
+
|
847
|
+
<div id="method-M000023" class="method-detail">
|
848
|
+
<a name="M000023"></a>
|
849
|
+
|
850
|
+
<div class="method-heading">
|
851
|
+
<a href="#M000023" class="method-signature">
|
852
|
+
<span class="method-name">sys</span><span class="method-args">(str)</span>
|
853
|
+
</a>
|
854
|
+
</div>
|
855
|
+
|
856
|
+
<div class="method-description">
|
857
|
+
<p><a class="source-toggle" href="#"
|
858
|
+
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
859
|
+
<div class="method-source-code" id="M000023-source">
|
860
|
+
<pre>
|
861
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 132</span>
|
862
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
865
|
+
</pre>
|
866
|
+
</div>
|
867
|
+
</div>
|
868
|
+
</div>
|
869
|
+
|
870
|
+
<div id="method-M000021" class="method-detail">
|
871
|
+
<a name="M000021"></a>
|
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>
|
918
|
+
|
919
|
+
<div class="method-heading">
|
920
|
+
<a href="#M000055" class="method-signature">
|
921
|
+
<span class="method-name">tar_cf</span><span class="method-args">(*args)</span>
|
922
|
+
</a>
|
923
|
+
</div>
|
924
|
+
|
925
|
+
<div class="method-description">
|
926
|
+
<p><a class="source-toggle" href="#"
|
927
|
+
onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
|
928
|
+
<div class="method-source-code" id="M000055-source">
|
929
|
+
<pre>
|
930
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 397</span>
|
931
|
+
<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
|
+
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_cf</span>, <span class="ruby-identifier">args</span>)
|
933
|
+
<span class="ruby-keyword kw">end</span>
|
934
|
+
</pre>
|
935
|
+
</div>
|
936
|
+
</div>
|
937
|
+
</div>
|
938
|
+
|
939
|
+
<div id="method-M000059" class="method-detail">
|
940
|
+
<a name="M000059"></a>
|
941
|
+
|
942
|
+
<div class="method-heading">
|
943
|
+
<a href="#M000059" class="method-signature">
|
944
|
+
<span class="method-name">tar_cjf</span><span class="method-args">(*args)</span>
|
945
|
+
</a>
|
946
|
+
</div>
|
947
|
+
|
948
|
+
<div class="method-description">
|
949
|
+
<p><a class="source-toggle" href="#"
|
950
|
+
onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
|
951
|
+
<div class="method-source-code" id="M000059-source">
|
952
|
+
<pre>
|
953
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 413</span>
|
954
|
+
<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
|
+
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_cjf</span>, <span class="ruby-identifier">args</span>)
|
956
|
+
<span class="ruby-keyword kw">end</span>
|
957
|
+
</pre>
|
958
|
+
</div>
|
959
|
+
</div>
|
960
|
+
</div>
|
961
|
+
|
962
|
+
<div id="method-M000057" class="method-detail">
|
963
|
+
<a name="M000057"></a>
|
964
|
+
|
965
|
+
<div class="method-heading">
|
966
|
+
<a href="#M000057" class="method-signature">
|
967
|
+
<span class="method-name">tar_czf</span><span class="method-args">(*args)</span>
|
968
|
+
</a>
|
969
|
+
</div>
|
970
|
+
|
971
|
+
<div class="method-description">
|
972
|
+
<p><a class="source-toggle" href="#"
|
973
|
+
onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
|
974
|
+
<div class="method-source-code" id="M000057-source">
|
975
|
+
<pre>
|
976
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 405</span>
|
977
|
+
<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
|
+
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_czf</span>, <span class="ruby-identifier">args</span>)
|
979
|
+
<span class="ruby-keyword kw">end</span>
|
980
|
+
</pre>
|
981
|
+
</div>
|
982
|
+
</div>
|
983
|
+
</div>
|
984
|
+
|
985
|
+
<div id="method-M000056" class="method-detail">
|
986
|
+
<a name="M000056"></a>
|
987
|
+
|
988
|
+
<div class="method-heading">
|
989
|
+
<a href="#M000056" class="method-signature">
|
990
|
+
<span class="method-name">tar_xf</span><span class="method-args">(*args)</span>
|
991
|
+
</a>
|
992
|
+
</div>
|
993
|
+
|
994
|
+
<div class="method-description">
|
995
|
+
<p><a class="source-toggle" href="#"
|
996
|
+
onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
|
997
|
+
<div class="method-source-code" id="M000056-source">
|
998
|
+
<pre>
|
999
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 401</span>
|
1000
|
+
<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
|
+
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_xf</span>, <span class="ruby-identifier">args</span>)
|
1002
|
+
<span class="ruby-keyword kw">end</span>
|
1003
|
+
</pre>
|
1004
|
+
</div>
|
1005
|
+
</div>
|
1006
|
+
</div>
|
1007
|
+
|
1008
|
+
<div id="method-M000060" class="method-detail">
|
1009
|
+
<a name="M000060"></a>
|
1010
|
+
|
1011
|
+
<div class="method-heading">
|
1012
|
+
<a href="#M000060" class="method-signature">
|
1013
|
+
<span class="method-name">tar_xjf</span><span class="method-args">(*args)</span>
|
1014
|
+
</a>
|
1015
|
+
</div>
|
1016
|
+
|
1017
|
+
<div class="method-description">
|
1018
|
+
<p><a class="source-toggle" href="#"
|
1019
|
+
onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
|
1020
|
+
<div class="method-source-code" id="M000060-source">
|
1021
|
+
<pre>
|
1022
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 417</span>
|
1023
|
+
<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
|
+
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_xjf</span>, <span class="ruby-identifier">args</span>)
|
1025
|
+
<span class="ruby-keyword kw">end</span>
|
1026
|
+
</pre>
|
1027
|
+
</div>
|
1028
|
+
</div>
|
1029
|
+
</div>
|
1030
|
+
|
1031
|
+
<div id="method-M000058" class="method-detail">
|
1032
|
+
<a name="M000058"></a>
|
1033
|
+
|
1034
|
+
<div class="method-heading">
|
1035
|
+
<a href="#M000058" class="method-signature">
|
1036
|
+
<span class="method-name">tar_xzf</span><span class="method-args">(*args)</span>
|
1037
|
+
</a>
|
1038
|
+
</div>
|
1039
|
+
|
1040
|
+
<div class="method-description">
|
1041
|
+
<p><a class="source-toggle" href="#"
|
1042
|
+
onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
|
1043
|
+
<div class="method-source-code" id="M000058-source">
|
1044
|
+
<pre>
|
1045
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 409</span>
|
1046
|
+
<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
|
+
<span class="ruby-identifier">_tar</span>(<span class="ruby-identifier">:tar_xzf</span>, <span class="ruby-identifier">args</span>)
|
1048
|
+
<span class="ruby-keyword kw">end</span>
|
1049
|
+
</pre>
|
1050
|
+
</div>
|
1051
|
+
</div>
|
1052
|
+
</div>
|
1053
|
+
|
1054
|
+
<div id="method-M000038" class="method-detail">
|
1055
|
+
<a name="M000038"></a>
|
1056
|
+
|
1057
|
+
<div class="method-heading">
|
1058
|
+
<a href="#M000038" class="method-signature">
|
1059
|
+
<span class="method-name">touch</span><span class="method-args">(*args)</span>
|
1060
|
+
</a>
|
1061
|
+
</div>
|
1062
|
+
|
1063
|
+
<div class="method-description">
|
1064
|
+
<p><a class="source-toggle" href="#"
|
1065
|
+
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
1066
|
+
<div class="method-source-code" id="M000038-source">
|
1067
|
+
<pre>
|
1068
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 281</span>
|
1069
|
+
<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
|
+
<span class="ruby-identifier">_command_args</span>(<span class="ruby-identifier">:touch</span>, <span class="ruby-identifier">args</span>)
|
1071
|
+
<span class="ruby-keyword kw">end</span>
|
1072
|
+
</pre>
|
1073
|
+
</div>
|
1074
|
+
</div>
|
1075
|
+
</div>
|
1076
|
+
|
1077
|
+
<div id="method-M000054" class="method-detail">
|
1078
|
+
<a name="M000054"></a>
|
1079
|
+
|
1080
|
+
<div class="method-heading">
|
1081
|
+
<a href="#M000054" class="method-signature">
|
1082
|
+
<span class="method-name">unzip</span><span class="method-args">(*args)</span>
|
1083
|
+
</a>
|
1084
|
+
</div>
|
1085
|
+
|
1086
|
+
<div class="method-description">
|
1087
|
+
<p><a class="source-toggle" href="#"
|
1088
|
+
onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
|
1089
|
+
<div class="method-source-code" id="M000054-source">
|
1090
|
+
<pre>
|
1091
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 385</span>
|
1092
|
+
<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
|
+
<span class="ruby-identifier">_unzip</span>(<span class="ruby-identifier">:unzip</span>, <span class="ruby-identifier">args</span>)
|
1094
|
+
<span class="ruby-keyword kw">end</span>
|
1095
|
+
</pre>
|
1096
|
+
</div>
|
1097
|
+
</div>
|
1098
|
+
</div>
|
1099
|
+
|
1100
|
+
<div id="method-M000052" class="method-detail">
|
1101
|
+
<a name="M000052"></a>
|
1102
|
+
|
1103
|
+
<div class="method-heading">
|
1104
|
+
<a href="#M000052" class="method-signature">
|
1105
|
+
<span class="method-name">zip</span><span class="method-args">(*args)</span>
|
1106
|
+
</a>
|
1107
|
+
</div>
|
1108
|
+
|
1109
|
+
<div class="method-description">
|
1110
|
+
<p><a class="source-toggle" href="#"
|
1111
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
1112
|
+
<div class="method-source-code" id="M000052-source">
|
1113
|
+
<pre>
|
1114
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 365</span>
|
1115
|
+
<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
|
+
<span class="ruby-identifier">_zip</span>(<span class="ruby-identifier">:zip</span>, <span class="ruby-identifier">args</span>)
|
1117
|
+
<span class="ruby-keyword kw">end</span>
|
1118
|
+
</pre>
|
1119
|
+
</div>
|
1120
|
+
</div>
|
1121
|
+
</div>
|
1122
|
+
|
1123
|
+
<div id="method-M000053" class="method-detail">
|
1124
|
+
<a name="M000053"></a>
|
1125
|
+
|
1126
|
+
<div class="method-heading">
|
1127
|
+
<a href="#M000053" class="method-signature">
|
1128
|
+
<span class="method-name">zip_r</span><span class="method-args">(*args)</span>
|
1129
|
+
</a>
|
1130
|
+
</div>
|
1131
|
+
|
1132
|
+
<div class="method-description">
|
1133
|
+
<p><a class="source-toggle" href="#"
|
1134
|
+
onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
|
1135
|
+
<div class="method-source-code" id="M000053-source">
|
1136
|
+
<pre>
|
1137
|
+
<span class="ruby-comment cmt"># File rook/commands.rb, line 369</span>
|
1138
|
+
<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
|
+
<span class="ruby-identifier">_zip</span>(<span class="ruby-identifier">:zip_r</span>, <span class="ruby-identifier">args</span>)
|
1140
|
+
<span class="ruby-keyword kw">end</span>
|
1141
|
+
</pre>
|
1142
|
+
</div>
|
1143
|
+
</div>
|
1144
|
+
</div>
|
1145
|
+
|
1146
|
+
|
1147
|
+
</div>
|
1148
|
+
|
1149
|
+
|
1150
|
+
</div>
|
1151
|
+
|
1152
|
+
|
1153
|
+
<div id="validator-badges">
|
1154
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
1155
|
+
</div>
|
1156
|
+
|
1157
|
+
</body>
|
1158
|
+
</html>
|