mattock 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/Specifications +0 -37
- data/lib/mattock/cascading-definition.rb +36 -0
- data/lib/mattock/configurable.rb +46 -5
- data/lib/mattock/tasklib.rb +47 -1
- data/lib/mattock/yard_extensions.rb +10 -0
- metadata +3 -213
- data/doc/FileSandbox.html +0 -537
- data/doc/FileSandbox/HaveContents.html +0 -279
- data/doc/FileSandbox/Sandbox.html +0 -525
- data/doc/FileSandbox/SandboxFile.html +0 -622
- data/doc/Mattock.html +0 -137
- data/doc/Mattock/CascadingDefinition.html +0 -459
- data/doc/Mattock/CommandChain.html +0 -456
- data/doc/Mattock/CommandLine.html +0 -1312
- data/doc/Mattock/CommandLineExampleGroup.html +0 -282
- data/doc/Mattock/CommandLineExampleGroup/Matchers.html +0 -109
- data/doc/Mattock/CommandRunResult.html +0 -643
- data/doc/Mattock/CommandTask.html +0 -464
- data/doc/Mattock/Configurable.html +0 -609
- data/doc/Mattock/Configurable/ClassMethods.html +0 -754
- data/doc/Mattock/Configurable/Struct.html +0 -148
- data/doc/Mattock/FileCreationTask.html +0 -177
- data/doc/Mattock/FileTask.html +0 -177
- data/doc/Mattock/MockCommandResult.html +0 -445
- data/doc/Mattock/MultiTask.html +0 -177
- data/doc/Mattock/PipelineChain.html +0 -221
- data/doc/Mattock/PrereqChain.html +0 -221
- data/doc/Mattock/RakeExampleGroup.html +0 -292
- data/doc/Mattock/RakeExampleGroup/Matchers.html +0 -109
- data/doc/Mattock/RakeExampleGroup/TaskManager.html +0 -131
- data/doc/Mattock/RemoteCommandTask.html +0 -423
- data/doc/Mattock/ShellEscaped.html +0 -315
- data/doc/Mattock/Task.html +0 -181
- data/doc/Mattock/TaskLib.html +0 -755
- data/doc/Mattock/TaskMixin.html +0 -668
- data/doc/Mattock/TaskMixin/ClassMethods.html +0 -166
- data/doc/Mattock/TemplateHost.html +0 -320
- data/doc/Mattock/ValiseManager.html +0 -257
- data/doc/Mattock/WrappingChain.html +0 -221
- data/doc/Mattock/YARDExtensions.html +0 -110
- data/doc/Mattock/YARDExtensions/DefineHandler.html +0 -253
- data/doc/Mattock/YARDExtensions/NilFieldsHandler.html +0 -258
- data/doc/Mattock/YARDExtensions/RequiredFieldsHandler.html +0 -205
- data/doc/Mattock/YARDExtensions/SettingHandler.html +0 -529
- data/doc/Mattock/YARDExtensions/SettingsHandler.html +0 -207
- data/doc/RSpecTest.html +0 -233
- data/doc/Ungemmer.html +0 -282
- data/doc/_index.html +0 -435
- data/doc/class_list.html +0 -47
- data/doc/coverage/assets/0.5.3/app.js +0 -88
- data/doc/coverage/assets/0.5.3/fancybox/blank.gif +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_close.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_loading.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_nav_left.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_nav_right.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_e.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_n.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_s.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_se.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_shadow_w.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_title_left.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_title_main.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_title_over.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancy_title_right.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancybox-x.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancybox-y.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/fancybox.png +0 -0
- data/doc/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.css +0 -363
- data/doc/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.pack.js +0 -44
- data/doc/coverage/assets/0.5.3/favicon_green.png +0 -0
- data/doc/coverage/assets/0.5.3/favicon_red.png +0 -0
- data/doc/coverage/assets/0.5.3/favicon_yellow.png +0 -0
- data/doc/coverage/assets/0.5.3/highlight.css +0 -129
- data/doc/coverage/assets/0.5.3/highlight.pack.js +0 -1
- data/doc/coverage/assets/0.5.3/jquery-1.6.2.min.js +0 -18
- data/doc/coverage/assets/0.5.3/jquery.dataTables.min.js +0 -152
- data/doc/coverage/assets/0.5.3/jquery.timeago.js +0 -141
- data/doc/coverage/assets/0.5.3/jquery.url.js +0 -174
- data/doc/coverage/assets/0.5.3/loading.gif +0 -0
- data/doc/coverage/assets/0.5.3/magnify.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/doc/coverage/assets/0.5.3/smoothness/jquery-ui-1.8.4.custom.css +0 -295
- data/doc/coverage/assets/0.5.3/stylesheet.css +0 -383
- data/doc/coverage/index.html +0 -5169
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.README.html +0 -107
- data/doc/file_list.html +0 -49
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -107
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -173
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -950
- data/doc/top-level-namespace.html +0 -107
@@ -1,110 +0,0 @@
|
|
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::YARDExtensions
|
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 (Y)</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">YARDExtensions</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::YARDExtensions
|
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/yard_extensions.rb</dd>
|
76
|
-
|
77
|
-
</dl>
|
78
|
-
<div class="clear"></div>
|
79
|
-
|
80
|
-
|
81
|
-
<h2>Defined Under Namespace</h2>
|
82
|
-
<p class="children">
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="YARDExtensions/DefineHandler.html" title="Mattock::YARDExtensions::DefineHandler (class)">DefineHandler</a></span>, <span class='object_link'><a href="YARDExtensions/NilFieldsHandler.html" title="Mattock::YARDExtensions::NilFieldsHandler (class)">NilFieldsHandler</a></span>, <span class='object_link'><a href="YARDExtensions/RequiredFieldsHandler.html" title="Mattock::YARDExtensions::RequiredFieldsHandler (class)">RequiredFieldsHandler</a></span>, <span class='object_link'><a href="YARDExtensions/SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span>, <span class='object_link'><a href="YARDExtensions/SettingsHandler.html" title="Mattock::YARDExtensions::SettingsHandler (class)">SettingsHandler</a></span>
|
88
|
-
|
89
|
-
|
90
|
-
</p>
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
</div>
|
102
|
-
|
103
|
-
<div id="footer">
|
104
|
-
Generated on Tue Mar 6 02:47:29 2012 by
|
105
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
106
|
-
0.7.5 (ruby-1.9.2).
|
107
|
-
</div>
|
108
|
-
|
109
|
-
</body>
|
110
|
-
</html>
|
@@ -1,253 +0,0 @@
|
|
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::YARDExtensions::DefineHandler
|
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 (D)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../../Mattock.html" title="Mattock (module)">Mattock</a></span></span> » <span class='title'><span class='object_link'><a href="../YARDExtensions.html" title="Mattock::YARDExtensions (module)">YARDExtensions</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">DefineHandler</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::YARDExtensions::DefineHandler
|
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">YARD::Handlers::Ruby::Base</span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">YARD::Handlers::Ruby::Base</li>
|
75
|
-
|
76
|
-
<li class="next">Mattock::YARDExtensions::DefineHandler</li>
|
77
|
-
|
78
|
-
</ul>
|
79
|
-
<a href="#" class="inheritanceTree">show all</a>
|
80
|
-
|
81
|
-
</dd>
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<dt class="r2 last">Defined in:</dt>
|
92
|
-
<dd class="r2 last">lib/mattock/yard_extensions.rb</dd>
|
93
|
-
|
94
|
-
</dl>
|
95
|
-
<div class="clear"></div>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<h2>
|
108
|
-
Instance Method Summary
|
109
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
110
|
-
</h2>
|
111
|
-
|
112
|
-
<ul class="summary">
|
113
|
-
|
114
|
-
<li class="public ">
|
115
|
-
<span class="summary_signature">
|
116
|
-
|
117
|
-
<a href="#mattock_defining%3F-instance_method" title="#mattock_defining? (instance method)">- (Boolean) <strong>mattock_defining?</strong>(obj, method) </a>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
</span>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
|
135
|
-
<li class="public ">
|
136
|
-
<span class="summary_signature">
|
137
|
-
|
138
|
-
<a href="#process-instance_method" title="#process (instance method)">- (Object) <strong>process</strong> </a>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
</span>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
152
|
-
|
153
|
-
</li>
|
154
|
-
|
155
|
-
|
156
|
-
</ul>
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<div id="instance_method_details" class="method_details_list">
|
163
|
-
<h2>Instance Method Details</h2>
|
164
|
-
|
165
|
-
|
166
|
-
<div class="method_details first">
|
167
|
-
<p class="signature first" id="mattock_defining?-instance_method">
|
168
|
-
|
169
|
-
- (<tt>Boolean</tt>) <strong>mattock_defining?</strong>(obj, method)
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
</p><div class="docstring">
|
174
|
-
<div class="discussion">
|
175
|
-
|
176
|
-
|
177
|
-
</div>
|
178
|
-
</div>
|
179
|
-
<div class="tags">
|
180
|
-
|
181
|
-
<h3>Returns:</h3>
|
182
|
-
<ul class="return">
|
183
|
-
|
184
|
-
<li>
|
185
|
-
|
186
|
-
|
187
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
</li>
|
192
|
-
|
193
|
-
</ul>
|
194
|
-
|
195
|
-
</div><table class="source_code">
|
196
|
-
<tr>
|
197
|
-
<td>
|
198
|
-
<pre class="lines">
|
199
|
-
|
200
|
-
|
201
|
-
18</pre>
|
202
|
-
</td>
|
203
|
-
<td>
|
204
|
-
<pre class="code"><span class="info file"># File 'lib/mattock/yard_extensions.rb', line 18</span>
|
205
|
-
|
206
|
-
<span class='id identifier rubyid_d'>d</span></pre>
|
207
|
-
</td>
|
208
|
-
</tr>
|
209
|
-
</table>
|
210
|
-
</div>
|
211
|
-
|
212
|
-
<div class="method_details ">
|
213
|
-
<p class="signature " id="process-instance_method">
|
214
|
-
|
215
|
-
- (<tt>Object</tt>) <strong>process</strong>
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
</p><table class="source_code">
|
220
|
-
<tr>
|
221
|
-
<td>
|
222
|
-
<pre class="lines">
|
223
|
-
|
224
|
-
|
225
|
-
20
|
226
|
-
21
|
227
|
-
22
|
228
|
-
23</pre>
|
229
|
-
</td>
|
230
|
-
<td>
|
231
|
-
<pre class="code"><span class="info file"># File 'lib/mattock/yard_extensions.rb', line 20</span>
|
232
|
-
|
233
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span>
|
234
|
-
<span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_mattock_defining?'>mattock_defining?</span><span class='lparen'>(</span><span class='id identifier rubyid_namespace'>namespace</span><span class='comma'>,</span> <span class='id identifier rubyid_statement'>statement</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
235
|
-
<span class='id identifier rubyid_namespace'>namespace</span><span class='lbracket'>[</span><span class='symbol'>:task_definition</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_statement'>statement</span><span class='lbracket'>[</span><span class='int'>2</span><span class='rbracket'>]</span>
|
236
|
-
<span class='kw'>end</span></pre>
|
237
|
-
</td>
|
238
|
-
</tr>
|
239
|
-
</table>
|
240
|
-
</div>
|
241
|
-
|
242
|
-
</div>
|
243
|
-
|
244
|
-
</div>
|
245
|
-
|
246
|
-
<div id="footer">
|
247
|
-
Generated on Tue Mar 6 02:47:30 2012 by
|
248
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
249
|
-
0.7.5 (ruby-1.9.2).
|
250
|
-
</div>
|
251
|
-
|
252
|
-
</body>
|
253
|
-
</html>
|
@@ -1,258 +0,0 @@
|
|
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::YARDExtensions::NilFieldsHandler
|
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 (N)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../../Mattock.html" title="Mattock (module)">Mattock</a></span></span> » <span class='title'><span class='object_link'><a href="../YARDExtensions.html" title="Mattock::YARDExtensions (module)">YARDExtensions</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">NilFieldsHandler</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::YARDExtensions::NilFieldsHandler
|
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="SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span></span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">YARD::Handlers::Ruby::Base</li>
|
75
|
-
|
76
|
-
<li class="next"><span class='object_link'><a href="SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span></li>
|
77
|
-
|
78
|
-
<li class="next">Mattock::YARDExtensions::NilFieldsHandler</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/yard_extensions.rb</dd>
|
95
|
-
|
96
|
-
</dl>
|
97
|
-
<div class="clear"></div>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<h2>
|
110
|
-
Instance Method Summary
|
111
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
112
|
-
</h2>
|
113
|
-
|
114
|
-
<ul class="summary">
|
115
|
-
|
116
|
-
<li class="public ">
|
117
|
-
<span class="summary_signature">
|
118
|
-
|
119
|
-
<a href="#a_nil-instance_method" title="#a_nil (instance method)">- (Object) <strong>a_nil</strong> </a>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
133
|
-
|
134
|
-
</li>
|
135
|
-
|
136
|
-
|
137
|
-
<li class="public ">
|
138
|
-
<span class="summary_signature">
|
139
|
-
|
140
|
-
<a href="#process-instance_method" title="#process (instance method)">- (Object) <strong>process</strong> </a>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
</span>
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
154
|
-
|
155
|
-
</li>
|
156
|
-
|
157
|
-
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span></h3>
|
170
|
-
<p class="inherited"><span class='object_link'><a href="SettingHandler.html#append_name-instance_method" title="Mattock::YARDExtensions::SettingHandler#append_name (method)">#append_name</a></span>, <span class='object_link'><a href="SettingHandler.html#extract_name-instance_method" title="Mattock::YARDExtensions::SettingHandler#extract_name (method)">#extract_name</a></span>, <span class='object_link'><a href="SettingHandler.html#mattock_configurable%3F-instance_method" title="Mattock::YARDExtensions::SettingHandler#mattock_configurable? (method)">#mattock_configurable?</a></span>, <span class='object_link'><a href="SettingHandler.html#synthetic_setting-instance_method" title="Mattock::YARDExtensions::SettingHandler#synthetic_setting (method)">#synthetic_setting</a></span></p>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
<div id="instance_method_details" class="method_details_list">
|
176
|
-
<h2>Instance Method Details</h2>
|
177
|
-
|
178
|
-
|
179
|
-
<div class="method_details first">
|
180
|
-
<p class="signature first" id="a_nil-instance_method">
|
181
|
-
|
182
|
-
- (<tt>Object</tt>) <strong>a_nil</strong>
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
</p><table class="source_code">
|
187
|
-
<tr>
|
188
|
-
<td>
|
189
|
-
<pre class="lines">
|
190
|
-
|
191
|
-
|
192
|
-
131
|
193
|
-
132
|
194
|
-
133
|
195
|
-
134
|
196
|
-
135</pre>
|
197
|
-
</td>
|
198
|
-
<td>
|
199
|
-
<pre class="code"><span class="info file"># File 'lib/mattock/yard_extensions.rb', line 131</span>
|
200
|
-
|
201
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_a_nil'>a_nil</span>
|
202
|
-
<span class='id identifier rubyid_v'>v</span> <span class='op'>=</span> <span class='id identifier rubyid_s'>s</span><span class='lparen'>(</span><span class='symbol'>:kw</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
203
|
-
<span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_full_source'>full_source</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>nil</span><span class='tstring_end'>"</span></span>
|
204
|
-
<span class='id identifier rubyid_v'>v</span>
|
205
|
-
<span class='kw'>end</span></pre>
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
</table>
|
209
|
-
</div>
|
210
|
-
|
211
|
-
<div class="method_details ">
|
212
|
-
<p class="signature " id="process-instance_method">
|
213
|
-
|
214
|
-
- (<tt>Object</tt>) <strong>process</strong>
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
</p><table class="source_code">
|
219
|
-
<tr>
|
220
|
-
<td>
|
221
|
-
<pre class="lines">
|
222
|
-
|
223
|
-
|
224
|
-
137
|
225
|
-
138
|
226
|
-
139
|
227
|
-
140
|
228
|
-
141
|
229
|
-
142
|
230
|
-
143</pre>
|
231
|
-
</td>
|
232
|
-
<td>
|
233
|
-
<pre class="code"><span class="info file"># File 'lib/mattock/yard_extensions.rb', line 137</span>
|
234
|
-
|
235
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span>
|
236
|
-
<span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_mattock_configurable?'>mattock_configurable?</span><span class='lparen'>(</span><span class='id identifier rubyid_namespace'>namespace</span><span class='rparen'>)</span>
|
237
|
-
<span class='id identifier rubyid_remapped'>remapped</span> <span class='op'>=</span> <span class='id identifier rubyid_statement'>statement</span><span class='period'>.</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='op'>|</span>
|
238
|
-
<span class='id identifier rubyid_synthetic_setting'>synthetic_setting</span><span class='lparen'>(</span><span class='id identifier rubyid_extract_name'>extract_name</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_a_nil'>a_nil</span><span class='rparen'>)</span>
|
239
|
-
<span class='kw'>end</span>
|
240
|
-
<span class='id identifier rubyid_parser'>parser</span><span class='period'>.</span><span class='id identifier rubyid_process'>process</span><span class='lparen'>(</span><span class='id identifier rubyid_remapped'>remapped</span><span class='rparen'>)</span>
|
241
|
-
<span class='kw'>end</span></pre>
|
242
|
-
</td>
|
243
|
-
</tr>
|
244
|
-
</table>
|
245
|
-
</div>
|
246
|
-
|
247
|
-
</div>
|
248
|
-
|
249
|
-
</div>
|
250
|
-
|
251
|
-
<div id="footer">
|
252
|
-
Generated on Tue Mar 6 02:47:30 2012 by
|
253
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
254
|
-
0.7.5 (ruby-1.9.2).
|
255
|
-
</div>
|
256
|
-
|
257
|
-
</body>
|
258
|
-
</html>
|