rb_cdio 0.1.0 → 0.1.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.
- data/ChangeLog.txt +26 -0
- data/LICENSE +340 -0
- data/README.EXT +1051 -0
- data/README.txt +16 -0
- data/VERSION +1 -0
- data/doc/classes/CdIo.html +523 -0
- data/doc/classes/CdIo.src/M000001.html +17 -0
- data/doc/classes/CdIo.src/M000002.html +17 -0
- data/doc/classes/CdIo.src/M000003.html +17 -0
- data/doc/classes/CdIo.src/M000004.html +17 -0
- data/doc/classes/CdIo.src/M000005.html +17 -0
- data/doc/classes/CdIo.src/M000006.html +17 -0
- data/doc/classes/CdIo.src/M000007.html +17 -0
- data/doc/classes/CdIo.src/M000008.html +17 -0
- data/doc/classes/CdIo.src/M000009.html +17 -0
- data/doc/classes/CdIo.src/M000010.html +17 -0
- data/doc/classes/CdIo.src/M000011.html +17 -0
- data/doc/classes/CdIo.src/M000012.html +17 -0
- data/doc/classes/CdIo.src/M000013.html +17 -0
- data/doc/classes/CdIo.src/M000014.html +17 -0
- data/doc/classes/CdIo.src/M000015.html +17 -0
- data/doc/classes/CdIo.src/M000016.html +17 -0
- data/doc/classes/CdIo/Cd.html +348 -0
- data/doc/classes/CdIo/Cd.src/M000011.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000012.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000013.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000014.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000015.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000016.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000017.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000018.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000019.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000021.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000022.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000023.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000024.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000025.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000026.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000027.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000028.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000029.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000030.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000031.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000032.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000033.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000034.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000035.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000036.html +17 -0
- data/doc/classes/CdIo/CdText.html +111 -0
- data/doc/classes/CdIo/Device.html +111 -0
- data/doc/classes/CdIo/Track.html +246 -0
- data/doc/classes/CdIo/Track.src/M000009.html +17 -0
- data/doc/classes/CdIo/Track.src/M000010.html +17 -0
- data/doc/classes/CdIo/Track.src/M000011.html +17 -0
- data/doc/classes/CdIo/Track.src/M000017.html +17 -0
- data/doc/classes/CdIo/Track.src/M000018.html +17 -0
- data/doc/classes/CdIo/Track.src/M000019.html +17 -0
- data/doc/classes/CdIo/Track.src/M000020.html +17 -0
- data/doc/classes/CdIo/TrackIso9660.html +159 -0
- data/doc/classes/CdIo/Tracks.html +199 -0
- data/doc/classes/CdIo/Tracks.src/M000020.html +17 -0
- data/doc/classes/CdIo/Tracks.src/M000021.html +17 -0
- data/doc/classes/CdIo/Tracks.src/M000022.html +17 -0
- data/doc/created.rid +1 -0
- data/doc/files/rb_cdio_def_rb.html +169 -0
- data/doc/files/test/testall_rb.html +110 -0
- data/doc/fr_class_index.html +31 -0
- data/doc/fr_file_index.html +27 -0
- data/doc/fr_method_index.html +48 -0
- data/doc/index.html +24 -0
- data/ext/CdIo.c +41 -20
- data/ext/CdIo.h +19 -9
- data/ext/CdIo_Cd.c +35 -52
- data/ext/CdIo_Common.c +56 -12
- data/ext/CdIo_Modulo.c +54 -34
- data/ext/CdIo_Track.c +24 -7
- data/ext/CdIo_TrackIso9660.c +1 -1
- data/ext/CdIo_Tracks.c +66 -0
- data/mkmf.log +26 -0
- data/rb_cdio.def.rb +187 -0
- data/svn-commit.tmp +5 -0
- data/tags +47 -0
- data/test/testclose.rb +19 -0
- data/test/testmethods.rb +28 -0
- metadata +253 -20
- data/ext/CdIo.o +0 -0
- data/ext/CdIo_Cd.o +0 -0
- data/ext/CdIo_Common.o +0 -0
- data/ext/CdIo_Modulo.o +0 -0
- data/ext/CdIo_Track.o +0 -0
- data/ext/CdIo_TrackIso9660.o +0 -0
- data/ext/Makefile +0 -127
- data/test/data/Makefile +0 -677
- data/test/data/Makefile.am +0 -78
- data/test/data/Makefile.in +0 -677
- data/test/data/testassert +0 -117
- data/test/data/testbincue +0 -117
- data/test/data/testdefault +0 -117
- data/test/data/testischar +0 -117
- data/test/data/testiso9660 +0 -117
- data/test/data/testtoc +0 -117
|
@@ -0,0 +1,17 @@
|
|
|
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>new (CdIo::Track)</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 173</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">cd</span>,<span class="ruby-identifier">track</span>)
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
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>green? (CdIo::Track)</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 176</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">green?</span>
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
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>cdtext (CdIo::Track)</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 179</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cdtext</span>
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
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>green? (CdIo::Track)</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 79</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">green?</span>
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
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>get_cdtext (CdIo::Track)</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 81</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_cdtext</span>
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
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>green? (CdIo::Track)</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 79</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">green?</span>
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
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>get_cdtext (CdIo::Track)</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 81</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_cdtext</span>
|
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,159 @@
|
|
|
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::TrackIso9660</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::TrackIso9660</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
|
+
<a href="Track.html">
|
|
69
|
+
Track
|
|
70
|
+
</a>
|
|
71
|
+
</td>
|
|
72
|
+
</tr>
|
|
73
|
+
</table>
|
|
74
|
+
</div>
|
|
75
|
+
<!-- banner header -->
|
|
76
|
+
|
|
77
|
+
<div id="bodyContent">
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
<div id="contextContent">
|
|
82
|
+
|
|
83
|
+
<div id="description">
|
|
84
|
+
<p>
|
|
85
|
+
Representation of a Iso 9660 <a href="Track.html">Track</a> for a <a
|
|
86
|
+
href="Cd.html">CdIo::Cd</a> object. Have some extra attributes, like
|
|
87
|
+
system_id, volume_id.…
|
|
88
|
+
</p>
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<!-- if includes -->
|
|
100
|
+
|
|
101
|
+
<div id="section">
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<div id="attribute-list">
|
|
108
|
+
<h3 class="section-bar">Attributes</h3>
|
|
109
|
+
|
|
110
|
+
<div class="name-list">
|
|
111
|
+
<table>
|
|
112
|
+
<tr class="top-aligned-row context-row">
|
|
113
|
+
<td class="context-item-name">application_id</td>
|
|
114
|
+
<td class="context-item-value"> [R] </td>
|
|
115
|
+
<td class="context-item-desc"></td>
|
|
116
|
+
</tr>
|
|
117
|
+
<tr class="top-aligned-row context-row">
|
|
118
|
+
<td class="context-item-name">preparer_id</td>
|
|
119
|
+
<td class="context-item-value"> [R] </td>
|
|
120
|
+
<td class="context-item-desc"></td>
|
|
121
|
+
</tr>
|
|
122
|
+
<tr class="top-aligned-row context-row">
|
|
123
|
+
<td class="context-item-name">publisher_id</td>
|
|
124
|
+
<td class="context-item-value"> [R] </td>
|
|
125
|
+
<td class="context-item-desc"></td>
|
|
126
|
+
</tr>
|
|
127
|
+
<tr class="top-aligned-row context-row">
|
|
128
|
+
<td class="context-item-name">system_id</td>
|
|
129
|
+
<td class="context-item-value"> [R] </td>
|
|
130
|
+
<td class="context-item-desc"></td>
|
|
131
|
+
</tr>
|
|
132
|
+
<tr class="top-aligned-row context-row">
|
|
133
|
+
<td class="context-item-name">volume_id</td>
|
|
134
|
+
<td class="context-item-value"> [R] </td>
|
|
135
|
+
<td class="context-item-desc"></td>
|
|
136
|
+
</tr>
|
|
137
|
+
<tr class="top-aligned-row context-row">
|
|
138
|
+
<td class="context-item-name">volumeset_id</td>
|
|
139
|
+
<td class="context-item-value"> [R] </td>
|
|
140
|
+
<td class="context-item-desc"></td>
|
|
141
|
+
</tr>
|
|
142
|
+
</table>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
<!-- if method_list -->
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<div id="validator-badges">
|
|
155
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
</body>
|
|
159
|
+
</html>
|
|
@@ -0,0 +1,199 @@
|
|
|
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::Tracks</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::Tracks</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
|
+
<div id="description">
|
|
82
|
+
<p>
|
|
83
|
+
Provides access to the tracks of a <a href="Cd.html">CdIo::Cd</a> object
|
|
84
|
+
</p>
|
|
85
|
+
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div id="method-list">
|
|
92
|
+
<h3 class="section-bar">Methods</h3>
|
|
93
|
+
|
|
94
|
+
<div class="name-list">
|
|
95
|
+
<a href="#M000022">[]</a>
|
|
96
|
+
<a href="#M000021">each</a>
|
|
97
|
+
<a href="#M000020">new</a>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
<!-- if includes -->
|
|
105
|
+
<div id="includes">
|
|
106
|
+
<h3 class="section-bar">Included Modules</h3>
|
|
107
|
+
|
|
108
|
+
<div id="includes-list">
|
|
109
|
+
<span class="include-name">Enumerable</span>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div id="section">
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<!-- if method_list -->
|
|
123
|
+
<div id="methods">
|
|
124
|
+
<h3 class="section-bar">Public Class methods</h3>
|
|
125
|
+
|
|
126
|
+
<div id="method-M000020" class="method-detail">
|
|
127
|
+
<a name="M000020"></a>
|
|
128
|
+
|
|
129
|
+
<div class="method-heading">
|
|
130
|
+
<a href="Tracks.src/M000020.html" target="Code" class="method-signature"
|
|
131
|
+
onclick="popupCode('Tracks.src/M000020.html');return false;">
|
|
132
|
+
<span class="method-name">new</span><span class="method-args">(cd)</span>
|
|
133
|
+
</a>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
<div class="method-description">
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
141
|
+
|
|
142
|
+
<div id="method-M000022" class="method-detail">
|
|
143
|
+
<a name="M000022"></a>
|
|
144
|
+
|
|
145
|
+
<div class="method-heading">
|
|
146
|
+
<a href="Tracks.src/M000022.html" target="Code" class="method-signature"
|
|
147
|
+
onclick="popupCode('Tracks.src/M000022.html');return false;">
|
|
148
|
+
<span class="method-name">[]</span><span class="method-args">(index)</span>
|
|
149
|
+
</a>
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<div class="method-description">
|
|
153
|
+
<p>
|
|
154
|
+
Returns a track by the index. You can use CdIo::CDIO_CDROM_LEADOUT_TRACK to
|
|
155
|
+
get the leadout track
|
|
156
|
+
</p>
|
|
157
|
+
<p>
|
|
158
|
+
tracks[CdIo::CDIO_CDROM_LEADOUT_TRACK] => #<<a
|
|
159
|
+
href="Track.html">CdIo::Track</a>:0xb7d867ec @leadout=true, @min=69,
|
|
160
|
+
@sec_count=0, @frames=22, @lsn=311872, @format=5, @track_type=15,
|
|
161
|
+
@msf="69:20:22", @number=170, @sec=20, @cd=#<<a
|
|
162
|
+
href="Cd.html">CdIo::Cd</a>:0xb7d84b7c>, @lba=312022>
|
|
163
|
+
</p>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<div id="method-M000021" class="method-detail">
|
|
168
|
+
<a name="M000021"></a>
|
|
169
|
+
|
|
170
|
+
<div class="method-heading">
|
|
171
|
+
<a href="Tracks.src/M000021.html" target="Code" class="method-signature"
|
|
172
|
+
onclick="popupCode('Tracks.src/M000021.html');return false;">
|
|
173
|
+
<span class="method-name">each</span><span class="method-args">(&block)</span>
|
|
174
|
+
</a>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div class="method-description">
|
|
178
|
+
<p>
|
|
179
|
+
Iterates through the tracks
|
|
180
|
+
</p>
|
|
181
|
+
<p>
|
|
182
|
+
tracks.each {|track| p track}
|
|
183
|
+
</p>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
</div>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<div id="validator-badges">
|
|
195
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
</body>
|
|
199
|
+
</html>
|