mongrel_config 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +2 -0
- data/Manifest +21 -0
- data/lib/mongrel_config/app.rb +1 -2
- data/mongrel_config.gemspec +46 -0
- metadata +88 -126
- metadata.gz.sig +1 -0
- data/Rakefile +0 -39
- data/doc/rdoc/classes/ConfigTool.html +0 -174
- data/doc/rdoc/classes/ConfigTool.src/M000001.html +0 -33
- data/doc/rdoc/classes/ConfigTool.src/M000002.html +0 -28
- data/doc/rdoc/classes/ConfigTool.src/M000003.html +0 -45
- data/doc/rdoc/classes/Configure.html +0 -112
- data/doc/rdoc/classes/Configure/Controllers.html +0 -123
- data/doc/rdoc/classes/Configure/Controllers/ClearLogs.html +0 -137
- data/doc/rdoc/classes/Configure/Controllers/ClearLogs.src/M000043.html +0 -21
- data/doc/rdoc/classes/Configure/Controllers/Delete.html +0 -137
- data/doc/rdoc/classes/Configure/Controllers/Delete.src/M000036.html +0 -20
- data/doc/rdoc/classes/Configure/Controllers/Index.html +0 -156
- data/doc/rdoc/classes/Configure/Controllers/Index.src/M000027.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Index.src/M000028.html +0 -19
- data/doc/rdoc/classes/Configure/Controllers/Info.html +0 -137
- data/doc/rdoc/classes/Configure/Controllers/Info.src/M000035.html +0 -19
- data/doc/rdoc/classes/Configure/Controllers/Install.html +0 -182
- data/doc/rdoc/classes/Configure/Controllers/Install.src/M000039.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Install.src/M000040.html +0 -43
- data/doc/rdoc/classes/Configure/Controllers/Install.src/M000041.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Install.src/M000042.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Kill.html +0 -137
- data/doc/rdoc/classes/Configure/Controllers/Kill.src/M000029.html +0 -32
- data/doc/rdoc/classes/Configure/Controllers/Logs.html +0 -162
- data/doc/rdoc/classes/Configure/Controllers/Logs.src/M000037.html +0 -19
- data/doc/rdoc/classes/Configure/Controllers/Logs.src/M000038.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Start.html +0 -171
- data/doc/rdoc/classes/Configure/Controllers/Start.src/M000032.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Start.src/M000033.html +0 -19
- data/doc/rdoc/classes/Configure/Controllers/Start.src/M000034.html +0 -27
- data/doc/rdoc/classes/Configure/Controllers/Stop.html +0 -156
- data/doc/rdoc/classes/Configure/Controllers/Stop.src/M000030.html +0 -18
- data/doc/rdoc/classes/Configure/Controllers/Stop.src/M000031.html +0 -26
- data/doc/rdoc/classes/Configure/Views.html +0 -360
- data/doc/rdoc/classes/Configure/Views.src/M000011.html +0 -24
- data/doc/rdoc/classes/Configure/Views.src/M000012.html +0 -25
- data/doc/rdoc/classes/Configure/Views.src/M000013.html +0 -26
- data/doc/rdoc/classes/Configure/Views.src/M000014.html +0 -20
- data/doc/rdoc/classes/Configure/Views.src/M000015.html +0 -31
- data/doc/rdoc/classes/Configure/Views.src/M000016.html +0 -27
- data/doc/rdoc/classes/Configure/Views.src/M000017.html +0 -32
- data/doc/rdoc/classes/Configure/Views.src/M000018.html +0 -18
- data/doc/rdoc/classes/Configure/Views.src/M000019.html +0 -18
- data/doc/rdoc/classes/Configure/Views.src/M000020.html +0 -29
- data/doc/rdoc/classes/Configure/Views.src/M000021.html +0 -42
- data/doc/rdoc/classes/Configure/Views.src/M000022.html +0 -34
- data/doc/rdoc/classes/Configure/Views.src/M000023.html +0 -25
- data/doc/rdoc/classes/Configure/Views.src/M000024.html +0 -35
- data/doc/rdoc/classes/Configure/Views.src/M000025.html +0 -23
- data/doc/rdoc/classes/Configure/Views.src/M000026.html +0 -20
- data/doc/rdoc/classes/W32Support.html +0 -258
- data/doc/rdoc/classes/W32Support.src/M000004.html +0 -18
- data/doc/rdoc/classes/W32Support.src/M000005.html +0 -18
- data/doc/rdoc/classes/W32Support.src/M000006.html +0 -33
- data/doc/rdoc/classes/W32Support.src/M000007.html +0 -20
- data/doc/rdoc/classes/W32Support.src/M000008.html +0 -20
- data/doc/rdoc/classes/W32Support.src/M000009.html +0 -18
- data/doc/rdoc/classes/W32Support.src/M000010.html +0 -28
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/COPYING.html +0 -756
- data/doc/rdoc/files/LICENSE.html +0 -756
- data/doc/rdoc/files/README.html +0 -110
- data/doc/rdoc/files/lib/mongrel_config/app_rb.html +0 -110
- data/doc/rdoc/files/lib/mongrel_config/init_rb.html +0 -112
- data/doc/rdoc/files/lib/mongrel_config/win32_app_rb.html +0 -113
- data/doc/rdoc/files/lib/mongrel_config/win32_rb.html +0 -108
- data/doc/rdoc/fr_class_index.html +0 -40
- data/doc/rdoc/fr_file_index.html +0 -33
- data/doc/rdoc/fr_method_index.html +0 -69
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -208
- data/tools/rakehelp.rb +0 -106
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>get (Configure::Controllers::Stop)</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 lib/mongrel_config/app.rb, line 49</span>
|
14
|
-
49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>
|
15
|
-
50: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:stop</span>
|
16
|
-
51: <span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>get (Configure::Controllers::Stop)</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 lib/mongrel_config/win32_app.rb, line 46</span>
|
14
|
-
46: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">service</span>)
|
15
|
-
47: <span class="ruby-identifier">runner</span> = <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
|
16
|
-
48: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">stop</span>(<span class="ruby-identifier">service</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">status</span><span class="ruby-operator">|</span>
|
17
|
-
49: <span class="ruby-identifier">$service_logs</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"Starting #{service}: #{status}\n"</span>
|
18
|
-
50: <span class="ruby-identifier">sleep</span> <span class="ruby-value">1</span>
|
19
|
-
51: <span class="ruby-keyword kw">end</span>
|
20
|
-
52: <span class="ruby-keyword kw">end</span>
|
21
|
-
53:
|
22
|
-
54: <span class="ruby-identifier">$service_group</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">runner</span>)
|
23
|
-
55: <span class="ruby-identifier">redirect</span> <span class="ruby-constant">Index</span>
|
24
|
-
56: <span class="ruby-keyword kw">end</span></pre>
|
25
|
-
</body>
|
26
|
-
</html>
|
@@ -1,360 +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>Module: Configure::Views</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
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Configure::Views</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/mongrel_config/app_rb.html">
|
59
|
-
lib/mongrel_config/app.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../../files/lib/mongrel_config/win32_app_rb.html">
|
63
|
-
lib/mongrel_config/win32_app.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
|
69
|
-
</table>
|
70
|
-
</div>
|
71
|
-
<!-- banner header -->
|
72
|
-
|
73
|
-
<div id="bodyContent">
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<div id="contextContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
</div>
|
82
|
-
|
83
|
-
<div id="method-list">
|
84
|
-
<h3 class="section-bar">Methods</h3>
|
85
|
-
|
86
|
-
<div class="name-list">
|
87
|
-
<a href="#M000019">_pid</a>
|
88
|
-
<a href="#M000018">_running?</a>
|
89
|
-
<a href="#M000026">_running_procs</a>
|
90
|
-
<a href="#M000022">info</a>
|
91
|
-
<a href="#M000024">install_form</a>
|
92
|
-
<a href="#M000025">install_result</a>
|
93
|
-
<a href="#M000015">kill</a>
|
94
|
-
<a href="#M000011">layout</a>
|
95
|
-
<a href="#M000020">layout</a>
|
96
|
-
<a href="#M000021">list</a>
|
97
|
-
<a href="#M000017">logs</a>
|
98
|
-
<a href="#M000023">service_logs</a>
|
99
|
-
<a href="#M000012">show</a>
|
100
|
-
<a href="#M000013">start</a>
|
101
|
-
<a href="#M000014">start_done</a>
|
102
|
-
<a href="#M000016">stop</a>
|
103
|
-
</div>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if includes -->
|
110
|
-
|
111
|
-
<div id="section">
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<!-- if method_list -->
|
121
|
-
<div id="methods">
|
122
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
123
|
-
|
124
|
-
<div id="method-M000019" class="method-detail">
|
125
|
-
<a name="M000019"></a>
|
126
|
-
|
127
|
-
<div class="method-heading">
|
128
|
-
<a href="Views.src/M000019.html" target="Code" class="method-signature"
|
129
|
-
onclick="popupCode('Views.src/M000019.html');return false;">
|
130
|
-
<span class="method-name">_pid</span><span class="method-args">()</span>
|
131
|
-
</a>
|
132
|
-
</div>
|
133
|
-
|
134
|
-
<div class="method-description">
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<div id="method-M000018" class="method-detail">
|
139
|
-
<a name="M000018"></a>
|
140
|
-
|
141
|
-
<div class="method-heading">
|
142
|
-
<a href="Views.src/M000018.html" target="Code" class="method-signature"
|
143
|
-
onclick="popupCode('Views.src/M000018.html');return false;">
|
144
|
-
<span class="method-name">_running?</span><span class="method-args">()</span>
|
145
|
-
</a>
|
146
|
-
</div>
|
147
|
-
|
148
|
-
<div class="method-description">
|
149
|
-
</div>
|
150
|
-
</div>
|
151
|
-
|
152
|
-
<div id="method-M000026" class="method-detail">
|
153
|
-
<a name="M000026"></a>
|
154
|
-
|
155
|
-
<div class="method-heading">
|
156
|
-
<a href="Views.src/M000026.html" target="Code" class="method-signature"
|
157
|
-
onclick="popupCode('Views.src/M000026.html');return false;">
|
158
|
-
<span class="method-name">_running_procs</span><span class="method-args">()</span>
|
159
|
-
</a>
|
160
|
-
</div>
|
161
|
-
|
162
|
-
<div class="method-description">
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<div id="method-M000022" class="method-detail">
|
167
|
-
<a name="M000022"></a>
|
168
|
-
|
169
|
-
<div class="method-heading">
|
170
|
-
<a href="Views.src/M000022.html" target="Code" class="method-signature"
|
171
|
-
onclick="popupCode('Views.src/M000022.html');return false;">
|
172
|
-
<span class="method-name">info</span><span class="method-args">()</span>
|
173
|
-
</a>
|
174
|
-
</div>
|
175
|
-
|
176
|
-
<div class="method-description">
|
177
|
-
</div>
|
178
|
-
</div>
|
179
|
-
|
180
|
-
<div id="method-M000024" class="method-detail">
|
181
|
-
<a name="M000024"></a>
|
182
|
-
|
183
|
-
<div class="method-heading">
|
184
|
-
<a href="Views.src/M000024.html" target="Code" class="method-signature"
|
185
|
-
onclick="popupCode('Views.src/M000024.html');return false;">
|
186
|
-
<span class="method-name">install_form</span><span class="method-args">()</span>
|
187
|
-
</a>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div class="method-description">
|
191
|
-
</div>
|
192
|
-
</div>
|
193
|
-
|
194
|
-
<div id="method-M000025" class="method-detail">
|
195
|
-
<a name="M000025"></a>
|
196
|
-
|
197
|
-
<div class="method-heading">
|
198
|
-
<a href="Views.src/M000025.html" target="Code" class="method-signature"
|
199
|
-
onclick="popupCode('Views.src/M000025.html');return false;">
|
200
|
-
<span class="method-name">install_result</span><span class="method-args">()</span>
|
201
|
-
</a>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div class="method-description">
|
205
|
-
</div>
|
206
|
-
</div>
|
207
|
-
|
208
|
-
<div id="method-M000015" class="method-detail">
|
209
|
-
<a name="M000015"></a>
|
210
|
-
|
211
|
-
<div class="method-heading">
|
212
|
-
<a href="Views.src/M000015.html" target="Code" class="method-signature"
|
213
|
-
onclick="popupCode('Views.src/M000015.html');return false;">
|
214
|
-
<span class="method-name">kill</span><span class="method-args">()</span>
|
215
|
-
</a>
|
216
|
-
</div>
|
217
|
-
|
218
|
-
<div class="method-description">
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
|
222
|
-
<div id="method-M000011" class="method-detail">
|
223
|
-
<a name="M000011"></a>
|
224
|
-
|
225
|
-
<div class="method-heading">
|
226
|
-
<a href="Views.src/M000011.html" target="Code" class="method-signature"
|
227
|
-
onclick="popupCode('Views.src/M000011.html');return false;">
|
228
|
-
<span class="method-name">layout</span><span class="method-args">() {|| ...}</span>
|
229
|
-
</a>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
<div class="method-description">
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
|
236
|
-
<div id="method-M000020" class="method-detail">
|
237
|
-
<a name="M000020"></a>
|
238
|
-
|
239
|
-
<div class="method-heading">
|
240
|
-
<a href="Views.src/M000020.html" target="Code" class="method-signature"
|
241
|
-
onclick="popupCode('Views.src/M000020.html');return false;">
|
242
|
-
<span class="method-name">layout</span><span class="method-args">() {|| ...}</span>
|
243
|
-
</a>
|
244
|
-
</div>
|
245
|
-
|
246
|
-
<div class="method-description">
|
247
|
-
</div>
|
248
|
-
</div>
|
249
|
-
|
250
|
-
<div id="method-M000021" class="method-detail">
|
251
|
-
<a name="M000021"></a>
|
252
|
-
|
253
|
-
<div class="method-heading">
|
254
|
-
<a href="Views.src/M000021.html" target="Code" class="method-signature"
|
255
|
-
onclick="popupCode('Views.src/M000021.html');return false;">
|
256
|
-
<span class="method-name">list</span><span class="method-args">()</span>
|
257
|
-
</a>
|
258
|
-
</div>
|
259
|
-
|
260
|
-
<div class="method-description">
|
261
|
-
</div>
|
262
|
-
</div>
|
263
|
-
|
264
|
-
<div id="method-M000017" class="method-detail">
|
265
|
-
<a name="M000017"></a>
|
266
|
-
|
267
|
-
<div class="method-heading">
|
268
|
-
<a href="Views.src/M000017.html" target="Code" class="method-signature"
|
269
|
-
onclick="popupCode('Views.src/M000017.html');return false;">
|
270
|
-
<span class="method-name">logs</span><span class="method-args">()</span>
|
271
|
-
</a>
|
272
|
-
</div>
|
273
|
-
|
274
|
-
<div class="method-description">
|
275
|
-
</div>
|
276
|
-
</div>
|
277
|
-
|
278
|
-
<div id="method-M000023" class="method-detail">
|
279
|
-
<a name="M000023"></a>
|
280
|
-
|
281
|
-
<div class="method-heading">
|
282
|
-
<a href="Views.src/M000023.html" target="Code" class="method-signature"
|
283
|
-
onclick="popupCode('Views.src/M000023.html');return false;">
|
284
|
-
<span class="method-name">service_logs</span><span class="method-args">()</span>
|
285
|
-
</a>
|
286
|
-
</div>
|
287
|
-
|
288
|
-
<div class="method-description">
|
289
|
-
</div>
|
290
|
-
</div>
|
291
|
-
|
292
|
-
<div id="method-M000012" class="method-detail">
|
293
|
-
<a name="M000012"></a>
|
294
|
-
|
295
|
-
<div class="method-heading">
|
296
|
-
<a href="Views.src/M000012.html" target="Code" class="method-signature"
|
297
|
-
onclick="popupCode('Views.src/M000012.html');return false;">
|
298
|
-
<span class="method-name">show</span><span class="method-args">()</span>
|
299
|
-
</a>
|
300
|
-
</div>
|
301
|
-
|
302
|
-
<div class="method-description">
|
303
|
-
</div>
|
304
|
-
</div>
|
305
|
-
|
306
|
-
<div id="method-M000013" class="method-detail">
|
307
|
-
<a name="M000013"></a>
|
308
|
-
|
309
|
-
<div class="method-heading">
|
310
|
-
<a href="Views.src/M000013.html" target="Code" class="method-signature"
|
311
|
-
onclick="popupCode('Views.src/M000013.html');return false;">
|
312
|
-
<span class="method-name">start</span><span class="method-args">()</span>
|
313
|
-
</a>
|
314
|
-
</div>
|
315
|
-
|
316
|
-
<div class="method-description">
|
317
|
-
</div>
|
318
|
-
</div>
|
319
|
-
|
320
|
-
<div id="method-M000014" class="method-detail">
|
321
|
-
<a name="M000014"></a>
|
322
|
-
|
323
|
-
<div class="method-heading">
|
324
|
-
<a href="Views.src/M000014.html" target="Code" class="method-signature"
|
325
|
-
onclick="popupCode('Views.src/M000014.html');return false;">
|
326
|
-
<span class="method-name">start_done</span><span class="method-args">()</span>
|
327
|
-
</a>
|
328
|
-
</div>
|
329
|
-
|
330
|
-
<div class="method-description">
|
331
|
-
</div>
|
332
|
-
</div>
|
333
|
-
|
334
|
-
<div id="method-M000016" class="method-detail">
|
335
|
-
<a name="M000016"></a>
|
336
|
-
|
337
|
-
<div class="method-heading">
|
338
|
-
<a href="Views.src/M000016.html" target="Code" class="method-signature"
|
339
|
-
onclick="popupCode('Views.src/M000016.html');return false;">
|
340
|
-
<span class="method-name">stop</span><span class="method-args">()</span>
|
341
|
-
</a>
|
342
|
-
</div>
|
343
|
-
|
344
|
-
<div class="method-description">
|
345
|
-
</div>
|
346
|
-
</div>
|
347
|
-
|
348
|
-
|
349
|
-
</div>
|
350
|
-
|
351
|
-
|
352
|
-
</div>
|
353
|
-
|
354
|
-
|
355
|
-
<div id="validator-badges">
|
356
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
357
|
-
</div>
|
358
|
-
|
359
|
-
</body>
|
360
|
-
</html>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>layout (Configure::Views)</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 lib/mongrel_config/app.rb, line 65</span>
|
14
|
-
65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout</span>
|
15
|
-
66: <span class="ruby-identifier">body_content</span> = <span class="ruby-keyword kw">yield</span>
|
16
|
-
67: <span class="ruby-identifier">currently_running</span> = <span class="ruby-identifier">_running?</span>
|
17
|
-
68: <span class="ruby-identifier">pid</span> = <span class="ruby-identifier">_pid</span>
|
18
|
-
69: <span class="ruby-identifier">open</span>(<span class="ruby-constant">GemPlugin</span><span class="ruby-operator">::</span><span class="ruby-constant">Manager</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">resource</span>(<span class="ruby-value str">"mongrel_config"</span>, <span class="ruby-value str">"/index.html"</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
19
|
-
70: <span class="ruby-identifier">template</span> = <span class="ruby-constant">ERB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>)
|
20
|
-
71: <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">template</span>.<span class="ruby-identifier">result</span>(<span class="ruby-identifier">binding</span>)
|
21
|
-
72: <span class="ruby-keyword kw">end</span>
|
22
|
-
73: <span class="ruby-keyword kw">end</span></pre>
|
23
|
-
</body>
|
24
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>show (Configure::Views)</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 lib/mongrel_config/app.rb, line 75</span>
|
14
|
-
75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show</span>
|
15
|
-
76: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
|
16
|
-
77: <span class="ruby-identifier">h2</span> { <span class="ruby-value str">"Status"</span> }
|
17
|
-
78: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">_running?</span>
|
18
|
-
79: <span class="ruby-identifier">p</span> { <span class="ruby-node">"Currently running with PID #{_pid}."</span> }
|
19
|
-
80: <span class="ruby-keyword kw">else</span>
|
20
|
-
81: <span class="ruby-identifier">p</span> { <span class="ruby-value str">"Mongrel is not running."</span> }
|
21
|
-
82: <span class="ruby-keyword kw">end</span>
|
22
|
-
83: <span class="ruby-keyword kw">end</span>
|
23
|
-
84: <span class="ruby-keyword kw">end</span></pre>
|
24
|
-
</body>
|
25
|
-
</html>
|