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,33 +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>configure (ConfigTool)</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/init.rb, line 9</span>
|
14
|
-
9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span>
|
15
|
-
10: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/mswin/</span>
|
16
|
-
11: <span class="ruby-identifier">options</span> [
|
17
|
-
12: [<span class="ruby-value str">'-h'</span>, <span class="ruby-value str">'--host ADDR'</span>, <span class="ruby-value str">"Host to bind to for server"</span>, <span class="ruby-identifier">:@host</span>, <span class="ruby-value str">"0.0.0.0"</span>],
|
18
|
-
13: [<span class="ruby-value str">'-p'</span>, <span class="ruby-value str">'--port NUMBER'</span>, <span class="ruby-value str">"Port to bind to"</span>, <span class="ruby-identifier">:@port</span>, <span class="ruby-value str">"3001"</span>],
|
19
|
-
14: [<span class="ruby-value str">'-u'</span>, <span class="ruby-value str">'--uri URI'</span>, <span class="ruby-value str">"Where to put your config tool"</span>, <span class="ruby-identifier">:@uri</span>, <span class="ruby-value str">"/config"</span>],
|
20
|
-
15: [<span class="ruby-value str">'-R'</span>, <span class="ruby-value str">'--mongrel PATH'</span>, <span class="ruby-value str">"Path to mongrel_rails_service"</span>, <span class="ruby-identifier">:@mongrel_script</span>, <span class="ruby-value str">"c:\\ruby\\bin\\mongrel_rails_service"</span>]
|
21
|
-
16: ]
|
22
|
-
17: <span class="ruby-keyword kw">else</span>
|
23
|
-
18: <span class="ruby-identifier">options</span> [
|
24
|
-
19: [<span class="ruby-value str">'-c'</span>, <span class="ruby-value str">'--chdir PATH'</span>, <span class="ruby-value str">"Change to dir before starting (will be expanded)"</span>, <span class="ruby-identifier">:@cwd</span>, <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">pwd</span>],
|
25
|
-
20: [<span class="ruby-value str">'-P'</span>, <span class="ruby-value str">'--pid FILE'</span>, <span class="ruby-value str">"Where to write the PID"</span>, <span class="ruby-identifier">:@pid_file</span>, <span class="ruby-value str">"log/mongrel.pid"</span>],
|
26
|
-
21: [<span class="ruby-value str">'-h'</span>, <span class="ruby-value str">'--host ADDR'</span>, <span class="ruby-value str">"Host to bind to for server"</span>, <span class="ruby-identifier">:@host</span>, <span class="ruby-value str">"0.0.0.0"</span>],
|
27
|
-
22: [<span class="ruby-value str">'-p'</span>, <span class="ruby-value str">'--port NUMBER'</span>, <span class="ruby-value str">"Port to bind to"</span>, <span class="ruby-identifier">:@port</span>, <span class="ruby-value str">"3001"</span>],
|
28
|
-
23: [<span class="ruby-value str">'-u'</span>, <span class="ruby-value str">'--uri URI'</span>, <span class="ruby-value str">"Where to put your config tool"</span>, <span class="ruby-identifier">:@uri</span>, <span class="ruby-value str">"/config"</span>]
|
29
|
-
24: ]
|
30
|
-
25: <span class="ruby-keyword kw">end</span>
|
31
|
-
26: <span class="ruby-keyword kw">end</span></pre>
|
32
|
-
</body>
|
33
|
-
</html>
|
@@ -1,28 +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>validate (ConfigTool)</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/init.rb, line 28</span>
|
14
|
-
28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
|
15
|
-
29: <span class="ruby-identifier">valid?</span>(<span class="ruby-ivar">@uri</span>, <span class="ruby-value str">"Must give a uri"</span>)
|
16
|
-
30: <span class="ruby-identifier">valid?</span>(<span class="ruby-ivar">@port</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@port</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>, <span class="ruby-value str">"Must give a valid port"</span>)
|
17
|
-
31: <span class="ruby-identifier">valid?</span>(<span class="ruby-ivar">@host</span>, <span class="ruby-value str">"Host IP to bind must be given"</span>)
|
18
|
-
32:
|
19
|
-
33: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">!~</span> <span class="ruby-regexp re">/mswin/</span>
|
20
|
-
34: <span class="ruby-identifier">valid_dir?</span> <span class="ruby-ivar">@cwd</span>, <span class="ruby-value str">"Cannot change to a directory that doesn't exist"</span>
|
21
|
-
35: <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span> <span class="ruby-ivar">@cwd</span>
|
22
|
-
36: <span class="ruby-identifier">valid_dir?</span> <span class="ruby-value str">"log"</span>, <span class="ruby-value str">"Log directory does not exist"</span>
|
23
|
-
37: <span class="ruby-keyword kw">end</span>
|
24
|
-
38:
|
25
|
-
39: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@valid</span>
|
26
|
-
40: <span class="ruby-keyword kw">end</span></pre>
|
27
|
-
</body>
|
28
|
-
</html>
|
@@ -1,45 +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>run (ConfigTool)</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/init.rb, line 43</span>
|
14
|
-
43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
|
15
|
-
44: <span class="ruby-comment cmt"># must require this here since rails and camping don't like eachother</span>
|
16
|
-
45: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/mswin/</span>
|
17
|
-
46: <span class="ruby-identifier">require</span> <span class="ruby-value str">'mongrel_config/win32_app'</span>
|
18
|
-
47: <span class="ruby-identifier">$mongrel_rails_service</span> = <span class="ruby-ivar">@mongrel_script</span>
|
19
|
-
48: <span class="ruby-keyword kw">else</span>
|
20
|
-
49: <span class="ruby-identifier">require</span> <span class="ruby-value str">'mongrel_config/app'</span>
|
21
|
-
50: <span class="ruby-keyword kw">end</span>
|
22
|
-
51:
|
23
|
-
52: <span class="ruby-identifier">resources</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">"/"</span>
|
24
|
-
53: <span class="ruby-identifier">$PID_FILE</span> = <span class="ruby-ivar">@pid_file</span>
|
25
|
-
54:
|
26
|
-
55: <span class="ruby-identifier">$server</span> = <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">Camping</span><span class="ruby-operator">::</span><span class="ruby-identifier">start</span>(<span class="ruby-ivar">@host</span>,<span class="ruby-ivar">@port</span>,<span class="ruby-ivar">@uri</span>,<span class="ruby-constant">Configure</span>)
|
27
|
-
56:
|
28
|
-
57: <span class="ruby-identifier">puts</span> <span class="ruby-node">"** Configure is running at http://#{@host}:#{@port}#{@uri}"</span>
|
29
|
-
58: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">!~</span> <span class="ruby-regexp re">/mswin/</span>
|
30
|
-
59: <span class="ruby-identifier">trap</span>(<span class="ruby-value str">"INT"</span>) {
|
31
|
-
60: <span class="ruby-identifier">$server</span>.<span class="ruby-identifier">stop</span>
|
32
|
-
61: }
|
33
|
-
62: <span class="ruby-identifier">puts</span> <span class="ruby-value str">"Use CTRL-C to quit."</span>
|
34
|
-
63: <span class="ruby-keyword kw">else</span>
|
35
|
-
64: <span class="ruby-identifier">puts</span> <span class="ruby-value str">"Use CTRL-Pause/Break to quit."</span>
|
36
|
-
65: <span class="ruby-keyword kw">end</span>
|
37
|
-
66:
|
38
|
-
67: <span class="ruby-comment cmt"># add our log directory</span>
|
39
|
-
68: <span class="ruby-identifier">$server</span>.<span class="ruby-identifier">register</span>(<span class="ruby-value str">"/log"</span>, <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">DirHandler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"log"</span>))
|
40
|
-
69: <span class="ruby-identifier">$server</span>.<span class="ruby-identifier">register</span>(<span class="ruby-value str">"/config/resources"</span>, <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">DirHandler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">resources</span>))
|
41
|
-
70:
|
42
|
-
71: <span class="ruby-identifier">$server</span>.<span class="ruby-identifier">acceptor</span>.<span class="ruby-identifier">join</span>
|
43
|
-
72: <span class="ruby-keyword kw">end</span></pre>
|
44
|
-
</body>
|
45
|
-
</html>
|
@@ -1,112 +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</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</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/mongrel_config/win32_app_rb.html">
|
59
|
-
lib/mongrel_config/win32_app.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
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
<!-- if includes -->
|
84
|
-
|
85
|
-
<div id="section">
|
86
|
-
|
87
|
-
<div id="class-list">
|
88
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
89
|
-
|
90
|
-
Module <a href="Configure/Controllers.html" class="link">Configure::Controllers</a><br />
|
91
|
-
Module <a href="Configure/Views.html" class="link">Configure::Views</a><br />
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<!-- if method_list -->
|
102
|
-
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
<div id="validator-badges">
|
108
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
109
|
-
</div>
|
110
|
-
|
111
|
-
</body>
|
112
|
-
</html>
|
@@ -1,123 +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::Controllers</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::Controllers</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
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
|
87
|
-
<!-- if includes -->
|
88
|
-
|
89
|
-
<div id="section">
|
90
|
-
|
91
|
-
<div id="class-list">
|
92
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
93
|
-
|
94
|
-
Class <a href="Controllers/ClearLogs.html" class="link">Configure::Controllers::ClearLogs</a><br />
|
95
|
-
Class <a href="Controllers/Delete.html" class="link">Configure::Controllers::Delete</a><br />
|
96
|
-
Class <a href="Controllers/Index.html" class="link">Configure::Controllers::Index</a><br />
|
97
|
-
Class <a href="Controllers/Info.html" class="link">Configure::Controllers::Info</a><br />
|
98
|
-
Class <a href="Controllers/Install.html" class="link">Configure::Controllers::Install</a><br />
|
99
|
-
Class <a href="Controllers/Kill.html" class="link">Configure::Controllers::Kill</a><br />
|
100
|
-
Class <a href="Controllers/Logs.html" class="link">Configure::Controllers::Logs</a><br />
|
101
|
-
Class <a href="Controllers/Start.html" class="link">Configure::Controllers::Start</a><br />
|
102
|
-
Class <a href="Controllers/Stop.html" class="link">Configure::Controllers::Stop</a><br />
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if method_list -->
|
113
|
-
|
114
|
-
|
115
|
-
</div>
|
116
|
-
|
117
|
-
|
118
|
-
<div id="validator-badges">
|
119
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
120
|
-
</div>
|
121
|
-
|
122
|
-
</body>
|
123
|
-
</html>
|
@@ -1,137 +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>Class: Configure::Controllers::ClearLogs</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>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Configure::Controllers::ClearLogs</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/mongrel_config/win32_app_rb.html">
|
59
|
-
lib/mongrel_config/win32_app.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
R'/clear_logs'
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000043">get</a>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
<!-- if includes -->
|
97
|
-
|
98
|
-
<div id="section">
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if method_list -->
|
108
|
-
<div id="methods">
|
109
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
110
|
-
|
111
|
-
<div id="method-M000043" class="method-detail">
|
112
|
-
<a name="M000043"></a>
|
113
|
-
|
114
|
-
<div class="method-heading">
|
115
|
-
<a href="ClearLogs.src/M000043.html" target="Code" class="method-signature"
|
116
|
-
onclick="popupCode('ClearLogs.src/M000043.html');return false;">
|
117
|
-
<span class="method-name">get</span><span class="method-args">()</span>
|
118
|
-
</a>
|
119
|
-
</div>
|
120
|
-
|
121
|
-
<div class="method-description">
|
122
|
-
</div>
|
123
|
-
</div>
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
|
129
|
-
</div>
|
130
|
-
|
131
|
-
|
132
|
-
<div id="validator-badges">
|
133
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
</body>
|
137
|
-
</html>
|