dtr 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/README +2 -13
- data/Rakefile +6 -58
- data/dtr.gemspec +34 -0
- data/lib/dtr.rb +1 -1
- data/lib/dtr/base.rb +13 -1
- data/lib/dtr/raketasks.rb +1 -0
- data/lib/dtr/runner.rb +13 -8
- data/lib/dtr/test_unit.rb +20 -9
- metadata +27 -31
- data/LICENSE.txt +0 -203
- data/doc/jamis.rb +0 -591
- data/test/base_test.rb +0 -31
- data/test/logger_test.rb +0 -54
- data/test/scenario_tests.rb +0 -166
- data/test/test_helper.rb +0 -17
- data/test/test_unit_test.rb +0 -25
data/LICENSE.txt
DELETED
@@ -1,203 +0,0 @@
|
|
1
|
-
|
2
|
-
Apache License
|
3
|
-
Version 2.0, January 2004
|
4
|
-
http://www.apache.org/licenses/
|
5
|
-
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
-
|
8
|
-
1. Definitions.
|
9
|
-
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
-
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
-
the copyright owner that is granting the License.
|
15
|
-
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
-
other entities that control, are controlled by, or are under common
|
18
|
-
control with that entity. For the purposes of this definition,
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
20
|
-
direction or management of such entity, whether by contract or
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
-
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
-
exercising permissions granted by this License.
|
26
|
-
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
28
|
-
including but not limited to software source code, documentation
|
29
|
-
source, and configuration files.
|
30
|
-
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
32
|
-
transformation or translation of a Source form, including but
|
33
|
-
not limited to compiled object code, generated documentation,
|
34
|
-
and conversions to other media types.
|
35
|
-
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
37
|
-
Object form, made available under the License, as indicated by a
|
38
|
-
copyright notice that is included in or attached to the work
|
39
|
-
(an example is provided in the Appendix below).
|
40
|
-
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
-
the Work and Derivative Works thereof.
|
48
|
-
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
50
|
-
the original version of the Work and any modifications or additions
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
-
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
65
|
-
subsequently incorporated within the Work.
|
66
|
-
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
73
|
-
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
-
where such license applies only to those patent claims licensable
|
80
|
-
by such Contributor that are necessarily infringed by their
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
83
|
-
institute patent litigation against any entity (including a
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
86
|
-
or contributory patent infringement, then any patent licenses
|
87
|
-
granted to You under this License for that Work shall terminate
|
88
|
-
as of the date such litigation is filed.
|
89
|
-
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
92
|
-
modifications, and in Source or Object form, provided that You
|
93
|
-
meet the following conditions:
|
94
|
-
|
95
|
-
(a) You must give any other recipients of the Work or
|
96
|
-
Derivative Works a copy of this License; and
|
97
|
-
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
99
|
-
stating that You changed the files; and
|
100
|
-
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
103
|
-
attribution notices from the Source form of the Work,
|
104
|
-
excluding those notices that do not pertain to any part of
|
105
|
-
the Derivative Works; and
|
106
|
-
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
109
|
-
include a readable copy of the attribution notices contained
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
112
|
-
of the following places: within a NOTICE text file distributed
|
113
|
-
as part of the Derivative Works; within the Source form or
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
115
|
-
within a display generated by the Derivative Works, if and
|
116
|
-
wherever such third-party notices normally appear. The contents
|
117
|
-
of the NOTICE file are for informational purposes only and
|
118
|
-
do not modify the License. You may add Your own attribution
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
121
|
-
that such additional attribution notices cannot be construed
|
122
|
-
as modifying the License.
|
123
|
-
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
125
|
-
may provide additional or different license terms and conditions
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
129
|
-
the conditions stated in this License.
|
130
|
-
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
134
|
-
this License, without any additional terms or conditions.
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
-
the terms of any separate license agreement you may have executed
|
137
|
-
with Licensor regarding such Contributions.
|
138
|
-
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
141
|
-
except as required for reasonable and customary use in describing the
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
-
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
153
|
-
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
159
|
-
incidental, or consequential damages of any character arising as a
|
160
|
-
result of this License or out of the use or inability to use the
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
163
|
-
other commercial damages or losses), even if such Contributor
|
164
|
-
has been advised of the possibility of such damages.
|
165
|
-
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
-
or other liability obligations and/or rights consistent with this
|
170
|
-
License. However, in accepting such obligations, You may act only
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
175
|
-
of your accepting any such warranty or additional liability.
|
176
|
-
|
177
|
-
END OF TERMS AND CONDITIONS
|
178
|
-
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
180
|
-
|
181
|
-
To apply the Apache License to your work, attach the following
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
-
replaced with your own identifying information. (Don't include
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
185
|
-
comment syntax for the file format. We also recommend that a
|
186
|
-
file or class name and description of purpose be included on the
|
187
|
-
same "printed page" as the copyright notice for easier
|
188
|
-
identification within third-party archives.
|
189
|
-
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
191
|
-
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
-
you may not use this file except in compliance with the License.
|
194
|
-
You may obtain a copy of the License at
|
195
|
-
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
-
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
-
See the License for the specific language governing permissions and
|
202
|
-
limitations under the License.
|
203
|
-
|
data/doc/jamis.rb
DELETED
@@ -1,591 +0,0 @@
|
|
1
|
-
module RDoc
|
2
|
-
module Page
|
3
|
-
|
4
|
-
FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif"
|
5
|
-
|
6
|
-
STYLE = <<CSS
|
7
|
-
a {
|
8
|
-
color: #00F;
|
9
|
-
text-decoration: none;
|
10
|
-
}
|
11
|
-
|
12
|
-
a:hover {
|
13
|
-
color: #77F;
|
14
|
-
text-decoration: underline;
|
15
|
-
}
|
16
|
-
|
17
|
-
body, td, p {
|
18
|
-
font-family: %fonts%;
|
19
|
-
background: #FFF;
|
20
|
-
color: #000;
|
21
|
-
margin: 0px;
|
22
|
-
font-size: small;
|
23
|
-
}
|
24
|
-
|
25
|
-
#content {
|
26
|
-
margin: 2em;
|
27
|
-
}
|
28
|
-
|
29
|
-
#description p {
|
30
|
-
margin-bottom: 0.5em;
|
31
|
-
}
|
32
|
-
|
33
|
-
.sectiontitle {
|
34
|
-
margin-top: 1em;
|
35
|
-
margin-bottom: 1em;
|
36
|
-
padding: 0.5em;
|
37
|
-
padding-left: 2em;
|
38
|
-
background: #005;
|
39
|
-
color: #FFF;
|
40
|
-
font-weight: bold;
|
41
|
-
border: 1px dotted black;
|
42
|
-
}
|
43
|
-
|
44
|
-
.attr-rw {
|
45
|
-
padding-left: 1em;
|
46
|
-
padding-right: 1em;
|
47
|
-
text-align: center;
|
48
|
-
color: #055;
|
49
|
-
}
|
50
|
-
|
51
|
-
.attr-name {
|
52
|
-
font-weight: bold;
|
53
|
-
}
|
54
|
-
|
55
|
-
.attr-desc {
|
56
|
-
}
|
57
|
-
|
58
|
-
.attr-value {
|
59
|
-
font-family: monospace;
|
60
|
-
}
|
61
|
-
|
62
|
-
.file-title-prefix {
|
63
|
-
font-size: large;
|
64
|
-
}
|
65
|
-
|
66
|
-
.file-title {
|
67
|
-
font-size: large;
|
68
|
-
font-weight: bold;
|
69
|
-
background: #005;
|
70
|
-
color: #FFF;
|
71
|
-
}
|
72
|
-
|
73
|
-
.banner {
|
74
|
-
background: #005;
|
75
|
-
color: #FFF;
|
76
|
-
border: 1px solid black;
|
77
|
-
padding: 1em;
|
78
|
-
}
|
79
|
-
|
80
|
-
.banner td {
|
81
|
-
background: transparent;
|
82
|
-
color: #FFF;
|
83
|
-
}
|
84
|
-
|
85
|
-
h1 a, h2 a, .sectiontitle a, .banner a {
|
86
|
-
color: #FF0;
|
87
|
-
}
|
88
|
-
|
89
|
-
h1 a:hover, h2 a:hover, .sectiontitle a:hover, .banner a:hover {
|
90
|
-
color: #FF7;
|
91
|
-
}
|
92
|
-
|
93
|
-
.dyn-source {
|
94
|
-
display: none;
|
95
|
-
background: #FFE;
|
96
|
-
color: #000;
|
97
|
-
border: 1px dotted black;
|
98
|
-
margin: 0.5em 2em 0.5em 2em;
|
99
|
-
padding: 0.5em;
|
100
|
-
}
|
101
|
-
|
102
|
-
.dyn-source .cmt {
|
103
|
-
color: #00F;
|
104
|
-
font-style: italic;
|
105
|
-
}
|
106
|
-
|
107
|
-
.dyn-source .kw {
|
108
|
-
color: #070;
|
109
|
-
font-weight: bold;
|
110
|
-
}
|
111
|
-
|
112
|
-
.method {
|
113
|
-
margin-left: 1em;
|
114
|
-
margin-right: 1em;
|
115
|
-
margin-bottom: 1em;
|
116
|
-
}
|
117
|
-
|
118
|
-
.description pre {
|
119
|
-
padding: 0.5em;
|
120
|
-
border: 1px dotted black;
|
121
|
-
background: #FFE;
|
122
|
-
}
|
123
|
-
|
124
|
-
.method .title {
|
125
|
-
font-family: monospace;
|
126
|
-
font-size: large;
|
127
|
-
border-bottom: 1px dashed black;
|
128
|
-
margin-bottom: 0.3em;
|
129
|
-
padding-bottom: 0.1em;
|
130
|
-
}
|
131
|
-
|
132
|
-
.method .description, .method .sourcecode {
|
133
|
-
margin-left: 1em;
|
134
|
-
}
|
135
|
-
|
136
|
-
.description p, .sourcecode p {
|
137
|
-
margin-bottom: 0.5em;
|
138
|
-
}
|
139
|
-
|
140
|
-
.method .sourcecode p.source-link {
|
141
|
-
text-indent: 0em;
|
142
|
-
margin-top: 0.5em;
|
143
|
-
}
|
144
|
-
|
145
|
-
.method .aka {
|
146
|
-
margin-top: 0.3em;
|
147
|
-
margin-left: 1em;
|
148
|
-
font-style: italic;
|
149
|
-
text-indent: 2em;
|
150
|
-
}
|
151
|
-
|
152
|
-
h1 {
|
153
|
-
padding: 1em;
|
154
|
-
border: 1px solid black;
|
155
|
-
font-size: x-large;
|
156
|
-
font-weight: bold;
|
157
|
-
color: #FFF;
|
158
|
-
background: #007;
|
159
|
-
}
|
160
|
-
|
161
|
-
h2 {
|
162
|
-
padding: 0.5em 1em 0.5em 1em;
|
163
|
-
border: 1px solid black;
|
164
|
-
font-size: large;
|
165
|
-
font-weight: bold;
|
166
|
-
color: #FFF;
|
167
|
-
background: #009;
|
168
|
-
}
|
169
|
-
|
170
|
-
h3, h4, h5, h6 {
|
171
|
-
padding: 0.2em 1em 0.2em 1em;
|
172
|
-
border: 1px dashed black;
|
173
|
-
color: #000;
|
174
|
-
background: #AAF;
|
175
|
-
}
|
176
|
-
|
177
|
-
.sourcecode > pre {
|
178
|
-
padding: 0.5em;
|
179
|
-
border: 1px dotted black;
|
180
|
-
background: #FFE;
|
181
|
-
}
|
182
|
-
|
183
|
-
CSS
|
184
|
-
|
185
|
-
XHTML_PREAMBLE = %{<?xml version="1.0" encoding="%charset%"?>
|
186
|
-
<!DOCTYPE html
|
187
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
188
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
189
|
-
}
|
190
|
-
|
191
|
-
HEADER = XHTML_PREAMBLE + <<ENDHEADER
|
192
|
-
<html>
|
193
|
-
<head>
|
194
|
-
<title>%title%</title>
|
195
|
-
<meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
|
196
|
-
<link rel="stylesheet" href="%style_url%" type="text/css" media="screen" />
|
197
|
-
|
198
|
-
<script language="JavaScript" type="text/javascript">
|
199
|
-
// <![CDATA[
|
200
|
-
|
201
|
-
function toggleSource( id )
|
202
|
-
{
|
203
|
-
var elem
|
204
|
-
var link
|
205
|
-
|
206
|
-
if( document.getElementById )
|
207
|
-
{
|
208
|
-
elem = document.getElementById( id )
|
209
|
-
link = document.getElementById( "l_" + id )
|
210
|
-
}
|
211
|
-
else if ( document.all )
|
212
|
-
{
|
213
|
-
elem = eval( "document.all." + id )
|
214
|
-
link = eval( "document.all.l_" + id )
|
215
|
-
}
|
216
|
-
else
|
217
|
-
return false;
|
218
|
-
|
219
|
-
if( elem.style.display == "block" )
|
220
|
-
{
|
221
|
-
elem.style.display = "none"
|
222
|
-
link.innerHTML = "show source"
|
223
|
-
}
|
224
|
-
else
|
225
|
-
{
|
226
|
-
elem.style.display = "block"
|
227
|
-
link.innerHTML = "hide source"
|
228
|
-
}
|
229
|
-
}
|
230
|
-
|
231
|
-
function openCode( url )
|
232
|
-
{
|
233
|
-
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
234
|
-
}
|
235
|
-
// ]]>
|
236
|
-
</script>
|
237
|
-
</head>
|
238
|
-
|
239
|
-
<body>
|
240
|
-
ENDHEADER
|
241
|
-
|
242
|
-
FILE_PAGE = <<HTML
|
243
|
-
<table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
|
244
|
-
<tr><td>
|
245
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
|
246
|
-
<td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />%short_name%</td>
|
247
|
-
<td align="right">
|
248
|
-
<table border='0' cellspacing="0" cellpadding="2">
|
249
|
-
<tr>
|
250
|
-
<td>Path:</td>
|
251
|
-
<td>%full_path%
|
252
|
-
IF:cvsurl
|
253
|
-
(<a href="%cvsurl%">CVS</a>)
|
254
|
-
ENDIF:cvsurl
|
255
|
-
</td>
|
256
|
-
</tr>
|
257
|
-
<tr>
|
258
|
-
<td>Modified:</td>
|
259
|
-
<td>%dtm_modified%</td>
|
260
|
-
</tr>
|
261
|
-
</table>
|
262
|
-
</td></tr>
|
263
|
-
</table>
|
264
|
-
</td></tr>
|
265
|
-
</table><br>
|
266
|
-
HTML
|
267
|
-
|
268
|
-
###################################################################
|
269
|
-
|
270
|
-
CLASS_PAGE = <<HTML
|
271
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
272
|
-
<td class="file-title"><span class="file-title-prefix">%classmod%</span><br />%full_name%</td>
|
273
|
-
<td align="right">
|
274
|
-
<table cellspacing=0 cellpadding=2>
|
275
|
-
<tr valign="top">
|
276
|
-
<td>In:</td>
|
277
|
-
<td>
|
278
|
-
START:infiles
|
279
|
-
HREF:full_path_url:full_path:
|
280
|
-
IF:cvsurl
|
281
|
-
(<a href="%cvsurl%">CVS</a>)
|
282
|
-
ENDIF:cvsurl
|
283
|
-
END:infiles
|
284
|
-
</td>
|
285
|
-
</tr>
|
286
|
-
IF:parent
|
287
|
-
<tr>
|
288
|
-
<td>Parent:</td>
|
289
|
-
<td>
|
290
|
-
IF:par_url
|
291
|
-
<a href="%par_url%">
|
292
|
-
ENDIF:par_url
|
293
|
-
%parent%
|
294
|
-
IF:par_url
|
295
|
-
</a>
|
296
|
-
ENDIF:par_url
|
297
|
-
</td>
|
298
|
-
</tr>
|
299
|
-
ENDIF:parent
|
300
|
-
</table>
|
301
|
-
</td>
|
302
|
-
</tr>
|
303
|
-
</table>
|
304
|
-
HTML
|
305
|
-
|
306
|
-
###################################################################
|
307
|
-
|
308
|
-
METHOD_LIST = <<HTML
|
309
|
-
<div id="content">
|
310
|
-
IF:diagram
|
311
|
-
<table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center">
|
312
|
-
%diagram%
|
313
|
-
</td></tr></table>
|
314
|
-
ENDIF:diagram
|
315
|
-
|
316
|
-
IF:description
|
317
|
-
<div class="description">%description%</div>
|
318
|
-
ENDIF:description
|
319
|
-
|
320
|
-
IF:requires
|
321
|
-
<div class="sectiontitle">Required Files</div>
|
322
|
-
<ul>
|
323
|
-
START:requires
|
324
|
-
<li>HREF:aref:name:</li>
|
325
|
-
END:requires
|
326
|
-
</ul>
|
327
|
-
ENDIF:requires
|
328
|
-
|
329
|
-
IF:toc
|
330
|
-
<div class="sectiontitle">Contents</div>
|
331
|
-
<ul>
|
332
|
-
START:toc
|
333
|
-
<li><a href="#%href%">%secname%</a></li>
|
334
|
-
END:toc
|
335
|
-
</ul>
|
336
|
-
ENDIF:toc
|
337
|
-
|
338
|
-
IF:methods
|
339
|
-
<div class="sectiontitle">Methods</div>
|
340
|
-
<ul>
|
341
|
-
START:methods
|
342
|
-
<li>HREF:aref:name:</li>
|
343
|
-
END:methods
|
344
|
-
</ul>
|
345
|
-
ENDIF:methods
|
346
|
-
|
347
|
-
IF:includes
|
348
|
-
<div class="sectiontitle">Included Modules</div>
|
349
|
-
<ul>
|
350
|
-
START:includes
|
351
|
-
<li>HREF:aref:name:</li>
|
352
|
-
END:includes
|
353
|
-
</ul>
|
354
|
-
ENDIF:includes
|
355
|
-
|
356
|
-
START:sections
|
357
|
-
IF:sectitle
|
358
|
-
<div class="sectiontitle"><a nem="%secsequence%">%sectitle%</a></div>
|
359
|
-
IF:seccomment
|
360
|
-
<div class="description">
|
361
|
-
%seccomment%
|
362
|
-
</div>
|
363
|
-
ENDIF:seccomment
|
364
|
-
ENDIF:sectitle
|
365
|
-
|
366
|
-
IF:classlist
|
367
|
-
<div class="sectiontitle">Classes and Modules</div>
|
368
|
-
%classlist%
|
369
|
-
ENDIF:classlist
|
370
|
-
|
371
|
-
IF:constants
|
372
|
-
<div class="sectiontitle">Constants</div>
|
373
|
-
<table border='0' cellpadding='5'>
|
374
|
-
START:constants
|
375
|
-
<tr valign='top'>
|
376
|
-
<td class="attr-name">%name%</td>
|
377
|
-
<td>=</td>
|
378
|
-
<td class="attr-value">%value%</td>
|
379
|
-
</tr>
|
380
|
-
IF:desc
|
381
|
-
<tr valign='top'>
|
382
|
-
<td> </td>
|
383
|
-
<td colspan="2" class="attr-desc">%desc%</td>
|
384
|
-
</tr>
|
385
|
-
ENDIF:desc
|
386
|
-
END:constants
|
387
|
-
</table>
|
388
|
-
ENDIF:constants
|
389
|
-
|
390
|
-
IF:attributes
|
391
|
-
<div class="sectiontitle">Attributes</div>
|
392
|
-
<table border='0' cellpadding='5'>
|
393
|
-
START:attributes
|
394
|
-
<tr valign='top'>
|
395
|
-
<td class='attr-rw'>
|
396
|
-
IF:rw
|
397
|
-
[%rw%]
|
398
|
-
ENDIF:rw
|
399
|
-
</td>
|
400
|
-
<td class='attr-name'>%name%</td>
|
401
|
-
<td class='attr-desc'>%a_desc%</td>
|
402
|
-
</tr>
|
403
|
-
END:attributes
|
404
|
-
</table>
|
405
|
-
ENDIF:attributes
|
406
|
-
|
407
|
-
IF:method_list
|
408
|
-
START:method_list
|
409
|
-
IF:methods
|
410
|
-
<div class="sectiontitle">%type% %category% methods</div>
|
411
|
-
START:methods
|
412
|
-
<div class="method">
|
413
|
-
<div class="title">
|
414
|
-
IF:callseq
|
415
|
-
<a name="%aref%"></a><b>%callseq%</b>
|
416
|
-
ENDIF:callseq
|
417
|
-
IFNOT:callseq
|
418
|
-
<a name="%aref%"></a><b>%name%</b>%params%
|
419
|
-
ENDIF:callseq
|
420
|
-
IF:codeurl
|
421
|
-
[ <a href="javascript:openCode('%codeurl%')">source</a> ]
|
422
|
-
ENDIF:codeurl
|
423
|
-
</div>
|
424
|
-
IF:m_desc
|
425
|
-
<div class="description">
|
426
|
-
%m_desc%
|
427
|
-
</div>
|
428
|
-
ENDIF:m_desc
|
429
|
-
IF:aka
|
430
|
-
<div class="aka">
|
431
|
-
This method is also aliased as
|
432
|
-
START:aka
|
433
|
-
<a href="%aref%">%name%</a>
|
434
|
-
END:aka
|
435
|
-
</div>
|
436
|
-
ENDIF:aka
|
437
|
-
IF:sourcecode
|
438
|
-
<div class="sourcecode">
|
439
|
-
<p class="source-link">[ <a href="javascript:toggleSource('%aref%_source')" id="l_%aref%_source">show source</a> ]</p>
|
440
|
-
<div id="%aref%_source" class="dyn-source">
|
441
|
-
<pre>
|
442
|
-
%sourcecode%
|
443
|
-
</pre>
|
444
|
-
</div>
|
445
|
-
</div>
|
446
|
-
ENDIF:sourcecode
|
447
|
-
</div>
|
448
|
-
END:methods
|
449
|
-
ENDIF:methods
|
450
|
-
END:method_list
|
451
|
-
ENDIF:method_list
|
452
|
-
END:sections
|
453
|
-
</div>
|
454
|
-
HTML
|
455
|
-
|
456
|
-
FOOTER = <<ENDFOOTER
|
457
|
-
</body>
|
458
|
-
</html>
|
459
|
-
ENDFOOTER
|
460
|
-
|
461
|
-
BODY = HEADER + <<ENDBODY
|
462
|
-
!INCLUDE! <!-- banner header -->
|
463
|
-
|
464
|
-
<div id="bodyContent">
|
465
|
-
#{METHOD_LIST}
|
466
|
-
</div>
|
467
|
-
|
468
|
-
#{FOOTER}
|
469
|
-
ENDBODY
|
470
|
-
|
471
|
-
########################## Source code ##########################
|
472
|
-
|
473
|
-
SRC_PAGE = XHTML_PREAMBLE + <<HTML
|
474
|
-
<html>
|
475
|
-
<head><title>%title%</title>
|
476
|
-
<meta http-equiv="Content-Type" content="text/html; charset=%charset%">
|
477
|
-
<style>
|
478
|
-
.ruby-comment { color: green; font-style: italic }
|
479
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
480
|
-
.ruby-identifier { color: #222222; }
|
481
|
-
.ruby-ivar { color: #2233dd; }
|
482
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
483
|
-
.ruby-node { color: #777777; }
|
484
|
-
.ruby-operator { color: #111111; }
|
485
|
-
.ruby-regexp { color: #662222; }
|
486
|
-
.ruby-value { color: #662222; font-style: italic }
|
487
|
-
.kw { color: #3333FF; font-weight: bold }
|
488
|
-
.cmt { color: green; font-style: italic }
|
489
|
-
.str { color: #662222; font-style: italic }
|
490
|
-
.re { color: #662222; }
|
491
|
-
</style>
|
492
|
-
</head>
|
493
|
-
<body bgcolor="white">
|
494
|
-
<pre>%code%</pre>
|
495
|
-
</body>
|
496
|
-
</html>
|
497
|
-
HTML
|
498
|
-
|
499
|
-
########################## Index ################################
|
500
|
-
|
501
|
-
FR_INDEX_BODY = <<HTML
|
502
|
-
!INCLUDE!
|
503
|
-
HTML
|
504
|
-
|
505
|
-
FILE_INDEX = XHTML_PREAMBLE + <<HTML
|
506
|
-
<html>
|
507
|
-
<head>
|
508
|
-
<meta http-equiv="Content-Type" content="text/html; charset=%charset%">
|
509
|
-
<style>
|
510
|
-
<!--
|
511
|
-
body {
|
512
|
-
background-color: #EEE;
|
513
|
-
font-family: #{FONTS};
|
514
|
-
color: #000;
|
515
|
-
margin: 0px;
|
516
|
-
}
|
517
|
-
.banner {
|
518
|
-
background: #005;
|
519
|
-
color: #FFF;
|
520
|
-
padding: 0.2em;
|
521
|
-
font-size: small;
|
522
|
-
font-weight: bold;
|
523
|
-
text-align: center;
|
524
|
-
}
|
525
|
-
.entries {
|
526
|
-
margin: 0.25em 1em 0 1em;
|
527
|
-
font-size: x-small;
|
528
|
-
}
|
529
|
-
a {
|
530
|
-
color: #00F;
|
531
|
-
text-decoration: none;
|
532
|
-
white-space: nowrap;
|
533
|
-
}
|
534
|
-
a:hover {
|
535
|
-
color: #77F;
|
536
|
-
text-decoration: underline;
|
537
|
-
}
|
538
|
-
-->
|
539
|
-
</style>
|
540
|
-
<base target="docwin">
|
541
|
-
</head>
|
542
|
-
<body>
|
543
|
-
<div class="banner">%list_title%</div>
|
544
|
-
<div class="entries">
|
545
|
-
START:entries
|
546
|
-
<a href="%href%">%name%</a><br>
|
547
|
-
END:entries
|
548
|
-
</div>
|
549
|
-
</body></html>
|
550
|
-
HTML
|
551
|
-
|
552
|
-
CLASS_INDEX = FILE_INDEX
|
553
|
-
METHOD_INDEX = FILE_INDEX
|
554
|
-
|
555
|
-
INDEX = XHTML_PREAMBLE + <<HTML
|
556
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
557
|
-
<head>
|
558
|
-
<title>%title%</title>
|
559
|
-
<meta http-equiv="Content-Type" content="text/html; charset=%charset%">
|
560
|
-
</head>
|
561
|
-
|
562
|
-
<frameset cols="20%,*">
|
563
|
-
<frameset rows="15%,35%,50%">
|
564
|
-
<frame src="fr_file_index.html" title="Files" name="Files" />
|
565
|
-
<frame src="fr_class_index.html" name="Classes" />
|
566
|
-
<frame src="fr_method_index.html" name="Methods" />
|
567
|
-
</frameset>
|
568
|
-
IF:inline_source
|
569
|
-
<frame src="%initial_page%" name="docwin">
|
570
|
-
ENDIF:inline_source
|
571
|
-
IFNOT:inline_source
|
572
|
-
<frameset rows="80%,20%">
|
573
|
-
<frame src="%initial_page%" name="docwin">
|
574
|
-
<frame src="blank.html" name="source">
|
575
|
-
</frameset>
|
576
|
-
ENDIF:inline_source
|
577
|
-
<noframes>
|
578
|
-
<body bgcolor="white">
|
579
|
-
Click <a href="html/index.html">here</a> for a non-frames
|
580
|
-
version of this page.
|
581
|
-
</body>
|
582
|
-
</noframes>
|
583
|
-
</frameset>
|
584
|
-
|
585
|
-
</html>
|
586
|
-
HTML
|
587
|
-
|
588
|
-
end
|
589
|
-
end
|
590
|
-
|
591
|
-
|