workbook 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardoc/checksums +18 -0
- data/.yardoc/object_types +3 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile.lock +1 -1
- data/{readme.markdown → README.md} +36 -10
- data/doc/RubyXL.html +128 -0
- data/doc/RubyXL/Cell.html +202 -0
- data/doc/RubyXL/Workbook.html +447 -0
- data/doc/Workbook.html +130 -0
- data/doc/Workbook/Book.html +1484 -0
- data/doc/Workbook/Cell.html +1402 -0
- data/doc/Workbook/Format.html +654 -0
- data/doc/Workbook/Modules.html +117 -0
- data/doc/Workbook/Modules/RawObjectsStorage.html +508 -0
- data/doc/Workbook/Modules/TableDiffSort.html +620 -0
- data/doc/Workbook/Modules/TypeParser.html +1012 -0
- data/doc/Workbook/Readers.html +117 -0
- data/doc/Workbook/Readers/CsvReader.html +262 -0
- data/doc/Workbook/Readers/TxtReader.html +238 -0
- data/doc/Workbook/Readers/XlsReader.html +362 -0
- data/doc/Workbook/Readers/XlsShared.html +189 -0
- data/doc/Workbook/Readers/XlsxReader.html +295 -0
- data/doc/Workbook/Row.html +1939 -0
- data/doc/Workbook/Sheet.html +528 -0
- data/doc/Workbook/Table.html +883 -0
- data/doc/Workbook/Template.html +639 -0
- data/doc/Workbook/Writers.html +117 -0
- data/doc/Workbook/Writers/CsvTableWriter.html +175 -0
- data/doc/Workbook/Writers/XlsWriter.html +865 -0
- data/doc/_index.html +336 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +328 -0
- data/doc/file.README.html +236 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +236 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +972 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/workbook/book.rb +38 -29
- data/lib/workbook/cell.rb +25 -0
- data/lib/workbook/format.rb +9 -2
- data/lib/workbook/modules/raw_objects_storage.rb +5 -0
- data/lib/workbook/modules/table_diff_sort.rb +8 -6
- data/lib/workbook/modules/type_parser.rb +16 -3
- data/lib/workbook/readers/xls_reader.rb +1 -70
- data/lib/workbook/readers/xls_shared.rb +75 -0
- data/lib/workbook/row.rb +89 -17
- data/lib/workbook/sheet.rb +26 -0
- data/lib/workbook/table.rb +20 -1
- data/lib/workbook/template.rb +12 -11
- data/lib/workbook/writers/xls_writer.rb +19 -77
- data/test/test_modules_table_diff_sort.rb +19 -6
- data/test/test_row.rb +54 -0
- data/test/test_sheet.rb +8 -0
- data/test/test_table.rb +22 -3
- data/test/test_writers_xls_writer.rb +3 -0
- data/workbook.gemspec +1 -1
- metadata +46 -3
@@ -0,0 +1,1012 @@
|
|
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: Workbook::Modules::TypeParser
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.3
|
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> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../Workbook.html" title="Workbook (module)">Workbook</a></span></span> » <span class='title'><span class='object_link'><a href="../Modules.html" title="Workbook::Modules (module)">Modules</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">TypeParser</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: Workbook::Modules::TypeParser
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<dt class="r1">Included in:</dt>
|
81
|
+
<dd class="r1"><span class='object_link'><a href="../Cell.html" title="Workbook::Cell (class)">Cell</a></span></dd>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<dt class="r2 last">Defined in:</dt>
|
86
|
+
<dd class="r2 last">lib/workbook/modules/type_parser.rb</dd>
|
87
|
+
|
88
|
+
</dl>
|
89
|
+
<div class="clear"></div>
|
90
|
+
|
91
|
+
<h2>Overview</h2><div class="docstring">
|
92
|
+
<div class="discussion">
|
93
|
+
|
94
|
+
<p>Adds type parsing capabilities to e.g. a Cell.</p>
|
95
|
+
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
<div class="tags">
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<h2>
|
111
|
+
Instance Method Summary
|
112
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
113
|
+
</h2>
|
114
|
+
|
115
|
+
<ul class="summary">
|
116
|
+
|
117
|
+
<li class="public ">
|
118
|
+
<span class="summary_signature">
|
119
|
+
|
120
|
+
<a href="#clean%21-instance_method" title="#clean! (instance method)">- (Object) <strong>clean!</strong>(options = {}) </a>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
</span>
|
125
|
+
|
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="#parse-instance_method" title="#parse (instance method)">- (Object) <strong>parse</strong>(options = {}) </a>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
</span>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<span class="summary_desc"><div class='inline'>
|
157
|
+
<p>Returns the parsed value (retrieved by calling #value).</p>
|
158
|
+
</div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
<li class="public ">
|
164
|
+
<span class="summary_signature">
|
165
|
+
|
166
|
+
<a href="#parse%21-instance_method" title="#parse! (instance method)">- (Object) <strong>parse!</strong>(options = {}) </a>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
</span>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
181
|
+
|
182
|
+
</li>
|
183
|
+
|
184
|
+
|
185
|
+
<li class="public ">
|
186
|
+
<span class="summary_signature">
|
187
|
+
|
188
|
+
<a href="#string_boolean_converter-instance_method" title="#string_boolean_converter (instance method)">- (Object) <strong>string_boolean_converter</strong> </a>
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
</span>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
203
|
+
|
204
|
+
</li>
|
205
|
+
|
206
|
+
|
207
|
+
<li class="public ">
|
208
|
+
<span class="summary_signature">
|
209
|
+
|
210
|
+
<a href="#string_cleaner-instance_method" title="#string_cleaner (instance method)">- (Object) <strong>string_cleaner</strong> </a>
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
</span>
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
225
|
+
|
226
|
+
</li>
|
227
|
+
|
228
|
+
|
229
|
+
<li class="public ">
|
230
|
+
<span class="summary_signature">
|
231
|
+
|
232
|
+
<a href="#string_integer_converter-instance_method" title="#string_integer_converter (instance method)">- (Object) <strong>string_integer_converter</strong> </a>
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
247
|
+
|
248
|
+
</li>
|
249
|
+
|
250
|
+
|
251
|
+
<li class="public ">
|
252
|
+
<span class="summary_signature">
|
253
|
+
|
254
|
+
<a href="#string_nil_converter-instance_method" title="#string_nil_converter (instance method)">- (Object) <strong>string_nil_converter</strong> </a>
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
</span>
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
269
|
+
|
270
|
+
</li>
|
271
|
+
|
272
|
+
|
273
|
+
<li class="public ">
|
274
|
+
<span class="summary_signature">
|
275
|
+
|
276
|
+
<a href="#string_optimistic_date_converter-instance_method" title="#string_optimistic_date_converter (instance method)">- (Object) <strong>string_optimistic_date_converter</strong> </a>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</span>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
291
|
+
|
292
|
+
</li>
|
293
|
+
|
294
|
+
|
295
|
+
<li class="public ">
|
296
|
+
<span class="summary_signature">
|
297
|
+
|
298
|
+
<a href="#string_parsers-instance_method" title="#string_parsers (instance method)">- (Array<Symbol>) <strong>string_parsers</strong> </a>
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
</span>
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
<span class="summary_desc"><div class='inline'>
|
313
|
+
<p>Return the different active string parsers.</p>
|
314
|
+
</div></span>
|
315
|
+
|
316
|
+
</li>
|
317
|
+
|
318
|
+
|
319
|
+
<li class="public ">
|
320
|
+
<span class="summary_signature">
|
321
|
+
|
322
|
+
<a href="#string_parsers%3D-instance_method" title="#string_parsers= (instance method)">- (Array<Symbol>) <strong>string_parsers=</strong>(parsers) </a>
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
</span>
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
<span class="summary_desc"><div class='inline'>
|
337
|
+
<p>Set the list of string parsers.</p>
|
338
|
+
</div></span>
|
339
|
+
|
340
|
+
</li>
|
341
|
+
|
342
|
+
|
343
|
+
<li class="public ">
|
344
|
+
<span class="summary_signature">
|
345
|
+
|
346
|
+
<a href="#string_parsers_as_procs-instance_method" title="#string_parsers_as_procs (instance method)">- (Array<Proc>) <strong>string_parsers_as_procs</strong> </a>
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
</span>
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
<span class="summary_desc"><div class='inline'>
|
361
|
+
<p>Return the different active string parsers.</p>
|
362
|
+
</div></span>
|
363
|
+
|
364
|
+
</li>
|
365
|
+
|
366
|
+
|
367
|
+
<li class="public ">
|
368
|
+
<span class="summary_signature">
|
369
|
+
|
370
|
+
<a href="#strip_win_chars-instance_method" title="#strip_win_chars (instance method)">- (Object) <strong>strip_win_chars</strong>(csv_raw) </a>
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
</span>
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
<span class="summary_desc"><div class='inline'>
|
385
|
+
<p>Cleans a text file from all kinds of different ways of representing new
|
386
|
+
lines.</p>
|
387
|
+
</div></span>
|
388
|
+
|
389
|
+
</li>
|
390
|
+
|
391
|
+
|
392
|
+
</ul>
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
<div id="instance_method_details" class="method_details_list">
|
398
|
+
<h2>Instance Method Details</h2>
|
399
|
+
|
400
|
+
|
401
|
+
<div class="method_details first">
|
402
|
+
<h3 class="signature first" id="clean!-instance_method">
|
403
|
+
|
404
|
+
- (<tt>Object</tt>) <strong>clean!</strong>(options = {})
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</h3><table class="source_code">
|
411
|
+
<tr>
|
412
|
+
<td>
|
413
|
+
<pre class="lines">
|
414
|
+
|
415
|
+
|
416
|
+
49</pre>
|
417
|
+
</td>
|
418
|
+
<td>
|
419
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 49</span>
|
420
|
+
|
421
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_clean! fid id'>clean!</span> <span class='rubyid_options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
422
|
+
</pre>
|
423
|
+
</td>
|
424
|
+
</tr>
|
425
|
+
</table>
|
426
|
+
</div>
|
427
|
+
|
428
|
+
<div class="method_details ">
|
429
|
+
<h3 class="signature " id="parse-instance_method">
|
430
|
+
|
431
|
+
- (<tt>Object</tt>) <strong>parse</strong>(options = {})
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
</h3><div class="docstring">
|
438
|
+
<div class="discussion">
|
439
|
+
|
440
|
+
<p>Returns the parsed value (retrieved by calling #value)</p>
|
441
|
+
|
442
|
+
|
443
|
+
</div>
|
444
|
+
</div>
|
445
|
+
<div class="tags">
|
446
|
+
|
447
|
+
<p class="tag_title">Returns:</p>
|
448
|
+
<ul class="return">
|
449
|
+
|
450
|
+
<li>
|
451
|
+
|
452
|
+
|
453
|
+
<span class='type'>(<tt>Object</tt>)</span>
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
—
|
458
|
+
<div class='inline'>
|
459
|
+
<p>The parsed object, ideally a date or integer when found to be a such…</p>
|
460
|
+
</div>
|
461
|
+
|
462
|
+
</li>
|
463
|
+
|
464
|
+
</ul>
|
465
|
+
|
466
|
+
</div><table class="source_code">
|
467
|
+
<tr>
|
468
|
+
<td>
|
469
|
+
<pre class="lines">
|
470
|
+
|
471
|
+
|
472
|
+
33</pre>
|
473
|
+
</td>
|
474
|
+
<td>
|
475
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 33</span>
|
476
|
+
|
477
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_parse identifier id'>parse</span> <span class='rubyid_options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
478
|
+
</pre>
|
479
|
+
</td>
|
480
|
+
</tr>
|
481
|
+
</table>
|
482
|
+
</div>
|
483
|
+
|
484
|
+
<div class="method_details ">
|
485
|
+
<h3 class="signature " id="parse!-instance_method">
|
486
|
+
|
487
|
+
- (<tt>Object</tt>) <strong>parse!</strong>(options = {})
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
</h3><table class="source_code">
|
494
|
+
<tr>
|
495
|
+
<td>
|
496
|
+
<pre class="lines">
|
497
|
+
|
498
|
+
|
499
|
+
45</pre>
|
500
|
+
</td>
|
501
|
+
<td>
|
502
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 45</span>
|
503
|
+
|
504
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_parse! fid id'>parse!</span> <span class='rubyid_options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
505
|
+
</pre>
|
506
|
+
</td>
|
507
|
+
</tr>
|
508
|
+
</table>
|
509
|
+
</div>
|
510
|
+
|
511
|
+
<div class="method_details ">
|
512
|
+
<h3 class="signature " id="string_boolean_converter-instance_method">
|
513
|
+
|
514
|
+
- (<tt>Object</tt>) <strong>string_boolean_converter</strong>
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
</h3><table class="source_code">
|
521
|
+
<tr>
|
522
|
+
<td>
|
523
|
+
<pre class="lines">
|
524
|
+
|
525
|
+
|
526
|
+
97
|
527
|
+
98
|
528
|
+
99
|
529
|
+
100
|
530
|
+
101
|
531
|
+
102
|
532
|
+
103
|
533
|
+
104
|
534
|
+
105
|
535
|
+
106
|
536
|
+
107</pre>
|
537
|
+
</td>
|
538
|
+
<td>
|
539
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 97</span>
|
540
|
+
|
541
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_boolean_converter identifier id'>string_boolean_converter</span>
|
542
|
+
<span class='rubyid_proc identifier id'>proc</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_v identifier id'>v</span><span class='bitor op'>|</span>
|
543
|
+
<span class='rubyid_dv identifier id'>dv</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_downcase identifier id'>downcase</span>
|
544
|
+
<span class='rubyid_if if kw'>if</span> <span class='rubyid_dv identifier id'>dv</span> <span class='eq op'>==</span> <span class='string val'>"true"</span>
|
545
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_true true kw'>true</span>
|
546
|
+
<span class='rubyid_elsif elsif kw'>elsif</span> <span class='rubyid_dv identifier id'>dv</span> <span class='eq op'>==</span> <span class='string val'>"false"</span>
|
547
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_false false kw'>false</span>
|
548
|
+
<span class='rubyid_end end kw'>end</span>
|
549
|
+
<span class='rubyid_v identifier id'>v</span>
|
550
|
+
<span class='rubyid_end end kw'>end</span>
|
551
|
+
<span class='rubyid_end end kw'>end</span>
|
552
|
+
</pre>
|
553
|
+
</td>
|
554
|
+
</tr>
|
555
|
+
</table>
|
556
|
+
</div>
|
557
|
+
|
558
|
+
<div class="method_details ">
|
559
|
+
<h3 class="signature " id="string_cleaner-instance_method">
|
560
|
+
|
561
|
+
- (<tt>Object</tt>) <strong>string_cleaner</strong>
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
</h3><table class="source_code">
|
568
|
+
<tr>
|
569
|
+
<td>
|
570
|
+
<pre class="lines">
|
571
|
+
|
572
|
+
|
573
|
+
53
|
574
|
+
54
|
575
|
+
55
|
576
|
+
56
|
577
|
+
57
|
578
|
+
58</pre>
|
579
|
+
</td>
|
580
|
+
<td>
|
581
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 53</span>
|
582
|
+
|
583
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_cleaner identifier id'>string_cleaner</span>
|
584
|
+
<span class='rubyid_proc identifier id'>proc</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_v identifier id'>v</span><span class='bitor op'>|</span>
|
585
|
+
<span class='rubyid_v identifier id'>v</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_strip identifier id'>strip</span>
|
586
|
+
<span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_gsub identifier id'>gsub</span><span class='lparen token'>(</span><span class='string val'>'mailto:'</span><span class='comma token'>,</span><span class='string val'>''</span><span class='rparen token'>)</span>
|
587
|
+
<span class='rubyid_end end kw'>end</span>
|
588
|
+
<span class='rubyid_end end kw'>end</span>
|
589
|
+
</pre>
|
590
|
+
</td>
|
591
|
+
</tr>
|
592
|
+
</table>
|
593
|
+
</div>
|
594
|
+
|
595
|
+
<div class="method_details ">
|
596
|
+
<h3 class="signature " id="string_integer_converter-instance_method">
|
597
|
+
|
598
|
+
- (<tt>Object</tt>) <strong>string_integer_converter</strong>
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
</h3><table class="source_code">
|
605
|
+
<tr>
|
606
|
+
<td>
|
607
|
+
<pre class="lines">
|
608
|
+
|
609
|
+
|
610
|
+
66
|
611
|
+
67
|
612
|
+
68
|
613
|
+
69
|
614
|
+
70
|
615
|
+
71
|
616
|
+
72
|
617
|
+
73
|
618
|
+
74</pre>
|
619
|
+
</td>
|
620
|
+
<td>
|
621
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 66</span>
|
622
|
+
|
623
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_integer_converter identifier id'>string_integer_converter</span>
|
624
|
+
<span class='rubyid_proc identifier id'>proc</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_v identifier id'>v</span><span class='bitor op'>|</span>
|
625
|
+
<span class='rubyid_if if kw'>if</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='dot token'>.</span><span class='rubyid_to_s identifier id'>to_s</span> <span class='eq op'>==</span> <span class='rubyid_v identifier id'>v</span>
|
626
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span>
|
627
|
+
<span class='rubyid_else else kw'>else</span>
|
628
|
+
<span class='rubyid_v identifier id'>v</span>
|
629
|
+
<span class='rubyid_end end kw'>end</span>
|
630
|
+
<span class='rubyid_end end kw'>end</span>
|
631
|
+
<span class='rubyid_end end kw'>end</span>
|
632
|
+
</pre>
|
633
|
+
</td>
|
634
|
+
</tr>
|
635
|
+
</table>
|
636
|
+
</div>
|
637
|
+
|
638
|
+
<div class="method_details ">
|
639
|
+
<h3 class="signature " id="string_nil_converter-instance_method">
|
640
|
+
|
641
|
+
- (<tt>Object</tt>) <strong>string_nil_converter</strong>
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
</h3><table class="source_code">
|
648
|
+
<tr>
|
649
|
+
<td>
|
650
|
+
<pre class="lines">
|
651
|
+
|
652
|
+
|
653
|
+
60
|
654
|
+
61
|
655
|
+
62
|
656
|
+
63
|
657
|
+
64</pre>
|
658
|
+
</td>
|
659
|
+
<td>
|
660
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 60</span>
|
661
|
+
|
662
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_nil_converter identifier id'>string_nil_converter</span>
|
663
|
+
<span class='rubyid_proc identifier id'>proc</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_v identifier id'>v</span><span class='bitor op'>|</span>
|
664
|
+
<span class='rubyid_return return kw'>return</span> <span class='rubyid_v identifier id'>v</span> <span class='eq op'>==</span> <span class='string val'>""</span> <span class='question op'>?</span> <span class='rubyid_nil nil kw'>nil</span> <span class='colon op'>:</span> <span class='rubyid_v identifier id'>v</span>
|
665
|
+
<span class='rubyid_end end kw'>end</span>
|
666
|
+
<span class='rubyid_end end kw'>end</span>
|
667
|
+
</pre>
|
668
|
+
</td>
|
669
|
+
</tr>
|
670
|
+
</table>
|
671
|
+
</div>
|
672
|
+
|
673
|
+
<div class="method_details ">
|
674
|
+
<h3 class="signature " id="string_optimistic_date_converter-instance_method">
|
675
|
+
|
676
|
+
- (<tt>Object</tt>) <strong>string_optimistic_date_converter</strong>
|
677
|
+
|
678
|
+
|
679
|
+
|
680
|
+
|
681
|
+
|
682
|
+
</h3><table class="source_code">
|
683
|
+
<tr>
|
684
|
+
<td>
|
685
|
+
<pre class="lines">
|
686
|
+
|
687
|
+
|
688
|
+
76
|
689
|
+
77
|
690
|
+
78
|
691
|
+
79
|
692
|
+
80
|
693
|
+
81
|
694
|
+
82
|
695
|
+
83
|
696
|
+
84
|
697
|
+
85
|
698
|
+
86
|
699
|
+
87
|
700
|
+
88
|
701
|
+
89
|
702
|
+
90
|
703
|
+
91
|
704
|
+
92
|
705
|
+
93
|
706
|
+
94
|
707
|
+
95</pre>
|
708
|
+
</td>
|
709
|
+
<td>
|
710
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 76</span>
|
711
|
+
|
712
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_optimistic_date_converter identifier id'>string_optimistic_date_converter</span>
|
713
|
+
<span class='rubyid_proc identifier id'>proc</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_v identifier id'>v</span><span class='bitor op'>|</span>
|
714
|
+
<span class='rubyid_rv identifier id'>rv</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span>
|
715
|
+
<span class='rubyid_starts_with_nr identifier id'>starts_with_nr</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_chars identifier id'>chars</span><span class='dot token'>.</span><span class='rubyid_first identifier id'>first</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='dot token'>.</span><span class='rubyid_to_s identifier id'>to_s</span> <span class='eq op'>==</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_chars identifier id'>chars</span><span class='dot token'>.</span><span class='rubyid_first identifier id'>first</span> <span class='comment val'>#it should at least start with a number...</span>
|
716
|
+
<span class='rubyid_no_spaced_dash identifier id'>no_spaced_dash</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='rubyid_match identifier id'>match</span><span class='lparen token'>(</span><span class='string val'>" - "</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_false false kw'>false</span> <span class='colon op'>:</span> <span class='rubyid_true true kw'>true</span>
|
717
|
+
<span class='rubyid_normal_date_length identifier id'>normal_date_length</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='rubyid_length identifier id'>length</span> <span class='leq op'><=</span> <span class='integer val'>25</span>
|
718
|
+
<span class='rubyid_if if kw'>if</span> <span class='rubyid_no_spaced_dash identifier id'>no_spaced_dash</span> <span class='rubyid_and and kw'>and</span> <span class='rubyid_starts_with_nr identifier id'>starts_with_nr</span> <span class='rubyid_and and kw'>and</span> <span class='rubyid_normal_date_length identifier id'>normal_date_length</span>
|
719
|
+
<span class='rubyid_begin begin kw'>begin</span>
|
720
|
+
<span class='rubyid_rv identifier id'>rv</span> <span class='assign token'>=</span> <span class='lparen token'>(</span><span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_length identifier id'>length</span> <span class='gt op'>></span> <span class='integer val'>10</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_DateTime constant id'>DateTime</span><span class='dot token'>.</span><span class='rubyid_parse identifier id'>parse</span><span class='lparen token'>(</span><span class='rubyid_v identifier id'>v</span><span class='rparen token'>)</span> <span class='colon op'>:</span> <span class='rubyid_Date constant id'>Date</span><span class='dot token'>.</span><span class='rubyid_parse identifier id'>parse</span><span class='lparen token'>(</span><span class='rubyid_v identifier id'>v</span><span class='rparen token'>)</span>
|
721
|
+
<span class='rubyid_rescue rescue kw'>rescue</span> <span class='rubyid_ArgumentError constant id'>ArgumentError</span>
|
722
|
+
<span class='rubyid_rv identifier id'>rv</span> <span class='assign token'>=</span> <span class='rubyid_v identifier id'>v</span>
|
723
|
+
<span class='rubyid_end end kw'>end</span>
|
724
|
+
<span class='rubyid_begin begin kw'>begin</span>
|
725
|
+
<span class='rubyid_rv identifier id'>rv</span> <span class='assign token'>=</span> <span class='rubyid_Date constant id'>Date</span><span class='dot token'>.</span><span class='rubyid_parse identifier id'>parse</span><span class='lparen token'>(</span><span class='rubyid_v identifier id'>v</span><span class='dot token'>.</span><span class='rubyid_to_i identifier id'>to_i</span><span class='dot token'>.</span><span class='rubyid_to_s identifier id'>to_s</span><span class='rparen token'>)</span> <span class='eq op'>==</span> <span class='rubyid_rv identifier id'>rv</span> <span class='integer val'>? </span><span class='rubyid_v identifier id'>v</span> <span class='colon op'>:</span> <span class='rubyid_rv identifier id'>rv</span> <span class='comment val'># disqualify is it is only based on the first number</span>
|
726
|
+
<span class='rubyid_rescue rescue kw'>rescue</span> <span class='rubyid_ArgumentError constant id'>ArgumentError</span>
|
727
|
+
<span class='rubyid_end end kw'>end</span>
|
728
|
+
<span class='rubyid_end end kw'>end</span>
|
729
|
+
<span class='rubyid_rv identifier id'>rv</span>
|
730
|
+
<span class='rubyid_end end kw'>end</span>
|
731
|
+
<span class='rubyid_end end kw'>end</span>
|
732
|
+
</pre>
|
733
|
+
</td>
|
734
|
+
</tr>
|
735
|
+
</table>
|
736
|
+
</div>
|
737
|
+
|
738
|
+
<div class="method_details ">
|
739
|
+
<h3 class="signature " id="string_parsers-instance_method">
|
740
|
+
|
741
|
+
- (<tt>Array<Symbol></tt>) <strong>string_parsers</strong>
|
742
|
+
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
</h3><div class="docstring">
|
748
|
+
<div class="discussion">
|
749
|
+
|
750
|
+
<p>Return the different active string parsers</p>
|
751
|
+
|
752
|
+
|
753
|
+
</div>
|
754
|
+
</div>
|
755
|
+
<div class="tags">
|
756
|
+
|
757
|
+
<p class="tag_title">Returns:</p>
|
758
|
+
<ul class="return">
|
759
|
+
|
760
|
+
<li>
|
761
|
+
|
762
|
+
|
763
|
+
<span class='type'>(<tt>Array<Symbol></tt>)</span>
|
764
|
+
|
765
|
+
|
766
|
+
|
767
|
+
—
|
768
|
+
<div class='inline'>
|
769
|
+
<p>A list of parsers</p>
|
770
|
+
</div>
|
771
|
+
|
772
|
+
</li>
|
773
|
+
|
774
|
+
</ul>
|
775
|
+
|
776
|
+
</div><table class="source_code">
|
777
|
+
<tr>
|
778
|
+
<td>
|
779
|
+
<pre class="lines">
|
780
|
+
|
781
|
+
|
782
|
+
14
|
783
|
+
15
|
784
|
+
16</pre>
|
785
|
+
</td>
|
786
|
+
<td>
|
787
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 14</span>
|
788
|
+
|
789
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_parsers identifier id'>string_parsers</span>
|
790
|
+
<span class='rubyid_@string_parsers ivar id'>@string_parsers</span> <span class='opasgn op'>||=</span> <span class='lbrack token'>[</span><span class='symbol val'>:string_cleaner</span><span class='comma token'>,</span><span class='symbol val'>:string_nil_converter</span><span class='comma token'>,</span><span class='symbol val'>:string_integer_converter</span><span class='comma token'>,</span><span class='symbol val'>:string_boolean_converter</span><span class='rbrack token'>]</span>
|
791
|
+
<span class='rubyid_end end kw'>end</span>
|
792
|
+
</pre>
|
793
|
+
</td>
|
794
|
+
</tr>
|
795
|
+
</table>
|
796
|
+
</div>
|
797
|
+
|
798
|
+
<div class="method_details ">
|
799
|
+
<h3 class="signature " id="string_parsers=-instance_method">
|
800
|
+
|
801
|
+
- (<tt>Array<Symbol></tt>) <strong>string_parsers=</strong>(parsers)
|
802
|
+
|
803
|
+
|
804
|
+
|
805
|
+
|
806
|
+
|
807
|
+
</h3><div class="docstring">
|
808
|
+
<div class="discussion">
|
809
|
+
|
810
|
+
<p>Set the list of string parsers</p>
|
811
|
+
|
812
|
+
|
813
|
+
</div>
|
814
|
+
</div>
|
815
|
+
<div class="tags">
|
816
|
+
<p class="tag_title">Parameters:</p>
|
817
|
+
<ul class="param">
|
818
|
+
|
819
|
+
<li>
|
820
|
+
|
821
|
+
<span class='name'>parsers</span>
|
822
|
+
|
823
|
+
|
824
|
+
<span class='type'>(<tt>Array<Symbol></tt>)</span>
|
825
|
+
|
826
|
+
|
827
|
+
|
828
|
+
—
|
829
|
+
<div class='inline'>
|
830
|
+
<p>A list of parsers</p>
|
831
|
+
</div>
|
832
|
+
|
833
|
+
</li>
|
834
|
+
|
835
|
+
</ul>
|
836
|
+
|
837
|
+
<p class="tag_title">Returns:</p>
|
838
|
+
<ul class="return">
|
839
|
+
|
840
|
+
<li>
|
841
|
+
|
842
|
+
|
843
|
+
<span class='type'>(<tt>Array<Symbol></tt>)</span>
|
844
|
+
|
845
|
+
|
846
|
+
|
847
|
+
—
|
848
|
+
<div class='inline'>
|
849
|
+
<p>A list of parsers</p>
|
850
|
+
</div>
|
851
|
+
|
852
|
+
</li>
|
853
|
+
|
854
|
+
</ul>
|
855
|
+
|
856
|
+
</div><table class="source_code">
|
857
|
+
<tr>
|
858
|
+
<td>
|
859
|
+
<pre class="lines">
|
860
|
+
|
861
|
+
|
862
|
+
21
|
863
|
+
22
|
864
|
+
23</pre>
|
865
|
+
</td>
|
866
|
+
<td>
|
867
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 21</span>
|
868
|
+
|
869
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_parsers= identifier id'>string_parsers=</span> <span class='rubyid_parsers identifier id'>parsers</span>
|
870
|
+
<span class='rubyid_@string_parsers ivar id'>@string_parsers</span> <span class='assign token'>=</span> <span class='rubyid_parsers identifier id'>parsers</span>
|
871
|
+
<span class='rubyid_end end kw'>end</span>
|
872
|
+
</pre>
|
873
|
+
</td>
|
874
|
+
</tr>
|
875
|
+
</table>
|
876
|
+
</div>
|
877
|
+
|
878
|
+
<div class="method_details ">
|
879
|
+
<h3 class="signature " id="string_parsers_as_procs-instance_method">
|
880
|
+
|
881
|
+
- (<tt>Array<Proc></tt>) <strong>string_parsers_as_procs</strong>
|
882
|
+
|
883
|
+
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
</h3><div class="docstring">
|
888
|
+
<div class="discussion">
|
889
|
+
|
890
|
+
<p>Return the different active string parsers</p>
|
891
|
+
|
892
|
+
|
893
|
+
</div>
|
894
|
+
</div>
|
895
|
+
<div class="tags">
|
896
|
+
|
897
|
+
<p class="tag_title">Returns:</p>
|
898
|
+
<ul class="return">
|
899
|
+
|
900
|
+
<li>
|
901
|
+
|
902
|
+
|
903
|
+
<span class='type'>(<tt>Array<Proc></tt>)</span>
|
904
|
+
|
905
|
+
|
906
|
+
|
907
|
+
—
|
908
|
+
<div class='inline'>
|
909
|
+
<p>A list of parsers as Procs</p>
|
910
|
+
</div>
|
911
|
+
|
912
|
+
</li>
|
913
|
+
|
914
|
+
</ul>
|
915
|
+
|
916
|
+
</div><table class="source_code">
|
917
|
+
<tr>
|
918
|
+
<td>
|
919
|
+
<pre class="lines">
|
920
|
+
|
921
|
+
|
922
|
+
27
|
923
|
+
28
|
924
|
+
29</pre>
|
925
|
+
</td>
|
926
|
+
<td>
|
927
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 27</span>
|
928
|
+
|
929
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_string_parsers_as_procs identifier id'>string_parsers_as_procs</span>
|
930
|
+
<span class='rubyid_string_parsers identifier id'>string_parsers</span><span class='dot token'>.</span><span class='rubyid_collect identifier id'>collect</span><span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='rubyid_c identifier id'>c</span><span class='bitor op'>|</span> <span class='rubyid_c identifier id'>c</span><span class='dot token'>.</span><span class='rubyid_is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='rubyid_Proc constant id'>Proc</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_c identifier id'>c</span> <span class='colon op'>:</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_send identifier id'>send</span><span class='lparen token'>(</span><span class='rubyid_c identifier id'>c</span><span class='rparen token'>)</span><span class='rbrace token'>}</span>
|
931
|
+
<span class='rubyid_end end kw'>end</span>
|
932
|
+
</pre>
|
933
|
+
</td>
|
934
|
+
</tr>
|
935
|
+
</table>
|
936
|
+
</div>
|
937
|
+
|
938
|
+
<div class="method_details ">
|
939
|
+
<h3 class="signature " id="strip_win_chars-instance_method">
|
940
|
+
|
941
|
+
- (<tt>Object</tt>) <strong>strip_win_chars</strong>(csv_raw)
|
942
|
+
|
943
|
+
|
944
|
+
|
945
|
+
|
946
|
+
|
947
|
+
</h3><div class="docstring">
|
948
|
+
<div class="discussion">
|
949
|
+
|
950
|
+
<p>Cleans a text file from all kinds of different ways of representing new
|
951
|
+
lines</p>
|
952
|
+
|
953
|
+
|
954
|
+
</div>
|
955
|
+
</div>
|
956
|
+
<div class="tags">
|
957
|
+
<p class="tag_title">Parameters:</p>
|
958
|
+
<ul class="param">
|
959
|
+
|
960
|
+
<li>
|
961
|
+
|
962
|
+
<span class='name'>csv_raw</span>
|
963
|
+
|
964
|
+
|
965
|
+
<span class='type'>(<tt>String</tt>)</span>
|
966
|
+
|
967
|
+
|
968
|
+
|
969
|
+
—
|
970
|
+
<div class='inline'>
|
971
|
+
<p>a raw csv string</p>
|
972
|
+
</div>
|
973
|
+
|
974
|
+
</li>
|
975
|
+
|
976
|
+
</ul>
|
977
|
+
|
978
|
+
|
979
|
+
</div><table class="source_code">
|
980
|
+
<tr>
|
981
|
+
<td>
|
982
|
+
<pre class="lines">
|
983
|
+
|
984
|
+
|
985
|
+
8
|
986
|
+
9
|
987
|
+
10</pre>
|
988
|
+
</td>
|
989
|
+
<td>
|
990
|
+
<pre class="code"><span class="info file"># File 'lib/workbook/modules/type_parser.rb', line 8</span>
|
991
|
+
|
992
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_strip_win_chars identifier id'>strip_win_chars</span> <span class='rubyid_csv_raw identifier id'>csv_raw</span>
|
993
|
+
<span class='rubyid_csv_raw identifier id'>csv_raw</span><span class='dot token'>.</span><span class='rubyid_gsub identifier id'>gsub</span><span class='lparen token'>(</span><span class='regexp val'>/(\n\r|\r\n|\r)/</span><span class='comma token'>,</span><span class='string val'>"\n"</span><span class='rparen token'>)</span>
|
994
|
+
<span class='rubyid_end end kw'>end</span>
|
995
|
+
</pre>
|
996
|
+
</td>
|
997
|
+
</tr>
|
998
|
+
</table>
|
999
|
+
</div>
|
1000
|
+
|
1001
|
+
</div>
|
1002
|
+
|
1003
|
+
</div>
|
1004
|
+
|
1005
|
+
<div id="footer">
|
1006
|
+
Generated on Thu Jan 17 13:15:58 2013 by
|
1007
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1008
|
+
0.8.3 (ruby-1.8.7).
|
1009
|
+
</div>
|
1010
|
+
|
1011
|
+
</body>
|
1012
|
+
</html>
|