slave 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,45 +1,45 @@
1
1
  <?xml version="1.0" encoding="iso-8859-1"?>
2
2
  <!DOCTYPE html
3
3
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>Class: Slave::ThreadSafe</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>
8
+ <title>Class: Slave::ThreadSafe</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
43
 
44
44
  </head>
45
45
  <body>
@@ -47,15 +47,18 @@
47
47
 
48
48
 
49
49
  <div id="classHeader">
50
- <h1>Slave::ThreadSafe <sup class="type-note">(Class)</sup></h1>
51
50
  <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Slave::ThreadSafe</td>
54
+ </tr>
52
55
  <tr class="top-aligned-row">
53
56
  <td><strong>In:</strong></td>
54
57
  <td>
55
58
  <a href="../../files/lib/slave_rb.html">
56
59
  lib/slave.rb
57
60
  </a>
58
- <br />
61
+ <br />
59
62
  </td>
60
63
  </tr>
61
64
 
@@ -69,23 +72,24 @@
69
72
  </div>
70
73
  <!-- banner header -->
71
74
 
72
- <div id="bodyContent">
75
+ <div id="bodyContent">
76
+
73
77
 
74
78
 
75
- <div id="contextContent">
76
- <div id="diagram">
77
- <map name="map">
78
- <area shape="RECT" coords="123,98,195,50" href="../o.html" alt="o">
79
- <area shape="RECT" coords="27,98,99,50" href="../Slave.html" alt="Slave">
79
+ <div id="contextContent">
80
+ <div id="diagram">
81
+ <map id="map" name="map">
82
+ <area shape="rect" coords="27,50,99,98" href="../Slave.html" alt="Slave" />
80
83
  </map>
81
- <img src="../../dot/f_1.jpg" usemap="#map" border=0 alt="TopLevel">
82
- </div>
83
-
84
- <div id="description">
85
- <p>
86
- <a href="ThreadSafe.html">ThreadSafe</a> is a delegate wrapper class used
87
- for implementing gross thread safety around existing objects. when an
88
- object is wrapped with this class as
84
+ <img src="../../dot/f_1.jpg" usemap="#map" border="0" alt="dot/f_1.jpg">
85
+ </div>
86
+
87
+ <div id="description">
88
+ <p>
89
+ <a href="ThreadSafe.html">ThreadSafe</a> is a delegate wrapper <a
90
+ href="ThreadSafe.html#M000021">class</a> used for implementing gross thread
91
+ safety around existing objects. when an object is wrapped with this <a
92
+ href="ThreadSafe.html#M000021">class</a> as
89
93
  </p>
90
94
  <pre>
91
95
  ts = ThreadSafe.new{ AnyObject.new }
@@ -96,51 +100,55 @@ calls are now thread safe. this is the mechanism behind the
96
100
  &#8216;threadsafe&#8217;/:threadsafe keyword to Slave#initialize
97
101
  </p>
98
102
 
99
- </div>
103
+ </div>
104
+
100
105
 
106
+ </div>
101
107
 
102
- <div id="method-list">
103
- <h2 class="section-bar">Methods</h2>
108
+ <div id="method-list">
109
+ <h3 class="section-bar">Methods</h3>
104
110
 
105
- <div class="name-list">
106
- <a href="#M000022">class</a>&nbsp;&nbsp;
107
- <a href="#M000018">ex</a>&nbsp;&nbsp;
108
- <a href="#M000021">inspect</a>&nbsp;&nbsp;
109
- <a href="#M000019">method_missing</a>&nbsp;&nbsp;
110
- <a href="#M000017">new</a>&nbsp;&nbsp;
111
- <a href="#M000020">respond_to?</a>&nbsp;&nbsp;
112
- </div>
113
- </div>
111
+ <div class="name-list">
112
+ <a href="#M000021">class</a>&nbsp;&nbsp;
113
+ <a href="#M000017">ex</a>&nbsp;&nbsp;
114
+ <a href="#M000020">inspect</a>&nbsp;&nbsp;
115
+ <a href="#M000018">method_missing</a>&nbsp;&nbsp;
116
+ <a href="#M000016">new</a>&nbsp;&nbsp;
117
+ <a href="#M000019">respond_to?</a>&nbsp;&nbsp;
118
+ </div>
119
+ </div>
114
120
 
121
+ </div>
115
122
 
116
123
 
124
+ <!-- if includes -->
117
125
 
118
-
126
+ <div id="section">
119
127
 
120
- </div>
121
128
 
122
129
 
123
130
 
124
- <!-- if includes -->
125
131
 
132
+
126
133
 
127
- <!-- if method_list -->
128
- <div id="methods">
129
- <h2 class="section-bar">Public Class methods</h2>
130
134
 
