workbook 0.4.13 → 0.4.14

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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/lib/workbook/modules/cell.rb +14 -0
  4. data/lib/workbook/version.rb +1 -1
  5. data/test/test_modules_cache.rb +14 -14
  6. data/test/test_modules_cell.rb +9 -2
  7. data/test/test_readers_xls_reader.rb +1 -1
  8. metadata +4 -46
  9. data/doc/RubyXL/Cell.html +0 -201
  10. data/doc/RubyXL/Workbook.html +0 -449
  11. data/doc/RubyXL.html +0 -128
  12. data/doc/Workbook/Book.html +0 -1852
  13. data/doc/Workbook/Cell.html +0 -1553
  14. data/doc/Workbook/Format.html +0 -1168
  15. data/doc/Workbook/Modules/RawObjectsStorage.html +0 -502
  16. data/doc/Workbook/Modules/TableDiffSort.html +0 -758
  17. data/doc/Workbook/Modules/TypeParser.html +0 -1063
  18. data/doc/Workbook/Modules.html +0 -117
  19. data/doc/Workbook/NilValue.html +0 -434
  20. data/doc/Workbook/Readers/CsvReader.html +0 -324
  21. data/doc/Workbook/Readers/OdsReader.html +0 -1066
  22. data/doc/Workbook/Readers/TxtReader.html +0 -236
  23. data/doc/Workbook/Readers/XlsReader.html +0 -378
  24. data/doc/Workbook/Readers/XlsShared.html +0 -188
  25. data/doc/Workbook/Readers/XlsxReader.html +0 -302
  26. data/doc/Workbook/Readers.html +0 -117
  27. data/doc/Workbook/Row.html +0 -2392
  28. data/doc/Workbook/Sheet.html +0 -875
  29. data/doc/Workbook/Table.html +0 -1732
  30. data/doc/Workbook/Template.html +0 -634
  31. data/doc/Workbook/Writers/CsvTableWriter.html +0 -200
  32. data/doc/Workbook/Writers/HtmlWriter.html +0 -407
  33. data/doc/Workbook/Writers/XlsWriter.html +0 -905
  34. data/doc/Workbook/Writers.html +0 -117
  35. data/doc/Workbook.html +0 -142
  36. data/doc/_index.html +0 -381
  37. data/doc/class_list.html +0 -53
  38. data/doc/css/common.css +0 -1
  39. data/doc/css/full_list.css +0 -57
  40. data/doc/css/style.css +0 -338
  41. data/doc/file.README.html +0 -245
  42. data/doc/file_list.html +0 -55
  43. data/doc/frames.html +0 -28
  44. data/doc/index.html +0 -245
  45. data/doc/js/app.js +0 -214
  46. data/doc/js/full_list.js +0 -173
  47. data/doc/js/jquery.js +0 -4
  48. data/doc/method_list.html +0 -1308
  49. data/doc/top-level-namespace.html +0 -112
  50. data/test/artifacts/floats_problem.xls +0 -0
