rb_cdio 0.2.0 → 0.2.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.
Files changed (108) hide show
  1. data/VERSION +1 -1
  2. data/ext/CdIo.h +0 -9
  3. data/ext/CdIo_Cd.c +1 -1
  4. data/ext/CdIo_Cdda.c +7 -1
  5. data/ext/extconf.rb +6 -6
  6. data/ext/mkmf.log +45 -20
  7. data/test/{testbincue.rb → test_bincue.rb} +0 -0
  8. data/test/{testclose.rb → test_close.rb} +0 -0
  9. data/test/{testmethods.rb → test_methods.rb} +1 -1
  10. data/test/{testtoc.rb → test_toc.rb} +4 -2
  11. data/test/testall.rb +4 -4
  12. metadata +195 -406
  13. data/doc/classes/CdIo.html +0 -511
  14. data/doc/classes/CdIo.src/M000001.html +0 -17
  15. data/doc/classes/CdIo.src/M000002.html +0 -17
  16. data/doc/classes/CdIo.src/M000003.html +0 -17
  17. data/doc/classes/CdIo.src/M000004.html +0 -17
  18. data/doc/classes/CdIo.src/M000005.html +0 -17
  19. data/doc/classes/CdIo.src/M000006.html +0 -17
  20. data/doc/classes/CdIo.src/M000007.html +0 -17
  21. data/doc/classes/CdIo.src/M000008.html +0 -17
  22. data/doc/classes/CdIo/Cd.html +0 -348
  23. data/doc/classes/CdIo/Cd.src/M000020.html +0 -17
  24. data/doc/classes/CdIo/Cd.src/M000021.html +0 -17
  25. data/doc/classes/CdIo/Cd.src/M000022.html +0 -17
  26. data/doc/classes/CdIo/Cd.src/M000023.html +0 -17
  27. data/doc/classes/CdIo/Cd.src/M000024.html +0 -17
  28. data/doc/classes/CdIo/Cd.src/M000025.html +0 -17
  29. data/doc/classes/CdIo/Cd.src/M000026.html +0 -17
  30. data/doc/classes/CdIo/Cd.src/M000027.html +0 -17
  31. data/doc/classes/CdIo/Cd.src/M000028.html +0 -17
  32. data/doc/classes/CdIo/Cd.src/M000029.html +0 -17
  33. data/doc/classes/CdIo/Cd.src/M000030.html +0 -17
  34. data/doc/classes/CdIo/Cd.src/M000031.html +0 -17
  35. data/doc/classes/CdIo/Cd.src/M000032.html +0 -17
  36. data/doc/classes/CdIo/Cd.src/M000033.html +0 -17
  37. data/doc/classes/CdIo/Cd.src/M000034.html +0 -17
  38. data/doc/classes/CdIo/Cd.src/M000035.html +0 -17
  39. data/doc/classes/CdIo/Cdda.html +0 -428
  40. data/doc/classes/CdIo/Cdda.src/M000009.html +0 -17
  41. data/doc/classes/CdIo/Cdda.src/M000010.html +0 -17
  42. data/doc/classes/CdIo/Cdda.src/M000011.html +0 -17
  43. data/doc/classes/CdIo/Cdda.src/M000012.html +0 -17
  44. data/doc/classes/CdIo/Cdda.src/M000013.html +0 -17
  45. data/doc/classes/CdIo/Cdda.src/M000014.html +0 -17
  46. data/doc/classes/CdIo/Cdda.src/M000015.html +0 -17
  47. data/doc/classes/CdIo/Cdda.src/M000016.html +0 -17
  48. data/doc/classes/CdIo/Cdda.src/M000017.html +0 -17
  49. data/doc/classes/CdIo/Cdda.src/M000018.html +0 -17
  50. data/doc/classes/CdIo/Cdda.src/M000019.html +0 -17
  51. data/doc/classes/CdIo/Cdda.src/M000020.html +0 -17
  52. data/doc/classes/CdIo/Cdda.src/M000021.html +0 -17
  53. data/doc/classes/CdIo/Cdda.src/M000022.html +0 -17
  54. data/doc/classes/CdIo/Cdda.src/M000023.html +0 -17
  55. data/doc/classes/CdIo/Cdda.src/M000024.html +0 -17
  56. data/doc/classes/CdIo/Exception.html +0 -118
  57. data/doc/classes/CdIo/Exception/BadParameter.html +0 -111
  58. data/doc/classes/CdIo/Exception/BadPointer.html +0 -111
  59. data/doc/classes/CdIo/Exception/CddbConn.html +0 -111
  60. data/doc/classes/CdIo/Exception/CddbError.html +0 -111
  61. data/doc/classes/CdIo/Exception/Error.html +0 -111
  62. data/doc/classes/CdIo/Exception/NoDriver.html +0 -111
  63. data/doc/classes/CdIo/Exception/NotPermitted.html +0 -111
  64. data/doc/classes/CdIo/Exception/Unsupported.html +0 -111
  65. data/doc/classes/CdIo/Track.html +0 -246
  66. data/doc/classes/CdIo/Track.src/M000017.html +0 -17
  67. data/doc/classes/CdIo/Track.src/M000018.html +0 -17
  68. data/doc/classes/CdIo/Track.src/M000019.html +0 -17
  69. data/doc/classes/CdIo/Track.src/M000025.html +0 -17
  70. data/doc/classes/CdIo/Track.src/M000026.html +0 -17
  71. data/doc/classes/CdIo/Track.src/M000027.html +0 -17
  72. data/doc/classes/CdIo/TrackCdda.html +0 -169
  73. data/doc/classes/CdIo/TrackCdda.src/M000031.html +0 -17
  74. data/doc/classes/CdIo/TrackCdda.src/M000039.html +0 -17
  75. data/doc/classes/CdIo/TrackCdda.src/M000040.html +0 -17
  76. data/doc/classes/CdIo/TrackCdda.src/M000041.html +0 -17
  77. data/doc/classes/CdIo/TrackIso9660.html +0 -159
  78. data/doc/classes/CdIo/Tracks.html +0 -199
  79. data/doc/classes/CdIo/Tracks.src/M000028.html +0 -17
  80. data/doc/classes/CdIo/Tracks.src/M000029.html +0 -17
  81. data/doc/classes/CdIo/Tracks.src/M000030.html +0 -17
  82. data/doc/classes/CdIo/Tracks.src/M000036.html +0 -17
  83. data/doc/classes/CdIo/Tracks.src/M000037.html +0 -17
  84. data/doc/classes/CdIo/Tracks.src/M000038.html +0 -17
  85. data/doc/created.rid +0 -1
  86. data/doc/files/__/rb_cdio_def_rb.html +0 -235
  87. data/doc/files/rb_cdio_def_rb.html +0 -244
  88. data/doc/fr_class_index.html +0 -42
  89. data/doc/fr_file_index.html +0 -27
  90. data/doc/fr_method_index.html +0 -67
  91. data/doc/index.html +0 -24
  92. data/mkmf.log +0 -26
  93. data/svn-commit.tmp +0 -5
  94. data/tags +0 -47
  95. data/test/data/check_common_fn.in +0 -186
  96. data/test/data/check_cue.sh.in +0 -117
  97. data/test/data/check_iso.sh.in +0 -52
  98. data/test/data/check_nrg.sh.in +0 -70
  99. data/test/data/check_paranoia.sh.in +0 -78
  100. data/test/data/check_sizeof +0 -117
  101. data/test/data/check_sizeof.c +0 -77
  102. data/test/data/testassert.c +0 -36
  103. data/test/data/testbincue.c +0 -104
  104. data/test/data/testdefault.c +0 -202
  105. data/test/data/testischar.c +0 -71
  106. data/test/data/testiso9660.c +0 -158
  107. data/test/data/testparanoia.c +0 -185
  108. data/test/data/testtoc.c +0 -114
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>devices (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 95</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">devices</span>
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>default_device (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 100</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">default_device</span>(<span class="ruby-identifier">cd</span>=<span class="ruby-keyword kw">nil</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>drive_cap_dev (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 106</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">drive_cap_dev</span>(<span class="ruby-identifier">device</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>driver_describe (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 111</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">driver_describe</span>(<span class="ruby-identifier">driver</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>discmode_describe (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 116</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">discmode_describe</span>(<span class="ruby-identifier">driver</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>track_format_describe (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 121</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">track_format_describe</span>(<span class="ruby-identifier">track_format</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>track_type_describe (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 126</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">track_type_describe</span>(<span class="ruby-identifier">track</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>open (CdIo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 139</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CdIo</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">device</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">driver</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,348 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: CdIo::Cd</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">CdIo::Cd</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/rb_cdio_def_rb.html">
59
- rb_cdio.def.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000029">cdtext</a>&nbsp;&nbsp;
90
- <a href="#M000035">close</a>&nbsp;&nbsp;
91
- <a href="#M000033">drive_cap</a>&nbsp;&nbsp;
92
- <a href="#M000034">hwinfo</a>&nbsp;&nbsp;
93
- <a href="#M000031">is_cd?</a>&nbsp;&nbsp;
94
- <a href="#M000032">is_dvd?</a>&nbsp;&nbsp;
95
- <a href="#M000028">new</a>&nbsp;&nbsp;
96
- <a href="#M000030">tracks</a>&nbsp;&nbsp;
97
- </div>
98
- </div>
99
-
100
- </div>
101
-
102
-
103
- <!-- if includes -->
104
-
105
- <div id="section">
106
-
107
-
108
-
109
-
110
-
111
- <div id="attribute-list">
112
- <h3 class="section-bar">Attributes</h3>
113
-
114
- <div class="name-list">
115
- <table>
116
- <tr class="top-aligned-row context-row">
117
- <td class="context-item-name">device</td>
118
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
119
- <td class="context-item-desc"></td>
120
- </tr>
121
- <tr class="top-aligned-row context-row">
122
- <td class="context-item-name">disc_mode</td>
123
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
124
- <td class="context-item-desc"></td>
125
- </tr>
126
- <tr class="top-aligned-row context-row">
127
- <td class="context-item-name">driver_id</td>
128
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
129
- <td class="context-item-desc"></td>
130
- </tr>
131
- <tr class="top-aligned-row context-row">
132
- <td class="context-item-name">driver_name</td>
133
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
134
- <td class="context-item-desc"></td>
135
- </tr>
136
- <tr class="top-aligned-row context-row">
137
- <td class="context-item-name">first_track_num</td>
138
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
139
- <td class="context-item-desc"></td>
140
- </tr>
141
- <tr class="top-aligned-row context-row">
142
- <td class="context-item-name">joliet_level</td>
143
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
144
- <td class="context-item-desc"></td>
145
- </tr>
146
- <tr class="top-aligned-row context-row">
147
- <td class="context-item-name">last_lsn</td>
148
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
149
- <td class="context-item-desc"></td>
150
- </tr>
151
- <tr class="top-aligned-row context-row">
152
- <td class="context-item-name">mcn</td>
153
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
154
- <td class="context-item-desc"></td>
155
- </tr>
156
- <tr class="top-aligned-row context-row">
157
- <td class="context-item-name">num_tracks</td>
158
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
159
- <td class="context-item-desc"></td>
160
- </tr>
161
- </table>
162
- </div>
163
- </div>
164
-
165
-
166
-
167
- <!-- if method_list -->
168
- <div id="methods">
169
- <h3 class="section-bar">Public Class methods</h3>
170
-
171
- <div id="method-M000028" class="method-detail">
172
- <a name="M000028"></a>
173
-
174
- <div class="method-heading">
175
- <a href="Cd.src/M000028.html" target="Code" class="method-signature"
176
- onclick="popupCode('Cd.src/M000028.html');return false;">
177
- <span class="method-name">new</span><span class="method-args">(device,driver)</span>
178
- </a>
179
- </div>
180
-
181
- <div class="method-description">
182
- <p>
183
- Create a new <a href="../CdIo.html">Cd::CdIo</a> object. The first argument
184
- is an String for a device or a cue/bin/toc/nrg file The seconf argument is
185
- the constant for a Driver (default CdIo::DRIVER_UNKNOWN)
186
- </p>
187
- <ul>
188
- <li><a href="Cd.html#M000028">CdIo::Cd.new</a>()
189
-
190
- </li>
191
- <li><a href="Cd.html#M000028">CdIo::Cd.new</a>(&quot;/dev/cdrom&quot;)
192
-
193
- </li>
194
- <li><a href="Cd.html#M000028">CdIo::Cd.new</a>(&quot;/dev/cdrom&quot;,
195
- CdIo::DRIVER_UNKNOWN)
196
-
197
- </li>
198
- </ul>
199
- </div>
200
- </div>
201
-
202
- <h3 class="section-bar">Public Instance methods</h3>
203
-
204
- <div id="method-M000029" class="method-detail">
205
- <a name="M000029"></a>
206
-
207
- <div class="method-heading">
208
- <a href="Cd.src/M000029.html" target="Code" class="method-signature"
209
- onclick="popupCode('Cd.src/M000029.html');return false;">
210
- <span class="method-name">cdtext</span><span class="method-args">(track)</span>
211
- </a>
212
- </div>
213
-
214
- <div class="method-description">
215
- <p>
216
- Returns a hash with cdtext data for the cd, nil if doesn&#8217;t exists
217
- </p>
218
- <p>
219
- cd.cdtext # =&gt;cdtext information
220
- </p>
221
- </div>
222
- </div>
223
-
224
- <div id="method-M000035" class="method-detail">
225
- <a name="M000035"></a>
226
-
227
- <div class="method-heading">
228
- <a href="Cd.src/M000035.html" target="Code" class="method-signature"
229
- onclick="popupCode('Cd.src/M000035.html');return false;">
230
- <span class="method-name">close</span><span class="method-args">()</span>
231
- </a>
232
- </div>
233
-
234
- <div class="method-description">
235
- <p>
236
- Closes the device. Actually, do nothing :P
237
- </p>
238
- </div>
239
- </div>
240
-
241
- <div id="method-M000033" class="method-detail">
242
- <a name="M000033"></a>
243
-
244
- <div class="method-heading">
245
- <a href="Cd.src/M000033.html" target="Code" class="method-signature"
246
- onclick="popupCode('Cd.src/M000033.html');return false;">
247
- <span class="method-name">drive_cap</span><span class="method-args">()</span>
248
- </a>
249
- </div>
250
-
251
- <div class="method-description">
252
- <p>
253
- Returns a hash with the capabilities of the device. See <a
254
- href="../CdIo.html#M000003">CdIo.drive_cap_dev</a>
255
- </p>
256
- </div>
257
- </div>
258
-
259
- <div id="method-M000034" class="method-detail">
260
- <a name="M000034"></a>
261
-
262
- <div class="method-heading">
263
- <a href="Cd.src/M000034.html" target="Code" class="method-signature"
264
- onclick="popupCode('Cd.src/M000034.html');return false;">
265
- <span class="method-name">hwinfo</span><span class="method-args">()</span>
266
- </a>
267
- </div>
268
-
269
- <div class="method-description">
270
- <p>
271
- Return a hash with information for the hardware
272
- </p>
273
- <p>
274
- cd.hwinfo #=&gt;{&quot;revision&quot;=&gt;&quot;1.00&quot;,
275
- &quot;vendor&quot;=&gt;&quot;HL-DT-ST&quot;,
276
- &quot;model&quot;=&gt;&quot;CD-ROM GCR-8520B&quot;}
277
- </p>
278
- </div>
279
- </div>
280
-
281
- <div id="method-M000031" class="method-detail">
282
- <a name="M000031"></a>
283
-
284
- <div class="method-heading">
285
- <a href="Cd.src/M000031.html" target="Code" class="method-signature"
286
- onclick="popupCode('Cd.src/M000031.html');return false;">
287
- <span class="method-name">is_cd?</span><span class="method-args">()</span>
288
- </a>
289
- </div>
290
-
291
- <div class="method-description">
292
- <p>
293
- Returns true if <a href="Cd.html">CdIo::Cd</a> is a cd, else otherwise
294
- </p>
295
- </div>
296
- </div>
297
-
298
- <div id="method-M000032" class="method-detail">
299
- <a name="M000032"></a>
300
-
301
- <div class="method-heading">
302
- <a href="Cd.src/M000032.html" target="Code" class="method-signature"
303
- onclick="popupCode('Cd.src/M000032.html');return false;">
304
- <span class="method-name">is_dvd?</span><span class="method-args">()</span>
305
- </a>
306
- </div>
307
-
308
- <div class="method-description">
309
- <p>
310
- Returns true if <a href="Cd.html">CdIo::Cd</a> is a dvd, else otherwise
311
- </p>
312
- </div>
313
- </div>
314
-
315
- <div id="method-M000030" class="method-detail">
316
- <a name="M000030"></a>
317
-
318
- <div class="method-heading">
319
- <a href="Cd.src/M000030.html" target="Code" class="method-signature"
320
- onclick="popupCode('Cd.src/M000030.html');return false;">
321
- <span class="method-name">tracks</span><span class="method-args">()</span>
322
- </a>
323
- </div>
324
-
325
- <div class="method-description">
326
- <p>
327
- Returns an array of <a href="Track.html">CdIo::Track</a> for the cd
328
- </p>
329
- <p>
330
- cd.tracks #=&gt;[#&lt;<a
331
- href="TrackIso9660.html">CdIo::TrackIso9660</a>:0xb7d88100&gt;]
332
- </p>
333
- </div>
334
- </div>
335
-
336
-
337
- </div>
338
-
339
-
340
- </div>
341
-
342
-
343
- <div id="validator-badges">
344
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
345
- </div>
346
-
347
- </body>
348
- </html>