131
- <div id="method-M000017" class="method-detail">
132
- <a name="M000017"></a>
135
+ <!-- if method_list -->
136
+ <div id="methods">
137
+ <h3 class="section-bar">Public Class methods</h3>
133
138
 
134
- <div class="method-heading">
135
- <a href="#M000017" class="method-signature">
136
- <span class="method-name">new</span><span class="method-args">object</span>
137
- </a>
138
- </div>
139
-
140
- <div class="method-description">
141
- <p><a class="source-toggle" href="#"
142
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
143
- <div class="method-source-code" id="M000017-source">
139
+ <div id="method-M000016" class="method-detail">
140
+ <a name="M000016"></a>
141
+
142
+ <div class="method-heading">
143
+ <a href="#M000016" class="method-signature">
144
+ <span class="method-name">new</span><span class="method-args">(object)</span>
145
+ </a>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+ <p><a class="source-toggle" href="#"
150
+ onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000016-source">
144
152
  <pre>
145
153
  <span class="ruby-comment cmt"># File lib/slave.rb, line 130</span>
146
154
  130: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">object</span>
@@ -148,132 +156,132 @@ calls are now thread safe. this is the mechanism behind the
148
156
  132: <span class="ruby-ivar">@sync</span> = <span class="ruby-constant">Sync</span>.<span class="ruby-identifier">new</span>
149
157
  133: <span class="ruby-keyword kw">end</span>
150
158
  </pre>
151
- </div>
152
- </div>
153
- </div>
154
-
155
- <h2 class="section-bar">Public Instance methods</h2>
156
-
157
- <div id="method-M000022" class="method-detail">
158
- <a name="M000022"></a>
159
-
160
- <div class="method-heading">
161
- <a href="#M000022" class="method-signature">
162
- <span class="method-name">class</span><span class="method-args">()</span>
163
- </a>
164
- </div>
165
-
166
- <div class="method-description">
167
- <p><a class="source-toggle" href="#"
168
- onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
169
- <div class="method-source-code" id="M000022-source">
159
+ </div>
160
+ </div>
161
+ </div>
162
+
163
+ <h3 class="section-bar">Public Instance methods</h3>
164
+
165
+ <div id="method-M000021" class="method-detail">
166
+ <a name="M000021"></a>
167
+
168
+ <div class="method-heading">
169
+ <a href="#M000021" class="method-signature">
170
+ <span class="method-name">class</span><span class="method-args">()</span>
171
+ </a>
172
+ </div>
173
+
174
+ <div class="method-description">
175
+ <p><a class="source-toggle" href="#"
176
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
177
+ <div class="method-source-code" id="M000021-source">
170
178
  <pre>
171
179
  <span class="ruby-comment cmt"># File lib/slave.rb, line 146</span>
172
180
  146: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">class</span>
173
181
  147: <span class="ruby-identifier">ex</span>{ <span class="ruby-ivar">@object</span>.<span class="ruby-identifier">class</span> }
174
182
  148: <span class="ruby-keyword kw">end</span>
175
183
  </pre>
176
- </div>
177
- </div>
178
- </div>
179
-
180
- <div id="method-M000018" class="method-detail">
181
- <a name="M000018"></a>
182
-
183
- <div class="method-heading">
184
- <a href="#M000018" class="method-signature">
185
- <span class="method-name">ex</span><span class="method-args">() {|}| ...}</span>
186
- </a>
187
- </div>
188
-
189
- <div class="method-description">
190
- <p><a class="source-toggle" href="#"
191
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
192
- <div class="method-source-code" id="M000018-source">
184
+ </div>
185
+ </div>
186
+ </div>
187
+
188
+ <div id="method-M000017" class="method-detail">
189
+ <a name="M000017"></a>
190
+
191
+ <div class="method-heading">
192
+ <a href="#M000017" class="method-signature">
193
+ <span class="method-name">ex</span><span class="method-args">() {|| ...}</span>
194
+ </a>
195
+ </div>
196
+
197
+ <div class="method-description">
198
+ <p><a class="source-toggle" href="#"
199
+ onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
200
+ <div class="method-source-code" id="M000017-source">
193
201
  <pre>
194
202
  <span class="ruby-comment cmt"># File lib/slave.rb, line 134</span>
195
203
  134: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ex</span>
196
204
  135: <span class="ruby-ivar">@sync</span>.<span class="ruby-identifier">synchronize</span>{ <span class="ruby-keyword kw">yield</span> }
197
205
  136: <span class="ruby-keyword kw">end</span>
198
206
  </pre>
