slave 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +42 -0
- data/VERSION +1 -0
- data/doc/classes/Slave.html +541 -0
- data/doc/classes/Slave/Heartbeat.html +342 -0
- data/doc/created.rid +1 -0
- data/doc/dot/f_0.dot +14 -0
- data/doc/dot/f_0.jpg +0 -0
- data/doc/dot/f_1.dot +14 -0
- data/doc/dot/f_1.jpg +0 -0
- data/doc/dot/f_2.dot +29 -0
- data/doc/dot/f_2.jpg +0 -0
- data/doc/files/README.html +169 -0
- data/doc/files/VERSION.html +107 -0
- data/doc/files/lib/slave_rb.html +119 -0
- data/doc/fr_class_index.html +28 -0
- data/doc/fr_file_index.html +29 -0
- data/doc/fr_method_index.html +39 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +172 -0
- data/gemspec.rb +23 -0
- data/install.rb +201 -0
- data/lib/slave-0.0.0.rb +292 -0
- data/lib/slave.rb +292 -0
- data/rdoc.cmd +1 -0
- data/sample/a.rb +102 -0
- data/slave-0.0.0.gem +0 -0
- metadata +72 -0
@@ -0,0 +1,107 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: VERSION</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>VERSION</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>VERSION
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Nov 12 11:53:15 MST 2004</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
<div id="contextContent">
|
69
|
+
<div id="diagram">
|
70
|
+
<map name="map">
|
71
|
+
</map>
|
72
|
+
<img src="../dot/f_1.jpg" usemap="#map" border=0 alt="TopLevel">
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div id="description">
|
76
|
+
<p>
|
77
|
+
0.0.0
|
78
|
+
</p>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<!-- if includes -->
|
94
|
+
|
95
|
+
|
96
|
+
<!-- if method_list -->
|
97
|
+
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
|
102
|
+
<div id="validator-badges">
|
103
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</body>
|
107
|
+
</html>
|
@@ -0,0 +1,119 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: slave.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>slave.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/slave.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Nov 12 12:24:23 MST 2004</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
<div id="contextContent">
|
69
|
+
<div id="diagram">
|
70
|
+
<map name="map">
|
71
|
+
<area shape="RECT" coords="28,88,99,40" href="../../classes/Slave.html" alt="Slave">
|
72
|
+
</map>
|
73
|
+
<img src="../../dot/f_2.jpg" usemap="#map" border=0 alt="TopLevel">
|
74
|
+
</div>
|
75
|
+
|
76
|
+
|
77
|
+
<div id="requires-list">
|
78
|
+
<h2 class="section-bar">Required files</h2>
|
79
|
+
|
80
|
+
<div class="name-list">
|
81
|
+
drb/drb
|
82
|
+
fileutils
|
83
|
+
tmpdir
|
84
|
+
tempfile
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<div id="class-list">
|
94
|
+
<h2 class="section-bar">Classes and Modules</h2>
|
95
|
+
|
96
|
+
Class <a href="../../classes/Slave.html" class="link">Slave</a><br />
|
97
|
+
::Class <a href="../../classes/Slave/Heartbeat.html" class="link">Slave::Heartbeat</a><br />
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
<!-- if includes -->
|
106
|
+
|
107
|
+
|
108
|
+
<!-- if method_list -->
|
109
|
+
|
110
|
+
|
111
|
+
</div>
|
112
|
+
|
113
|
+
|
114
|
+
<div id="validator-badges">
|
115
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
116
|
+
</div>
|
117
|
+
|
118
|
+
</body>
|
119
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Classes
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Classes</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Classes</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="classes/Slave.html">Slave</a><br />
|
24
|
+
<a href="classes/Slave/Heartbeat.html">Slave::Heartbeat</a><br />
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Files
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Files</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Files</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="files/README.html">README</a><br />
|
24
|
+
<a href="files/VERSION.html">VERSION</a><br />
|
25
|
+
<a href="files/lib/slave_rb.html">lib/slave.rb</a><br />
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</body>
|
29
|
+
</html>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Methods
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Methods</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Methods</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="classes/Slave/Heartbeat.html#M000011">child_start (Slave::Heartbeat)</a><br />
|
24
|
+
<a href="classes/Slave.html#M000002">fork (Slave)</a><br />
|
25
|
+
<a href="classes/Slave.html#M000005">gen_psname (Slave)</a><br />
|
26
|
+
<a href="classes/Slave.html#M000006">getval (Slave)</a><br />
|
27
|
+
<a href="classes/Slave.html#M000001">getval (Slave)</a><br />
|
28
|
+
<a href="classes/Slave/Heartbeat.html#M000008">new (Slave::Heartbeat)</a><br />
|
29
|
+
<a href="classes/Slave.html#M000003">new (Slave)</a><br />
|
30
|
+
<a href="classes/Slave/Heartbeat.html#M000010">parent_start (Slave::Heartbeat)</a><br />
|
31
|
+
<a href="classes/Slave.html#M000004">shutdown (Slave)</a><br />
|
32
|
+
<a href="classes/Slave/Heartbeat.html#M000009">start (Slave::Heartbeat)</a><br />
|
33
|
+
<a href="classes/Slave/Heartbeat.html#M000012">stop (Slave::Heartbeat)</a><br />
|
34
|
+
<a href="classes/Slave.html#M000007">trace (Slave)</a><br />
|
35
|
+
<a href="classes/Slave/Heartbeat.html#M000013">trace (Slave::Heartbeat)</a><br />
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</body>
|
39
|
+
</html>
|
data/doc/index.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
4
|
+
"DTD/xhtml1-frameset.dtd">
|
5
|
+
|
6
|
+
<!--
|
7
|
+
|
8
|
+
RDoc Documentation
|
9
|
+
|
10
|
+
-->
|
11
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
12
|
+
<head>
|
13
|
+
<title>RDoc Documentation</title>
|
14
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
15
|
+
</head>
|
16
|
+
<frameset rows="20%, 80%">
|
17
|
+
<frameset cols="25%,35%,45%">
|
18
|
+
<frame src="fr_file_index.html" title="Files" name="Files" />
|
19
|
+
<frame src="fr_class_index.html" name="Classes" />
|
20
|
+
<frame src="fr_method_index.html" name="Methods" />
|
21
|
+
</frameset>
|
22
|
+
<frame src="files/README.html" name="docwin" />
|
23
|
+
</frameset>
|
24
|
+
</html>
|
data/doc/rdoc-style.css
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
margin: 0;
|
4
|
+
padding: 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
|
8
|
+
h1 { font-size: 120%; }
|
9
|
+
h2,h3,h4 { margin-top: 1em; }
|
10
|
+
|
11
|
+
a { background: #eef; color: #039; text-decoration: none; }
|
12
|
+
a:hover { background: #039; color: #eef; }
|
13
|
+
|
14
|
+
/* Override the base stylesheet's Anchor inside a table cell */
|
15
|
+
td > a {
|
16
|
+
background: transparent;
|
17
|
+
color: #039;
|
18
|
+
text-decoration: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
/* === Structural elements =================================== */
|
22
|
+
|
23
|
+
div#index {
|
24
|
+
margin: 0;
|
25
|
+
padding: 0;
|
26
|
+
font-size: 0.9em;
|
27
|
+
}
|
28
|
+
|
29
|
+
div#index a {
|
30
|
+
margin-left: 0.7em;
|
31
|
+
}
|
32
|
+
|
33
|
+
div#classHeader {
|
34
|
+
width: auto;
|
35
|
+
background: #039;
|
36
|
+
color: white;
|
37
|
+
padding: 0.5em 1.5em 0.5em 1.5em;
|
38
|
+
margin: 0;
|
39
|
+
border-bottom: 3px solid #006;
|
40
|
+
}
|
41
|
+
|
42
|
+
div#classHeader a {
|
43
|
+
background: inherit;
|
44
|
+
color: white;
|
45
|
+
}
|
46
|
+
|
47
|
+
div#classHeader td {
|
48
|
+
background: inherit;
|
49
|
+
color: white;
|
50
|
+
}
|
51
|
+
|
52
|
+
div#fileHeader {
|
53
|
+
width: auto;
|
54
|
+
background: #039;
|
55
|
+
color: white;
|
56
|
+
padding: 0.5em 1.5em 0.5em 1.5em;
|
57
|
+
margin: 0;
|
58
|
+
border-bottom: 3px solid #006;
|
59
|
+
}
|
60
|
+
|
61
|
+
div#fileHeader a {
|
62
|
+
background: inherit;
|
63
|
+
color: white;
|
64
|
+
}
|
65
|
+
|
66
|
+
div#fileHeader td {
|
67
|
+
background: inherit;
|
68
|
+
color: white;
|
69
|
+
}
|
70
|
+
|
71
|
+
div#bodyContent {
|
72
|
+
padding: 0 1.5em 0 1.5em;
|
73
|
+
}
|
74
|
+
|
75
|
+
div#description {
|
76
|
+
padding: 0.5em 1.5em;
|
77
|
+
background: #efefef;
|
78
|
+
border: 1px dotted #999;
|
79
|
+
}
|
80
|
+
|
81
|
+
div#description h1,h2,h3,h4,h5,h6 {
|
82
|
+
color: black;
|
83
|
+
background: transparent;
|
84
|
+
}
|
85
|
+
|
86
|
+
div#validator-badges {
|
87
|
+
text-align: center;
|
88
|
+
}
|
89
|
+
div#validator-badges img { border: 0; }
|
90
|
+
|
91
|
+
div#copyright {
|
92
|
+
color: #333;
|
93
|
+
background: #efefef;
|
94
|
+
font: 0.75em sans-serif;
|
95
|
+
margin-top: 5em;
|
96
|
+
margin-bottom: 0;
|
97
|
+
padding: 0.5em 2em;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
/* === Classes =================================== */
|
102
|
+
|
103
|
+
table.header-table {
|
104
|
+
color: white;
|
105
|
+
font-size: small;
|
106
|
+
}
|
107
|
+
|
108
|
+
.type-note {
|
109
|
+
font-size: small;
|
110
|
+
color: #DEDEDE;
|
111
|
+
}
|
112
|
+
|
113
|
+
.section-bar {
|
114
|
+
background: #eee;
|
115
|
+
color: #333;
|
116
|
+
padding: 3px;
|
117
|
+
border: 1px solid #999;
|
118
|
+
}
|
119
|
+
|
120
|
+
.top-aligned-row { vertical-align: vertical-align: top }
|
121
|
+
|
122
|
+
/* --- Context section classes ----------------------- */
|
123
|
+
|
124
|
+
.context-row { }
|
125
|
+
.context-item-name { font-family: monospace; font-weight: bold; color: black; }
|
126
|
+
.context-item-value { font-size: x-small; color: #448; }
|
127
|
+
.context-item-desc { background: #efefef; }
|
128
|
+
|
129
|
+
/* --- Method classes -------------------------- */
|
130
|
+
.method-detail {
|
131
|
+
background: #EFEFEF;
|
132
|
+
padding: 0;
|
133
|
+
margin-top: 0.5em;
|
134
|
+
margin-bottom: 0.5em;
|
135
|
+
border: 1px dotted #DDD;
|
136
|
+
}
|
137
|
+
.method-heading {
|
138
|
+
color: black;
|
139
|
+
background: #AAA;
|
140
|
+
border-bottom: 1px solid #666;
|
141
|
+
padding: 0.2em 0.5em 0 0.5em;
|
142
|
+
}
|
143
|
+
.method-signature { color: black; background: inherit; }
|
144
|
+
.method-name { font-weight: bold; }
|
145
|
+
.method-args { font-style: italic; }
|
146
|
+
.method-description { padding: 0 0.5em 0 0.5em; }
|
147
|
+
|
148
|
+
/* --- Source code sections -------------------- */
|
149
|
+
|
150
|
+
a.source-toggle { font-size: 90%; }
|
151
|
+
div.method-source-code {
|
152
|
+
background: #262626;
|
153
|
+
color: #ffdead;
|
154
|
+
margin: 1em;
|
155
|
+
padding: 0.5em;
|
156
|
+
border: 1px dashed #999;
|
157
|
+
overflow: hidden;
|
158
|
+
}
|
159
|
+
|
160
|
+
div.method-source-code pre { color: #ffdead; overflow: hidden; }
|
161
|
+
|
162
|
+
/* --- Ruby keyword styles --------------------- */
|
163
|
+
/* (requires a hacked html_generator.rb to add more class-types) */
|
164
|
+
.ruby-constant { color: #7fffd4; background: transparent; }
|
165
|
+
.ruby-keyword { color: #00ffff; background: transparent; }
|
166
|
+
.ruby-ivar { color: #eedd82; background: transparent; }
|
167
|
+
.ruby-operator { color: #00ffee; background: transparent; }
|
168
|
+
.ruby-identifier { color: #ffdead; background: transparent; }
|
169
|
+
.ruby-node { color: #ffa07a; background: transparent; }
|
170
|
+
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
|
171
|
+
.ruby-regexp { color: #ffa07a; background: transparent; }
|
172
|
+
.ruby-value { color: #7fffd4; background: transparent; }
|