zyps 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +2 -2
- data/bin/zyps_demo +2 -8
- data/bin/zyps_server +14 -41
- data/lib/zyps/environmental_factors.rb +33 -5
- data/lib/zyps/remote.rb +103 -0
- data/test/zyps/test_actions.rb +2 -1
- data/test/zyps/test_conditions.rb +0 -6
- data/test/zyps/test_environmental_factors.rb +1 -2
- data/test/zyps/test_remote.rb +113 -0
- metadata +11 -183
- data/doc/classes/Zyps/AccelerateAction.html +0 -200
- data/doc/classes/Zyps/AccelerateAction.src/M000020.html +0 -19
- data/doc/classes/Zyps/AccelerateAction.src/M000021.html +0 -19
- data/doc/classes/Zyps/AccelerateAction.src/M000022.html +0 -18
- data/doc/classes/Zyps/Accelerator.html +0 -181
- data/doc/classes/Zyps/Accelerator.src/M000044.html +0 -19
- data/doc/classes/Zyps/Accelerator.src/M000045.html +0 -18
- data/doc/classes/Zyps/Action.html +0 -217
- data/doc/classes/Zyps/Action.src/M000014.html +0 -18
- data/doc/classes/Zyps/Action.src/M000015.html +0 -18
- data/doc/classes/Zyps/Action.src/M000016.html +0 -17
- data/doc/classes/Zyps/Action.src/M000017.html +0 -18
- data/doc/classes/Zyps/AgeCondition.html +0 -181
- data/doc/classes/Zyps/AgeCondition.src/M000058.html +0 -18
- data/doc/classes/Zyps/AgeCondition.src/M000059.html +0 -18
- data/doc/classes/Zyps/ApproachAction.html +0 -207
- data/doc/classes/Zyps/ApproachAction.src/M000074.html +0 -19
- data/doc/classes/Zyps/ApproachAction.src/M000075.html +0 -19
- data/doc/classes/Zyps/ApproachAction.src/M000076.html +0 -38
- data/doc/classes/Zyps/Behavior.html +0 -206
- data/doc/classes/Zyps/Behavior.src/M000012.html +0 -20
- data/doc/classes/Zyps/Behavior.src/M000013.html +0 -31
- data/doc/classes/Zyps/BlendAction.html +0 -181
- data/doc/classes/Zyps/BlendAction.src/M000066.html +0 -18
- data/doc/classes/Zyps/BlendAction.src/M000067.html +0 -18
- data/doc/classes/Zyps/Clock.html +0 -180
- data/doc/classes/Zyps/Clock.src/M000069.html +0 -18
- data/doc/classes/Zyps/Clock.src/M000070.html +0 -21
- data/doc/classes/Zyps/Clock.src/M000071.html +0 -18
- data/doc/classes/Zyps/CollisionCondition.html +0 -148
- data/doc/classes/Zyps/CollisionCondition.src/M000083.html +0 -18
- data/doc/classes/Zyps/Color.html +0 -299
- data/doc/classes/Zyps/Color.src/M000038.html +0 -18
- data/doc/classes/Zyps/Color.src/M000039.html +0 -16
- data/doc/classes/Zyps/Color.src/M000040.html +0 -16
- data/doc/classes/Zyps/Color.src/M000041.html +0 -16
- data/doc/classes/Zyps/Color.src/M000042.html +0 -18
- data/doc/classes/Zyps/Color.src/M000043.html +0 -22
- data/doc/classes/Zyps/Condition.html +0 -118
- data/doc/classes/Zyps/Creature.html +0 -190
- data/doc/classes/Zyps/Creature.src/M000025.html +0 -19
- data/doc/classes/Zyps/Creature.src/M000026.html +0 -18
- data/doc/classes/Zyps/DestroyAction.html +0 -181
- data/doc/classes/Zyps/DestroyAction.src/M000054.html +0 -18
- data/doc/classes/Zyps/DestroyAction.src/M000055.html +0 -20
- data/doc/classes/Zyps/EatAction.html +0 -149
- data/doc/classes/Zyps/EatAction.src/M000068.html +0 -21
- data/doc/classes/Zyps/Enclosure.html +0 -206
- data/doc/classes/Zyps/Enclosure.src/M000010.html +0 -18
- data/doc/classes/Zyps/Enclosure.src/M000011.html +0 -31
- data/doc/classes/Zyps/Environment.html +0 -203
- data/doc/classes/Zyps/Environment.src/M000081.html +0 -19
- data/doc/classes/Zyps/Environment.src/M000082.html +0 -67
- data/doc/classes/Zyps/EnvironmentalFactor.html +0 -118
- data/doc/classes/Zyps/FaceAction.html +0 -148
- data/doc/classes/Zyps/FaceAction.src/M000080.html +0 -18
- data/doc/classes/Zyps/FleeAction.html +0 -207
- data/doc/classes/Zyps/FleeAction.src/M000084.html +0 -19
- data/doc/classes/Zyps/FleeAction.src/M000085.html +0 -19
- data/doc/classes/Zyps/FleeAction.src/M000086.html +0 -38
- data/doc/classes/Zyps/Friction.html +0 -181
- data/doc/classes/Zyps/Friction.src/M000072.html +0 -19
- data/doc/classes/Zyps/Friction.src/M000073.html +0 -18
- data/doc/classes/Zyps/GameObject.html +0 -282
- data/doc/classes/Zyps/GameObject.src/M000060.html +0 -19
- data/doc/classes/Zyps/GameObject.src/M000061.html +0 -16
- data/doc/classes/Zyps/GameObject.src/M000062.html +0 -19
- data/doc/classes/Zyps/GameObject.src/M000063.html +0 -16
- data/doc/classes/Zyps/GameObject.src/M000064.html +0 -16
- data/doc/classes/Zyps/Gravity.html +0 -145
- data/doc/classes/Zyps/Gravity.src/M000065.html +0 -16
- data/doc/classes/Zyps/Location.html +0 -167
- data/doc/classes/Zyps/Location.src/M000037.html +0 -18
- data/doc/classes/Zyps/NoMatchException.html +0 -111
- data/doc/classes/Zyps/PopulationLimit.html +0 -183
- data/doc/classes/Zyps/PopulationLimit.src/M000027.html +0 -19
- data/doc/classes/Zyps/PopulationLimit.src/M000028.html +0 -20
- data/doc/classes/Zyps/ProximityCondition.html +0 -182
- data/doc/classes/Zyps/ProximityCondition.src/M000056.html +0 -18
- data/doc/classes/Zyps/ProximityCondition.src/M000057.html +0 -18
- data/doc/classes/Zyps/PullAction.html +0 -199
- data/doc/classes/Zyps/PullAction.src/M000046.html +0 -19
- data/doc/classes/Zyps/PullAction.src/M000047.html +0 -19
- data/doc/classes/Zyps/PullAction.src/M000048.html +0 -23
- data/doc/classes/Zyps/PushAction.html +0 -199
- data/doc/classes/Zyps/PushAction.src/M000049.html +0 -19
- data/doc/classes/Zyps/PushAction.src/M000050.html +0 -19
- data/doc/classes/Zyps/PushAction.src/M000051.html +0 -23
- data/doc/classes/Zyps/SpeedLimit.html +0 -181
- data/doc/classes/Zyps/SpeedLimit.src/M000023.html +0 -18
- data/doc/classes/Zyps/SpeedLimit.src/M000024.html +0 -18
- data/doc/classes/Zyps/TagAction.html +0 -181
- data/doc/classes/Zyps/TagAction.src/M000052.html +0 -18
- data/doc/classes/Zyps/TagAction.src/M000053.html +0 -18
- data/doc/classes/Zyps/TagCondition.html +0 -181
- data/doc/classes/Zyps/TagCondition.src/M000018.html +0 -18
- data/doc/classes/Zyps/TagCondition.src/M000019.html +0 -18
- data/doc/classes/Zyps/TrailsView.html +0 -209
- data/doc/classes/Zyps/TrailsView.src/M000008.html +0 -40
- data/doc/classes/Zyps/TrailsView.src/M000009.html +0 -78
- data/doc/classes/Zyps/TurnAction.html +0 -200
- data/doc/classes/Zyps/TurnAction.src/M000077.html +0 -19
- data/doc/classes/Zyps/TurnAction.src/M000078.html +0 -19
- data/doc/classes/Zyps/TurnAction.src/M000079.html +0 -18
- data/doc/classes/Zyps/Utility.html +0 -251
- data/doc/classes/Zyps/Utility.src/M000001.html +0 -26
- data/doc/classes/Zyps/Utility.src/M000002.html +0 -22
- data/doc/classes/Zyps/Utility.src/M000003.html +0 -18
- data/doc/classes/Zyps/Utility.src/M000004.html +0 -21
- data/doc/classes/Zyps/Utility.src/M000005.html +0 -25
- data/doc/classes/Zyps/Utility.src/M000006.html +0 -21
- data/doc/classes/Zyps/Utility.src/M000007.html +0 -21
- data/doc/classes/Zyps/Vector.html +0 -281
- data/doc/classes/Zyps/Vector.src/M000029.html +0 -19
- data/doc/classes/Zyps/Vector.src/M000030.html +0 -16
- data/doc/classes/Zyps/Vector.src/M000031.html +0 -21
- data/doc/classes/Zyps/Vector.src/M000032.html +0 -16
- data/doc/classes/Zyps/Vector.src/M000033.html +0 -18
- data/doc/classes/Zyps/Vector.src/M000034.html +0 -16
- data/doc/classes/Zyps/Vector.src/M000035.html +0 -18
- data/doc/classes/Zyps/Vector.src/M000036.html +0 -25
- data/doc/classes/Zyps.html +0 -161
- data/doc/created.rid +0 -1
- data/doc/files/COPYING_LESSER_txt.html +0 -311
- data/doc/files/COPYING_txt.html +0 -1003
- data/doc/files/README_txt.html +0 -236
- data/doc/files/lib/zyps/actions_rb.html +0 -134
- data/doc/files/lib/zyps/conditions_rb.html +0 -134
- data/doc/files/lib/zyps/environmental_factors_rb.html +0 -134
- data/doc/files/lib/zyps/views/trails_rb.html +0 -134
- data/doc/files/lib/zyps_rb.html +0 -134
- data/doc/fr_class_index.html +0 -62
- data/doc/fr_file_index.html +0 -34
- data/doc/fr_method_index.html +0 -112
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
data/doc/files/README_txt.html
DELETED
@@ -1,236 +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>File: README.txt</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="fileHeader">
|
50
|
-
<h1>README.txt</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>README.txt
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Oct 24 20:01:08 -0700 2007</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<h2>Synopsis</h2>
|
73
|
-
<p>
|
74
|
-
<a href="../classes/Zyps.html">Zyps</a> - A simulation/game with autonomous
|
75
|
-
creatures.
|
76
|
-
</p>
|
77
|
-
<h2>Description</h2>
|
78
|
-
<p>
|
79
|
-
<a href="../classes/Zyps.html">Zyps</a> are small creatures with minds of
|
80
|
-
their own. You can create dozens of <a
|
81
|
-
href="../classes/Zyps.html">Zyps</a>, then decide how each will act. (Will
|
82
|
-
it run away from the others? Follow them? Eat them for lunch?) You can
|
83
|
-
combine rules and actions to create very complex behaviors.
|
84
|
-
</p>
|
85
|
-
<h2>Requirements</h2>
|
86
|
-
<ul>
|
87
|
-
<li>Ruby: <a href="http://www.ruby-lang.org">www.ruby-lang.org</a>
|
88
|
-
|
89
|
-
</li>
|
90
|
-
<li>Ruby-GNOME2: <a
|
91
|
-
href="http://ruby-gnome2.sourceforge.jp">ruby-gnome2.sourceforge.jp</a>
|
92
|
-
|
93
|
-
</li>
|
94
|
-
<li>Rake (to build from source): <a
|
95
|
-
href="http://rake.rubyforge.org">rake.rubyforge.org</a>
|
96
|
-
|
97
|
-
</li>
|
98
|
-
</ul>
|
99
|
-
<h2>Installation</h2>
|
100
|
-
<p>
|
101
|
-
Make sure you have administrative privileges, then type the following at a
|
102
|
-
command line:
|
103
|
-
</p>
|
104
|
-
<pre>
|
105
|
-
gem install zyps
|
106
|
-
</pre>
|
107
|
-
<h2>Usage</h2>
|
108
|
-
<p>
|
109
|
-
Ensure Ruby-GNOME2 is installed and working.
|
110
|
-
</p>
|
111
|
-
<p>
|
112
|
-
At a command line, type:
|
113
|
-
</p>
|
114
|
-
<pre>
|
115
|
-
zyps
|
116
|
-
</pre>
|
117
|
-
<p>
|
118
|
-
To see a tutorial on the library, at a command line, type:
|
119
|
-
</p>
|
120
|
-
<pre>
|
121
|
-
zyps_demo
|
122
|
-
</pre>
|
123
|
-
<p>
|
124
|
-
To run a DRb server that clients can connect to:
|
125
|
-
</p>
|
126
|
-
<pre>
|
127
|
-
zyps_server [options]
|
128
|
-
-h, --help Display program help.
|
129
|
-
-m, --max-population [number] The maximum number of allowed game objects.
|
130
|
-
25 by default.
|
131
|
-
-s, --max-speed [number] The fastest an object can go. 500 by
|
132
|
-
default.
|
133
|
-
-n, --no-enclosure Disables the barrier that normally keeps
|
134
|
-
objects on the screen.
|
135
|
-
-u, --url [url] dRuby URL to run the server on. If not
|
136
|
-
defined, one will be selected and printed to
|
137
|
-
STDOUT.
|
138
|
-
-f, --fps [frames] Number of frames to draw per second. 60 by
|
139
|
-
default.
|
140
|
-
--view-width [pixels] Window width. 800 by default.
|
141
|
-
--view-height [pixels] Window height. 600 by default.
|
142
|
-
</pre>
|
143
|
-
<h2>Development</h2>
|
144
|
-
<p>
|
145
|
-
Source code and documentation are available via the project site (<a
|
146
|
-
href="http://jay.mcgavren.com/zyps">jay.mcgavren.com/zyps</a>).
|
147
|
-
</p>
|
148
|
-
<p>
|
149
|
-
Once downloaded, change into the project directory. For a list of targets,
|
150
|
-
run:
|
151
|
-
</p>
|
152
|
-
<pre>
|
153
|
-
rake -T
|
154
|
-
</pre>
|
155
|
-
<p>
|
156
|
-
To build a gem:
|
157
|
-
</p>
|
158
|
-
<pre>
|
159
|
-
rake
|
160
|
-
</pre>
|
161
|
-
<p>
|
162
|
-
To see the demo:
|
163
|
-
</p>
|
164
|
-
<pre>
|
165
|
-
rake demo
|
166
|
-
</pre>
|
167
|
-
<p>
|
168
|
-
To create a "doc" subdirectory with API documentation:
|
169
|
-
</p>
|
170
|
-
<pre>
|
171
|
-
rake rdoc
|
172
|
-
</pre>
|
173
|
-
<p>
|
174
|
-
Also see "bin/zyps_demo" and the "test" subfolder in
|
175
|
-
the project directory for sample code.
|
176
|
-
</p>
|
177
|
-
<h2>Thanks</h2>
|
178
|
-
<p>
|
179
|
-
The GUI is provided via Ruby-GNOME2. Thanks to its authors for their
|
180
|
-
considerable effort in making their library easy to use.
|
181
|
-
</p>
|
182
|
-
<h2>Author</h2>
|
183
|
-
<p>
|
184
|
-
Copyright 2007 Jay McGavren, jay@mcgavren.com
|
185
|
-
</p>
|
186
|
-
<h2>License</h2>
|
187
|
-
<p>
|
188
|
-
<a href="../classes/Zyps.html">Zyps</a> is free software; you can
|
189
|
-
redistribute it and/or modify it under the terms of the GNU Lesser General
|
190
|
-
Public License as published by the Free Software Foundation; either version
|
191
|
-
3 of the License, or (at your option) any later version.
|
192
|
-
</p>
|
193
|
-
<p>
|
194
|
-
This program is distributed in the hope that it will be useful, but WITHOUT
|
195
|
-
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
196
|
-
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
197
|
-
more details.
|
198
|
-
</p>
|
199
|
-
<p>
|
200
|
-
You should have received a copy of the GNU Lesser General Public License
|
201
|
-
along with this program. If not, see <<a
|
202
|
-
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
203
|
-
</p>
|
204
|
-
|
205
|
-
</div>
|
206
|
-
|
207
|
-
|
208
|
-
</div>
|
209
|
-
|
210
|
-
|
211
|
-
</div>
|
212
|
-
|
213
|
-
|
214
|
-
<!-- if includes -->
|
215
|
-
|
216
|
-
<div id="section">
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
<!-- if method_list -->
|
226
|
-
|
227
|
-
|
228
|
-
</div>
|
229
|
-
|
230
|
-
|
231
|
-
<div id="validator-badges">
|
232
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
</body>
|
236
|
-
</html>
|
@@ -1,134 +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>File: actions.rb</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="fileHeader">
|
50
|
-
<h1>actions.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/zyps/actions.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Oct 24 19:20:32 -0700 2007</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Copyright 2007 Jay McGavren, jay@mcgavren.com.
|
74
|
-
</p>
|
75
|
-
<p>
|
76
|
-
This file is part of <a href="../../../classes/Zyps.html">Zyps</a>.
|
77
|
-
</p>
|
78
|
-
<p>
|
79
|
-
<a href="../../../classes/Zyps.html">Zyps</a> is free software; you can
|
80
|
-
redistribute it and/or modify it under the terms of the GNU Lesser General
|
81
|
-
Public License as published by the Free Software Foundation; either version
|
82
|
-
3 of the License, or (at your option) any later version.
|
83
|
-
</p>
|
84
|
-
<p>
|
85
|
-
This program is distributed in the hope that it will be useful, but WITHOUT
|
86
|
-
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
87
|
-
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
88
|
-
more details.
|
89
|
-
</p>
|
90
|
-
<p>
|
91
|
-
You should have received a copy of the GNU Lesser General Public License
|
92
|
-
along with this program. If not, see <<a
|
93
|
-
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
94
|
-
</p>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
<div id="requires-list">
|
99
|
-
<h3 class="section-bar">Required files</h3>
|
100
|
-
|
101
|
-
<div class="name-list">
|
102
|
-
zyps
|
103
|
-
</div>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if includes -->
|
113
|
-
|
114
|
-
<div id="section">
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<!-- if method_list -->
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
|
129
|
-
<div id="validator-badges">
|
130
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
</body>
|
134
|
-
</html>
|
@@ -1,134 +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>File: conditions.rb</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="fileHeader">
|
50
|
-
<h1>conditions.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/zyps/conditions.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Oct 24 19:20:32 -0700 2007</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Copyright 2007 Jay McGavren, jay@mcgavren.com.
|
74
|
-
</p>
|
75
|
-
<p>
|
76
|
-
This file is part of <a href="../../../classes/Zyps.html">Zyps</a>.
|
77
|
-
</p>
|
78
|
-
<p>
|
79
|
-
<a href="../../../classes/Zyps.html">Zyps</a> is free software; you can
|
80
|
-
redistribute it and/or modify it under the terms of the GNU Lesser General
|
81
|
-
Public License as published by the Free Software Foundation; either version
|
82
|
-
3 of the License, or (at your option) any later version.
|
83
|
-
</p>
|
84
|
-
<p>
|
85
|
-
This program is distributed in the hope that it will be useful, but WITHOUT
|
86
|
-
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
87
|
-
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
88
|
-
more details.
|
89
|
-
</p>
|
90
|
-
<p>
|
91
|
-
You should have received a copy of the GNU Lesser General Public License
|
92
|
-
along with this program. If not, see <<a
|
93
|
-
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
94
|
-
</p>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
<div id="requires-list">
|
99
|
-
<h3 class="section-bar">Required files</h3>
|
100
|
-
|
101
|
-
<div class="name-list">
|
102
|
-
zyps
|
103
|
-
</div>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if includes -->
|
113
|
-
|
114
|
-
<div id="section">
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<!-- if method_list -->
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
|
129
|
-
<div id="validator-badges">
|
130
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
</body>
|
134
|
-
</html>
|
@@ -1,134 +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>File: environmental_factors.rb</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="fileHeader">
|
50
|
-
<h1>environmental_factors.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/zyps/environmental_factors.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Oct 24 19:20:32 -0700 2007</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Copyright 2007 Jay McGavren, jay@mcgavren.com.
|
74
|
-
</p>
|
75
|
-
<p>
|
76
|
-
This file is part of <a href="../../../classes/Zyps.html">Zyps</a>.
|
77
|
-
</p>
|
78
|
-
<p>
|
79
|
-
<a href="../../../classes/Zyps.html">Zyps</a> is free software; you can
|
80
|
-
redistribute it and/or modify it under the terms of the GNU Lesser General
|
81
|
-
Public License as published by the Free Software Foundation; either version
|
82
|
-
3 of the License, or (at your option) any later version.
|
83
|
-
</p>
|
84
|
-
<p>
|
85
|
-
This program is distributed in the hope that it will be useful, but WITHOUT
|
86
|
-
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
87
|
-
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
88
|
-
more details.
|
89
|
-
</p>
|
90
|
-
<p>
|
91
|
-
You should have received a copy of the GNU Lesser General Public License
|
92
|
-
along with this program. If not, see <<a
|
93
|
-
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
94
|
-
</p>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
<div id="requires-list">
|
99
|
-
<h3 class="section-bar">Required files</h3>
|
100
|
-
|
101
|
-
<div class="name-list">
|
102
|
-
zyps
|
103
|
-
</div>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if includes -->
|
113
|
-
|
114
|
-
<div id="section">
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<!-- if method_list -->
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
|
129
|
-
<div id="validator-badges">
|
130
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
</body>
|
134
|
-
</html>
|