199
- </div>
200
- </div>
201
- </div>
202
-
203
- <div id="method-M000021" class="method-detail">
204
- <a name="M000021"></a>
205
-
206
- <div class="method-heading">
207
- <a href="#M000021" class="method-signature">
208
- <span class="method-name">inspect</span><span class="method-args">()</span>
209
- </a>
210
- </div>
211
-
212
- <div class="method-description">
213
- <p><a class="source-toggle" href="#"
214
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
215
- <div class="method-source-code" id="M000021-source">
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <div id="method-M000020" class="method-detail">
212
+ <a name="M000020"></a>
213
+
214
+ <div class="method-heading">
215
+ <a href="#M000020" class="method-signature">
216
+ <span class="method-name">inspect</span><span class="method-args">()</span>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="method-description">
221
+ <p><a class="source-toggle" href="#"
222
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
223
+ <div class="method-source-code" id="M000020-source">
216
224
  <pre>
217
225
  <span class="ruby-comment cmt"># File lib/slave.rb, line 143</span>
218
226
  143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
219
227
  144: <span class="ruby-identifier">ex</span>{ <span class="ruby-ivar">@object</span>.<span class="ruby-identifier">inspect</span> }
220
228
  145: <span class="ruby-keyword kw">end</span>
221
229
  </pre>
222
- </div>
223
- </div>
224
- </div>
225
-
226
- <div id="method-M000019" class="method-detail">
227
- <a name="M000019"></a>
228
-
229
- <div class="method-heading">
230
- <a href="#M000019" class="method-signature">
231
- <span class="method-name">method_missing</span><span class="method-args">m, *a, &amp;b</span>
232
- </a>
233
- </div>
234
-
235
- <div class="method-description">
236
- <p><a class="source-toggle" href="#"
237
- onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
238
- <div class="method-source-code" id="M000019-source">
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+ <div id="method-M000018" class="method-detail">
235
+ <a name="M000018"></a>
236
+
237
+ <div class="method-heading">
238
+ <a href="#M000018" class="method-signature">
239
+ <span class="method-name">method_missing</span><span class="method-args">(m, *a, &amp;b)</span>
240
+ </a>
241
+ </div>
242
+
243
+ <div class="method-description">
244
+ <p><a class="source-toggle" href="#"
245
+ onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
246
+ <div class="method-source-code" id="M000018-source">
239
247
  <pre>
240
248
  <span class="ruby-comment cmt"># File lib/slave.rb, line 137</span>
241
249
  137: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span> <span class="ruby-identifier">m</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>
