epub-parser 0.0.2 → 0.0.3

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 (62) hide show
  1. data/.gitignore +1 -0
  2. data/MIT-LICENSE +1 -1
  3. data/README +7 -0
  4. data/lib/epub/book.rb +7 -1
  5. data/lib/epub/constants.rb +29 -0
  6. data/lib/epub/parser.rb +11 -3
  7. data/lib/epub/parser/publication.rb +14 -3
  8. data/lib/epub/parser/version.rb +1 -1
  9. data/lib/epub/publication/package.rb +6 -1
  10. data/lib/epub/publication/package/guide.rb +37 -2
  11. data/lib/epub/publication/package/manifest.rb +41 -4
  12. data/test/fixtures/book.epub +0 -0
  13. data/test/fixtures/book/OPS//343/203/253/343/203/274/343/203/210/343/203/225/343/202/241/343/202/244/343/203/253.opf +12 -2
  14. data/test/test_parser_publication.rb +73 -4
  15. metadata +26 -73
  16. data/doc/EPUB.html +0 -143
  17. data/doc/EPUB/Book.html +0 -616
  18. data/doc/EPUB/Constants.html +0 -130
  19. data/doc/EPUB/Constants/Type.html +0 -118
  20. data/doc/EPUB/ContentDocument.html +0 -108
  21. data/doc/EPUB/ContentDocument/Navigation.html +0 -673
  22. data/doc/EPUB/ContentDocument/Navigation/Nav.html +0 -563
  23. data/doc/EPUB/ContentDocument/Navigation/Nav/Ol.html +0 -285
  24. data/doc/EPUB/ContentDocument/Navigation/Nav/Ol/A.html +0 -354
  25. data/doc/EPUB/ContentDocument/Navigation/Nav/Ol/Span.html +0 -354
  26. data/doc/EPUB/OCF.html +0 -135
  27. data/doc/EPUB/OCF/Container.html +0 -358
  28. data/doc/EPUB/OCF/Container/Rootfile.html +0 -257
  29. data/doc/EPUB/OCF/Encryption.html +0 -111
  30. data/doc/EPUB/OCF/Manifest.html +0 -111
  31. data/doc/EPUB/OCF/Metadata.html +0 -111
  32. data/doc/EPUB/OCF/Rights.html +0 -111
  33. data/doc/EPUB/OCF/Signatures.html +0 -111
  34. data/doc/EPUB/Parser.html +0 -448
  35. data/doc/EPUB/Parser/ContentDocument.html +0 -531
  36. data/doc/EPUB/Parser/OCF.html +0 -635
  37. data/doc/EPUB/Parser/Publication.html +0 -640
  38. data/doc/EPUB/Publication.html +0 -108
  39. data/doc/EPUB/Publication/Package.html +0 -751
  40. data/doc/EPUB/Publication/Package/Bindings.html +0 -267
  41. data/doc/EPUB/Publication/Package/Bindings/MediaType.html +0 -257
  42. data/doc/EPUB/Publication/Package/Guide.html +0 -111
  43. data/doc/EPUB/Publication/Package/Manifest.html +0 -578
  44. data/doc/EPUB/Publication/Package/Manifest/Item.html +0 -669
  45. data/doc/EPUB/Publication/Package/Metadata.html +0 -257
  46. data/doc/EPUB/Publication/Package/Spine.html +0 -755
  47. data/doc/EPUB/Publication/Package/Spine/Itemref.html +0 -558
  48. data/doc/EPUB/Type.html +0 -118
  49. data/doc/_index.html +0 -422
  50. data/doc/class_list.html +0 -47
  51. data/doc/css/common.css +0 -1
  52. data/doc/css/full_list.css +0 -55
  53. data/doc/css/style.css +0 -322
  54. data/doc/file.README.html +0 -76
  55. data/doc/file_list.html +0 -49
  56. data/doc/frames.html +0 -13
  57. data/doc/index.html +0 -76
  58. data/doc/js/app.js +0 -205
  59. data/doc/js/full_list.js +0 -167
  60. data/doc/js/jquery.js +0 -16
  61. data/doc/method_list.html +0 -902
  62. data/doc/top-level-namespace.html +0 -103
