fireruby 0.1.0-powerpc-darwin
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/CVS/Entries +10 -0
- data/doc/CVS/Repository +1 -0
- data/doc/CVS/Root +1 -0
- data/doc/README +39 -0
- data/doc/classes/CVS/Entries +2 -0
- data/doc/classes/CVS/Entries.Log +1 -0
- data/doc/classes/CVS/Repository +1 -0
- data/doc/classes/CVS/Root +1 -0
- data/doc/classes/FireRuby/CVS/Entries +8 -0
- data/doc/classes/FireRuby/CVS/Entries.Log +7 -0
- data/doc/classes/FireRuby/CVS/Repository +1 -0
- data/doc/classes/FireRuby/CVS/Root +1 -0
- data/doc/classes/FireRuby/Connection.html +364 -0
- data/doc/classes/FireRuby/Connection.src/CVS/Entries +10 -0
- data/doc/classes/FireRuby/Connection.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Connection.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Connection.src/M000046.html +17 -0
- data/doc/classes/FireRuby/Connection.src/M000047.html +17 -0
- data/doc/classes/FireRuby/Connection.src/M000048.html +17 -0
- data/doc/classes/FireRuby/Connection.src/M000049.html +17 -0
- data/doc/classes/FireRuby/Connection.src/M000050.html +17 -0
- data/doc/classes/FireRuby/Connection.src/M000051.html +17 -0
- data/doc/classes/FireRuby/Connection.src/M000052.html +18 -0
- data/doc/classes/FireRuby/Connection.src/M000053.html +18 -0
- data/doc/classes/FireRuby/Connection.src/M000054.html +18 -0
- data/doc/classes/FireRuby/Database.html +292 -0
- data/doc/classes/FireRuby/Database.src/CVS/Entries +7 -0
- data/doc/classes/FireRuby/Database.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Database.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Database.src/M000035.html +17 -0
- data/doc/classes/FireRuby/Database.src/M000036.html +17 -0
- data/doc/classes/FireRuby/Database.src/M000037.html +17 -0
- data/doc/classes/FireRuby/Database.src/M000038.html +18 -0
- data/doc/classes/FireRuby/Database.src/M000039.html +17 -0
- data/doc/classes/FireRuby/Database.src/M000040.html +17 -0
- data/doc/classes/FireRuby/FireRubyError.html +221 -0
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Entries +6 -0
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/FireRubyError.src/M000041.html +17 -0
- data/doc/classes/FireRuby/FireRubyError.src/M000042.html +17 -0
- data/doc/classes/FireRuby/FireRubyError.src/M000043.html +17 -0
- data/doc/classes/FireRuby/FireRubyError.src/M000044.html +17 -0
- data/doc/classes/FireRuby/FireRubyError.src/M000045.html +17 -0
- data/doc/classes/FireRuby/Generator.html +343 -0
- data/doc/classes/FireRuby/Generator.src/CVS/Entries +9 -0
- data/doc/classes/FireRuby/Generator.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Generator.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Generator.src/M000001.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000002.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000003.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000004.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000005.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000006.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000007.html +17 -0
- data/doc/classes/FireRuby/Generator.src/M000008.html +17 -0
- data/doc/classes/FireRuby/ResultSet.html +343 -0
- data/doc/classes/FireRuby/ResultSet.src/CVS/Entries +10 -0
- data/doc/classes/FireRuby/ResultSet.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/ResultSet.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/ResultSet.src/M000026.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000027.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000028.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000029.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000030.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000031.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000032.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000033.html +17 -0
- data/doc/classes/FireRuby/ResultSet.src/M000034.html +17 -0
- data/doc/classes/FireRuby/Statement.html +349 -0
- data/doc/classes/FireRuby/Statement.src/CVS/Entries +10 -0
- data/doc/classes/FireRuby/Statement.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Statement.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Statement.src/M000017.html +17 -0
- data/doc/classes/FireRuby/Statement.src/M000018.html +17 -0
- data/doc/classes/FireRuby/Statement.src/M000019.html +17 -0
- data/doc/classes/FireRuby/Statement.src/M000020.html +17 -0
- data/doc/classes/FireRuby/Statement.src/M000021.html +17 -0
- data/doc/classes/FireRuby/Statement.src/M000022.html +17 -0
- data/doc/classes/FireRuby/Statement.src/M000023.html +18 -0
- data/doc/classes/FireRuby/Statement.src/M000024.html +18 -0
- data/doc/classes/FireRuby/Statement.src/M000025.html +17 -0
- data/doc/classes/FireRuby/Transaction.html +484 -0
- data/doc/classes/FireRuby/Transaction.src/CVS/Entries +9 -0
- data/doc/classes/FireRuby/Transaction.src/CVS/Repository +1 -0
- data/doc/classes/FireRuby/Transaction.src/CVS/Root +1 -0
- data/doc/classes/FireRuby/Transaction.src/M000009.html +17 -0
- data/doc/classes/FireRuby/Transaction.src/M000010.html +17 -0
- data/doc/classes/FireRuby/Transaction.src/M000011.html +17 -0
- data/doc/classes/FireRuby/Transaction.src/M000012.html +17 -0
- data/doc/classes/FireRuby/Transaction.src/M000013.html +17 -0
- data/doc/classes/FireRuby/Transaction.src/M000014.html +17 -0
- data/doc/classes/FireRuby/Transaction.src/M000015.html +18 -0
- data/doc/classes/FireRuby/Transaction.src/M000016.html +17 -0
- data/doc/classes/FireRuby.html +116 -0
- data/doc/created.rid +1 -0
- data/doc/files/CVS/Entries +2 -0
- data/doc/files/CVS/Repository +1 -0
- data/doc/files/CVS/Root +1 -0
- data/doc/files/src_rb.html +119 -0
- data/doc/fr_class_index.html +34 -0
- data/doc/fr_file_index.html +27 -0
- data/doc/fr_method_index.html +80 -0
- data/doc/index.html +24 -0
- data/doc/license.txt +411 -0
- data/doc/rdoc-style.css +175 -0
- data/lib/CVS/Entries +4 -0
- data/lib/CVS/Repository +1 -0
- data/lib/CVS/Root +1 -0
- data/lib/fireruby.bundle +0 -0
- data/lib/mkdoc +1 -0
- data/lib/src.rb +736 -0
- data/test/CVS/Entries +17 -0
- data/test/CVS/Repository +1 -0
- data/test/CVS/Root +1 -0
- data/test/ConnectionTest.rb +91 -0
- data/test/DDLTest.rb +49 -0
- data/test/DatabaseTest.rb +84 -0
- data/test/GeneratorTest.rb +47 -0
- data/test/ResultSetTest.rb +96 -0
- data/test/SQLTest.rb +154 -0
- data/test/StatementTest.rb +101 -0
- data/test/TestSetup.rb +10 -0
- data/test/TransactionTest.rb +107 -0
- data/test/UnitTest.rb +10 -0
- data/test/example.c +91 -0
- data/test/fb.c +297 -0
- data/test/mfb +1 -0
- data/test/sql_unit_test.fdb +0 -0
- data/test/test.fdb +0 -0
- metadata +190 -0
@@ -0,0 +1,292 @@
|
|
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::Database</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::Database <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 an existing database that can be connected to.
|
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="#M000038">connect</a>
|
90
|
+
<a href="#M000040">create</a>
|
91
|
+
<a href="#M000039">drop</a>
|
92
|
+
<a href="#M000037">file</a>
|
93
|
+
<a href="#M000035">new</a>
|
94
|
+
<a href="#M000036">user</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-M000040" class="method-detail">
|
115
|
+
<a name="M000040"></a>
|
116
|
+
|
117
|
+
<div class="method-heading">
|
118
|
+
<a href="Database.src/M000040.html" target="Code" class="method-signature"
|
119
|
+
onclick="popupCode('Database.src/M000040.html');return false;">
|
120
|
+
<span class="method-name">create</span><span class="method-args">(file, user, password, size, set)</span>
|
121
|
+
</a>
|
122
|
+
</div>
|
123
|
+
|
124
|
+
<div class="method-description">
|
125
|
+
<p>
|
126
|
+
This method can be used to programmatically created a database file. If
|
127
|
+
successful this method returns a <a href="Database.html">Database</a>
|
128
|
+
object.
|
129
|
+
</p>
|
130
|
+
<h4>Parameters</h4>
|
131
|
+
<table>
|
132
|
+
<tr><td valign="top">file:</td><td>A string containing the path and name of the database file to be created.
|
133
|
+
|
134
|
+
</td></tr>
|
135
|
+
<tr><td valign="top">user:</td><td>A string containing the user name that will be used in creating the file.
|
136
|
+
|
137
|
+
</td></tr>
|
138
|
+
<tr><td valign="top">password:</td><td>A string containing the user password that will be used in creating the
|
139
|
+
file.
|
140
|
+
|
141
|
+
</td></tr>
|
142
|
+
<tr><td valign="top">size:</td><td>The page size setting to be used with the new database file. This should be
|
143
|
+
1024, 2048, 4096 or 8192.
|
144
|
+
|
145
|
+
</td></tr>
|
146
|
+
<tr><td valign="top">set:</td><td>The name of the default character set to be assigned to the new database
|
147
|
+
file.
|
148
|
+
|
149
|
+
</td></tr>
|
150
|
+
</table>
|
151
|
+
<h4>Exceptions</h4>
|
152
|
+
<table>
|
153
|
+
<tr><td valign="top">Exception:</td><td>Generated whenever an invalid parameter is specified or a problem occurs
|
154
|
+
creating the database file.
|
155
|
+
|
156
|
+
</td></tr>
|
157
|
+
</table>
|
158
|
+
</div>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div id="method-M000035" class="method-detail">
|
162
|
+
<a name="M000035"></a>
|
163
|
+
|
164
|
+
<div class="method-heading">
|
165
|
+
<a href="Database.src/M000035.html" target="Code" class="method-signature"
|
166
|
+
onclick="popupCode('Database.src/M000035.html');return false;">
|
167
|
+
<span class="method-name">new</span><span class="method-args">(user, password, file)</span>
|
168
|
+
</a>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
<div class="method-description">
|
172
|
+
<p>
|
173
|
+
This is the constructor for the <a href="Database.html">Database</a> class.
|
174
|
+
</p>
|
175
|
+
<h4>Parameters</h4>
|
176
|
+
<table>
|
177
|
+
<tr><td valign="top">user:</td><td>A string containing the user name that will be used to connect to the
|
178
|
+
database.
|
179
|
+
|
180
|
+
</td></tr>
|
181
|
+
<tr><td valign="top">password:</td><td>A string containing the user password that will be used to connect to the
|
182
|
+
database.
|
183
|
+
|
184
|
+
</td></tr>
|
185
|
+
<tr><td valign="top">file:</td><td>A string containing the database file specifier. This can include details
|
186
|
+
for a remote server if needed.
|
187
|
+
|
188
|
+
</td></tr>
|
189
|
+
</table>
|
190
|
+
</div>
|
191
|
+
</div>
|
192
|
+
|
193
|
+
<h2 class="section-bar">Public Instance methods</h2>
|
194
|
+
|
195
|
+
<div id="method-M000038" class="method-detail">
|
196
|
+
<a name="M000038"></a>
|
197
|
+
|
198
|
+
<div class="method-heading">
|
199
|
+
<a href="Database.src/M000038.html" target="Code" class="method-signature"
|
200
|
+
onclick="popupCode('Database.src/M000038.html');return false;">
|
201
|
+
<span class="method-name">connect</span><span class="method-args">() {|connection| ...}</span>
|
202
|
+
</a>
|
203
|
+
</div>
|
204
|
+
|
205
|
+
<div class="method-description">
|
206
|
+
<p>
|
207
|
+
This method attempts to establish a connection to a database. If successful
|
208
|
+
then a <a href="Connection.html">Connection</a> instance is returned. If a
|
209
|
+
block is provided to the method then the connection is closed after the
|
210
|
+
block completes. If a block is specified the connection is provided as a
|
211
|
+
parameter to the block.
|
212
|
+
</p>
|
213
|
+
<h4>Exceptions</h4>
|
214
|
+
<table>
|
215
|
+
<tr><td valign="top">Exception:</td><td>Thrown whenever a problem occurs connecting with the database.
|
216
|
+
|
217
|
+
</td></tr>
|
218
|
+
</table>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div id="method-M000039" class="method-detail">
|
223
|
+
<a name="M000039"></a>
|
224
|
+
|
225
|
+
<div class="method-heading">
|
226
|
+
<a href="Database.src/M000039.html" target="Code" class="method-signature"
|
227
|
+
onclick="popupCode('Database.src/M000039.html');return false;">
|
228
|
+
<span class="method-name">drop</span><span class="method-args">()</span>
|
229
|
+
</a>
|
230
|
+
</div>
|
231
|
+
|
232
|
+
<div class="method-description">
|
233
|
+
<p>
|
234
|
+
This method attempts to drop the database referred to by the details in a
|
235
|
+
<a href="Database.html">Database</a> object.
|
236
|
+
</p>
|
237
|
+
<h4>Exceptions</h4>
|
238
|
+
<table>
|
239
|
+
<tr><td valign="top"><a href="FireRubyError.html">FireRubyError</a>:</td><td>Thrown whenever a problem occurs dropping the database instance.
|
240
|
+
|
241
|
+
</td></tr>
|
242
|
+
</table>
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
<div id="method-M000037" class="method-detail">
|
247
|
+
<a name="M000037"></a>
|
248
|
+
|
249
|
+
<div class="method-heading">
|
250
|
+
<a href="Database.src/M000037.html" target="Code" class="method-signature"
|
251
|
+
onclick="popupCode('Database.src/M000037.html');return false;">
|
252
|
+
<span class="method-name">file</span><span class="method-args">()</span>
|
253
|
+
</a>
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div class="method-description">
|
257
|
+
<p>
|
258
|
+
This is the accessor for the database file specification attribute.
|
259
|
+
</p>
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
|
263
|
+
<div id="method-M000036" class="method-detail">
|
264
|
+
<a name="M000036"></a>
|
265
|
+
|
266
|
+
<div class="method-heading">
|
267
|
+
<a href="Database.src/M000036.html" target="Code" class="method-signature"
|
268
|
+
onclick="popupCode('Database.src/M000036.html');return false;">
|
269
|
+
<span class="method-name">user</span><span class="method-args">()</span>
|
270
|
+
</a>
|
271
|
+
</div>
|
272
|
+
|
273
|
+
<div class="method-description">
|
274
|
+
<p>
|
275
|
+
This is the accessor for the user database attribute.
|
276
|
+
</p>
|
277
|
+
</div>
|
278
|
+
</div>
|
279
|
+
|
280
|
+
|
281
|
+
</div>
|
282
|
+
|
283
|
+
|
284
|
+
</div>
|
285
|
+
|
286
|
+
|
287
|
+
<div id="validator-badges">
|
288
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
</body>
|
292
|
+
</html>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/M000035.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
2
|
+
/M000036.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
3
|
+
/M000037.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
4
|
+
/M000038.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
5
|
+
/M000039.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
6
|
+
/M000040.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
7
|
+
D
|
@@ -0,0 +1 @@
|
|
1
|
+
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/Database.src
|
@@ -0,0 +1 @@
|
|
1
|
+
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -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 (FireRuby::Database)</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 72</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">password</span>, <span class="ruby-identifier">file</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>user (FireRuby::Database)</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 78</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">user</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>file (FireRuby::Database)</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 85</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">file</span>
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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>connect (FireRuby::Database)</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 100</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">connect</span>
|
15
|
+
<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">connection</span>)
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</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>drop (FireRuby::Database)</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 113</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">drop</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>create (FireRuby::Database)</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 137</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Database</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">user</span>, <span class="ruby-identifier">password</span>, <span class="ruby-identifier">size</span>, <span class="ruby-identifier">set</span>)
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -0,0 +1,221 @@
|
|
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>
|
@@ -0,0 +1 @@
|
|
1
|
+
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/FireRubyError.src
|
@@ -0,0 +1 @@
|
|
1
|
+
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -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 (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>
|