stella 0.5.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +84 -24
- data/Rakefile +6 -1
- data/lib/stella.rb +5 -4
- data/lib/stella/adapter/ab.rb +31 -4
- data/lib/stella/adapter/base.rb +15 -1
- data/lib/stella/adapter/httperf.rb +35 -4
- data/lib/stella/adapter/siege.rb +51 -29
- data/lib/stella/cli.rb +45 -22
- data/lib/stella/cli/agents.rb +73 -0
- data/lib/stella/cli/language.rb +2 -0
- data/lib/stella/cli/localtest.rb +5 -0
- data/lib/stella/command/base.rb +1 -1
- data/lib/stella/command/localtest.rb +84 -68
- data/lib/stella/test/{summarybase.rb → base.rb} +3 -7
- data/lib/stella/test/definition.rb +10 -5
- data/lib/stella/test/{runsummary.rb → run/summary.rb} +4 -6
- data/lib/stella/test/{testsummary.rb → summary.rb} +27 -29
- data/lib/utils/escape.rb +302 -0
- data/lib/utils/mathutil.rb +36 -34
- data/support/text/en.yaml +7 -1
- metadata +8 -102
- data/doc/classes/Crypto.html +0 -248
- data/doc/classes/Crypto/Key.html +0 -308
- data/doc/classes/Enumerable.html +0 -309
- data/doc/classes/FileUtil.html +0 -310
- data/doc/classes/HTTPUtil.html +0 -530
- data/doc/classes/MathUtil.html +0 -210
- data/doc/classes/Stella.html +0 -238
- data/doc/classes/Stella/Adapter.html +0 -127
- data/doc/classes/Stella/Adapter/ApacheBench.html +0 -1076
- data/doc/classes/Stella/Adapter/Base.html +0 -432
- data/doc/classes/Stella/Adapter/CommandNotReady.html +0 -146
- data/doc/classes/Stella/Adapter/Httperf.html +0 -949
- data/doc/classes/Stella/Adapter/Siege.html +0 -1011
- data/doc/classes/Stella/CLI.html +0 -914
- data/doc/classes/Stella/CLI/Base.html +0 -186
- data/doc/classes/Stella/CLI/Language.html +0 -149
- data/doc/classes/Stella/CLI/LocalTest.html +0 -268
- data/doc/classes/Stella/Command.html +0 -111
- data/doc/classes/Stella/Command/Base.html +0 -335
- data/doc/classes/Stella/Config.html +0 -292
- data/doc/classes/Stella/InvalidArgument.html +0 -242
- data/doc/classes/Stella/LocalTest.html +0 -450
- data/doc/classes/Stella/Logger.html +0 -548
- data/doc/classes/Stella/Response.html +0 -846
- data/doc/classes/Stella/Storable.html +0 -928
- data/doc/classes/Stella/Test.html +0 -142
- data/doc/classes/Stella/Test/DaySummary.html +0 -249
- data/doc/classes/Stella/Test/Definition.html +0 -294
- data/doc/classes/Stella/Test/Definition/Rampup.html +0 -215
- data/doc/classes/Stella/Test/RunSummary.html +0 -315
- data/doc/classes/Stella/Test/SummaryBase.html +0 -286
- data/doc/classes/Stella/Test/TestSummary.html +0 -200
- data/doc/classes/Stella/Text.html +0 -581
- data/doc/classes/Stella/Text/Resource.html +0 -289
- data/doc/classes/Stella/UnavailableAdapter.html +0 -242
- data/doc/classes/Stella/UnknownValue.html +0 -242
- data/doc/classes/Stella/UnsupportedLanguage.html +0 -115
- data/doc/classes/Stella/Util.html +0 -348
- data/doc/classes/TextGraph.html +0 -460
- data/doc/classes/TimerUtil.html +0 -431
- data/doc/created.rid +0 -1
- data/doc/files/LICENSE_txt.html +0 -129
- data/doc/files/README_txt.html +0 -209
- data/doc/files/lib/stella/adapter/ab_rb.html +0 -101
- data/doc/files/lib/stella/adapter/base_rb.html +0 -101
- data/doc/files/lib/stella/adapter/httperf_rb.html +0 -101
- data/doc/files/lib/stella/adapter/siege_rb.html +0 -101
- data/doc/files/lib/stella/cli/base_rb.html +0 -101
- data/doc/files/lib/stella/cli/language_rb.html +0 -101
- data/doc/files/lib/stella/cli/localtest_rb.html +0 -101
- data/doc/files/lib/stella/cli_rb.html +0 -112
- data/doc/files/lib/stella/command/base_rb.html +0 -101
- data/doc/files/lib/stella/command/localtest_rb.html +0 -101
- data/doc/files/lib/stella/logger_rb.html +0 -101
- data/doc/files/lib/stella/response_rb.html +0 -101
- data/doc/files/lib/stella/storable_rb.html +0 -109
- data/doc/files/lib/stella/support_rb.html +0 -101
- data/doc/files/lib/stella/test/daysummary_rb.html +0 -101
- data/doc/files/lib/stella/test/definition_rb.html +0 -101
- data/doc/files/lib/stella/test/runsummary_rb.html +0 -101
- data/doc/files/lib/stella/test/summarybase_rb.html +0 -101
- data/doc/files/lib/stella/test/testsummary_rb.html +0 -108
- data/doc/files/lib/stella/text/resource_rb.html +0 -108
- data/doc/files/lib/stella/text_rb.html +0 -108
- data/doc/files/lib/stella_rb.html +0 -128
- data/doc/files/lib/utils/crypto-key_rb.html +0 -116
- data/doc/files/lib/utils/fileutil_rb.html +0 -108
- data/doc/files/lib/utils/httputil_rb.html +0 -110
- data/doc/files/lib/utils/mathutil_rb.html +0 -101
- data/doc/files/lib/utils/textgraph_rb.html +0 -138
- data/doc/files/lib/utils/timerutil_rb.html +0 -108
- data/doc/fr_class_index.html +0 -66
- data/doc/fr_file_index.html +0 -62
- data/doc/fr_method_index.html +0 -309
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/lib/stella/test/daysummary.rb +0 -93
- data/spec/base.rb +0 -26
- data/spec/shell_spec.rb +0 -12
data/doc/classes/MathUtil.html
DELETED
@@ -1,210 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
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>Module: MathUtil</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">MathUtil</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/utils/mathutil_rb.html">
|
59
|
-
lib/utils/mathutil.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="method-list">
|
80
|
-
<h3 class="section-bar">Methods</h3>
|
81
|
-
|
82
|
-
<div class="name-list">
|
83
|
-
<a href="#M000260">enforce_limit</a>
|
84
|
-
<a href="#M000259">standard_deviation</a>
|
85
|
-
<a href="#M000258">variance</a>
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
<!-- if includes -->
|
93
|
-
|
94
|
-
<div id="section">
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<!-- if method_list -->
|
104
|
-
<div id="methods">
|
105
|
-
<h3 class="section-bar">Public Class methods</h3>
|
106
|
-
|
107
|
-
<div id="method-M000260" class="method-detail">
|
108
|
-
<a name="M000260"></a>
|
109
|
-
|
110
|
-
<div class="method-heading">
|
111
|
-
<a href="#M000260" class="method-signature">
|
112
|
-
<span class="method-name">enforce_limit</span><span class="method-args">(val,min,max)</span>
|
113
|
-
</a>
|
114
|
-
</div>
|
115
|
-
|
116
|
-
<div class="method-description">
|
117
|
-
<p>
|
118
|
-
<a href="MathUtil.html#M000260">enforce_limit</a>
|
119
|
-
</p>
|
120
|
-
<p>
|
121
|
-
Enforce a minimum and maximum value
|
122
|
-
</p>
|
123
|
-
<p><a class="source-toggle" href="#"
|
124
|
-
onclick="toggleCode('M000260-source');return false;">[Source]</a></p>
|
125
|
-
<div class="method-source-code" id="M000260-source">
|
126
|
-
<pre>
|
127
|
-
<span class="ruby-comment cmt"># File lib/utils/mathutil.rb, line 70</span>
|
128
|
-
70: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">enforce_limit</span>(<span class="ruby-identifier">val</span>,<span class="ruby-identifier">min</span>,<span class="ruby-identifier">max</span>)
|
129
|
-
71: <span class="ruby-identifier">val</span> = <span class="ruby-identifier">min</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">val</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">min</span>
|
130
|
-
72: <span class="ruby-identifier">val</span> = <span class="ruby-identifier">max</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">val</span> <span class="ruby-operator">></span> <span class="ruby-identifier">max</span>
|
131
|
-
73: <span class="ruby-identifier">val</span>
|
132
|
-
74: <span class="ruby-keyword kw">end</span>
|
133
|
-
</pre>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<div id="method-M000259" class="method-detail">
|
139
|
-
<a name="M000259"></a>
|
140
|
-
|
141
|
-
<div class="method-heading">
|
142
|
-
<a href="#M000259" class="method-signature">
|
143
|
-
<span class="method-name">standard_deviation</span><span class="method-args">(population)</span>
|
144
|
-
</a>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<div class="method-description">
|
148
|
-
<p>
|
149
|
-
calculate the standard deviation of a population accepts: an array, the
|
150
|
-
population returns: the standard deviation
|
151
|
-
</p>
|
152
|
-
<p><a class="source-toggle" href="#"
|
153
|
-
onclick="toggleCode('M000259-source');return false;">[Source]</a></p>
|
154
|
-
<div class="method-source-code" id="M000259-source">
|
155
|
-
<pre>
|
156
|
-
<span class="ruby-comment cmt"># File lib/utils/mathutil.rb, line 63</span>
|
157
|
-
63: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">standard_deviation</span>(<span class="ruby-identifier">population</span>)
|
158
|
-
64: <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>(<span class="ruby-identifier">variance</span>(<span class="ruby-identifier">population</span>))
|
159
|
-
65: <span class="ruby-keyword kw">end</span>
|
160
|
-
</pre>
|
161
|
-
</div>
|
162
|
-
</div>
|
163
|
-
</div>
|
164
|
-
|
165
|
-
<div id="method-M000258" class="method-detail">
|
166
|
-
<a name="M000258"></a>
|
167
|
-
|
168
|
-
<div class="method-heading">
|
169
|
-
<a href="#M000258" class="method-signature">
|
170
|
-
<span class="method-name">variance</span><span class="method-args">(population)</span>
|
171
|
-
</a>
|
172
|
-
</div>
|
173
|
-
|
174
|
-
<div class="method-description">
|
175
|
-
<p><a class="source-toggle" href="#"
|
176
|
-
onclick="toggleCode('M000258-source');return false;">[Source]</a></p>
|
177
|
-
<div class="method-source-code" id="M000258-source">
|
178
|
-
<pre>
|
179
|
-
<span class="ruby-comment cmt"># File lib/utils/mathutil.rb, line 46</span>
|
180
|
-
46: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">variance</span>(<span class="ruby-identifier">population</span>)
|
181
|
-
47: <span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>
|
182
|
-
48: <span class="ruby-identifier">mean</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span>
|
183
|
-
49: <span class="ruby-identifier">s</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span>
|
184
|
-
50: <span class="ruby-identifier">population</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
|
185
|
-
51: <span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
186
|
-
52: <span class="ruby-identifier">delta</span> = (<span class="ruby-identifier">x</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">mean</span>).<span class="ruby-identifier">to_f</span>
|
187
|
-
53: <span class="ruby-identifier">mean</span> = (<span class="ruby-identifier">mean</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">delta</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">to_f</span>
|
188
|
-
54: <span class="ruby-identifier">s</span> = (<span class="ruby-identifier">s</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">delta</span> <span class="ruby-operator">*</span> (<span class="ruby-identifier">x</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">mean</span>)).<span class="ruby-identifier">to_f</span>
|
189
|
-
55: }
|
190
|
-
56:
|
191
|
-
57: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>
|
192
|
-
58: <span class="ruby-keyword kw">end</span>
|
193
|
-
</pre>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
|
199
|
-
</div>
|
200
|
-
|
201
|
-
|
202
|
-
</div>
|
203
|
-
|
204
|
-
|
205
|
-
<div id="validator-badges">
|
206
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
207
|
-
</div>
|
208
|
-
|
209
|
-
</body>
|
210
|
-
</html>
|
data/doc/classes/Stella.html
DELETED
@@ -1,238 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
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>Module: Stella</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Stella</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/stella_rb.html">
|
59
|
-
lib/stella.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../files/lib/stella/cli_rb.html">
|
63
|
-
lib/stella/cli.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../files/lib/stella/logger_rb.html">
|
67
|
-
lib/stella/logger.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/stella/response_rb.html">
|
71
|
-
lib/stella/response.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../files/lib/stella/storable_rb.html">
|
75
|
-
lib/stella/storable.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
<a href="../files/lib/stella/support_rb.html">
|
79
|
-
lib/stella/support.rb
|
80
|
-
</a>
|
81
|
-
<br />
|
82
|
-
<a href="../files/lib/stella/text_rb.html">
|
83
|
-
lib/stella/text.rb
|
84
|
-
</a>
|
85
|
-
<br />
|
86
|
-
<a href="../files/lib/stella/adapter/ab_rb.html">
|
87
|
-
lib/stella/adapter/ab.rb
|
88
|
-
</a>
|
89
|
-
<br />
|
90
|
-
<a href="../files/lib/stella/adapter/httperf_rb.html">
|
91
|
-
lib/stella/adapter/httperf.rb
|
92
|
-
</a>
|
93
|
-
<br />
|
94
|
-
<a href="../files/lib/stella/adapter/siege_rb.html">
|
95
|
-
lib/stella/adapter/siege.rb
|
96
|
-
</a>
|
97
|
-
<br />
|
98
|
-
<a href="../files/lib/stella/cli/base_rb.html">
|
99
|
-
lib/stella/cli/base.rb
|
100
|
-
</a>
|
101
|
-
<br />
|
102
|
-
<a href="../files/lib/stella/cli/language_rb.html">
|
103
|
-
lib/stella/cli/language.rb
|
104
|
-
</a>
|
105
|
-
<br />
|
106
|
-
<a href="../files/lib/stella/cli/localtest_rb.html">
|
107
|
-
lib/stella/cli/localtest.rb
|
108
|
-
</a>
|
109
|
-
<br />
|
110
|
-
<a href="../files/lib/stella/cli_rb.html">
|
111
|
-
lib/stella/cli.rb
|
112
|
-
</a>
|
113
|
-
<br />
|
114
|
-
<a href="../files/lib/stella/command/localtest_rb.html">
|
115
|
-
lib/stella/command/localtest.rb
|
116
|
-
</a>
|
117
|
-
<br />
|
118
|
-
<a href="../files/lib/stella/logger_rb.html">
|
119
|
-
lib/stella/logger.rb
|
120
|
-
</a>
|
121
|
-
<br />
|
122
|
-
<a href="../files/lib/stella/response_rb.html">
|
123
|
-
lib/stella/response.rb
|
124
|
-
</a>
|
125
|
-
<br />
|
126
|
-
<a href="../files/lib/stella/storable_rb.html">
|
127
|
-
lib/stella/storable.rb
|
128
|
-
</a>
|
129
|
-
<br />
|
130
|
-
<a href="../files/lib/stella/support_rb.html">
|
131
|
-
lib/stella/support.rb
|
132
|
-
</a>
|
133
|
-
<br />
|
134
|
-
<a href="../files/lib/stella/test/definition_rb.html">
|
135
|
-
lib/stella/test/definition.rb
|
136
|
-
</a>
|
137
|
-
<br />
|
138
|
-
<a href="../files/lib/stella/test/runsummary_rb.html">
|
139
|
-
lib/stella/test/runsummary.rb
|
140
|
-
</a>
|
141
|
-
<br />
|
142
|
-
<a href="../files/lib/stella/text/resource_rb.html">
|
143
|
-
lib/stella/text/resource.rb
|
144
|
-
</a>
|
145
|
-
<br />
|
146
|
-
<a href="../files/lib/stella/text_rb.html">
|
147
|
-
lib/stella/text.rb
|
148
|
-
</a>
|
149
|
-
<br />
|
150
|
-
</td>
|
151
|
-
</tr>
|
152
|
-
|
153
|
-
</table>
|
154
|
-
</div>
|
155
|
-
<!-- banner header -->
|
156
|
-
|
157
|
-
<div id="bodyContent">
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<div id="contextContent">
|
162
|
-
|
163
|
-
<div id="description">
|
164
|
-
<h1><a href="Stella.html">Stella</a></h1>
|
165
|
-
<pre>
|
166
|
-
A friend in performance testing.
|
167
|
-
</pre>
|
168
|
-
|
169
|
-
</div>
|
170
|
-
|
171
|
-
|
172
|
-
</div>
|
173
|
-
|
174
|
-
|
175
|
-
</div>
|
176
|
-
|
177
|
-
|
178
|
-
<!-- if includes -->
|
179
|
-
|
180
|
-
<div id="section">
|
181
|
-
|
182
|
-
<div id="class-list">
|
183
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
184
|
-
|
185
|
-
Module <a href="Stella/Adapter.html" class="link">Stella::Adapter</a><br />
|
186
|
-
Module <a href="Stella/Command.html" class="link">Stella::Command</a><br />
|
187
|
-
Module <a href="Stella/Test.html" class="link">Stella::Test</a><br />
|
188
|
-
Class <a href="Stella/CLI.html" class="link">Stella::CLI</a><br />
|
189
|
-
Class <a href="Stella/Config.html" class="link">Stella::Config</a><br />
|
190
|
-
Class <a href="Stella/InvalidArgument.html" class="link">Stella::InvalidArgument</a><br />
|
191
|
-
Class <a href="Stella/LocalTest.html" class="link">Stella::LocalTest</a><br />
|
192
|
-
Class <a href="Stella/Logger.html" class="link">Stella::Logger</a><br />
|
193
|
-
Class <a href="Stella/Response.html" class="link">Stella::Response</a><br />
|
194
|
-
Class <a href="Stella/Storable.html" class="link">Stella::Storable</a><br />
|
195
|
-
Class <a href="Stella/Text.html" class="link">Stella::Text</a><br />
|
196
|
-
Class <a href="Stella/UnavailableAdapter.html" class="link">Stella::UnavailableAdapter</a><br />
|
197
|
-
Class <a href="Stella/UnknownValue.html" class="link">Stella::UnknownValue</a><br />
|
198
|
-
Class <a href="Stella/UnsupportedLanguage.html" class="link">Stella::UnsupportedLanguage</a><br />
|
199
|
-
Class <a href="Stella/Util.html" class="link">Stella::Util</a><br />
|
200
|
-
|
201
|
-
</div>
|
202
|
-
|
203
|
-
<div id="constants-list">
|
204
|
-
<h3 class="section-bar">Constants</h3>
|
205
|
-
|
206
|
-
<div class="name-list">
|
207
|
-
<table summary="Constants">
|
208
|
-
<tr class="top-aligned-row context-row">
|
209
|
-
<td class="context-item-name">LOGGER</td>
|
210
|
-
<td>=</td>
|
211
|
-
<td class="context-item-value">Stella::Logger.new(:debug=>true)</td>
|
212
|
-
</tr>
|
213
|
-
<tr class="top-aligned-row context-row">
|
214
|
-
<td class="context-item-name">TEXT</td>
|
215
|
-
<td>=</td>
|
216
|
-
<td class="context-item-value">Stella::Text.new('en')</td>
|
217
|
-
</tr>
|
218
|
-
</table>
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
<!-- if method_list -->
|
228
|
-
|
229
|
-
|
230
|
-
</div>
|
231
|
-
|
232
|
-
|
233
|
-
<div id="validator-badges">
|
234
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
235
|
-
</div>
|
236
|
-
|
237
|
-
</body>
|
238
|
-
</html>
|
@@ -1,127 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
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>Module: Stella::Adapter</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Stella::Adapter</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/stella/adapter/ab_rb.html">
|
59
|
-
lib/stella/adapter/ab.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../../files/lib/stella/adapter/base_rb.html">
|
63
|
-
lib/stella/adapter/base.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../../files/lib/stella/adapter/httperf_rb.html">
|
67
|
-
lib/stella/adapter/httperf.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../../files/lib/stella/adapter/siege_rb.html">
|
71
|
-
lib/stella/adapter/siege.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
</td>
|
75
|
-
</tr>
|
76
|
-
|
77
|
-
</table>
|
78
|
-
</div>
|
79
|
-
<!-- banner header -->
|
80
|
-
|
81
|
-
<div id="bodyContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
<div id="contextContent">
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
|
95
|
-
<!-- if includes -->
|
96
|
-
|
97
|
-
<div id="section">
|
98
|
-
|
99
|
-
<div id="class-list">
|
100
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
101
|
-
|
102
|
-
Class <a href="Adapter/ApacheBench.html" class="link">Stella::Adapter::ApacheBench</a><br />
|
103
|
-
Class <a href="Adapter/Base.html" class="link">Stella::Adapter::Base</a><br />
|
104
|
-
Class <a href="Adapter/CommandNotReady.html" class="link">Stella::Adapter::CommandNotReady</a><br />
|
105
|
-
Class <a href="Adapter/Httperf.html" class="link">Stella::Adapter::Httperf</a><br />
|
106
|
-
Class <a href="Adapter/Siege.html" class="link">Stella::Adapter::Siege</a><br />
|
107
|
-
|
108
|
-
</div>
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
<!-- if method_list -->
|
117
|
-
|
118
|
-
|
119
|
-
</div>
|
120
|
-
|
121
|
-
|
122
|
-
<div id="validator-badges">
|
123
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
</body>
|
127
|
-
</html>
|