henry-container 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/.gitignore +2 -0
  2. data/.rvmrc +1 -0
  3. data/.yardoc/checksums +6 -0
  4. data/.yardoc/object_types +0 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/.yardoc/proxy_types +0 -0
  7. data/Gemfile +4 -0
  8. data/Rakefile +2 -0
  9. data/bin/henry-ruby-container +23 -0
  10. data/doc/Henry.html +128 -0
  11. data/doc/Henry/Container.html +325 -0
  12. data/doc/Henry/Task.html +551 -0
  13. data/doc/Henry/Task/CucumberTask.html +299 -0
  14. data/doc/Henry/Task/RspecTask.html +299 -0
  15. data/doc/_index.html +153 -0
  16. data/doc/class_list.html +53 -0
  17. data/doc/css/common.css +1 -0
  18. data/doc/css/full_list.css +57 -0
  19. data/doc/css/style.css +328 -0
  20. data/doc/file_list.html +52 -0
  21. data/doc/frames.html +28 -0
  22. data/doc/index.html +153 -0
  23. data/doc/js/app.js +214 -0
  24. data/doc/js/full_list.js +173 -0
  25. data/doc/js/jquery.js +4 -0
  26. data/doc/method_list.html +124 -0
  27. data/doc/top-level-namespace.html +112 -0
  28. data/{henry-container-0.0.1.gem → gems/henry-container-0.0.1.gem} +0 -0
  29. data/{henry-container-0.0.2.gem → gems/henry-container-0.0.2.gem} +0 -0
  30. data/{henry-container-0.0.3.gem → gems/henry-container-0.0.3.gem} +0 -0
  31. data/{henry-container-0.0.4.gem → gems/henry-container-0.0.4.gem} +0 -0
  32. data/{henry-container-0.0.5.gem → gems/henry-container-0.0.5.gem} +0 -0
  33. data/{henry-container-0.0.6.gem → gems/henry-container-0.0.6.gem} +0 -0
  34. data/gems/henry-container-0.0.7.gem +0 -0
  35. data/gems/henry-container-0.0.8.gem +0 -0
  36. data/henry-container.gemspec +24 -0
  37. data/henry-context.yml.sample +4 -0
  38. data/in.henry.sample +14 -0
  39. data/lib/.yardoc/checksums +0 -0
  40. data/lib/.yardoc/object_types +0 -0
  41. data/lib/.yardoc/objects/root.dat +0 -0
  42. data/lib/.yardoc/proxy_types +0 -0
  43. data/lib/henry.rb +8 -0
  44. data/lib/henry/.yardoc/checksums +0 -0
  45. data/lib/henry/.yardoc/object_types +0 -0
  46. data/lib/henry/.yardoc/objects/root.dat +0 -0
  47. data/lib/henry/.yardoc/proxy_types +0 -0
  48. data/lib/henry/container.rb +151 -0
  49. data/lib/henry/container/version.rb +11 -0
  50. data/lib/henry/task.rb +32 -0
  51. data/lib/henry/task/cucumber_task.rb +50 -0
  52. data/lib/henry/task/rspec_task.rb +50 -0
  53. metadata +55 -8
