henry-container 0.0.28 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,325 +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: Henry::Container
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../_index.html">Index (C)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Henry.html" title="Henry (module)">Henry</a></span></span>
36
- &raquo;
37
- <span class="title">Container</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Henry::Container
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Henry::Container</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/henry/container.rb<span class="defines">,<br />
98
- lib/henry/container/version.rb</span>
99
- </dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>Henry Container</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
- <h2>Constant Summary</h2>
117
-
118
- <dl class="constants">
119
-
120
- <dt id="VERSION-constant" class="">VERSION =
121
- <div class="docstring">
122
- <div class="discussion">
123
-
124
- <p>Current Gem version</p>
125
-
126
-
127
- </div>
128
- </div>
129
- <div class="tags">
130
-
131
-
132
- </div>
133
- </dt>
134
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.7</span><span class='tstring_end'>'</span></span></pre></dd>
135
-
136
- </dl>
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
- <h2>
147
- Instance Method Summary
148
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
149
- </h2>
150
-
151
- <ul class="summary">
152
-
153
- <li class="public ">
154
- <span class="summary_signature">
155
-
156
- <a href="#execute-instance_method" title="#execute (instance method)">- (Object) <strong>execute</strong> </a>
157
-
158
-
159
-
160
- </span>
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
- <span class="summary_desc"><div class='inline'>
171
- <p>Executes the loaded tasks and stores their results.</p>
172
- </div></span>
173
-
174
- </li>
175
-
176
-
177
- <li class="public ">
178
- <span class="summary_signature">
179
-
180
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Container) <strong>initialize</strong>(opts) </a>
181
-
182
-
183
-
184
- </span>
185
-
186
-
187
- <span class="note title constructor">constructor</span>
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
- <span class="summary_desc"><div class='inline'>
197
- <p>Nothing to be done here yet...</p>
198
- </div></span>
199
-
200
- </li>
201
-
202
-
203
- </ul>
204
-
205
-
206
- <div id="constructor_details" class="method_details_list">
207
- <h2>Constructor Details</h2>
208
-
209
- <div class="method_details first">
210
- <h3 class="signature first" id="initialize-instance_method">
211
-
212
- - (<tt><span class='object_link'><a href="" title="Henry::Container (class)">Container</a></span></tt>) <strong>initialize</strong>(opts)
213
-
214
-
215
-
216
-
217
-
218
- </h3><div class="docstring">
219
- <div class="discussion">
220
-
221
- <p>Nothing to be done here yet...</p>
222
-
223
-
224
- </div>
225
- </div>
226
- <div class="tags">
227
-
228
-
229
- </div><table class="source_code">
230
- <tr>
231
- <td>
232
- <pre class="lines">
233
-
234
-
235
- 15
236
- 16
237
- 17</pre>
238
- </td>
239
- <td>
240
- <pre class="code"><span class="info file"># File 'lib/henry/container.rb', line 15</span>
241
-
242
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
243
- <span class='ivar'>@opts</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span>
244
- <span class='kw'>end</span></pre>
245
- </td>
246
- </tr>
247
- </table>
248
- </div>
249
-
250
- </div>
251
-
252
-
253
- <div id="instance_method_details" class="method_details_list">
254
- <h2>Instance Method Details</h2>
255
-
256
-
257
- <div class="method_details first">
258
- <h3 class="signature first" id="execute-instance_method">
259
-
260
- - (<tt>Object</tt>) <strong>execute</strong>
261
-
262
-
263
-
264
-
265
-
266
- </h3><div class="docstring">
267
- <div class="discussion">
268
-
269
- <p>Executes the loaded tasks and stores their results.</p>
270
-
271
-
272
- </div>
273
- </div>
274
- <div class="tags">
275
-
276
-
277
- </div><table class="source_code">
278
- <tr>
279
- <td>
280
- <pre class="lines">
281
-
282
-
283
- 20
284
- 21
285
- 22
286
- 23
287
- 24
288
- 25
289
- 26
290
- 27
291
- 28
292
- 29
293
- 30</pre>
294
- </td>
295
- <td>
296
- <pre class="code"><span class="info file"># File 'lib/henry/container.rb', line 20</span>
297
-
298
- <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span>
299
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_before_execution'>before_execution</span>
300
-
301
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_tasks_results'>tasks_results</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_tasks'>tasks</span><span class='period'>.</span><span class='id identifier rubyid_collect'>collect</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_task'>task</span><span class='op'>|</span>
302
- <span class='id identifier rubyid_task'>task</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_task_params'>task_params</span><span class='lparen'>(</span><span class='id identifier rubyid_task'>task</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
303
- <span class='kw'>end</span>
304
-
305
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_update_results'>update_results</span>
306
-
307
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dump_results'>dump_results</span>
308
- <span class='kw'>end</span></pre>
309
- </td>
310
- </tr>
311
- </table>
312
- </div>
313
-
314
- </div>
315
-
316
- </div>
317
-
318
- <div id="footer">
319
- Generated on Thu Jul 12 11:57:32 2012 by
320
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
- 0.8.2.1 (ruby-1.9.3).
322
- </div>
323
-
324
- </body>
325
- </html>
@@ -1,299 +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: Henry::Task::CucumberTask
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../';
20
- framesUrl = "../../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../_index.html">Index (C)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../Henry.html" title="Henry (module)">Henry</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Task.html" title="Henry::Task (class)">Task</a></span></span>
36
- &raquo;
37
- <span class="title">CucumberTask</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Henry::Task::CucumberTask
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName"><span class='object_link'><a href="../Task.html" title="Henry::Task (class)">Henry::Task</a></span></span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next"><span class='object_link'><a href="../Task.html" title="Henry::Task (class)">Henry::Task</a></span></li>
82
-
83
- <li class="next">Henry::Task::CucumberTask</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/henry/task/cucumber_task.rb</dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>The Henry Task implementation for Cucumber</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
-
120
-
121
- <h2>Instance Attribute Summary</h2>
122
-
123
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Task.html" title="Henry::Task (class)">Henry::Task</a></span></h3>
124
- <p class="inherited"><span class='object_link'><a href="../Task.html#data-instance_method" title="Henry::Task#data (method)">#data</a></span>, <span class='object_link'><a href="../Task.html#name-instance_method" title="Henry::Task#name (method)">#name</a></span></p>
125
-
126
-
127
-
128
- <h2>
129
- Instance Method Summary
130
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
131
- </h2>
132
-
133
- <ul class="summary">
134
-
135
- <li class="public ">
136
- <span class="summary_signature">
137
-
138
- <a href="#execute-instance_method" title="#execute (instance method)">- (Hash) <strong>execute</strong>(params) </a>
139
-
140
-
141
-
142
- </span>
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
- <span class="summary_desc"><div class='inline'>
153
- <p>Executes the CucumberTask and returns its results.</p>
154
- </div></span>
155
-
156
- </li>
157
-
158
-
159
- </ul>
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Task.html" title="Henry::Task (class)">Henry::Task</a></span></h3>
172
- <p class="inherited"><span class='object_link'><a href="../Task.html#create-class_method" title="Henry::Task.create (method)">create</a></span>, <span class='object_link'><a href="../Task.html#initialize-instance_method" title="Henry::Task#initialize (method)">#initialize</a></span></p>
173
- <div id="constructor_details" class="method_details_list">
174
- <h2>Constructor Details</h2>
175
-
176
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Task.html#initialize-instance_method" title="Henry::Task#initialize (method)">Henry::Task</a></span></p>
177
-
178
- </div>
179
-
180
-
181
- <div id="instance_method_details" class="method_details_list">
182
- <h2>Instance Method Details</h2>
183
-
184
-
185
- <div class="method_details first">
186
- <h3 class="signature first" id="execute-instance_method">
187
-
188
- - (<tt>Hash</tt>) <strong>execute</strong>(params)
189
-
190
-
191
-
192
-
193
-
194
- </h3><div class="docstring">
195
- <div class="discussion">
196
-
197
- <p>Executes the CucumberTask and returns its results.</p>
198
-
199
-
200
- </div>
201
- </div>
202
- <div class="tags">
203
-
204
- <p class="tag_title">Returns:</p>
205
- <ul class="return">
206
-
207
- <li>
208
-
209
-
210
- <span class='type'>(<tt>Hash</tt>)</span>
211
-
212
-
213
-
214
- &mdash;
215
- <div class='inline'>
216
- <p>the CucumberTask results.</p>
217
- </div>
218
-
219
- </li>
220
-
221
- </ul>
222
-
223
- </div><table class="source_code">
224
- <tr>
225
- <td>
226
- <pre class="lines">
227
-
228
-
229
- 19
230
- 20
231
- 21
232
- 22
233
- 23
234
- 24
235
- 25
236
- 26
237
- 27
238
- 28
239
- 29
240
- 30
241
- 31
242
- 32
243
- 33
244
- 34
245
- 35
246
- 36
247
- 37
248
- 38
249
- 39
250
- 40
251
- 41
252
- 42
253
- 43</pre>
254
- </td>
255
- <td>
256
- <pre class="code"><span class="info file"># File 'lib/henry/task/cucumber_task.rb', line 19</span>
257
-
258
- <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
259
- <span class='kw'>begin</span>
260
- <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cucumber.out</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>w</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='rbrace'>}</span>
261
-
262
- <span class='comment'>#tail_pid = Process.spawn('tail -f cucumber.out')
263
- </span>
264
- <span class='const'>Rake</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cucumber</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_invoke'>invoke</span>
265
-
266
- <span class='comment'>#Process.kill(:SIGINT, tail_pid)
267
- </span>
268
- <span class='lbrace'>{</span>
269
- <span class='label'>code:</span><span class='int'>0</span><span class='comma'>,</span>
270
- <span class='label'>message:</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>OK</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
271
- <span class='label'>data:</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cucumber.out</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>r</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='comma'>,</span>
272
- <span class='label'>stacktrace:</span><span class='kw'>nil</span>
273
- <span class='rbrace'>}</span>
274
- <span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span>
275
- <span class='lbrace'>{</span>
276
- <span class='label'>code:</span><span class='int'>2</span><span class='comma'>,</span>
277
- <span class='label'>message:</span><span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span>
278
- <span class='label'>data:</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cucumber.out</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>r</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='comma'>,</span>
279
- <span class='label'>stacktrace:</span><span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_backtrace'>backtrace</span>
280
- <span class='rbrace'>}</span>
281
- <span class='kw'>end</span>
282
- <span class='kw'>end</span></pre>
283
- </td>
284
- </tr>
285
- </table>
286
- </div>
287
-
288
- </div>
289
-
290
- </div>
291
-
292
- <div id="footer">
293
- Generated on Thu Jul 12 11:57:32 2012 by
294
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
295
- 0.8.2.1 (ruby-1.9.3).
296
- </div>
297
-
298
- </body>
299
- </html>