mattock 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/doc/FileSandbox.html +537 -0
  2. data/doc/FileSandbox/HaveContents.html +279 -0
  3. data/doc/FileSandbox/Sandbox.html +525 -0
  4. data/doc/FileSandbox/SandboxFile.html +622 -0
  5. data/doc/Mattock.html +137 -0
  6. data/doc/Mattock/CascadingDefinition.html +459 -0
  7. data/doc/Mattock/CommandChain.html +456 -0
  8. data/doc/Mattock/CommandLine.html +1312 -0
  9. data/doc/Mattock/CommandLineExampleGroup.html +282 -0
  10. data/doc/Mattock/CommandLineExampleGroup/Matchers.html +109 -0
  11. data/doc/Mattock/CommandRunResult.html +643 -0
  12. data/doc/Mattock/CommandTask.html +464 -0
  13. data/doc/Mattock/Configurable.html +609 -0
  14. data/doc/Mattock/Configurable/ClassMethods.html +754 -0
  15. data/doc/Mattock/Configurable/Struct.html +148 -0
  16. data/doc/Mattock/FileCreationTask.html +177 -0
  17. data/doc/Mattock/FileTask.html +177 -0
  18. data/doc/Mattock/MockCommandResult.html +445 -0
  19. data/doc/Mattock/MultiTask.html +177 -0
  20. data/doc/Mattock/PipelineChain.html +221 -0
  21. data/doc/Mattock/PrereqChain.html +221 -0
  22. data/doc/Mattock/RakeExampleGroup.html +292 -0
  23. data/doc/Mattock/RakeExampleGroup/Matchers.html +109 -0
  24. data/doc/Mattock/RakeExampleGroup/TaskManager.html +131 -0
  25. data/doc/Mattock/RemoteCommandTask.html +423 -0
  26. data/doc/Mattock/ShellEscaped.html +315 -0
  27. data/doc/Mattock/Task.html +181 -0
  28. data/doc/Mattock/TaskLib.html +755 -0
  29. data/doc/Mattock/TaskMixin.html +668 -0
  30. data/doc/Mattock/TaskMixin/ClassMethods.html +166 -0
  31. data/doc/Mattock/TemplateHost.html +320 -0
  32. data/doc/Mattock/ValiseManager.html +257 -0
  33. data/doc/Mattock/WrappingChain.html +221 -0
  34. data/doc/Mattock/YARDExtensions.html +110 -0
  35. data/doc/Mattock/YARDExtensions/DefineHandler.html +253 -0
  36. data/doc/Mattock/YARDExtensions/NilFieldsHandler.html +258 -0
  37. data/doc/Mattock/YARDExtensions/RequiredFieldsHandler.html +205 -0
  38. data/doc/Mattock/YARDExtensions/SettingHandler.html +529 -0
  39. data/doc/Mattock/YARDExtensions/SettingsHandler.html +207 -0
  40. data/doc/RSpecTest.html +233 -0
  41. data/doc/Ungemmer.html +282 -0
  42. data/doc/_index.html +435 -0
  43. data/doc/class_list.html +47 -0
  44. data/doc/css/common.css +1 -0
  45. data/doc/css/full_list.css +55 -0
  46. data/doc/css/style.css +322 -0
  47. data/doc/file.README.html +107 -0
  48. data/doc/file_list.html +49 -0
  49. data/doc/frames.html +13 -0
  50. data/doc/index.html +107 -0
  51. data/doc/js/app.js +205 -0
  52. data/doc/js/full_list.js +173 -0
  53. data/doc/js/jquery.js +16 -0
  54. data/doc/method_list.html +950 -0
  55. data/doc/top-level-namespace.html +107 -0
  56. data/lib/mattock/task.rb +12 -0
  57. data/lib/mattock/yard_extensions.rb +36 -0
  58. data/yard_templates/default/module/setup.rb +1 -0
  59. metadata +114 -4
