nesta-plugin-admin 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,573 @@
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: Nesta::Plugin::Admin::Helpers
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 (H)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../Nesta.html" title="Nesta (module)">Nesta</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Plugin.html" title="Nesta::Plugin (module)">Plugin</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Admin.html" title="Nesta::Plugin::Admin (module)">Admin</a></span></span>
36
+ &raquo;
37
+ <span class="title">Helpers</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>Module: Nesta::Plugin::Admin::Helpers
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/nesta-plugin-admin/init.rb</dd>
83
+
84
+ </dl>
85
+ <div class="clear"></div>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <h2>
96
+ Instance Method Summary
97
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
98
+ </h2>
99
+
100
+ <ul class="summary">
101
+
102
+ <li class="public ">
103
+ <span class="summary_signature">
104
+
105
+ <a href="#admin_haml-instance_method" title="#admin_haml (instance method)">- (String) <strong>admin_haml</strong>(template, options = {}) </a>
106
+
107
+
108
+
109
+ </span>
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+ <span class="summary_desc"><div class='inline'>
120
+ <p>Override standard haml call to include special view location for admin
121
+ templates.</p>
122
+ </div></span>
123
+
124
+ </li>
125
+
126
+
127
+ <li class="public ">
128
+ <span class="summary_signature">
129
+
130
+ <a href="#authorized%3F-instance_method" title="#authorized? (instance method)">- (Boolean) <strong>authorized?</strong> </a>
131
+
132
+
133
+
134
+ </span>
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+ <span class="summary_desc"><div class='inline'>
145
+ <p>Check [Rack::Auth::Basic::Requst] for valid username and password against
146
+ [Nesta::Config.username] and</p>
147
+ <dl class="rdoc-list"><dt>Nesta::Config.password</dt>
148
+ <dd>
149
+ <p>set in config/config.yml.</p>
150
+ </dd></dl>
151
+ </div></span>
152
+
153
+ </li>
154
+
155
+
156
+ <li class="public ">
157
+ <span class="summary_signature">
158
+
159
+ <a href="#local_stylesheet_link_tag-instance_method" title="#local_stylesheet_link_tag (instance method)">- (String) <strong>local_stylesheet_link_tag</strong>(name) </a>
160
+
161
+
162
+
163
+ </span>
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <span class="summary_desc"><div class='inline'>
174
+ <p>Taken from Nesta helpers, as they weren't available in the Admin because
175
+ it's a middleware.</p>
176
+ </div></span>
177
+
178
+ </li>
179
+
180
+
181
+ <li class="public ">
182
+ <span class="summary_signature">
183
+
184
+ <a href="#path_to-instance_method" title="#path_to (instance method)">- (String) <strong>path_to</strong>(page_path, absolute = false) </a>
185
+
186
+
187
+
188
+ </span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+ <span class="summary_desc"><div class='inline'>
199
+ <p>Taken from Nesta helpers, as they weren't available in the Admin because
200
+ it's a middleware.</p>
201
+ </div></span>
202
+
203
+ </li>
204
+
205
+
206
+ <li class="public ">
207
+ <span class="summary_signature">
208
+
209
+ <a href="#protected%21-instance_method" title="#protected! (instance method)">- (Object) <strong>protected!</strong> </a>
210
+
211
+
212
+
213
+ </span>
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+ <span class="summary_desc"><div class='inline'>
224
+ <p>throw [:halt] on failure.</p>
225
+ </div></span>
226
+
227
+ </li>
228
+
229
+
230
+ </ul>
231
+
232
+
233
+
234
+
235
+ <div id="instance_method_details" class="method_details_list">
236
+ <h2>Instance Method Details</h2>
237
+
238
+
239
+ <div class="method_details first">
240
+ <h3 class="signature first" id="admin_haml-instance_method">
241
+
242
+ - (<tt>String</tt>) <strong>admin_haml</strong>(template, options = {})
243
+
244
+
245
+
246
+
247
+
248
+ </h3><div class="docstring">
249
+ <div class="discussion">
250
+
251
+ <p>Override standard haml call to include special view location for admin
252
+ templates. I know, I know, this will break templating for admin views, but
253
+ it's a small price to pay.</p>
254
+
255
+ <p>TODO: figure out a way to somehow inject these in to standard view path</p>
256
+
257
+
258
+ </div>
259
+ </div>
260
+ <div class="tags">
261
+
262
+ <p class="tag_title">Returns:</p>
263
+ <ul class="return">
264
+
265
+ <li>
266
+
267
+
268
+ <span class='type'>(<tt>String</tt>)</span>
269
+
270
+
271
+
272
+ &mdash;
273
+ <div class='inline'>
274
+ <p>rendered html from haml</p>
275
+ </div>
276
+
277
+ </li>
278
+
279
+ </ul>
280
+
281
+ </div><table class="source_code">
282
+ <tr>
283
+ <td>
284
+ <pre class="lines">
285
+
286
+
287
+ 71
288
+ 72
289
+ 73</pre>
290
+ </td>
291
+ <td>
292
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-admin/init.rb', line 71</span>
293
+
294
+ <span class='kw'>def</span> <span class='id identifier rubyid_admin_haml'>admin_haml</span> <span class='id identifier rubyid_template'>template</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
295
+ <span class='id identifier rubyid_haml'>haml</span> <span class='id identifier rubyid_template'>template</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>views:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../../views</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='label'>layout:</span> <span class='symbol'>:layout</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
296
+ <span class='kw'>end</span></pre>
297
+ </td>
298
+ </tr>
299
+ </table>
300
+ </div>
301
+
302
+ <div class="method_details ">
303
+ <h3 class="signature " id="authorized?-instance_method">
304
+
305
+ - (<tt>Boolean</tt>) <strong>authorized?</strong>
306
+
307
+
308
+
309
+
310
+
311
+ </h3><div class="docstring">
312
+ <div class="discussion">
313
+
314
+ <p>Check [Rack::Auth::Basic::Requst] for valid username and password against
315
+ [Nesta::Config.username] and</p>
316
+ <dl class="rdoc-list"><dt>Nesta::Config.password</dt>
317
+ <dd>
318
+ <p>set in config/config.yml</p>
319
+ </dd></dl>
320
+
321
+
322
+ </div>
323
+ </div>
324
+ <div class="tags">
325
+
326
+ <p class="tag_title">Returns:</p>
327
+ <ul class="return">
328
+
329
+ <li>
330
+
331
+
332
+ <span class='type'>(<tt>Boolean</tt>)</span>
333
+
334
+
335
+
336
+ </li>
337
+
338
+ </ul>
339
+
340
+ </div><table class="source_code">
341
+ <tr>
342
+ <td>
343
+ <pre class="lines">
344
+
345
+
346
+ 23
347
+ 24
348
+ 25
349
+ 26</pre>
350
+ </td>
351
+ <td>
352
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-admin/init.rb', line 23</span>
353
+
354
+ <span class='kw'>def</span> <span class='id identifier rubyid_authorized?'>authorized?</span>
355
+ <span class='ivar'>@auth</span> <span class='op'>||=</span> <span class='const'>Rack</span><span class='op'>::</span><span class='const'>Auth</span><span class='op'>::</span><span class='const'>Basic</span><span class='op'>::</span><span class='const'>Request</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
356
+ <span class='ivar'>@auth</span><span class='period'>.</span><span class='id identifier rubyid_provided?'>provided?</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@auth</span><span class='period'>.</span><span class='id identifier rubyid_basic?'>basic?</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@auth</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@auth</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span> <span class='op'>==</span> <span class='lbracket'>[</span><span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='comma'>,</span> <span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_password'>password</span><span class='rbracket'>]</span>
357
+ <span class='kw'>end</span></pre>
358
+ </td>
359
+ </tr>
360
+ </table>
361
+ </div>
362
+
363
+ <div class="method_details ">
364
+ <h3 class="signature " id="local_stylesheet_link_tag-instance_method">
365
+
366
+ - (<tt>String</tt>) <strong>local_stylesheet_link_tag</strong>(name)
367
+
368
+
369
+
370
+
371
+
372
+ </h3><div class="docstring">
373
+ <div class="discussion">
374
+
375
+ <p>Taken from Nesta helpers, as they weren't available in the Admin because
376
+ it's a middleware.</p>
377
+
378
+
379
+ </div>
380
+ </div>
381
+ <div class="tags">
382
+
383
+ <p class="tag_title">Returns:</p>
384
+ <ul class="return">
385
+
386
+ <li>
387
+
388
+
389
+ <span class='type'>(<tt>String</tt>)</span>
390
+
391
+
392
+
393
+ &mdash;
394
+ <div class='inline'>
395
+ <p>clean path for stylesheets</p>
396
+ </div>
397
+
398
+ </li>
399
+
400
+ </ul>
401
+
402
+ </div><table class="source_code">
403
+ <tr>
404
+ <td>
405
+ <pre class="lines">
406
+
407
+
408
+ 57
409
+ 58
410
+ 59
411
+ 60
412
+ 61
413
+ 62</pre>
414
+ </td>
415
+ <td>
416
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-admin/init.rb', line 57</span>
417
+
418
+ <span class='kw'>def</span> <span class='id identifier rubyid_local_stylesheet_link_tag'>local_stylesheet_link_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
419
+ <span class='id identifier rubyid_pattern'>pattern</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>views/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>.s{a,c}ss</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'>Nesta</span><span class='op'>::</span><span class='const'>App</span><span class='period'>.</span><span class='id identifier rubyid_root'>root</span><span class='rparen'>)</span>
420
+ <span class='kw'>if</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span><span class='lparen'>(</span><span class='id identifier rubyid_pattern'>pattern</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
421
+ <span class='id identifier rubyid_haml_tag'>haml_tag</span> <span class='symbol'>:link</span><span class='comma'>,</span> <span class='symbol'>:href</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_path_to'>path_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/css/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>.css</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='symbol'>:rel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>stylesheet</span><span class='tstring_end'>&quot;</span></span>
422
+ <span class='kw'>end</span>
423
+ <span class='kw'>end</span></pre>
424
+ </td>
425
+ </tr>
426
+ </table>
427
+ </div>
428
+
429
+ <div class="method_details ">
430
+ <h3 class="signature " id="path_to-instance_method">
431
+
432
+ - (<tt>String</tt>) <strong>path_to</strong>(page_path, absolute = false)
433
+
434
+
435
+
436
+
437
+
438
+ </h3><div class="docstring">
439
+ <div class="discussion">
440
+
441
+ <p>Taken from Nesta helpers, as they weren't available in the Admin because
442
+ it's a middleware.</p>
443
+
444
+
445
+ </div>
446
+ </div>
447
+ <div class="tags">
448
+
449
+ <p class="tag_title">Returns:</p>
450
+ <ul class="return">
451
+
452
+ <li>
453
+
454
+
455
+ <span class='type'>(<tt>String</tt>)</span>
456
+
457
+
458
+
459
+ &mdash;
460
+ <div class='inline'>
461
+ <p>clean path for linking</p>
462
+ </div>
463
+
464
+ </li>
465
+
466
+ </ul>
467
+
468
+ </div><table class="source_code">
469
+ <tr>
470
+ <td>
471
+ <pre class="lines">
472
+
473
+
474
+ 36
475
+ 37
476
+ 38
477
+ 39
478
+ 40
479
+ 41
480
+ 42
481
+ 43
482
+ 44
483
+ 45
484
+ 46
485
+ 47
486
+ 48
487
+ 49
488
+ 50
489
+ 51</pre>
490
+ </td>
491
+ <td>
492
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-admin/init.rb', line 36</span>
493
+
494
+ <span class='kw'>def</span> <span class='id identifier rubyid_path_to'>path_to</span><span class='lparen'>(</span><span class='id identifier rubyid_page_path'>page_path</span><span class='comma'>,</span> <span class='id identifier rubyid_absolute'>absolute</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
495
+ <span class='id identifier rubyid_host'>host</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
496
+ <span class='kw'>if</span> <span class='id identifier rubyid_absolute'>absolute</span>
497
+ <span class='id identifier rubyid_host'>host</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>http</span><span class='embexpr_beg'>#{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>s</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_ssl?'>ssl?</span><span class='rbrace'>}</span><span class='tstring_content'>://</span><span class='tstring_end'>&quot;</span></span>
498
+ <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_env'>env</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>HTTP_X_FORWARDED_HOST</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>or</span>
499
+ <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_port'>port</span> <span class='op'>!=</span> <span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_ssl?'>ssl?</span> <span class='op'>?</span> <span class='int'>443</span> <span class='op'>:</span> <span class='int'>80</span><span class='rparen'>)</span><span class='rparen'>)</span>
500
+ <span class='id identifier rubyid_host'>host</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_host_with_port'>host_with_port</span>
501
+ <span class='kw'>else</span>
502
+ <span class='id identifier rubyid_host'>host</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_host'>host</span>
503
+ <span class='kw'>end</span>
504
+ <span class='kw'>end</span>
505
+ <span class='id identifier rubyid_uri_parts'>uri_parts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_host'>host</span><span class='rbracket'>]</span>
506
+ <span class='id identifier rubyid_uri_parts'>uri_parts</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_script_name'>script_name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_script_name'>script_name</span>
507
+ <span class='id identifier rubyid_uri_parts'>uri_parts</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_page_path'>page_path</span>
508
+ <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_uri_parts'>uri_parts</span><span class='rparen'>)</span>
509
+ <span class='kw'>end</span></pre>
510
+ </td>
511
+ </tr>
512
+ </table>
513
+ </div>
514
+
515
+ <div class="method_details ">
516
+ <h3 class="signature " id="protected!-instance_method">
517
+
518
+ - (<tt>Object</tt>) <strong>protected!</strong>
519
+
520
+
521
+
522
+
523
+
524
+ </h3><div class="docstring">
525
+ <div class="discussion">
526
+
527
+ <p>throw [:halt] on failure</p>
528
+
529
+
530
+ </div>
531
+ </div>
532
+ <div class="tags">
533
+
534
+
535
+ </div><table class="source_code">
536
+ <tr>
537
+ <td>
538
+ <pre class="lines">
539
+
540
+
541
+ 11
542
+ 12
543
+ 13
544
+ 14
545
+ 15
546
+ 16</pre>
547
+ </td>
548
+ <td>
549
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-admin/init.rb', line 11</span>
550
+
551
+ <span class='kw'>def</span> <span class='id identifier rubyid_protected!'>protected!</span>
552
+ <span class='kw'>unless</span> <span class='id identifier rubyid_authorized?'>authorized?</span>
553
+ <span class='id identifier rubyid_response'>response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>WWW-Authenticate</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>%(</span><span class='tstring_content'>Basic realm=&quot;Restricted Area&quot;</span><span class='tstring_end'>)</span></span>
554
+ <span class='id identifier rubyid_throw'>throw</span><span class='lparen'>(</span><span class='symbol'>:halt</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='int'>401</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Not authorized\n</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
555
+ <span class='kw'>end</span>
556
+ <span class='kw'>end</span></pre>
557
+ </td>
558
+ </tr>
559
+ </table>
560
+ </div>
561
+
562
+ </div>
563
+
564
+ </div>
565
+
566
+ <div id="footer">
567
+ Generated on Wed Aug 22 04:41:54 2012 by
568
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
569
+ 0.8.2.1 (ruby-1.9.3).
570
+ </div>
571
+
572
+ </body>
573
+ </html>