@@ -0,0 +1,551 @@
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
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 (T)</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">Task</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
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::Task</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/task.rb<span class="defines">,<br />
98
+ lib/henry/task/rspec_task.rb,<br /> lib/henry/task/cucumber_task.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 Task</p>
108
+
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div><div id="subclasses">
116
+ <h2>Direct Known Subclasses</h2>
117
+ <p class="children"><span class='object_link'><a href="Task/CucumberTask.html" title="Henry::Task::CucumberTask (class)">CucumberTask</a></span>, <span class='object_link'><a href="Task/RspecTask.html" title="Henry::Task::RspecTask (class)">RspecTask</a></span></p>
118
+ </div>
119
+ <h2>Defined Under Namespace</h2>
120
+ <p class="children">
121
+
122
+
123
+
124
+
125
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Task/CucumberTask.html" title="Henry::Task::CucumberTask (class)">CucumberTask</a></span>, <span class='object_link'><a href="Task/RspecTask.html" title="Henry::Task::RspecTask (class)">RspecTask</a></span>
126
+
127
+
128
+ </p>
129
+
130
+
131
+
132
+
133
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
134
+ <ul class="summary">
135
+
136
+ <li class="public ">
137
+ <span class="summary_signature">
138
+
139
+ <a href="#data-instance_method" title="#data (instance method)">- (Object) <strong>data</strong> </a>
140
+
141
+
142
+
143
+ </span>
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'>
157
+ <p>Accessors for name and data.</p>
158
+ </div></span>
159
+
160
+ </li>
161
+
162
+
163
+ <li class="public ">
164
+ <span class="summary_signature">
165
+
166
+ <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
167
+
168
+
169
+
170
+ </span>
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <span class="summary_desc"><div class='inline'>
184
+ <p>Accessors for name and data.</p>
185
+ </div></span>
186
+
187
+ </li>
188
+
189
+
190
+ </ul>
191
+
192
+
193
+
194
+
195
+
196
+ <h2>
197
+ Class Method Summary
198
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
199
+ </h2>
200
+
201
+ <ul class="summary">
202
+
203
+ <li class="public ">
204
+ <span class="summary_signature">
205
+
206
+ <a href="#create-class_method" title="create (class method)">+ (Task) <strong>create</strong>(name, data) </a>
207
+
208
+
209
+
210
+ </span>
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+ <span class="summary_desc"><div class='inline'>
221
+ <p>Returns an instance of the target Task class.</p>
222
+ </div></span>
223
+
224
+ </li>
225
+
226
+
227
+ </ul>
228
+
229
+ <h2>
230
+ Instance Method Summary
231
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
232
+ </h2>
233
+
234
+ <ul class="summary">
235
+
236
+ <li class="public ">
237
+ <span class="summary_signature">
238
+
239
+ <a href="#execute-instance_method" title="#execute (instance method)">- (Object) <strong>execute</strong>(params) </a>
240
+
241
+
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+ <span class="summary_desc"><div class='inline'>
254
+ <p>Nothing to be done here yet...</p>
255
+ </div></span>
256
+
257
+ </li>
258
+
259
+
260
+ <li class="public ">
261
+ <span class="summary_signature">
262
+
263
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Task) <strong>initialize</strong>(name, data) </a>
264
+
265
+
266
+
267
+ </span>
268
+
269
+
270
+ <span class="note title constructor">constructor</span>
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+ <span class="summary_desc"><div class='inline'>
280
+ <p>Initialize the Task with the given name and data.</p>
281
+ </div></span>
282
+
283
+ </li>
284
+
285
+
286
+ </ul>
287
+
288
+
289
+ <div id="constructor_details" class="method_details_list">
290
+ <h2>Constructor Details</h2>
291
+
292
+ <div class="method_details first">
293
+ <h3 class="signature first" id="initialize-instance_method">
294
+
295
+ - (<tt><span class='object_link'><a href="" title="Henry::Task (class)">Task</a></span></tt>) <strong>initialize</strong>(name, data)
296
+
297
+
298
+
299
+
300
+
301
+ </h3><div class="docstring">
302
+ <div class="discussion">
303
+
304
+ <p>Initialize the Task with the given name and data.</p>
305
+
306
+
307
+ </div>
308
+ </div>
309
+ <div class="tags">
310
+
311
+
312
+ </div><table class="source_code">
313
+ <tr>
314
+ <td>
315
+ <pre class="lines">
316
+
317
+
318
+ 21
319
+ 22
320
+ 23
321
+ 24</pre>
322
+ </td>
323
+ <td>
324
+ <pre class="code"><span class="info file"># File 'lib/henry/task.rb', line 21</span>
325
+
326
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
327
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
328
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='const'>OpenStruct</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
329
+ <span class='kw'>end</span></pre>
330
+ </td>
331
+ </tr>
332
+ </table>
333
+ </div>
334
+
335
+ </div>
336
+
337
+ <div id="instance_attr_details" class="attr_details">
338
+ <h2>Instance Attribute Details</h2>
339
+
340
+
341
+ <span id="data=-instance_method"></span>
342
+ <div class="method_details first">
343
+ <h3 class="signature first" id="data-instance_method">
344
+
345
+ - (<tt>Object</tt>) <strong>data</strong>
346
+
347
+
348
+
349
+
350
+
351
+ </h3><div class="docstring">
352
+ <div class="discussion">
353
+
354
+ <p>Accessors for name and data</p>
355
+
356
+
357
+ </div>
358
+ </div>
359
+ <div class="tags">
360
+
361
+
362
+ </div><table class="source_code">
363
+ <tr>
364
+ <td>
365
+ <pre class="lines">
366
+
367
+
368
+ 10
369
+ 11
370
+ 12</pre>
371
+ </td>
372
+ <td>
373
+ <pre class="code"><span class="info file"># File 'lib/henry/task.rb', line 10</span>
374
+
375
+ <span class='kw'>def</span> <span class='id identifier rubyid_data'>data</span>
376
+ <span class='ivar'>@data</span>
377
+ <span class='kw'>end</span></pre>
378
+ </td>
379
+ </tr>
380
+ </table>
381
+ </div>
382
+
383
+
384
+ <span id="name=-instance_method"></span>
385
+ <div class="method_details ">
386
+ <h3 class="signature " id="name-instance_method">
387
+
388
+ - (<tt>Object</tt>) <strong>name</strong>
389
+
390
+
391
+
392
+
393
+
394
+ </h3><div class="docstring">
395
+ <div class="discussion">
396
+
397
+ <p>Accessors for name and data</p>
398
+
399
+
400
+ </div>
401
+ </div>
402
+ <div class="tags">
403
+
404
+
405
+ </div><table class="source_code">
406
+ <tr>
407
+ <td>
408
+ <pre class="lines">
409
+
410
+
411
+ 10
412
+ 11
413
+ 12</pre>
414
+ </td>
415
+ <td>
416
+ <pre class="code"><span class="info file"># File 'lib/henry/task.rb', line 10</span>
417
+
418
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
419
+ <span class='ivar'>@name</span>
420
+ <span class='kw'>end</span></pre>
421
+ </td>
422
+ </tr>
423
+ </table>
424
+ </div>
425
+
426
+ </div>
427
+
428
+
429
+ <div id="class_method_details" class="method_details_list">
430
+ <h2>Class Method Details</h2>
431
+
432
+
433
+ <div class="method_details first">
434
+ <h3 class="signature first" id="create-class_method">
435
+
436
+ + (<tt><span class='object_link'><a href="" title="Henry::Task (class)">Task</a></span></tt>) <strong>create</strong>(name, data)
437
+
438
+
439
+
440
+
441
+
442
+ </h3><div class="docstring">
443
+ <div class="discussion">
444
+
445
+ <div class="note notetag">
446
+ <strong>Note:</strong>
447
+ <div class='inline'>
448
+ <p>Factory to create XTask instances.</p>
449
+ </div>
450
+ </div>
451
+
452
+
453
+ <p>Returns an instance of the target Task class.</p>
454
+
455
+
456
+ </div>
457
+ </div>
458
+ <div class="tags">
459
+
460
+ <p class="tag_title">Returns:</p>
461
+ <ul class="return">
462
+
463
+ <li>
464
+
465
+
466
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Henry::Task (class)">Task</a></span></tt>)</span>
467
+
468
+
469
+
470
+ </li>
471
+
472
+ </ul>
473
+
474
+ </div><table class="source_code">
475
+ <tr>
476
+ <td>
477
+ <pre class="lines">
478
+
479
+
480
+ 16
481
+ 17
482
+ 18</pre>
483
+ </td>
484
+ <td>
485
+ <pre class="code"><span class="info file"># File 'lib/henry/task.rb', line 16</span>
486
+
487
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
488
+ <span class='kw'>return</span> <span class='const'>Kernel</span><span class='period'>.</span><span class='id identifier rubyid_eval'>eval</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>class_name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
489
+ <span class='kw'>end</span></pre>
490
+ </td>
491
+ </tr>
492
+ </table>
493
+ </div>
494
+
495
+ </div>
496
+
497
+ <div id="instance_method_details" class="method_details_list">
498
+ <h2>Instance Method Details</h2>
499
+
500
+
501
+ <div class="method_details first">
502
+ <h3 class="signature first" id="execute-instance_method">
503
+
504
+ - (<tt>Object</tt>) <strong>execute</strong>(params)
505
+
506
+
507
+
508
+
509
+
510
+ </h3><div class="docstring">
511
+ <div class="discussion">
512
+
513
+ <p>Nothing to be done here yet...</p>
514
+
515
+
516
+ </div>
517
+ </div>
518
+ <div class="tags">
519
+
520
+
521
+ </div><table class="source_code">
522
+ <tr>
523
+ <td>
524
+ <pre class="lines">
525
+
526
+
527
+ 27
528
+ 28</pre>
529
+ </td>
530
+ <td>
531
+ <pre class="code"><span class="info file"># File 'lib/henry/task.rb', line 27</span>
532
+
533
+ <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>
534
+ <span class='kw'>end</span></pre>
535
+ </td>
536
+ </tr>
537
+ </table>
538
+ </div>
539
+
540
+ </div>
541
+
542
+ </div>
543
+
544
+ <div id="footer">
545
+ Generated on Thu Jul 12 11:57:32 2012 by
546
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
547
+ 0.8.2.1 (ruby-1.9.3).
548
+ </div>
549
+
550
+ </body>
551
+ </html>