@@ -0,0 +1,221 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Mattock::PipelineChain
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (P)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../Mattock.html" title="Mattock (module)">Mattock</a></span></span>
38
+ &raquo;
39
+ <span class="title">PipelineChain</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Mattock::PipelineChain
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName"><span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next"><span class='object_link'><a href="CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></li>
77
+
78
+ <li class="next">Mattock::PipelineChain</li>
79
+
80
+ </ul>
81
+ <a href="#" class="inheritanceTree">show all</a>
82
+
83
+ </dd>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2 last">Defined in:</dt>
94
+ <dd class="r2 last">lib/mattock/command-line.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <h2>Instance Attribute Summary</h2>
108
+
109
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></h3>
110
+ <p class="inherited"><span class='object_link'><a href="CommandChain.html#commands-instance_method" title="Mattock::CommandChain#commands (method)">#commands</a></span></p>
111
+
112
+
113
+
114
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span></h3>
115
+ <p class="inherited"><span class='object_link'><a href="CommandLine.html#executable-instance_method" title="Mattock::CommandLine#executable (method)">#executable</a></span>, <span class='object_link'><a href="CommandLine.html#name-instance_method" title="Mattock::CommandLine#name (method)">#name</a></span>, <span class='object_link'><a href="CommandLine.html#options-instance_method" title="Mattock::CommandLine#options (method)">#options</a></span></p>
116
+
117
+
118
+
119
+ <h2>
120
+ Instance Method Summary
121
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
122
+ </h2>
123
+
124
+ <ul class="summary">
125
+
126
+ <li class="public ">
127
+ <span class="summary_signature">
128
+
129
+ <a href="#command-instance_method" title="#command (instance method)">- (Object) <strong>command</strong> </a>
130
+
131
+
132
+
133
+ </span>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <span class="summary_desc"><div class='inline'></div></span>
143
+
144
+ </li>
145
+
146
+
147
+ </ul>
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></h3>
159
+ <p class="inherited"><span class='object_link'><a href="CommandChain.html#add-instance_method" title="Mattock::CommandChain#add (method)">#add</a></span>, <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Mattock::CommandChain#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandChain.html#name-instance_method" title="Mattock::CommandChain#name (method)">#name</a></span></p>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span></h3>
169
+ <p class="inherited"><span class='object_link'><a href="CommandLine.html#copy_stream_to-instance_method" title="Mattock::CommandLine#copy_stream_to (method)">#copy_stream_to</a></span>, <span class='object_link'><a href="CommandLine.html#emit_recording-class_method" title="Mattock::CommandLine.emit_recording (method)">emit_recording</a></span>, <span class='object_link'><a href="CommandLine.html#execute-class_method" title="Mattock::CommandLine.execute (method)">execute</a></span>, <span class='object_link'><a href="CommandLine.html#initialize-instance_method" title="Mattock::CommandLine#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandLine.html#must_succeed%21-instance_method" title="Mattock::CommandLine#must_succeed! (method)">#must_succeed!</a></span>, <span class='object_link'><a href="CommandLine.html#original_execute-class_method" title="Mattock::CommandLine.original_execute (method)">original_execute</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_from-instance_method" title="Mattock::CommandLine#redirect_from (method)">#redirect_from</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stderr-instance_method" title="Mattock::CommandLine#redirect_stderr (method)">#redirect_stderr</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdin-instance_method" title="Mattock::CommandLine#redirect_stdin (method)">#redirect_stdin</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdout-instance_method" title="Mattock::CommandLine#redirect_stdout (method)">#redirect_stdout</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_to-instance_method" title="Mattock::CommandLine#redirect_to (method)">#redirect_to</a></span>, <span class='object_link'><a href="CommandLine.html#run-instance_method" title="Mattock::CommandLine#run (method)">#run</a></span>, <span class='object_link'><a href="CommandLine.html#succeeds%3F-instance_method" title="Mattock::CommandLine#succeeds? (method)">#succeeds?</a></span>, <span class='object_link'><a href="CommandLine.html#verbose-instance_method" title="Mattock::CommandLine#verbose (method)">#verbose</a></span></p>
170
+ <div id="constructor_details" class="method_details_list">
171
+ <h2>Constructor Details</h2>
172
+
173
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Mattock::CommandChain#initialize (method)">Mattock::CommandChain</a></span></p>
174
+
175
+ </div>
176
+
177
+
178
+ <div id="instance_method_details" class="method_details_list">
179
+ <h2>Instance Method Details</h2>
180
+
181
+
182
+ <div class="method_details first">
183
+ <p class="signature first" id="command-instance_method">
184
+
185
+ - (<tt>Object</tt>) <strong>command</strong>
186
+
187
+
188
+
189
+ </p><table class="source_code">
190
+ <tr>
191
+ <td>
192
+ <pre class="lines">
193
+
194
+
195
+ 158
196
+ 159
197
+ 160</pre>
198
+ </td>
199
+ <td>
200
+ <pre class="code"><span class="info file"># File 'lib/mattock/command-line.rb', line 158</span>
201
+
202
+ <span class='kw'>def</span> <span class='id identifier rubyid_command'>command</span>
203
+ <span class='ivar'>@commands</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_cmd'>cmd</span><span class='op'>|</span> <span class='id identifier rubyid_cmd'>cmd</span><span class='period'>.</span><span class='id identifier rubyid_command'>command</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> | </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
204
+ <span class='kw'>end</span></pre>
205
+ </td>
206
+ </tr>
207
+ </table>
208
+ </div>
209
+
210
+ </div>
211
+
212
+ </div>
213
+
214
+ <div id="footer">
215
+ Generated on Tue Mar 6 02:47:29 2012 by
216
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
217
+ 0.7.5 (ruby-1.9.2).
218
+ </div>
219
+
220
+ </body>
221
+ </html>
@@ -0,0 +1,221 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Mattock::PrereqChain
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (P)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../Mattock.html" title="Mattock (module)">Mattock</a></span></span>
38
+ &raquo;
39
+ <span class="title">PrereqChain</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Mattock::PrereqChain
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName"><span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next"><span class='object_link'><a href="CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></li>
77
+
78
+ <li class="next">Mattock::PrereqChain</li>
79
+
80
+ </ul>
81
+ <a href="#" class="inheritanceTree">show all</a>
82
+
83
+ </dd>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2 last">Defined in:</dt>
94
+ <dd class="r2 last">lib/mattock/command-line.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <h2>Instance Attribute Summary</h2>
108
+
109
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></h3>
110
+ <p class="inherited"><span class='object_link'><a href="CommandChain.html#commands-instance_method" title="Mattock::CommandChain#commands (method)">#commands</a></span></p>
111
+
112
+
113
+
114
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span></h3>
115
+ <p class="inherited"><span class='object_link'><a href="CommandLine.html#executable-instance_method" title="Mattock::CommandLine#executable (method)">#executable</a></span>, <span class='object_link'><a href="CommandLine.html#name-instance_method" title="Mattock::CommandLine#name (method)">#name</a></span>, <span class='object_link'><a href="CommandLine.html#options-instance_method" title="Mattock::CommandLine#options (method)">#options</a></span></p>
116
+
117
+
118
+
119
+ <h2>
120
+ Instance Method Summary
121
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
122
+ </h2>
123
+
124
+ <ul class="summary">
125
+
126
+ <li class="public ">
127
+ <span class="summary_signature">
128
+
129
+ <a href="#command-instance_method" title="#command (instance method)">- (Object) <strong>command</strong> </a>
130
+
131
+
132
+
133
+ </span>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <span class="summary_desc"><div class='inline'></div></span>
143
+
144
+ </li>
145
+
146
+
147
+ </ul>
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span></h3>
159
+ <p class="inherited"><span class='object_link'><a href="CommandChain.html#add-instance_method" title="Mattock::CommandChain#add (method)">#add</a></span>, <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Mattock::CommandChain#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandChain.html#name-instance_method" title="Mattock::CommandChain#name (method)">#name</a></span></p>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span></h3>
169
+ <p class="inherited"><span class='object_link'><a href="CommandLine.html#copy_stream_to-instance_method" title="Mattock::CommandLine#copy_stream_to (method)">#copy_stream_to</a></span>, <span class='object_link'><a href="CommandLine.html#emit_recording-class_method" title="Mattock::CommandLine.emit_recording (method)">emit_recording</a></span>, <span class='object_link'><a href="CommandLine.html#execute-class_method" title="Mattock::CommandLine.execute (method)">execute</a></span>, <span class='object_link'><a href="CommandLine.html#initialize-instance_method" title="Mattock::CommandLine#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandLine.html#must_succeed%21-instance_method" title="Mattock::CommandLine#must_succeed! (method)">#must_succeed!</a></span>, <span class='object_link'><a href="CommandLine.html#original_execute-class_method" title="Mattock::CommandLine.original_execute (method)">original_execute</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_from-instance_method" title="Mattock::CommandLine#redirect_from (method)">#redirect_from</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stderr-instance_method" title="Mattock::CommandLine#redirect_stderr (method)">#redirect_stderr</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdin-instance_method" title="Mattock::CommandLine#redirect_stdin (method)">#redirect_stdin</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdout-instance_method" title="Mattock::CommandLine#redirect_stdout (method)">#redirect_stdout</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_to-instance_method" title="Mattock::CommandLine#redirect_to (method)">#redirect_to</a></span>, <span class='object_link'><a href="CommandLine.html#run-instance_method" title="Mattock::CommandLine#run (method)">#run</a></span>, <span class='object_link'><a href="CommandLine.html#succeeds%3F-instance_method" title="Mattock::CommandLine#succeeds? (method)">#succeeds?</a></span>, <span class='object_link'><a href="CommandLine.html#verbose-instance_method" title="Mattock::CommandLine#verbose (method)">#verbose</a></span></p>
170
+ <div id="constructor_details" class="method_details_list">
171
+ <h2>Constructor Details</h2>
172
+
173
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Mattock::CommandChain#initialize (method)">Mattock::CommandChain</a></span></p>
174
+
175
+ </div>
176
+
177
+
178
+ <div id="instance_method_details" class="method_details_list">
179
+ <h2>Instance Method Details</h2>
180
+
181
+
182
+ <div class="method_details first">
183
+ <p class="signature first" id="command-instance_method">
184
+
185
+ - (<tt>Object</tt>) <strong>command</strong>
186
+
187
+
188
+
189
+ </p><table class="source_code">
190
+ <tr>
191
+ <td>
192
+ <pre class="lines">
193
+
194
+
195
+ 152
196
+ 153
197
+ 154</pre>
198
+ </td>
199
+ <td>
200
+ <pre class="code"><span class="info file"># File 'lib/mattock/command-line.rb', line 152</span>
201
+
202
+ <span class='kw'>def</span> <span class='id identifier rubyid_command'>command</span>
203
+ <span class='ivar'>@commands</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_cmd'>cmd</span><span class='op'>|</span> <span class='id identifier rubyid_cmd'>cmd</span><span class='period'>.</span><span class='id identifier rubyid_command'>command</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> &amp;&amp; </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
204
+ <span class='kw'>end</span></pre>
205
+ </td>
206
+ </tr>
207
+ </table>
208
+ </div>
209
+
210
+ </div>
211
+
212
+ </div>
213
+
214
+ <div id="footer">
215
+ Generated on Tue Mar 6 02:47:29 2012 by
216
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
217
+ 0.7.5 (ruby-1.9.2).
218
+ </div>
219
+
220
+ </body>
221
+ </html>
@@ -0,0 +1,292 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: Mattock::RakeExampleGroup
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (R)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../Mattock.html" title="Mattock (module)">Mattock</a></span></span>
38
+ &raquo;
39
+ <span class="title">RakeExampleGroup</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Module: Mattock::RakeExampleGroup
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+
68
+
69
+
70
+
71
+ <dt class="r1">Includes:</dt>
72
+ <dd class="r1"><span class='object_link'><a href="RakeExampleGroup/Matchers.html" title="Mattock::RakeExampleGroup::Matchers (module)">Matchers</a></span>, Rake::DSL</dd>
73
+
74
+
75
+
76
+
77
+
78
+ <dt class="r2 last">Defined in:</dt>
79
+ <dd class="r2 last">lib/mattock/testing/rake-example-group.rb</dd>
80
+
81
+ </dl>
82
+ <div class="clear"></div>
83
+
84
+
85
+ <h2>Defined Under Namespace</h2>
86
+ <p class="children">
87
+
88
+
89
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="RakeExampleGroup/Matchers.html" title="Mattock::RakeExampleGroup::Matchers (module)">Matchers</a></span>
90
+
91
+
92
+
93
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="RakeExampleGroup/TaskManager.html" title="Mattock::RakeExampleGroup::TaskManager (class)">TaskManager</a></span>
94
+
95
+
96
+ </p>
97
+
98
+ <h2>Constant Summary</h2>
99
+
100
+ <dl class="constants">
101
+
102
+ <dt id="SavedEnvironmentVariables-constant" class="">SavedEnvironmentVariables =
103
+
104
+ </dt>
105
+ <dd><pre class="code"><span class='qwords_beg'>%w{</span><span class='tstring_content'>APPDATA</span><span class='words_sep'> </span><span class='tstring_content'>HOME</span><span class='words_sep'> </span><span class='tstring_content'>HOMEDRIVE</span><span class='words_sep'> </span><span class='tstring_content'>HOMEPATH</span><span class='words_sep'> </span><span class='tstring_content'>RAKE_COLUMNS</span><span class='words_sep'> </span><span class='tstring_content'>RAKE_SYSTEM</span><span class='words_sep'> </span><span class='tstring_content'>RAKEOPT</span><span class='words_sep'> </span><span class='tstring_content'>USERPROFILE</span><span class='words_sep'>}</span></pre></dd>
106
+
107
+ <dt id="DeletedEnvironmentVariables-constant" class="">DeletedEnvironmentVariables =
108
+
109
+ </dt>
110
+ <dd><pre class="code"><span class='qwords_beg'>%w{</span><span class='tstring_content'>RAKE_COLUMNS</span><span class='words_sep'> </span><span class='tstring_content'>RAKE_SYSTEM</span><span class='words_sep'> </span><span class='tstring_content'>RAKEOPT</span><span class='words_sep'>}</span></pre></dd>
111
+
112
+ </dl>
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <h2>
124
+ Class Method Summary
125
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
126
+ </h2>
127
+
128
+ <ul class="summary">
129
+
130
+ <li class="public ">
131
+ <span class="summary_signature">
132
+
133
+ <a href="#included-class_method" title="included (class method)">+ (Object) <strong>included</strong>(mod) </a>
134
+
135
+
136
+
137
+ </span>
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'></div></span>
147
+
148
+ </li>
149
+
150
+
151
+ </ul>
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ <div id="class_method_details" class="method_details_list">
164
+ <h2>Class Method Details</h2>
165
+
166
+
167
+ <div class="method_details first">
168
+ <p class="signature first" id="included-class_method">
169
+
170
+ + (<tt>Object</tt>) <strong>included</strong>(mod)
171
+
172
+
173
+
174
+ </p><table class="source_code">
175
+ <tr>
176
+ <td>
177
+ <pre class="lines">
178
+
179
+
180
+ 14
181
+ 15
182
+ 16
183
+ 17
184
+ 18
185
+ 19
186
+ 20
187
+ 21
188
+ 22
189
+ 23
190
+ 24
191
+ 25
192
+ 26
193
+ 27
194
+ 28
195
+ 29
196
+ 30
197
+ 31
198
+ 32
199
+ 33
200
+ 34
201
+ 35
202
+ 36
203
+ 37
204
+ 38
205
+ 39
206
+ 40
207
+ 41
208
+ 42
209
+ 43
210
+ 44
211
+ 45
212
+ 46
213
+ 47
214
+ 48
215
+ 49
216
+ 50
217
+ 51
218
+ 52
219
+ 53
220
+ 54
221
+ 55
222
+ 56
223
+ 57
224
+ 58
225
+ 59</pre>
226
+ </td>
227
+ <td>
228
+ <pre class="code"><span class="info file"># File 'lib/mattock/testing/rake-example-group.rb', line 14</span>
229
+
230
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_included'>included</span><span class='lparen'>(</span><span class='id identifier rubyid_mod'>mod</span><span class='rparen'>)</span>
231
+ <span class='id identifier rubyid_mod'>mod</span><span class='period'>.</span><span class='id identifier rubyid_class_eval'>class_eval</span> <span class='kw'>do</span>
232
+ <span class='id identifier rubyid_let!'>let!</span> <span class='symbol'>:rake</span> <span class='kw'>do</span>
233
+ <span class='const'>Rake</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span> <span class='op'>=</span> <span class='const'>Rake</span><span class='op'>::</span><span class='const'>Application</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
234
+ <span class='const'>Rake</span><span class='op'>::</span><span class='const'>TaskManager</span><span class='period'>.</span><span class='id identifier rubyid_record_task_metadata'>record_task_metadata</span> <span class='op'>=</span> <span class='kw'>true</span>
235
+ <span class='const'>RakeFileUtils</span><span class='period'>.</span><span class='id identifier rubyid_verbose_flag'>verbose_flag</span> <span class='op'>=</span> <span class='kw'>false</span>
236
+ <span class='const'>Rake</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span>
237
+ <span class='kw'>end</span>
238
+
239
+ <span class='id identifier rubyid_before'>before</span> <span class='symbol'>:each</span> <span class='kw'>do</span>
240
+ <span class='const'>ARGV</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
241
+
242
+ <span class='ivar'>@original_ENV</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
243
+ <span class='const'>SavedEnvironmentVariables</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_var'>var</span><span class='op'>|</span>
244
+ <span class='ivar'>@original_ENV</span><span class='lbracket'>[</span><span class='id identifier rubyid_var'>var</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='id identifier rubyid_var'>var</span><span class='rbracket'>]</span>
245
+ <span class='kw'>end</span>
246
+ <span class='const'>DeletedEnvironmentVariables</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_var'>var</span><span class='op'>|</span>
247
+ <span class='const'>ENV</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_var'>var</span><span class='rparen'>)</span>
248
+ <span class='kw'>end</span>
249
+
250
+ <span class='kw'>end</span>
251
+
252
+ <span class='id identifier rubyid_after'>after</span> <span class='symbol'>:each</span> <span class='kw'>do</span>
253
+ <span class='const'>SavedEnvironmentVariables</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_var'>var</span><span class='op'>|</span>
254
+ <span class='const'>ENV</span><span class='lbracket'>[</span><span class='id identifier rubyid_var'>var</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@original_ENV</span><span class='lbracket'>[</span><span class='id identifier rubyid_var'>var</span><span class='rbracket'>]</span>
255
+ <span class='kw'>end</span>
256
+
257
+ <span class='kw'>if</span> <span class='ivar'>@original_ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>APPDATA</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
258
+ <span class='const'>ENV</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>APPDATA</span><span class='tstring_end'>'</span></span>
259
+ <span class='kw'>end</span>
260
+ <span class='kw'>end</span>
261
+
262
+ <span class='id identifier rubyid_before'>before</span> <span class='symbol'>:each</span> <span class='kw'>do</span>
263
+ <span class='ivar'>@tempdir</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/tmp</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>test_mattock_</span><span class='embexpr_beg'>#{</span><span class='gvar'>$$</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
264
+
265
+ <span class='ivar'>@original_PWD</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_pwd'>pwd</span>
266
+ <span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_mkdir_p'>mkdir_p</span> <span class='ivar'>@tempdir</span>
267
+ <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_chdir'>chdir</span> <span class='ivar'>@tempdir</span>
268
+ <span class='kw'>end</span>
269
+
270
+ <span class='id identifier rubyid_after'>after</span> <span class='symbol'>:each</span> <span class='kw'>do</span>
271
+ <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_chdir'>chdir</span> <span class='ivar'>@original_PWD</span>
272
+ <span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_rm_rf'>rm_rf</span> <span class='ivar'>@tempdir</span>
273
+ <span class='kw'>end</span>
274
+ <span class='kw'>end</span>
275
+ <span class='kw'>end</span></pre>
276
+ </td>
277
+ </tr>
278
+ </table>
279
+ </div>
280
+
281
+ </div>
282
+
283
+ </div>
284
+
285
+ <div id="footer">
286
+ Generated on Tue Mar 6 02:47:31 2012 by
287
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
+ 0.7.5 (ruby-1.9.2).
289
+ </div>
290
+
291
+ </body>
292
+ </html>