mattock 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/FileSandbox.html +537 -0
- data/doc/FileSandbox/HaveContents.html +279 -0
- data/doc/FileSandbox/Sandbox.html +525 -0
- data/doc/FileSandbox/SandboxFile.html +622 -0
- data/doc/Mattock.html +137 -0
- data/doc/Mattock/CascadingDefinition.html +459 -0
- data/doc/Mattock/CommandChain.html +456 -0
- data/doc/Mattock/CommandLine.html +1312 -0
- data/doc/Mattock/CommandLineExampleGroup.html +282 -0
- data/doc/Mattock/CommandLineExampleGroup/Matchers.html +109 -0
- data/doc/Mattock/CommandRunResult.html +643 -0
- data/doc/Mattock/CommandTask.html +464 -0
- data/doc/Mattock/Configurable.html +609 -0
- data/doc/Mattock/Configurable/ClassMethods.html +754 -0
- data/doc/Mattock/Configurable/Struct.html +148 -0
- data/doc/Mattock/FileCreationTask.html +177 -0
- data/doc/Mattock/FileTask.html +177 -0
- data/doc/Mattock/MockCommandResult.html +445 -0
- data/doc/Mattock/MultiTask.html +177 -0
- data/doc/Mattock/PipelineChain.html +221 -0
- data/doc/Mattock/PrereqChain.html +221 -0
- data/doc/Mattock/RakeExampleGroup.html +292 -0
- data/doc/Mattock/RakeExampleGroup/Matchers.html +109 -0
- data/doc/Mattock/RakeExampleGroup/TaskManager.html +131 -0
- data/doc/Mattock/RemoteCommandTask.html +423 -0
- data/doc/Mattock/ShellEscaped.html +315 -0
- data/doc/Mattock/Task.html +181 -0
- data/doc/Mattock/TaskLib.html +755 -0
- data/doc/Mattock/TaskMixin.html +668 -0
- data/doc/Mattock/TaskMixin/ClassMethods.html +166 -0
- data/doc/Mattock/TemplateHost.html +320 -0
- data/doc/Mattock/ValiseManager.html +257 -0
- data/doc/Mattock/WrappingChain.html +221 -0
- data/doc/Mattock/YARDExtensions.html +110 -0
- data/doc/Mattock/YARDExtensions/DefineHandler.html +253 -0
- data/doc/Mattock/YARDExtensions/NilFieldsHandler.html +258 -0
- data/doc/Mattock/YARDExtensions/RequiredFieldsHandler.html +205 -0
- data/doc/Mattock/YARDExtensions/SettingHandler.html +529 -0
- data/doc/Mattock/YARDExtensions/SettingsHandler.html +207 -0
- data/doc/RSpecTest.html +233 -0
- data/doc/Ungemmer.html +282 -0
- data/doc/_index.html +435 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +107 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +107 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +950 -0
- data/doc/top-level-namespace.html +107 -0
- data/lib/mattock/task.rb +12 -0
- data/lib/mattock/yard_extensions.rb +36 -0
- data/yard_templates/default/module/setup.rb +1 -0
- metadata +114 -4
data/doc/Mattock.html
ADDED
@@ -0,0 +1,137 @@
|
|
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
|
8
|
+
|
9
|
+
— 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 (M)</a> »
|
37
|
+
|
38
|
+
|
39
|
+
<span class="title">Mattock</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
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
<dt class="r1 last">Defined in:</dt>
|
75
|
+
<dd class="r1 last">lib/mattock/task.rb<span class="defines">,<br />
|
76
|
+
lib/mattock/tasklib.rb,<br /> lib/mattock/configurable.rb,<br /> lib/mattock/command-task.rb,<br /> lib/mattock/command-line.rb,<br /> lib/mattock/template-host.rb,<br /> lib/mattock/yard_extensions.rb,<br /> lib/mattock/remote-command-task.rb,<br /> lib/mattock/cascading-definition.rb,<br /> lib/mattock/testing/record-commands.rb,<br /> lib/mattock/testing/mock-command-line.rb,<br /> lib/mattock/testing/rake-example-group.rb</span>
|
77
|
+
</dd>
|
78
|
+
|
79
|
+
</dl>
|
80
|
+
<div class="clear"></div>
|
81
|
+
|
82
|
+
|
83
|
+
<h2>Defined Under Namespace</h2>
|
84
|
+
<p class="children">
|
85
|
+
|
86
|
+
|
87
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Mattock/CascadingDefinition.html" title="Mattock::CascadingDefinition (module)">CascadingDefinition</a></span>, <span class='object_link'><a href="Mattock/CommandLineExampleGroup.html" title="Mattock::CommandLineExampleGroup (module)">CommandLineExampleGroup</a></span>, <span class='object_link'><a href="Mattock/Configurable.html" title="Mattock::Configurable (module)">Configurable</a></span>, <span class='object_link'><a href="Mattock/RakeExampleGroup.html" title="Mattock::RakeExampleGroup (module)">RakeExampleGroup</a></span>, <span class='object_link'><a href="Mattock/TaskMixin.html" title="Mattock::TaskMixin (module)">TaskMixin</a></span>, <span class='object_link'><a href="Mattock/TemplateHost.html" title="Mattock::TemplateHost (module)">TemplateHost</a></span>, <span class='object_link'><a href="Mattock/ValiseManager.html" title="Mattock::ValiseManager (module)">ValiseManager</a></span>, <span class='object_link'><a href="Mattock/YARDExtensions.html" title="Mattock::YARDExtensions (module)">YARDExtensions</a></span>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Mattock/CommandChain.html" title="Mattock::CommandChain (class)">CommandChain</a></span>, <span class='object_link'><a href="Mattock/CommandLine.html" title="Mattock::CommandLine (class)">CommandLine</a></span>, <span class='object_link'><a href="Mattock/CommandRunResult.html" title="Mattock::CommandRunResult (class)">CommandRunResult</a></span>, <span class='object_link'><a href="Mattock/CommandTask.html" title="Mattock::CommandTask (class)">CommandTask</a></span>, <span class='object_link'><a href="Mattock/FileCreationTask.html" title="Mattock::FileCreationTask (class)">FileCreationTask</a></span>, <span class='object_link'><a href="Mattock/FileTask.html" title="Mattock::FileTask (class)">FileTask</a></span>, <span class='object_link'><a href="Mattock/MockCommandResult.html" title="Mattock::MockCommandResult (class)">MockCommandResult</a></span>, <span class='object_link'><a href="Mattock/MultiTask.html" title="Mattock::MultiTask (class)">MultiTask</a></span>, <span class='object_link'><a href="Mattock/PipelineChain.html" title="Mattock::PipelineChain (class)">PipelineChain</a></span>, <span class='object_link'><a href="Mattock/PrereqChain.html" title="Mattock::PrereqChain (class)">PrereqChain</a></span>, <span class='object_link'><a href="Mattock/RemoteCommandTask.html" title="Mattock::RemoteCommandTask (class)">RemoteCommandTask</a></span>, <span class='object_link'><a href="Mattock/ShellEscaped.html" title="Mattock::ShellEscaped (class)">ShellEscaped</a></span>, <span class='object_link'><a href="Mattock/Task.html" title="Mattock::Task (class)">Task</a></span>, <span class='object_link'><a href="Mattock/TaskLib.html" title="Mattock::TaskLib (class)">TaskLib</a></span>, <span class='object_link'><a href="Mattock/WrappingChain.html" title="Mattock::WrappingChain (class)">WrappingChain</a></span>
|
92
|
+
|
93
|
+
|
94
|
+
</p>
|
95
|
+
|
96
|
+
<h2>Constant Summary</h2>
|
97
|
+
|
98
|
+
<dl class="constants">
|
99
|
+
|
100
|
+
<dt id="Tasklib-constant" class="">Tasklib =
|
101
|
+
<div class="docstring">
|
102
|
+
<div class="discussion">
|
103
|
+
|
104
|
+
<p>Because I can never remember</p>
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
<div class="tags">
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</dt>
|
114
|
+
<dd><pre class="code"><span class='const'>TaskLib</span></pre></dd>
|
115
|
+
|
116
|
+
</dl>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div id="footer">
|
131
|
+
Generated on Tue Mar 6 02:47:28 2012 by
|
132
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
|
+
0.7.5 (ruby-1.9.2).
|
134
|
+
</div>
|
135
|
+
|
136
|
+
</body>
|
137
|
+
</html>
|
@@ -0,0 +1,459 @@
|
|
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::CascadingDefinition
|
8
|
+
|
9
|
+
— 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 (C)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../Mattock.html" title="Mattock (module)">Mattock</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">CascadingDefinition</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::CascadingDefinition
|
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="Configurable.html" title="Mattock::Configurable (module)">Configurable</a></span></dd>
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<dt class="r2">Included in:</dt>
|
78
|
+
<dd class="r2"><span class='object_link'><a href="TaskLib.html" title="Mattock::TaskLib (class)">TaskLib</a></span>, <span class='object_link'><a href="TaskMixin.html" title="Mattock::TaskMixin (module)">TaskMixin</a></span></dd>
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
<dt class="r1 last">Defined in:</dt>
|
83
|
+
<dd class="r1 last">lib/mattock/cascading-definition.rb</dd>
|
84
|
+
|
85
|
+
</dl>
|
86
|
+
<div class="clear"></div>
|
87
|
+
|
88
|
+
|
89
|
+
<h2>Rake Tasks Defined</h2>
|
90
|
+
<pre class="code ruby">
|
91
|
+
</pre>
|
92
|
+
|
93
|
+
|
94
|
+
<h2>Constant Summary</h2>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<h2>Constant Summary</h2>
|
100
|
+
|
101
|
+
<h3 class="inherited">Constants included
|
102
|
+
from <span class='object_link'><a href="Configurable.html" title="Mattock::Configurable (module)">Configurable</a></span></h3>
|
103
|
+
<p class="inherited"><span class='object_link'><a href="Configurable.html#RequiredField-constant" title="Mattock::Configurable::RequiredField (constant)">Mattock::Configurable::RequiredField</a></span></p>
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<h2>
|
112
|
+
Instance Method Summary
|
113
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
114
|
+
</h2>
|
115
|
+
|
116
|
+
<ul class="summary">
|
117
|
+
|
118
|
+
<li class="public ">
|
119
|
+
<span class="summary_signature">
|
120
|
+
|
121
|
+
<a href="#confirm_configuration-instance_method" title="#confirm_configuration (instance method)">- (Object) <strong>confirm_configuration</strong> </a>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</span>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
|
139
|
+
<li class="public ">
|
140
|
+
<span class="summary_signature">
|
141
|
+
|
142
|
+
<a href="#default_configuration-instance_method" title="#default_configuration (instance method)">- (Object) <strong>default_configuration</strong>(*tasklibs) </a>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
</span>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
156
|
+
|
157
|
+
</li>
|
158
|
+
|
159
|
+
|
160
|
+
<li class="public ">
|
161
|
+
<span class="summary_signature">
|
162
|
+
|
163
|
+
<a href="#define-instance_method" title="#define (instance method)">- (Object) <strong>define</strong> </a>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
</span>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
177
|
+
|
178
|
+
</li>
|
179
|
+
|
180
|
+
|
181
|
+
<li class="public ">
|
182
|
+
<span class="summary_signature">
|
183
|
+
|
184
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CascadingDefinition) <strong>initialize</strong>(*tasklibs) {|_self| ... }</a>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
</span>
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
<span class="summary_desc"><div class='inline'>
|
198
|
+
<p>A new instance of CascadingDefinition.</p>
|
199
|
+
</div></span>
|
200
|
+
|
201
|
+
</li>
|
202
|
+
|
203
|
+
|
204
|
+
<li class="public ">
|
205
|
+
<span class="summary_signature">
|
206
|
+
|
207
|
+
<a href="#resolve_configuration-instance_method" title="#resolve_configuration (instance method)">- (Object) <strong>resolve_configuration</strong> </a>
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
</span>
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
221
|
+
|
222
|
+
</li>
|
223
|
+
|
224
|
+
|
225
|
+
</ul>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Configurable.html" title="Mattock::Configurable (module)">Configurable</a></span></h3>
|
237
|
+
<p class="inherited"><span class='object_link'><a href="Configurable.html#check_required-instance_method" title="Mattock::Configurable#check_required (method)">#check_required</a></span>, <span class='object_link'><a href="Configurable.html#copy_settings_to-instance_method" title="Mattock::Configurable#copy_settings_to (method)">#copy_settings_to</a></span>, <span class='object_link'><a href="Configurable.html#nil_fields-instance_method" title="Mattock::Configurable#nil_fields (method)">#nil_fields</a></span>, <span class='object_link'><a href="Configurable.html#required_fields-instance_method" title="Mattock::Configurable#required_fields (method)">#required_fields</a></span>, <span class='object_link'><a href="Configurable.html#setting-instance_method" title="Mattock::Configurable#setting (method)">#setting</a></span>, <span class='object_link'><a href="Configurable.html#settings-instance_method" title="Mattock::Configurable#settings (method)">#settings</a></span>, <span class='object_link'><a href="Configurable.html#setup_defaults-instance_method" title="Mattock::Configurable#setup_defaults (method)">#setup_defaults</a></span>, <span class='object_link'><a href="Configurable.html#unset%3F-instance_method" title="Mattock::Configurable#unset? (method)">#unset?</a></span></p>
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Configurable/ClassMethods.html" title="Mattock::Configurable::ClassMethods (module)">Mattock::Configurable::ClassMethods</a></span></h3>
|
247
|
+
<p class="inherited"><span class='object_link'><a href="Configurable/ClassMethods.html#copy_settings-instance_method" title="Mattock::Configurable::ClassMethods#copy_settings (method)">#copy_settings</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#default_values-instance_method" title="Mattock::Configurable::ClassMethods#default_values (method)">#default_values</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#included-instance_method" title="Mattock::Configurable::ClassMethods#included (method)">#included</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#missing_required_fields_on-instance_method" title="Mattock::Configurable::ClassMethods#missing_required_fields_on (method)">#missing_required_fields_on</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#nested-instance_method" title="Mattock::Configurable::ClassMethods#nested (method)">#nested</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#nil_fields-instance_method" title="Mattock::Configurable::ClassMethods#nil_fields (method)">#nil_fields</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#required_fields-instance_method" title="Mattock::Configurable::ClassMethods#required_fields (method)">#required_fields</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#set_defaults_on-instance_method" title="Mattock::Configurable::ClassMethods#set_defaults_on (method)">#set_defaults_on</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#setting-instance_method" title="Mattock::Configurable::ClassMethods#setting (method)">#setting</a></span>, <span class='object_link'><a href="Configurable/ClassMethods.html#settings-instance_method" title="Mattock::Configurable::ClassMethods#settings (method)">#settings</a></span></p>
|
248
|
+
|
249
|
+
|
250
|
+
<div id="instance_method_details" class="method_details_list">
|
251
|
+
<h2>Instance Method Details</h2>
|
252
|
+
|
253
|
+
|
254
|
+
<div class="method_details first">
|
255
|
+
<p class="signature first" id="confirm_configuration-instance_method">
|
256
|
+
|
257
|
+
- (<tt>Object</tt>) <strong>confirm_configuration</strong>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
</p><table class="source_code">
|
262
|
+
<tr>
|
263
|
+
<td>
|
264
|
+
<pre class="lines">
|
265
|
+
|
266
|
+
|
267
|
+
25
|
268
|
+
26
|
269
|
+
27</pre>
|
270
|
+
</td>
|
271
|
+
<td>
|
272
|
+
<pre class="code"><span class="info file"># File 'lib/mattock/cascading-definition.rb', line 25</span>
|
273
|
+
|
274
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_confirm_configuration'>confirm_configuration</span>
|
275
|
+
<span class='id identifier rubyid_check_required'>check_required</span>
|
276
|
+
<span class='kw'>end</span></pre>
|
277
|
+
</td>
|
278
|
+
</tr>
|
279
|
+
</table>
|
280
|
+
</div>
|
281
|
+
|
282
|
+
<div class="method_details ">
|
283
|
+
<p class="signature " id="default_configuration-instance_method">
|
284
|
+
|
285
|
+
- (<tt>Object</tt>) <strong>default_configuration</strong>(*tasklibs)
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
</p><table class="source_code">
|
290
|
+
<tr>
|
291
|
+
<td>
|
292
|
+
<pre class="lines">
|
293
|
+
|
294
|
+
|
295
|
+
19
|
296
|
+
20</pre>
|
297
|
+
</td>
|
298
|
+
<td>
|
299
|
+
<pre class="code"><span class="info file"># File 'lib/mattock/cascading-definition.rb', line 19</span>
|
300
|
+
|
301
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_default_configuration'>default_configuration</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_tasklibs'>tasklibs</span><span class='rparen'>)</span>
|
302
|
+
<span class='kw'>end</span></pre>
|
303
|
+
</td>
|
304
|
+
</tr>
|
305
|
+
</table>
|
306
|
+
</div>
|
307
|
+
|
308
|
+
<div class="method_details ">
|
309
|
+
<p class="signature " id="define-instance_method">
|
310
|
+
|
311
|
+
- (<tt>Object</tt>) <strong>define</strong>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
</p><table class="source_code">
|
316
|
+
<tr>
|
317
|
+
<td>
|
318
|
+
<pre class="lines">
|
319
|
+
|
320
|
+
|
321
|
+
29
|
322
|
+
30</pre>
|
323
|
+
</td>
|
324
|
+
<td>
|
325
|
+
<pre class="code"><span class="info file"># File 'lib/mattock/cascading-definition.rb', line 29</span>
|
326
|
+
|
327
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_define'>define</span>
|
328
|
+
<span class='kw'>end</span></pre>
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
</table>
|
332
|
+
</div>
|
333
|
+
|
334
|
+
<div class="method_details ">
|
335
|
+
<p class="signature " id="initialize-instance_method">
|
336
|
+
|
337
|
+
- (<tt><span class='object_link'><a href="" title="Mattock::CascadingDefinition (module)">CascadingDefinition</a></span></tt>) <strong>initialize</strong>(*tasklibs) {|_self| ... }
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
</p><div class="docstring">
|
342
|
+
<div class="discussion">
|
343
|
+
|
344
|
+
<p>A new instance of CascadingDefinition</p>
|
345
|
+
|
346
|
+
|
347
|
+
</div>
|
348
|
+
</div>
|
349
|
+
<div class="tags">
|
350
|
+
|
351
|
+
<h3>Yields:</h3>
|
352
|
+
<ul class="yield">
|
353
|
+
|
354
|
+
<li>
|
355
|
+
|
356
|
+
|
357
|
+
<span class='type'>(<tt>_self</tt>)</span>
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
</li>
|
362
|
+
|
363
|
+
</ul>
|
364
|
+
<h3>Yield Parameters:</h3>
|
365
|
+
<ul class="yieldparam">
|
366
|
+
|
367
|
+
<li>
|
368
|
+
|
369
|
+
<span class='name'>_self</span>
|
370
|
+
|
371
|
+
|
372
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Mattock::CascadingDefinition (module)">Mattock::CascadingDefinition</a></span></tt>)</span>
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
—
|
377
|
+
<div class='inline'>
|
378
|
+
<p>the object that the method was called on</p>
|
379
|
+
</div>
|
380
|
+
|
381
|
+
</li>
|
382
|
+
|
383
|
+
</ul>
|
384
|
+
|
385
|
+
</div><table class="source_code">
|
386
|
+
<tr>
|
387
|
+
<td>
|
388
|
+
<pre class="lines">
|
389
|
+
|
390
|
+
|
391
|
+
7
|
392
|
+
8
|
393
|
+
9
|
394
|
+
10
|
395
|
+
11
|
396
|
+
12
|
397
|
+
13
|
398
|
+
14
|
399
|
+
15
|
400
|
+
16
|
401
|
+
17</pre>
|
402
|
+
</td>
|
403
|
+
<td>
|
404
|
+
<pre class="code"><span class="info file"># File 'lib/mattock/cascading-definition.rb', line 7</span>
|
405
|
+
|
406
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_tasklibs'>tasklibs</span><span class='rparen'>)</span>
|
407
|
+
<span class='id identifier rubyid_setup_defaults'>setup_defaults</span>
|
408
|
+
<span class='id identifier rubyid_default_configuration'>default_configuration</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_tasklibs'>tasklibs</span><span class='rparen'>)</span>
|
409
|
+
|
410
|
+
<span class='kw'>yield</span> <span class='kw'>self</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
411
|
+
|
412
|
+
<span class='id identifier rubyid_resolve_configuration'>resolve_configuration</span>
|
413
|
+
<span class='id identifier rubyid_confirm_configuration'>confirm_configuration</span>
|
414
|
+
|
415
|
+
<span class='id identifier rubyid_define'>define</span>
|
416
|
+
<span class='kw'>end</span></pre>
|
417
|
+
</td>
|
418
|
+
</tr>
|
419
|
+
</table>
|
420
|
+
</div>
|
421
|
+
|
422
|
+
<div class="method_details ">
|
423
|
+
<p class="signature " id="resolve_configuration-instance_method">
|
424
|
+
|
425
|
+
- (<tt>Object</tt>) <strong>resolve_configuration</strong>
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
</p><table class="source_code">
|
430
|
+
<tr>
|
431
|
+
<td>
|
432
|
+
<pre class="lines">
|
433
|
+
|
434
|
+
|
435
|
+
22
|
436
|
+
23</pre>
|
437
|
+
</td>
|
438
|
+
<td>
|
439
|
+
<pre class="code"><span class="info file"># File 'lib/mattock/cascading-definition.rb', line 22</span>
|
440
|
+
|
441
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_resolve_configuration'>resolve_configuration</span>
|
442
|
+
<span class='kw'>end</span></pre>
|
443
|
+
</td>
|
444
|
+
</tr>
|
445
|
+
</table>
|
446
|
+
</div>
|
447
|
+
|
448
|
+
</div>
|
449
|
+
|
450
|
+
</div>
|
451
|
+
|
452
|
+
<div id="footer">
|
453
|
+
Generated on Tue Mar 6 02:47:31 2012 by
|
454
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
455
|
+
0.7.5 (ruby-1.9.2).
|
456
|
+
</div>
|
457
|
+
|
458
|
+
</body>
|
459
|
+
</html>
|