data/doc/EPUB.html DELETED
@@ -1,143 +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
- Module: EPUB
8
-
9
- &mdash; Documentation by YARD 0.7.4
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
- relpath = '';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="_index.html">Index (E)</a> &raquo;
37
-
38
-
39
- <span class="title">EPUB</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Module: EPUB
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
-
68
-
69
-
70
-
71
- <dt class="r1">Includes:</dt>
72
- <dd class="r1"><span class='object_link'><a href="EPUB/Constants.html" title="EPUB::Constants (module)">Constants</a></span></dd>
73
-
74
-
75
-
76
-
77
-
78
- <dt class="r2 last">Defined in:</dt>
79
- <dd class="r2 last">lib/epub/publication/package/guide.rb<span class="defines">,<br />
80
- lib/epub/ocf.rb,<br /> lib/epub/book.rb,<br /> lib/epub/parser.rb,<br /> lib/epub/constants.rb,<br /> lib/epub/ocf/rights.rb,<br /> lib/epub/parser/ocf.rb,<br /> lib/epub/publication.rb,<br /> lib/epub/ocf/manifest.rb,<br /> lib/epub/ocf/metadata.rb,<br /> lib/epub/ocf/container.rb,<br /> lib/epub/parser/version.rb,<br /> lib/epub/ocf/encryption.rb,<br /> lib/epub/ocf/signatures.rb,<br /> lib/epub/content_document.rb,<br /> lib/epub/parser/publication.rb,<br /> lib/epub/publication/package.rb,<br /> lib/epub/parser/content_document.rb,<br /> lib/epub/publication/package/spine.rb,<br /> lib/epub/content_document/navigation.rb,<br /> lib/epub/publication/package/bindings.rb,<br /> lib/epub/publication/package/metadata.rb,<br /> lib/epub/publication/package/manifest.rb</span>
81
- </dd>
82
-
83
- </dl>
84
- <div class="clear"></div>
85
-
86
- <h2>Overview</h2><div class="docstring">
87
- <div class="discussion">
88
-
89
- <p>This class is deprecated See OPF2 for specification</p>
90
-
91
-
92
- </div>
93
- </div>
94
- <div class="tags">
95
-
96
-
97
- </div><h2>Defined Under Namespace</h2>
98
- <p class="children">
99
-
100
-
101
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="EPUB/Constants.html" title="EPUB::Constants (module)">Constants</a></span>, <span class='object_link'><a href="EPUB/ContentDocument.html" title="EPUB::ContentDocument (module)">ContentDocument</a></span>, <span class='object_link'><a href="EPUB/Publication.html" title="EPUB::Publication (module)">Publication</a></span>
102
-
103
-
104
-
105
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="EPUB/Book.html" title="EPUB::Book (class)">Book</a></span>, <span class='object_link'><a href="EPUB/OCF.html" title="EPUB::OCF (class)">OCF</a></span>, <span class='object_link'><a href="EPUB/Parser.html" title="EPUB::Parser (class)">Parser</a></span>
106
-
107
-
108
- </p>
109
-
110
- <h2>Constant Summary</h2>
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
- <h3 class="inherited">Constants included from <span class='object_link'><a href="EPUB/Constants.html" title="EPUB::Constants (module)">Constants</a></span></h3>
119
- <p class="inherited"><span class='object_link'><a href="EPUB/Constants.html#NAMESPACES-constant" title="EPUB::Constants::NAMESPACES (constant)">NAMESPACES</a></span></p>
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
- </div>
135
-
136
- <div id="footer">
137
- Generated on Fri Dec 30 08:49:44 2011 by
138
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139
- 0.7.4 (ruby-1.9.3).
140
- </div>
141
-
142
- </body>
143
- </html>
data/doc/EPUB/Book.html DELETED
@@ -1,616 +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: EPUB::Book
8
-
9
- &mdash; Documentation by YARD 0.7.4
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
- relpath = '..';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="../_index.html">Index (B)</a> &raquo;
37
- <span class='title'><span class='object_link'><a href="../EPUB.html" title="EPUB (module)">EPUB</a></span></span>
38
- &raquo;
39
- <span class="title">Book</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Class: EPUB::Book
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
- <dt class="r1">Inherits:</dt>
68
- <dd class="r1">
69
- <span class="inheritName">Object</span>
70
-
71
- <ul class="fullTree">
72
- <li>Object</li>
73
-
74
- <li class="next">EPUB::Book</li>
75
-
76
- </ul>
77
- <a href="#" class="inheritanceTree">show all</a>
78
-
79
- </dd>
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
- <dt class="r2 last">Defined in:</dt>
90
- <dd class="r2 last">lib/epub/book.rb</dd>
91
-
92
- </dl>
93
- <div class="clear"></div>
94
-
95
-
96
-
97
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
98
- <ul class="summary">
99
-
100
- <li class="public ">
101
- <span class="summary_signature">
102
-
103
- <a href="#content_document-instance_method" title="#content_document (instance method)">- (Object) <strong>content_document</strong> </a>
104
-
105
-
106
-
107
- </span>
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- <span class="summary_desc"><div class='inline'>
120
- <p>Returns the value of attribute content_document.</p>
121
- </div></span>
122
-
123
- </li>
124
-
125
-
126
- <li class="public ">
127
- <span class="summary_signature">
128
-
129
- <a href="#ocf-instance_method" title="#ocf (instance method)">- (Object) <strong>ocf</strong> </a>
130
-
131
-
132
-
133
- </span>
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
- <span class="summary_desc"><div class='inline'>
146
- <p>Returns the value of attribute ocf.</p>
147
- </div></span>
148
-
149
- </li>
150
-
151
-
152
- <li class="public ">
153
- <span class="summary_signature">
154
-
155
- <a href="#package-instance_method" title="#package (instance method)">- (Object) <strong>package</strong> </a>
156
-
157
-
158
-
159
- </span>
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <span class="summary_desc"><div class='inline'>
172
- <p>Returns the value of attribute package.</p>
173
- </div></span>
174
-
175
- </li>
176
-
177
-
178
- </ul>
179
-
180
-
181
-
182
-
183
-
184
- <h2>
185
- Instance Method Summary
186
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
187
- </h2>
188
-
189
- <ul class="summary">
190
-
191
- <li class="public ">
192
- <span class="summary_signature">
193
-
194
- <a href="#each_content-instance_method" title="#each_content (instance method)">- (Object) <strong>each_content</strong>(&amp;blk) </a>
195
-
196
-
197
-
198
- </span>
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
- <span class="summary_desc"><div class='inline'></div></span>
208
-
209
- </li>
210
-
211
-
212
- <li class="public ">
213
- <span class="summary_signature">
214
-
215
- <a href="#each_page_by_spine-instance_method" title="#each_page_by_spine (instance method)">- (Object) <strong>each_page_by_spine</strong>(&amp;blk) </a>
216
-
217
-
218
-
219
- </span>
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
- <span class="summary_desc"><div class='inline'></div></span>
229
-
230
- </li>
231
-
232
-
233
- <li class="public ">
234
- <span class="summary_signature">
235
-
236
- <a href="#each_page_by_toc-instance_method" title="#each_page_by_toc (instance method)">- (Object) <strong>each_page_by_toc</strong>(&amp;blk) </a>
237
-
238
-
239
-
240
- </span>
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
- <span class="summary_desc"><div class='inline'></div></span>
250
-
251
- </li>
252
-
253
-
254
- <li class="public ">
255
- <span class="summary_signature">
256
-
257
- <a href="#other_navigation-instance_method" title="#other_navigation (instance method)">- (Object) <strong>other_navigation</strong> </a>
258
-
259
-
260
-
261
- </span>
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
- <span class="summary_desc"><div class='inline'></div></span>
271
-
272
- </li>
273
-
274
-
275
- <li class="public ">
276
- <span class="summary_signature">
277
-
278
- <a href="#rootfile_path-instance_method" title="#rootfile_path (instance method)">- (Object) <strong>rootfile_path</strong> </a>
279
-
280
-
281
-
282
- </span>
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
- <span class="summary_desc"><div class='inline'>
292
- <p>Syntax suger.</p>
293
- </div></span>
294
-
295
- </li>
296
-
297
-
298
- </ul>
299
-
300
-
301
-
302
- <div id="instance_attr_details" class="attr_details">
303
- <h2>Instance Attribute Details</h2>
304
-
305
-
306
- <span id="content_document=-instance_method"></span>
307
- <span id="content_document-instance_method"></span>
308
- <div class="method_details first">
309
- <p class="signature first" id="content_document-instance_method">
310
-
311
- - (<tt>Object</tt>) <strong>content_document</strong>
312
-
313
-
314
-
315
- </p><div class="docstring">
316
- <div class="discussion">
317
-
318
- <p>Returns the value of attribute content_document</p>
319
-
320
-
321
- </div>
322
- </div>
323
- <div class="tags">
324
-
325
-
326
- </div><table class="source_code">
327
- <tr>
328
- <td>
329
- <pre class="lines">
330
-
331
-
332
- 7
333
- 8
334
- 9</pre>
335
- </td>
336
- <td>
337
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 7</span>
338
-
339
- <span class='kw'>def</span> <span class='id identifier rubyid_content_document'>content_document</span>
340
- <span class='ivar'>@content_document</span>
341
- <span class='kw'>end</span></pre>
342
- </td>
343
- </tr>
344
- </table>
345
- </div>
346
-
347
-
348
- <span id="ocf=-instance_method"></span>
349
- <span id="ocf-instance_method"></span>
350
- <div class="method_details ">
351
- <p class="signature " id="ocf-instance_method">
352
-
353
- - (<tt>Object</tt>) <strong>ocf</strong>
354
-
355
-
356
-
357
- </p><div class="docstring">
358
- <div class="discussion">
359
-
360
- <p>Returns the value of attribute ocf</p>
361
-
362
-
363
- </div>
364
- </div>
365
- <div class="tags">
366
-
367
-
368
- </div><table class="source_code">
369
- <tr>
370
- <td>
371
- <pre class="lines">
372
-
373
-
374
- 7
375
- 8
376
- 9</pre>
377
- </td>
378
- <td>
379
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 7</span>
380
-
381
- <span class='kw'>def</span> <span class='id identifier rubyid_ocf'>ocf</span>
382
- <span class='ivar'>@ocf</span>
383
- <span class='kw'>end</span></pre>
384
- </td>
385
- </tr>
386
- </table>
387
- </div>
388
-
389
-
390
- <span id="package=-instance_method"></span>
391
- <span id="package-instance_method"></span>
392
- <div class="method_details ">
393
- <p class="signature " id="package-instance_method">
394
-
395
- - (<tt>Object</tt>) <strong>package</strong>
396
-
397
-
398
-
399
- </p><div class="docstring">
400
- <div class="discussion">
401
-
402
- <p>Returns the value of attribute package</p>
403
-
404
-
405
- </div>
406
- </div>
407
- <div class="tags">
408
-
409
-
410
- </div><table class="source_code">
411
- <tr>
412
- <td>
413
- <pre class="lines">
414
-
415
-
416
- 7
417
- 8
418
- 9</pre>
419
- </td>
420
- <td>
421
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 7</span>
422
-
423
- <span class='kw'>def</span> <span class='id identifier rubyid_package'>package</span>
424
- <span class='ivar'>@package</span>
425
- <span class='kw'>end</span></pre>
426
- </td>
427
- </tr>
428
- </table>
429
- </div>
430
-
431
- </div>
432
-
433
-
434
- <div id="instance_method_details" class="method_details_list">
435
- <h2>Instance Method Details</h2>
436
-
437
-
438
- <div class="method_details first">
439
- <p class="signature first" id="each_content-instance_method">
440
-
441
- - (<tt>Object</tt>) <strong>each_content</strong>(&amp;blk)
442
-
443
-
444
-
445
- </p><table class="source_code">
446
- <tr>
447
- <td>
448
- <pre class="lines">
449
-
450
-
451
- 20
452
- 21
453
- 22
454
- 23
455
- 24
456
- 25
457
- 26
458
- 27</pre>
459
- </td>
460
- <td>
461
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 20</span>
462
-
463
- <span class='kw'>def</span> <span class='id identifier rubyid_each_content'>each_content</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span><span class='rparen'>)</span>
464
- <span class='id identifier rubyid_enum'>enum</span> <span class='op'>=</span> <span class='ivar'>@package</span><span class='period'>.</span><span class='id identifier rubyid_manifest'>manifest</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
465
- <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
466
- <span class='id identifier rubyid_enum'>enum</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span>
467
- <span class='kw'>else</span>
468
- <span class='id identifier rubyid_enum'>enum</span><span class='period'>.</span><span class='id identifier rubyid_to_enum'>to_enum</span>
469
- <span class='kw'>end</span>
470
- <span class='kw'>end</span></pre>
471
- </td>
472
- </tr>
473
- </table>
474
- </div>
475
-
476
- <div class="method_details ">
477
- <p class="signature " id="each_page_by_spine-instance_method">
478
-
479
- - (<tt>Object</tt>) <strong>each_page_by_spine</strong>(&amp;blk)
480
-
481
-
482
-
483
- </p><table class="source_code">
484
- <tr>
485
- <td>
486
- <pre class="lines">
487
-
488
-
489
- 9
490
- 10
491
- 11
492
- 12
493
- 13
494
- 14
495
- 15
496
- 16</pre>
497
- </td>
498
- <td>
499
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 9</span>
500
-
501
- <span class='kw'>def</span> <span class='id identifier rubyid_each_page_by_spine'>each_page_by_spine</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span><span class='rparen'>)</span>
502
- <span class='id identifier rubyid_enum'>enum</span> <span class='op'>=</span> <span class='ivar'>@package</span><span class='period'>.</span><span class='id identifier rubyid_spine'>spine</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
503
- <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
504
- <span class='id identifier rubyid_enum'>enum</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span>
505
- <span class='kw'>else</span>
506
- <span class='id identifier rubyid_enum'>enum</span>
507
- <span class='kw'>end</span>
508
- <span class='kw'>end</span></pre>
509
- </td>
510
- </tr>
511
- </table>
512
- </div>
513
-
514
- <div class="method_details ">
515
- <p class="signature " id="each_page_by_toc-instance_method">
516
-
517
- - (<tt>Object</tt>) <strong>each_page_by_toc</strong>(&amp;blk)
518
-
519
-
520
-
521
- </p><table class="source_code">
522
- <tr>
523
- <td>
524
- <pre class="lines">
525
-
526
-
527
- 17
528
- 18</pre>
529
- </td>
530
- <td>
531
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 17</span>
532
-
533
- <span class='kw'>def</span> <span class='id identifier rubyid_each_page_by_toc'>each_page_by_toc</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_blk'>blk</span><span class='rparen'>)</span>
534
- <span class='kw'>end</span></pre>
535
- </td>
536
- </tr>
537
- </table>
538
- </div>
539
-
540
- <div class="method_details ">
541
- <p class="signature " id="other_navigation-instance_method">
542
-
543
- - (<tt>Object</tt>) <strong>other_navigation</strong>
544
-
545
-
546
-
547
- </p><table class="source_code">
548
- <tr>
549
- <td>
550
- <pre class="lines">
551
-
552
-
553
- 29
554
- 30</pre>
555
- </td>
556
- <td>
557
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 29</span>
558
-
559
- <span class='kw'>def</span> <span class='id identifier rubyid_other_navigation'>other_navigation</span>
560
- <span class='kw'>end</span></pre>
561
- </td>
562
- </tr>
563
- </table>
564
- </div>
565
-
566
- <div class="method_details ">
567
- <p class="signature " id="rootfile_path-instance_method">
568
-
569
- - (<tt>Object</tt>) <strong>rootfile_path</strong>
570
-
571
-
572
-
573
- </p><div class="docstring">
574
- <div class="discussion">
575
-
576
- <p>Syntax suger</p>
577
-
578
-
579
- </div>
580
- </div>
581
- <div class="tags">
582
-
583
-
584
- </div><table class="source_code">
585
- <tr>
586
- <td>
587
- <pre class="lines">
588
-
589
-
590
- 33
591
- 34
592
- 35</pre>
593
- </td>
594
- <td>
595
- <pre class="code"><span class="info file"># File 'lib/epub/book.rb', line 33</span>
596
-
597
- <span class='kw'>def</span> <span class='id identifier rubyid_rootfile_path'>rootfile_path</span>
598
- <span class='id identifier rubyid_ocf'>ocf</span><span class='period'>.</span><span class='id identifier rubyid_container'>container</span><span class='period'>.</span><span class='id identifier rubyid_rootfile'>rootfile</span><span class='period'>.</span><span class='id identifier rubyid_full_path'>full_path</span>
599
- <span class='kw'>end</span></pre>
600
- </td>
601
- </tr>
602
- </table>
603
- </div>
604
-
605
- </div>
606
-
607
- </div>
608
-
609
- <div id="footer">
610
- Generated on Fri Dec 30 08:49:44 2011 by
611
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
612
- 0.7.4 (ruby-1.9.3).
613
- </div>
614
-
615
- </body>
616
- </html>