fireruby 0.1.0-mswin32 → 0.2.0-mswin32
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/doc/README +297 -31
- data/examples/example01.rb +60 -0
- data/lib/doc.tar.gz +0 -0
- data/lib/fireruby.bundle +0 -0
- data/lib/fireruby.so +0 -0
- data/lib/mkdoc +1 -1
- data/lib/src.rb +158 -15
- data/test/ConnectionTest.rb +11 -10
- data/test/DDLTest.rb +7 -6
- data/test/DatabaseTest.rb +13 -14
- data/test/GeneratorTest.rb +4 -3
- data/test/ResultSetTest.rb +6 -5
- data/test/RowTest.rb +49 -0
- data/test/SQLTest.rb +43 -26
- data/test/StatementTest.rb +6 -5
- data/test/TransactionTest.rb +7 -6
- data/test/UnitTest.rb +1 -0
- metadata +11 -135
- data/doc/CVS/Entries +0 -10
- data/doc/CVS/Repository +0 -1
- data/doc/CVS/Root +0 -1
- data/doc/classes/CVS/Entries +0 -2
- data/doc/classes/CVS/Entries.Log +0 -1
- data/doc/classes/CVS/Repository +0 -1
- data/doc/classes/CVS/Root +0 -1
- data/doc/classes/FireRuby/CVS/Entries +0 -8
- data/doc/classes/FireRuby/CVS/Entries.Log +0 -7
- data/doc/classes/FireRuby/CVS/Repository +0 -1
- data/doc/classes/FireRuby/CVS/Root +0 -1
- data/doc/classes/FireRuby/Connection.html +0 -364
- data/doc/classes/FireRuby/Connection.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/Connection.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Connection.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Connection.src/M000046.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000047.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000048.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000049.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000050.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000051.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000052.html +0 -18
- data/doc/classes/FireRuby/Connection.src/M000053.html +0 -18
- data/doc/classes/FireRuby/Connection.src/M000054.html +0 -18
- data/doc/classes/FireRuby/Database.html +0 -292
- data/doc/classes/FireRuby/Database.src/CVS/Entries +0 -7
- data/doc/classes/FireRuby/Database.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Database.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Database.src/M000035.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000036.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000037.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000038.html +0 -18
- data/doc/classes/FireRuby/Database.src/M000039.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000040.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.html +0 -221
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Entries +0 -6
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/FireRubyError.src/M000041.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000042.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000043.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000044.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000045.html +0 -17
- data/doc/classes/FireRuby/Generator.html +0 -343
- data/doc/classes/FireRuby/Generator.src/CVS/Entries +0 -9
- data/doc/classes/FireRuby/Generator.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Generator.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Generator.src/M000001.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000002.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000003.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000004.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000005.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000006.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000007.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000008.html +0 -17
- data/doc/classes/FireRuby/ResultSet.html +0 -343
- data/doc/classes/FireRuby/ResultSet.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/ResultSet.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/ResultSet.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/ResultSet.src/M000026.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000027.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000028.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000029.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000030.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000031.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000032.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000033.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000034.html +0 -17
- data/doc/classes/FireRuby/Statement.html +0 -349
- data/doc/classes/FireRuby/Statement.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/Statement.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Statement.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Statement.src/M000017.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000018.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000019.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000020.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000021.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000022.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000023.html +0 -18
- data/doc/classes/FireRuby/Statement.src/M000024.html +0 -18
- data/doc/classes/FireRuby/Statement.src/M000025.html +0 -17
- data/doc/classes/FireRuby/Transaction.html +0 -484
- data/doc/classes/FireRuby/Transaction.src/CVS/Entries +0 -9
- data/doc/classes/FireRuby/Transaction.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Transaction.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Transaction.src/M000009.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000010.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000011.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000012.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000013.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000014.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000015.html +0 -18
- data/doc/classes/FireRuby/Transaction.src/M000016.html +0 -17
- data/doc/classes/FireRuby.html +0 -116
- data/doc/created.rid +0 -1
- data/doc/files/CVS/Entries +0 -2
- data/doc/files/CVS/Repository +0 -1
- data/doc/files/CVS/Root +0 -1
- data/doc/files/src_rb.html +0 -119
- data/doc/fr_class_index.html +0 -34
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -80
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -175
- data/test/example.c +0 -91
- data/test/fb.c +0 -297
- data/test/mfb +0 -1
- data/test/sql_unit_test.fdb +0 -0
- data/test/test.fdb +0 -0
@@ -1,221 +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: FireRuby::FireRubyError</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
|
-
<h1>FireRuby::FireRubyError <sup class="type-note">(Class)</sup></h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>In:</strong></td>
|
54
|
-
<td>
|
55
|
-
<a href="../../files/src_rb.html">
|
56
|
-
src.rb
|
57
|
-
</a>
|
58
|
-
<br />
|
59
|
-
</td>
|
60
|
-
</tr>
|
61
|
-
|
62
|
-
<tr class="top-aligned-row">
|
63
|
-
<td><strong>Parent:</strong></td>
|
64
|
-
<td>
|
65
|
-
Object
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
</table>
|
69
|
-
</div>
|
70
|
-
<!-- banner header -->
|
71
|
-
|
72
|
-
<div id="bodyContent">
|
73
|
-
|
74
|
-
|
75
|
-
<div id="contextContent">
|
76
|
-
|
77
|
-
<div id="description">
|
78
|
-
<p>
|
79
|
-
This class provides the exception type used by the <a
|
80
|
-
href="../FireRuby.html">FireRuby</a> library.
|
81
|
-
</p>
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
<div id="method-list">
|
87
|
-
<h2 class="section-bar">Methods</h2>
|
88
|
-
|
89
|
-
<div class="name-list">
|
90
|
-
<a href="#M000044">db_code</a>
|
91
|
-
<a href="#M000042">message</a>
|
92
|
-
<a href="#M000041">new</a>
|
93
|
-
<a href="#M000043">sql_code</a>
|
94
|
-
<a href="#M000045">to_s</a>
|
95
|
-
</div>
|
96
|
-
</div>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if includes -->
|
108
|
-
|
109
|
-
|
110
|
-
<!-- if method_list -->
|
111
|
-
<div id="methods">
|
112
|
-
<h2 class="section-bar">Public Class methods</h2>
|
113
|
-
|
114
|
-
<div id="method-M000041" class="method-detail">
|
115
|
-
<a name="M000041"></a>
|
116
|
-
|
117
|
-
<div class="method-heading">
|
118
|
-
<a href="FireRubyError.src/M000041.html" target="Code" class="method-signature"
|
119
|
-
onclick="popupCode('FireRubyError.src/M000041.html');return false;">
|
120
|
-
<span class="method-name">new</span><span class="method-args">(message)</span>
|
121
|
-
</a>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
<div class="method-description">
|
125
|
-
<p>
|
126
|
-
This is the constructor for the <a
|
127
|
-
href="FireRubyError.html">FireRubyError</a> class.
|
128
|
-
</p>
|
129
|
-
<h4>Parameters</h4>
|
130
|
-
<table>
|
131
|
-
<tr><td valign="top">message:</td><td>A string containing the error message for the object.
|
132
|
-
|
133
|
-
</td></tr>
|
134
|
-
</table>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<h2 class="section-bar">Public Instance methods</h2>
|
139
|
-
|
140
|
-
<div id="method-M000044" class="method-detail">
|
141
|
-
<a name="M000044"></a>
|
142
|
-
|
143
|
-
<div class="method-heading">
|
144
|
-
<a href="FireRubyError.src/M000044.html" target="Code" class="method-signature"
|
145
|
-
onclick="popupCode('FireRubyError.src/M000044.html');return false;">
|
146
|
-
<span class="method-name">db_code</span><span class="method-args">()</span>
|
147
|
-
</a>
|
148
|
-
</div>
|
149
|
-
|
150
|
-
<div class="method-description">
|
151
|
-
<p>
|
152
|
-
This is the accessor for the database code attribute.
|
153
|
-
</p>
|
154
|
-
</div>
|
155
|
-
</div>
|
156
|
-
|
157
|
-
<div id="method-M000042" class="method-detail">
|
158
|
-
<a name="M000042"></a>
|
159
|
-
|
160
|
-
<div class="method-heading">
|
161
|
-
<a href="FireRubyError.src/M000042.html" target="Code" class="method-signature"
|
162
|
-
onclick="popupCode('FireRubyError.src/M000042.html');return false;">
|
163
|
-
<span class="method-name">message</span><span class="method-args">()</span>
|
164
|
-
</a>
|
165
|
-
</div>
|
166
|
-
|
167
|
-
<div class="method-description">
|
168
|
-
<p>
|
169
|
-
This is the accessor for the error message attribute
|
170
|
-
</p>
|
171
|
-
</div>
|
172
|
-
</div>
|
173
|
-
|
174
|
-
<div id="method-M000043" class="method-detail">
|
175
|
-
<a name="M000043"></a>
|
176
|
-
|
177
|
-
<div class="method-heading">
|
178
|
-
<a href="FireRubyError.src/M000043.html" target="Code" class="method-signature"
|
179
|
-
onclick="popupCode('FireRubyError.src/M000043.html');return false;">
|
180
|
-
<span class="method-name">sql_code</span><span class="method-args">()</span>
|
181
|
-
</a>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
<div class="method-description">
|
185
|
-
<p>
|
186
|
-
This is the accessor for the SQL code attribute.
|
187
|
-
</p>
|
188
|
-
</div>
|
189
|
-
</div>
|
190
|
-
|
191
|
-
<div id="method-M000045" class="method-detail">
|
192
|
-
<a name="M000045"></a>
|
193
|
-
|
194
|
-
<div class="method-heading">
|
195
|
-
<a href="FireRubyError.src/M000045.html" target="Code" class="method-signature"
|
196
|
-
onclick="popupCode('FireRubyError.src/M000045.html');return false;">
|
197
|
-
<span class="method-name">to_s</span><span class="method-args">()</span>
|
198
|
-
</a>
|
199
|
-
</div>
|
200
|
-
|
201
|
-
<div class="method-description">
|
202
|
-
<p>
|
203
|
-
This function generates a simple description string for a <a
|
204
|
-
href="FireRubyError.html">FireRubyError</a> object.
|
205
|
-
</p>
|
206
|
-
</div>
|
207
|
-
</div>
|
208
|
-
|
209
|
-
|
210
|
-
</div>
|
211
|
-
|
212
|
-
|
213
|
-
</div>
|
214
|
-
|
215
|
-
|
216
|
-
<div id="validator-badges">
|
217
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
218
|
-
</div>
|
219
|
-
|
220
|
-
</body>
|
221
|
-
</html>
|
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/FireRubyError.src
|
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -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>new (FireRuby::FireRubyError)</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 src.rb, line 23</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</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>message (FireRuby::FireRubyError)</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 src.rb, line 30</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">message</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>sql_code (FireRuby::FireRubyError)</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 src.rb, line 37</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sql_code</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>db_code (FireRuby::FireRubyError)</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 src.rb, line 44</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">db_code</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>to_s (FireRuby::FireRubyError)</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 src.rb, line 52</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,343 +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: FireRuby::Generator</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
|
-
<h1>FireRuby::Generator <sup class="type-note">(Class)</sup></h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>In:</strong></td>
|
54
|
-
<td>
|
55
|
-
<a href="../../files/src_rb.html">
|
56
|
-
src.rb
|
57
|
-
</a>
|
58
|
-
<br />
|
59
|
-
</td>
|
60
|
-
</tr>
|
61
|
-
|
62
|
-
<tr class="top-aligned-row">
|
63
|
-
<td><strong>Parent:</strong></td>
|
64
|
-
<td>
|
65
|
-
Object
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
</table>
|
69
|
-
</div>
|
70
|
-
<!-- banner header -->
|
71
|
-
|
72
|
-
<div id="bodyContent">
|
73
|
-
|
74
|
-
|
75
|
-
<div id="contextContent">
|
76
|
-
|
77
|
-
<div id="description">
|
78
|
-
<p>
|
79
|
-
This class represents a Firebird generator entity.
|
80
|
-
</p>
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h2 class="section-bar">Methods</h2>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000003">connection</a>
|
90
|
-
<a href="#M000008">create</a>
|
91
|
-
<a href="#M000005">drop</a>
|
92
|
-
<a href="#M000007">exists?</a>
|
93
|
-
<a href="#M000004">last</a>
|
94
|
-
<a href="#M000002">name</a>
|
95
|
-
<a href="#M000001">new</a>
|
96
|
-
<a href="#M000006">next</a>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if includes -->
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if method_list -->
|
113
|
-
<div id="methods">
|
114
|
-
<h2 class="section-bar">Public Class methods</h2>
|
115
|
-
|
116
|
-
<div id="method-M000008" class="method-detail">
|
117
|
-
<a name="M000008"></a>
|
118
|
-
|
119
|
-
<div class="method-heading">
|
120
|
-
<a href="Generator.src/M000008.html" target="Code" class="method-signature"
|
121
|
-
onclick="popupCode('Generator.src/M000008.html');return false;">
|
122
|
-
<span class="method-name">create</span><span class="method-args">(name, connection)</span>
|
123
|
-
</a>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
<div class="method-description">
|
127
|
-
<p>
|
128
|
-
This method creates a new generator within a database. This method returns
|
129
|
-
a <a href="Generator.html">Generator</a> object is successful.
|
130
|
-
</p>
|
131
|
-
<h4>Parameters</h4>
|
132
|
-
<table>
|
133
|
-
<tr><td valign="top">name:</td><td>A string containing the name for the new generator.
|
134
|
-
|
135
|
-
</td></tr>
|
136
|
-
<tr><td valign="top">connection:</td><td>A reference to the <a href="Connection.html">Connection</a> object that
|
137
|
-
will be used to create the generator.
|
138
|
-
|
139
|
-
</td></tr>
|
140
|
-
</table>
|
141
|
-
<h4>Exceptions</h4>
|
142
|
-
<table>
|
143
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs creating the new generator in the
|
144
|
-
database.
|
145
|
-
|
146
|
-
</td></tr>
|
147
|
-
</table>
|
148
|
-
</div>
|
149
|
-
</div>
|
150
|
-
|
151
|
-
<div id="method-M000007" class="method-detail">
|
152
|
-
<a name="M000007"></a>
|
153
|
-
|
154
|
-
<div class="method-heading">
|
155
|
-
<a href="Generator.src/M000007.html" target="Code" class="method-signature"
|
156
|
-
onclick="popupCode('Generator.src/M000007.html');return false;">
|
157
|
-
<span class="method-name">exists?</span><span class="method-args">(name, connection)</span>
|
158
|
-
</a>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
<div class="method-description">
|
162
|
-
<p>
|
163
|
-
This method is used to determine whether a named generator exists within a
|
164
|
-
database.
|
165
|
-
</p>
|
166
|
-
<h4>Parameters</h4>
|
167
|
-
<table>
|
168
|
-
<tr><td valign="top">name:</td><td>A string containing the generator name to check for.
|
169
|
-
|
170
|
-
</td></tr>
|
171
|
-
<tr><td valign="top">connection:</td><td>A reference to the <a href="Connection.html">Connection</a> object to be
|
172
|
-
used in performing the check.
|
173
|
-
|
174
|
-
</td></tr>
|
175
|
-
</table>
|
176
|
-
<h4>Exceptions</h4>
|
177
|
-
<table>
|
178
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs determining the existence of the
|
179
|
-
generator.
|
180
|
-
|
181
|
-
</td></tr>
|
182
|
-
</table>
|
183
|
-
</div>
|
184
|
-
</div>
|
185
|
-
|
186
|
-
<div id="method-M000001" class="method-detail">
|
187
|
-
<a name="M000001"></a>
|
188
|
-
|
189
|
-
<div class="method-heading">
|
190
|
-
<a href="Generator.src/M000001.html" target="Code" class="method-signature"
|
191
|
-
onclick="popupCode('Generator.src/M000001.html');return false;">
|
192
|
-
<span class="method-name">new</span><span class="method-args">(name, connection)</span>
|
193
|
-
</a>
|
194
|
-
</div>
|
195
|
-
|
196
|
-
<div class="method-description">
|
197
|
-
<p>
|
198
|
-
This is the constructor for the <a href="Generator.html">Generator</a>
|
199
|
-
class. Note, this method assumes that the named generator already exists.
|
200
|
-
If it doesn’t then the object will be constructed but will fail
|
201
|
-
during use.
|
202
|
-
</p>
|
203
|
-
<h4>Parameters</h4>
|
204
|
-
<table>
|
205
|
-
<tr><td valign="top">name:</td><td>A string containing the generator name.
|
206
|
-
|
207
|
-
</td></tr>
|
208
|
-
<tr><td valign="top">connection:</td><td>A reference to the <a href="Connection.html">Connection</a> object that
|
209
|
-
will be used to access the generator.
|
210
|
-
|
211
|
-
</td></tr>
|
212
|
-
</table>
|
213
|
-
</div>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
<h2 class="section-bar">Public Instance methods</h2>
|
217
|
-
|
218
|
-
<div id="method-M000003" class="method-detail">
|
219
|
-
<a name="M000003"></a>
|
220
|
-
|
221
|
-
<div class="method-heading">
|
222
|
-
<a href="Generator.src/M000003.html" target="Code" class="method-signature"
|
223
|
-
onclick="popupCode('Generator.src/M000003.html');return false;">
|
224
|
-
<span class="method-name">connection</span><span class="method-args">()</span>
|
225
|
-
</a>
|
226
|
-
</div>
|
227
|
-
|
228
|
-
<div class="method-description">
|
229
|
-
<p>
|
230
|
-
This is the accessor for the connection attribute.
|
231
|
-
</p>
|
232
|
-
</div>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
<div id="method-M000005" class="method-detail">
|
236
|
-
<a name="M000005"></a>
|
237
|
-
|
238
|
-
<div class="method-heading">
|
239
|
-
<a href="Generator.src/M000005.html" target="Code" class="method-signature"
|
240
|
-
onclick="popupCode('Generator.src/M000005.html');return false;">
|
241
|
-
<span class="method-name">drop</span><span class="method-args">()</span>
|
242
|
-
</a>
|
243
|
-
</div>
|
244
|
-
|
245
|
-
<div class="method-description">
|
246
|
-
<p>
|
247
|
-
This method drops a generator from the database. After a successful call to
|
248
|
-
this method the <a href="Generator.html">Generator</a> object may not be
|
249
|
-
used to obtain values unless it is recreated.
|
250
|
-
</p>
|
251
|
-
<h4>Exceptions</h4>
|
252
|
-
<table>
|
253
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs dropping the generator from the
|
254
|
-
database.
|
255
|
-
|
256
|
-
</td></tr>
|
257
|
-
</table>
|
258
|
-
</div>
|
259
|
-
</div>
|
260
|
-
|
261
|
-
<div id="method-M000004" class="method-detail">
|
262
|
-
<a name="M000004"></a>
|
263
|
-
|
264
|
-
<div class="method-heading">
|
265
|
-
<a href="Generator.src/M000004.html" target="Code" class="method-signature"
|
266
|
-
onclick="popupCode('Generator.src/M000004.html');return false;">
|
267
|
-
<span class="method-name">last</span><span class="method-args">()</span>
|
268
|
-
</a>
|
269
|
-
</div>
|
270
|
-
|
271
|
-
<div class="method-description">
|
272
|
-
<p>
|
273
|
-
This method fetches the last value generator from a generator.
|
274
|
-
</p>
|
275
|
-
<h4>Exceptions</h4>
|
276
|
-
<table>
|
277
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs accessing the database generator.
|
278
|
-
|
279
|
-
</td></tr>
|
280
|
-
</table>
|
281
|
-
</div>
|
282
|
-
</div>
|
283
|
-
|
284
|
-
<div id="method-M000002" class="method-detail">
|
285
|
-
<a name="M000002"></a>
|
286
|
-
|
287
|
-
<div class="method-heading">
|
288
|
-
<a href="Generator.src/M000002.html" target="Code" class="method-signature"
|
289
|
-
onclick="popupCode('Generator.src/M000002.html');return false;">
|
290
|
-
<span class="method-name">name</span><span class="method-args">()</span>
|
291
|
-
</a>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
<div class="method-description">
|
295
|
-
<p>
|
296
|
-
This is the accessor for the name attribute.
|
297
|
-
</p>
|
298
|
-
</div>
|
299
|
-
</div>
|
300
|
-
|
301
|
-
<div id="method-M000006" class="method-detail">
|
302
|
-
<a name="M000006"></a>
|
303
|
-
|
304
|
-
<div class="method-heading">
|
305
|
-
<a href="Generator.src/M000006.html" target="Code" class="method-signature"
|
306
|
-
onclick="popupCode('Generator.src/M000006.html');return false;">
|
307
|
-
<span class="method-name">next</span><span class="method-args">(step)</span>
|
308
|
-
</a>
|
309
|
-
</div>
|
310
|
-
|
311
|
-
<div class="method-description">
|
312
|
-
<p>
|
313
|
-
This method fetches the next value, depending on a specified increment,
|
314
|
-
from a generator.
|
315
|
-
</p>
|
316
|
-
<h4>Parameters</h4>
|
317
|
-
<table>
|
318
|
-
<tr><td valign="top">step:</td><td>The step interval to be applied to the generator to obtain the next value.
|
319
|
-
|
320
|
-
</td></tr>
|
321
|
-
</table>
|
322
|
-
<h4>Exceptions</h4>
|
323
|
-
<table>
|
324
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs accessing the database generator.
|
325
|
-
|
326
|
-
</td></tr>
|
327
|
-
</table>
|
328
|
-
</div>
|
329
|
-
</div>
|
330
|
-
|
331
|
-
|
332
|
-
</div>
|
333
|
-
|
334
|
-
|
335
|
-
</div>
|
336
|
-
|
337
|
-
|
338
|
-
<div id="validator-badges">
|
339
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
340
|
-
</div>
|
341
|
-
|
342
|
-
</body>
|
343
|
-
</html>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/M000001.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
2
|
-
/M000002.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
3
|
-
/M000003.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
4
|
-
/M000004.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
5
|
-
/M000005.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
6
|
-
/M000006.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
7
|
-
/M000007.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
8
|
-
/M000008.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
9
|
-
D
|
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/Generator.src
|