@@ -1,875 +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: Workbook::Sheet
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
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 (S)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Workbook.html" title="Workbook (module)">Workbook</a></span></span>
36
- &raquo;
37
- <span class="title">Sheet</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: Workbook::Sheet
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">Array</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Array</li>
82
-
83
- <li class="next">Workbook::Sheet</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/workbook/sheet.rb</dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
-
105
-
106
-
107
-
108
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
109
- <ul class="summary">
110
-
111
- <li class="public ">
112
- <span class="summary_signature">
113
-
114
- <a href="#book-instance_method" title="#book (instance method)">- (Workbook::Book) <strong>book</strong> </a>
115
-
116
-
117
-
118
- </span>
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <span class="summary_desc"><div class='inline'>
132
- <p>Returns the book this sheet belongs to.</p>
133
- </div></span>
134
-
135
- </li>
136
-
137
-
138
- <li class="public ">
139
- <span class="summary_signature">
140
-
141
- <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
142
-
143
-
144
-
145
- </span>
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
- <span class="summary_desc"><div class='inline'>
159
- <p>Returns the value of attribute name.</p>
160
- </div></span>
161
-
162
- </li>
163
-
164
-
165
- </ul>
166
-
167
-
168
-
169
-
170
-
171
- <h2>
172
- Instance Method Summary
173
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
174
- </h2>
175
-
176
- <ul class="summary">
177
-
178
- <li class="public ">
179
- <span class="summary_signature">
180
-
181
- <a href="#clone-instance_method" title="#clone (instance method)">- (Workbook::Sheet) <strong>clone</strong> </a>
182
-
183
-
184
-
185
- </span>
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
- <span class="summary_desc"><div class='inline'>
196
- <p>clones itself <b>and</b> the tables it contains.</p>
197
- </div></span>
198
-
199
- </li>
200
-
201
-
202
- <li class="public ">
203
- <span class="summary_signature">
204
-
205
- <a href="#create_or_open_table_at-instance_method" title="#create_or_open_table_at (instance method)">- (Object) <strong>create_or_open_table_at</strong>(index) </a>
206
-
207
-
208
-
209
- </span>
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
- <span class="summary_desc"><div class='inline'>
220
- <p>Create or open the existing table at an index value.</p>
221
- </div></span>
222
-
223
- </li>
224
-
225
-
226
- <li class="public ">
227
- <span class="summary_signature">
228
-
229
- <a href="#delete_all-instance_method" title="#delete_all (instance method)">- (Workbook::Table) <strong>delete_all</strong> </a>
230
-
231
-
232
-
233
- </span>
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
- <span class="summary_desc"><div class='inline'>
244
- <p>Removes all lines from this table.</p>
245
- </div></span>
246
-
247
- </li>
248
-
249
-
250
- <li class="public ">
251
- <span class="summary_signature">
252
-
253
- <a href="#has_contents%3F-instance_method" title="#has_contents? (instance method)">- (Boolean) <strong>has_contents?</strong> </a>
254
-
255
-
256
-
257
- </span>
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
- <span class="summary_desc"><div class='inline'>
268
- <p>Returns true if the first table of this sheet contains anything.</p>
269
- </div></span>
270
-
271
- </li>
272
-
273
-
274
- <li class="public ">
275
- <span class="summary_signature">
276
-
277
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Workbook::Sheet) <strong>initialize</strong>(table = Workbook::Table.new([], self), book = nil, options = {}) </a>
278
-
279
-
280
-
281
- </span>
282
-
283
-
284
- <span class="note title constructor">constructor</span>
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
- <span class="summary_desc"><div class='inline'>
294
- <p>Initialize a new sheet.</p>
295
- </div></span>
296
-
297
- </li>
298
-
299
-
300
- <li class="public ">
301
- <span class="summary_signature">
302
-
303
- <a href="#table-instance_method" title="#table (instance method)">- (Workbook::Table) <strong>table</strong> </a>
304
-
305
-
306
-
307
- </span>
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
- <span class="summary_desc"><div class='inline'>
318
- <p>Returns the first table of this sheet.</p>
319
- </div></span>
320
-
321
- </li>
322
-
323
-
324
- </ul>
325
-
326
-
327
-
328
- <div id="constructor_details" class="method_details_list">
329
- <h2>Constructor Details</h2>
330
-
331
- <div class="method_details first">
332
- <h3 class="signature first" id="initialize-instance_method">
333
-
334
- - (<tt><span class='object_link'><a href="" title="Workbook::Sheet (class)">Workbook::Sheet</a></span></tt>) <strong>initialize</strong>(table = Workbook::Table.new([], self), book = nil, options = {})
335
-
336
-
337
-
338
-
339
-
340
- </h3><div class="docstring">
341
- <div class="discussion">
342
-
343
- <p>Initialize a new sheet</p>
344
-
345
-
346
- </div>
347
- </div>
348
- <div class="tags">
349
- <p class="tag_title">Parameters:</p>
350
- <ul class="param">
351
-
352
- <li>
353
-
354
- <span class='name'>table</span>
355
-
356
-
357
- <span class='type'>(<tt><span class='object_link'><a href="Table.html" title="Workbook::Table (class)">Workbook::Table</a></span></tt>, <tt>Array&lt;Array&gt;</tt>)</span>
358
-
359
-
360
- <em class="default">(defaults to: <tt>Workbook::Table.new([], self)</tt>)</em>
361
-
362
-
363
- &mdash;
364
- <div class='inline'>
365
- <p>The first table of this sheet</p>
366
- </div>
367
-
368
- </li>
369
-
370
- <li>
371
-
372
- <span class='name'>book</span>
373
-
374
-
375
- <span class='type'>(<tt><span class='object_link'><a href="Book.html" title="Workbook::Book (class)">Workbook::Book</a></span></tt>)</span>
376
-
377
-
378
- <em class="default">(defaults to: <tt>nil</tt>)</em>
379
-
380
-
381
- &mdash;
382
- <div class='inline'>
383
- <p>The book this sheet belongs to</p>
384
- </div>
385
-
386
- </li>
387
-
388
- <li>
389
-
390
- <span class='name'>options</span>
391
-
392
-
393
- <span class='type'>(<tt>Hash</tt>)</span>
394
-
395
-
396
- <em class="default">(defaults to: <tt>{}</tt>)</em>
397
-
398
-
399
- &mdash;
400
- <div class='inline'>
401
- <p>are forwarded to Workbook::Table.new</p>
402
- </div>
403
-
404
- </li>
405
-
406
- </ul>
407
-
408
-
409
- </div><table class="source_code">
410
- <tr>
411
- <td>
412
- <pre class="lines">
413
-
414
-
415
- 14
416
- 15
417
- 16
418
- 17
419
- 18
420
- 19
421
- 20
422
- 21
423
- 22</pre>
424
- </td>
425
- <td>
426
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 14</span>
427
-
428
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_table'>table</span><span class='op'>=</span><span class='const'>Workbook</span><span class='op'>::</span><span class='const'>Table</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='kw'>self</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_book'>book</span><span class='op'>=</span><span class='kw'>nil</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>
429
- <span class='kw'>if</span> <span class='id identifier rubyid_table'>table</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Workbook</span><span class='op'>::</span><span class='const'>Table</span>
430
- <span class='id identifier rubyid_push'>push</span> <span class='id identifier rubyid_table'>table</span>
431
- <span class='kw'>else</span>
432
- <span class='id identifier rubyid_push'>push</span> <span class='const'>Workbook</span><span class='op'>::</span><span class='const'>Table</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_table'>table</span><span class='comma'>,</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
433
- <span class='kw'>end</span>
434
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_book'>book</span> <span class='op'>=</span> <span class='id identifier rubyid_book'>book</span>
435
- <span class='kw'>return</span> <span class='kw'>self</span>
436
- <span class='kw'>end</span></pre>
437
- </td>
438
- </tr>
439
- </table>
440
- </div>
441
-
442
- </div>
443
-
444
- <div id="instance_attr_details" class="attr_details">
445
- <h2>Instance Attribute Details</h2>
446
-
447
-
448
- <span id="book=-instance_method"></span>
449
- <div class="method_details first">
450
- <h3 class="signature first" id="book-instance_method">
451
-
452
- - (<tt><span class='object_link'><a href="Book.html" title="Workbook::Book (class)">Workbook::Book</a></span></tt>) <strong>book</strong>
453
-
454
-
455
-
456
-
457
-
458
- </h3><div class="docstring">
459
- <div class="discussion">
460
-
461
- <p>Returns the book this sheet belongs to</p>
462
-
463
-
464
- </div>
465
- </div>
466
- <div class="tags">
467
-
468
- <p class="tag_title">Returns:</p>
469
- <ul class="return">
470
-
471
- <li>
472
-
473
-
474
- <span class='type'>(<tt><span class='object_link'><a href="Book.html" title="Workbook::Book (class)">Workbook::Book</a></span></tt>)</span>
475
-
476
-
477
-
478
- &mdash;
479
- <div class='inline'>
480
- <p>the book this sheet belongs to</p>
481
- </div>
482
-
483
- </li>
484
-
485
- </ul>
486
-
487
- </div><table class="source_code">
488
- <tr>
489
- <td>
490
- <pre class="lines">
491
-
492
-
493
- 5
494
- 6
495
- 7</pre>
496
- </td>
497
- <td>
498
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 5</span>
499
-
500
- <span class='kw'>def</span> <span class='id identifier rubyid_book'>book</span>
501
- <span class='ivar'>@book</span>
502
- <span class='kw'>end</span></pre>
503
- </td>
504
- </tr>
505
- </table>
506
- </div>
507
-
508
-
509
- <span id="name=-instance_method"></span>
510
- <div class="method_details ">
511
- <h3 class="signature " id="name-instance_method">
512
-
513
- - (<tt>Object</tt>) <strong>name</strong>
514
-
515
-
516
-
517
-
518
-
519
- </h3><div class="docstring">
520
- <div class="discussion">
521
-
522
- <p>Returns the value of attribute name</p>
523
-
524
-
525
- </div>
526
- </div>
527
- <div class="tags">
528
-
529
-
530
- </div><table class="source_code">
531
- <tr>
532
- <td>
533
- <pre class="lines">
534
-
535
-
536
- 6
537
- 7
538
- 8</pre>
539
- </td>
540
- <td>
541
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 6</span>
542
-
543
- <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
544
- <span class='ivar'>@name</span>
545
- <span class='kw'>end</span></pre>
546
- </td>
547
- </tr>
548
- </table>
549
- </div>
550
-
551
- </div>
552
-
553
-
554
- <div id="instance_method_details" class="method_details_list">
555
- <h2>Instance Method Details</h2>
556
-
557
-
558
- <div class="method_details first">
559
- <h3 class="signature first" id="clone-instance_method">
560
-
561
- - (<tt><span class='object_link'><a href="" title="Workbook::Sheet (class)">Workbook::Sheet</a></span></tt>) <strong>clone</strong>
562
-
563
-
564
-
565
-
566
-
567
- </h3><div class="docstring">
568
- <div class="discussion">
569
-
570
- <p>clones itself <b>and</b> the tables it contains</p>
571
-
572
-
573
- </div>
574
- </div>
575
- <div class="tags">
576
-
577
- <p class="tag_title">Returns:</p>
578
- <ul class="return">
579
-
580
- <li>
581
-
582
-
583
- <span class='type'>(<tt><span class='object_link'><a href="" title="Workbook::Sheet (class)">Workbook::Sheet</a></span></tt>)</span>
584
-
585
-
586
-
587
- &mdash;
588
- <div class='inline'>
589
- <p>The cloned sheet</p>
590
- </div>
591
-
592
- </li>
593
-
594
- </ul>
595
-
596
- </div><table class="source_code">
597
- <tr>
598
- <td>
599
- <pre class="lines">
600
-
601
-
602
- 60
603
- 61
604
- 62
605
- 63
606
- 64
607
- 65
608
- 66</pre>
609
- </td>
610
- <td>
611
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 60</span>
612
-
613
- <span class='kw'>def</span> <span class='id identifier rubyid_clone'>clone</span>
614
- <span class='id identifier rubyid_s'>s</span> <span class='op'>=</span> <span class='kw'>self</span>
615
- <span class='id identifier rubyid_c'>c</span> <span class='op'>=</span> <span class='kw'>super</span>
616
- <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_delete_all'>delete_all</span>
617
- <span class='id identifier rubyid_s'>s</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_t'>t</span><span class='op'>|</span> <span class='id identifier rubyid_c'>c</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_clone'>clone</span><span class='rbrace'>}</span>
618
- <span class='kw'>return</span> <span class='id identifier rubyid_c'>c</span>
619
- <span class='kw'>end</span></pre>
620
- </td>
621
- </tr>
622
- </table>
623
- </div>
624
-
625
- <div class="method_details ">
626
- <h3 class="signature " id="create_or_open_table_at-instance_method">
627
-
628
- - (<tt>Object</tt>) <strong>create_or_open_table_at</strong>(index)
629
-
630
-
631
-
632
-
633
-
634
- </h3><div class="docstring">
635
- <div class="discussion">
636
-
637
- <p>Create or open the existing table at an index value</p>
638
-
639
-
640
- </div>
641
- </div>
642
- <div class="tags">
643
- <p class="tag_title">Parameters:</p>
644
- <ul class="param">
645
-
646
- <li>
647
-
648
- <span class='name'>index</span>
649
-
650
-
651
- <span class='type'>(<tt>Integer</tt>)</span>
652
-
653
-
654
-
655
- &mdash;
656
- <div class='inline'>
657
- <p>the index of the table</p>
658
- </div>
659
-
660
- </li>
661
-
662
- </ul>
663
-
664
-
665
- </div><table class="source_code">
666
- <tr>
667
- <td>
668
- <pre class="lines">
669
-
670
-
671
- 71
672
- 72
673
- 73
674
- 74
675
- 75
676
- 76</pre>
677
- </td>
678
- <td>
679
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 71</span>
680
-
681
- <span class='kw'>def</span> <span class='id identifier rubyid_create_or_open_table_at'>create_or_open_table_at</span> <span class='id identifier rubyid_index'>index</span>
682
- <span class='id identifier rubyid_t'>t</span> <span class='op'>=</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id identifier rubyid_index'>index</span><span class='rbracket'>]</span>
683
- <span class='id identifier rubyid_t'>t</span> <span class='op'>=</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id identifier rubyid_index'>index</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>Workbook</span><span class='op'>::</span><span class='const'>Table</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>if</span> <span class='id identifier rubyid_t'>t</span> <span class='op'>==</span> <span class='kw'>nil</span>
684
- <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_sheet'>sheet</span> <span class='op'>=</span> <span class='kw'>self</span>
685
- <span class='id identifier rubyid_t'>t</span>
686
- <span class='kw'>end</span></pre>
687
- </td>
688
- </tr>
689
- </table>
690
- </div>
691
-
692
- <div class="method_details ">
693
- <h3 class="signature " id="delete_all-instance_method">
694
-
695
- - (<tt><span class='object_link'><a href="Table.html" title="Workbook::Table (class)">Workbook::Table</a></span></tt>) <strong>delete_all</strong>
696
-
697
-
698
-
699
-
700
-
701
- </h3><div class="docstring">
702
- <div class="discussion">
703
-
704
- <p>Removes all lines from this table</p>
705
-
706
-
707
- </div>
708
- </div>
709
- <div class="tags">
710
-
711
- <p class="tag_title">Returns:</p>
712
- <ul class="return">
713
-
714
- <li>
715
-
716
-
717
- <span class='type'>(<tt><span class='object_link'><a href="Table.html" title="Workbook::Table (class)">Workbook::Table</a></span></tt>)</span>
718
-
719
-
720
-
721
- &mdash;
722
- <div class='inline'>
723
- <p>(self)</p>
724
- </div>
725
-
726
- </li>
727
-
728
- </ul>
729
-
730
- </div><table class="source_code">
731
- <tr>
732
- <td>
733
- <pre class="lines">
734
-
735
-
736
- 53
737
- 54
738
- 55</pre>
739
- </td>
740
- <td>
741
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 53</span>
742
-
743
- <span class='kw'>def</span> <span class='id identifier rubyid_delete_all'>delete_all</span>
744
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_delete_if'>delete_if</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_b'>b</span><span class='op'>|</span> <span class='kw'>true</span><span class='rbrace'>}</span>
745
- <span class='kw'>end</span></pre>
746
- </td>
747
- </tr>
748
- </table>
749
- </div>
750
-
751
- <div class="method_details ">
752
- <h3 class="signature " id="has_contents?-instance_method">
753
-
754
- - (<tt>Boolean</tt>) <strong>has_contents?</strong>
755
-
756
-
757
-
758
-
759
-
760
- </h3><div class="docstring">
761
- <div class="discussion">
762
-
763
- <p>Returns true if the first table of this sheet contains anything</p>
764
-
765
-
766
- </div>
767
- </div>
768
- <div class="tags">
769
-
770
- <p class="tag_title">Returns:</p>
771
- <ul class="return">
772
-
773
- <li>
774
-
775
-
776
- <span class='type'>(<tt>Boolean</tt>)</span>
777
-
778
-
779
-
780
- </li>
781
-
782
- </ul>
783
-
784
- </div><table class="source_code">
785
- <tr>
786
- <td>
787
- <pre class="lines">
788
-
789
-
790
- 27
791
- 28
792
- 29</pre>
793
- </td>
794
- <td>
795
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 27</span>
796
-
797
- <span class='kw'>def</span> <span class='id identifier rubyid_has_contents?'>has_contents?</span>
798
- <span class='id identifier rubyid_table'>table</span><span class='period'>.</span><span class='id identifier rubyid_has_contents?'>has_contents?</span>
799
- <span class='kw'>end</span></pre>
800
- </td>
801
- </tr>
802
- </table>
803
- </div>
804
-
805
- <div class="method_details ">
806
- <h3 class="signature " id="table-instance_method">
807
-
808
- - (<tt><span class='object_link'><a href="Table.html" title="Workbook::Table (class)">Workbook::Table</a></span></tt>) <strong>table</strong>
809
-
810
-
811
-
812
-
813
-
814
- </h3><div class="docstring">
815
- <div class="discussion">
816
-
817
- <p>Returns the first table of this sheet</p>
818
-
819
-
820
- </div>
821
- </div>
822
- <div class="tags">
823
-
824
- <p class="tag_title">Returns:</p>
825
- <ul class="return">
826
-
827
- <li>
828
-
829
-
830
- <span class='type'>(<tt><span class='object_link'><a href="Table.html" title="Workbook::Table (class)">Workbook::Table</a></span></tt>)</span>
831
-
832
-
833
-
834
- &mdash;
835
- <div class='inline'>
836
- <p>the first table of this sheet</p>
837
- </div>
838
-
839
- </li>
840
-
841
- </ul>
842
-
843
- </div><table class="source_code">
844
- <tr>
845
- <td>
846
- <pre class="lines">
847
-
848
-
849
- 34
850
- 35
851
- 36</pre>
852
- </td>
853
- <td>
854
- <pre class="code"><span class="info file"># File 'lib/workbook/sheet.rb', line 34</span>
855
-
856
- <span class='kw'>def</span> <span class='id identifier rubyid_table'>table</span>
857
- <span class='id identifier rubyid_first'>first</span>
858
- <span class='kw'>end</span></pre>
859
- </td>
860
- </tr>
861
- </table>
862
- </div>
863
-
864
- </div>
865
-
866
- </div>
867
-
868
- <div id="footer">
869
- Generated on Sun May 19 23:16:31 2013 by
870
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
871
- 0.8.5.2 (ruby-1.9.3).
872
- </div>
873
-
874
- </body>
875
- </html>