242
250
  138: <span class="ruby-identifier">ex</span>{ <span class="ruby-ivar">@object</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">m</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span> }
243
251
  139: <span class="ruby-keyword kw">end</span>
244
252
  </pre>
245
- </div>
246
- </div>
247
- </div>
248
-
249
- <div id="method-M000020" class="method-detail">
250
- <a name="M000020"></a>
251
-
252
- <div class="method-heading">
253
- <a href="#M000020" class="method-signature">
254
- <span class="method-name">respond_to?</span><span class="method-args">m</span>
255
- </a>
256
- </div>
257
-
258
- <div class="method-description">
259
- <p><a class="source-toggle" href="#"
260
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
261
- <div class="method-source-code" id="M000020-source">
253
+ </div>
254
+ </div>
255
+ </div>
256
+
257
+ <div id="method-M000019" class="method-detail">
258
+ <a name="M000019"></a>
259
+
260
+ <div class="method-heading">
261
+ <a href="#M000019" class="method-signature">
262
+ <span class="method-name">respond_to?</span><span class="method-args">(*a, &amp;b)</span>
263
+ </a>
264
+ </div>
265
+
266
+ <div class="method-description">
267
+ <p><a class="source-toggle" href="#"
268
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
269
+ <div class="method-source-code" id="M000019-source">
262
270
  <pre>
263
271
  <span class="ruby-comment cmt"># File lib/slave.rb, line 140</span>
264
- 140: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">m</span>
265
- 141: <span class="ruby-identifier">ex</span>{ <span class="ruby-ivar">@object</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">m</span> }
272
+ 140: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">respond_to?</span> <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>
273
+ 141: <span class="ruby-identifier">ex</span>{ <span class="ruby-ivar">@object</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span> }
266
274
  142: <span class="ruby-keyword kw">end</span>
267
275
  </pre>
268
- </div>
269
- </div>
270
- </div>
276
+ </div>
277
+ </div>
278
+ </div>
271
279
 
272
280
 
273
- </div>
281
+ </div>
274
282
 
275
283
 
276
- </div>
284
+ </div>
277
285
 
278
286
 
279
287
  <div id="validator-badges">
@@ -1,45 +1,45 @@
1
1
  <?xml version="1.0" encoding="iso-8859-1"?>
2
2
  <!DOCTYPE html
3
3
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>Class: Slave::ThreadSafeHash</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>
8
+ <title>Class: Slave::ThreadSafeHash</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
43
 
44
44
  </head>
45
45
  <body>
@@ -47,15 +47,18 @@
47
47
 
48
48
 
49
49
  <div id="classHeader">
50
- <h1>Slave::ThreadSafeHash <sup class="type-note">(Class)</sup></h1>
51
50
  <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Slave::ThreadSafeHash</td>
54
+ </tr>
52
55
  <tr class="top-aligned-row">
53
56
  <td><strong>In:</strong></td>
54
57
  <td>
55
58
  <a href="../../files/lib/slave_rb.html">
56
59
  lib/slave.rb
57
60
  </a>
58
- <br />
61
+ <br />
59
62
  </td>
60
63
  </tr>
61
64
 
@@ -69,78 +72,82 @@
69
72
  </div>
70
73
  <!-- banner header -->
71
74
 
72
- <div id="bodyContent">
75
+ <div id="bodyContent">
76
+
73
77
 
74
78
 
75
- <div id="contextContent">
76
- <div id="diagram">
77
- <map name="map">
78
- <area shape="RECT" coords="123,98,195,50" href="../o.html" alt="o">
79
- <area shape="RECT" coords="27,98,99,50" href="../Slave.html" alt="Slave">
79
+ <div id="contextContent">
80
+ <div id="diagram">
81
+ <map id="map" name="map">
82
+ <area shape="rect" coords="27,50,99,98" href="../Slave.html" alt="Slave" />
80
83
  </map>
81
- <img src="../../dot/f_1.jpg" usemap="#map" border=0 alt="TopLevel">
82
- </div>
84
+ <img src="../../dot/f_1.jpg" usemap="#map" border="0" alt="dot/f_1.jpg">
85
+ </div>
83
86
 
84
- <div id="description">
85
- <p>
87
+ <div id="description">
88
+ <p>
86
89
  a simple thread safe hash used to map object_id to a set of file
87
90
  descriptors in the <a href="LifeLine.html">LifeLine</a> class. see
88
91
  LifeLine::FDS
89
92
  </p>
90
93
 
91
- </div>
94
+ </div>
92
95
 
93
96
 
94
- <div id="method-list">
95
- <h2 class="section-bar">Methods</h2>
97
+ </div>
96
98
 
97
- <div class="name-list">
98
- <a href="#M000031">new</a>&nbsp;&nbsp;
99
- </div>
100
- </div>
99
+ <div id="method-list">
100
+ <h3 class="section-bar">Methods</h3>
101
101
 
102
+ <div class="name-list">
103
+ <a href="#M000030">new</a>&nbsp;&nbsp;
104
+ </div>
105
+ </div>
106
+
107
+ </div>
102
108
 
103
109
 
110
+ <!-- if includes -->
104
111
 
105
-
112
+ <div id="section">
106
113
 
107
- </div>
108
114
 
109
115
 
110
116
 
111
- <!-- if includes -->
112
117
 
118
+
113
119
 
114
- <!-- if method_list -->
115
- <div id="methods">
116
- <h2 class="section-bar">Public Class methods</h2>
117
120
 
118
- <div id="method-M000031" class="method-detail">
119
- <a name="M000031"></a>
121
+ <!-- if method_list -->
122
+ <div id="methods">
123
+ <h3 class="section-bar">Public Class methods</h3>
120
124
 
121
- <div class="method-heading">
122
- <a href="#M000031" class="method-signature">
123
- <span class="method-name">new</span><span class="method-args">(*a, &amp;b)</span>
124
- </a>
125
- </div>
126
-
127
- <div class="method-description">
128
- <p><a class="source-toggle" href="#"
129
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
130
- <div class="method-source-code" id="M000031-source">
125
+ <div id="method-M000030" class="method-detail">
126
+ <a name="M000030"></a>
127
+
128
+ <div class="method-heading">
129
+ <a href="#M000030" class="method-signature">
130
+ <span class="method-name">new</span><span class="method-args">(*a, &amp;b)</span>
131
+ </a>
132
+ </div>
133
+
134
+ <div class="method-description">
135
+ <p><a class="source-toggle" href="#"
136
+ onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
137
+ <div class="method-source-code" id="M000030-source">
131
138
  <pre>
132
139
  <span class="ruby-comment cmt"># File lib/slave.rb, line 156</span>
133
140
  156: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>) <span class="ruby-constant">ThreadSafe</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">super</span>) <span class="ruby-keyword kw">end</span>
134
141
  </pre>
135
- </div>
136
- </div>
137
- </div>
142
+ </div>
143
+ </div>
144
+ </div>
138
145
 
139
146
 
140
- </div>
147
+ </div>
141
148
 
142
149
 
143
- </div>
150
+ </div>
144
151
 
145
152
 
146
153
  <div id="validator-badges">