binaryparse 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/binaryparse.gemspec +18 -0
  2. data/doc/classes/BinaryBlocker/BitFieldEncoder.html +328 -0
  3. data/doc/classes/BinaryBlocker/Blocker.html +168 -0
  4. data/doc/classes/BinaryBlocker/CountedArrayEncoder.html +347 -0
  5. data/doc/classes/BinaryBlocker/Encoder.html +526 -0
  6. data/doc/classes/BinaryBlocker/FixedArrayEncoder.html +278 -0
  7. data/doc/classes/BinaryBlocker/FixedStringEncoder.html +177 -0
  8. data/doc/classes/BinaryBlocker/FixedUTF16StringEncoder.html +229 -0
  9. data/doc/classes/BinaryBlocker/GroupEncoder.html +650 -0
  10. data/doc/classes/BinaryBlocker/ListOfEncoder.html +343 -0
  11. data/doc/classes/BinaryBlocker/OneOfEncoder.html +306 -0
  12. data/doc/classes/BinaryBlocker/PackedDateEncoder.html +220 -0
  13. data/doc/classes/BinaryBlocker/PackedDateTimeEncoder.html +220 -0
  14. data/doc/classes/BinaryBlocker/PackedNumberEncoder.html +231 -0
  15. data/doc/classes/BinaryBlocker/SimpleEncoder.html +284 -0
  16. data/doc/classes/BinaryBlocker.html +329 -0
  17. data/doc/classes/BufferedIO.html +324 -0
  18. data/doc/classes/TestBlocker/BBDate.html +120 -0
  19. data/doc/classes/TestBlocker/BBList.html +120 -0
  20. data/doc/classes/TestBlocker/BBPacked.html +120 -0
  21. data/doc/classes/TestBlocker/BBString.html +120 -0
  22. data/doc/classes/TestBlocker/BBSub1.html +120 -0
  23. data/doc/classes/TestBlocker/BBSub2.html +120 -0
  24. data/doc/classes/TestBlocker/BBTest1.html +120 -0
  25. data/doc/classes/TestBlocker/BBTest2.html +120 -0
  26. data/doc/classes/TestBlocker/BBTest3.html +120 -0
  27. data/doc/classes/TestBlocker/BBTest4.html +120 -0
  28. data/doc/classes/TestBlocker/BBTest5.html +120 -0
  29. data/doc/classes/TestBlocker/BBTest6.html +120 -0
  30. data/doc/classes/TestBlocker/BBTest7.html +120 -0
  31. data/doc/classes/TestBlocker/BBTime.html +120 -0
  32. data/doc/classes/TestBlocker/BBUTF16.html +120 -0
  33. data/doc/classes/TestBlocker/ItemA.html +120 -0
  34. data/doc/classes/TestBlocker/ItemB.html +120 -0
  35. data/doc/classes/TestBlocker.html +802 -0
  36. data/doc/created.rid +1 -0
  37. data/doc/dot/f_0.dot +208 -0
  38. data/doc/dot/f_0.png +0 -0
  39. data/doc/dot/f_1.dot +23 -0
  40. data/doc/dot/f_1.png +0 -0
  41. data/doc/dot/f_2.dot +32 -0
  42. data/doc/dot/f_2.png +0 -0
  43. data/doc/dot/m_0_0.dot +208 -0
  44. data/doc/dot/m_0_0.png +0 -0
  45. data/doc/files/lib/blocker_rb.html +144 -0
  46. data/doc/files/lib/buffered_io_rb.html +115 -0
  47. data/doc/files/test/test_blocker_rb.html +116 -0
  48. data/doc/fr_class_index.html +60 -0
  49. data/doc/fr_file_index.html +29 -0
  50. data/doc/fr_method_index.html +135 -0
  51. data/doc/index.html +24 -0
  52. data/doc/rdoc-style.css +208 -0
  53. data/lib/blocker.rb +736 -0
  54. data/lib/buffered_io.rb +58 -0
  55. data/test/test_blocker.rb +412 -0
  56. metadata +111 -0
@@ -0,0 +1,324 @@
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: BufferedIO</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">BufferedIO</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/buffered_io_rb.html">
59
+ lib/buffered_io.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
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+ <div id="diagram">
81
+ <map id="map" name="map">
82
+ <area shape="rect" coords="15,5,95,53" href="BufferedIO.html" alt="BufferedIO" />
83
+ </map>
84
+ <img src="../dot/f_1.png" usemap="#map" border="0" alt="TopLevel" />
85
+ </div>
86
+
87
+ <div id="description">
88
+ <p>
89
+ Simple class to allow for streamed (i.e. without pos support) IO to use the
90
+ <a href="BinaryBlocker.html">BinaryBlocker</a> utilities, but buffering
91
+ until flushed previously read information.
92
+ </p>
93
+
94
+ </div>
95
+
96
+
97
+ </div>
98
+
99
+ <div id="method-list">
100
+ <h3 class="section-bar">Methods</h3>
101
+
102
+ <div class="name-list">
103
+ <a href="#M000018">flush</a>&nbsp;&nbsp;
104
+ <a href="#M000017">new</a>&nbsp;&nbsp;
105
+ <a href="#M000020">pos</a>&nbsp;&nbsp;
106
+ <a href="#M000021">pos=</a>&nbsp;&nbsp;
107
+ <a href="#M000019">read</a>&nbsp;&nbsp;
108
+ <a href="#M000022">seek</a>&nbsp;&nbsp;
109
+ </div>
110
+ </div>
111
+
112
+ </div>
113
+
114
+
115
+ <!-- if includes -->
116
+
117
+ <div id="section">
118
+
119
+
120
+ <div id="constants-list">
121
+ <h3 class="section-bar">Constants</h3>
122
+
123
+ <div class="name-list">
124
+ <table summary="Constants">
125
+ <tr class="top-aligned-row context-row">
126
+ <td class="context-item-name">BLOCK_SIZE</td>
127
+ <td>=</td>
128
+ <td class="context-item-value">512</td>
129
+ </tr>
130
+ </table>
131
+ </div>
132
+ </div>
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <!-- if method_list -->
140
+ <div id="methods">
141
+ <h3 class="section-bar">Public Class methods</h3>
142
+
143
+ <div id="method-M000017" class="method-detail">
144
+ <a name="M000017"></a>
145
+
146
+ <div class="method-heading">
147
+ <a href="#M000017" class="method-signature">
148
+ <span class="method-name">new</span><span class="method-args">(io)</span>
149
+ </a>
150
+ </div>
151
+
152
+ <div class="method-description">
153
+ <p>
154
+ Rdoc
155
+ </p>
156
+ <p><a class="source-toggle" href="#"
157
+ onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
158
+ <div class="method-source-code" id="M000017-source">
159
+ <pre>
160
+ <span class="ruby-comment cmt"># File lib/buffered_io.rb, line 7</span>
161
+ 7: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">io</span>)
162
+ 8: <span class="ruby-keyword kw">super</span>
163
+ 9: <span class="ruby-ivar">@io</span> = <span class="ruby-identifier">io</span>
164
+ 10: <span class="ruby-ivar">@buffer</span> = <span class="ruby-value str">''</span>
165
+ 11: <span class="ruby-ivar">@pos</span> = <span class="ruby-value">0</span>
166
+ 12: <span class="ruby-ivar">@iobase</span> = <span class="ruby-ivar">@io</span>.<span class="ruby-identifier">pos</span>
167
+ 13: <span class="ruby-keyword kw">end</span>
168
+ </pre>
169
+ </div>
170
+ </div>
171
+ </div>
172
+
173
+ <h3 class="section-bar">Public Instance methods</h3>
174
+
175
+ <div id="method-M000018" class="method-detail">
176
+ <a name="M000018"></a>
177
+
178
+ <div class="method-heading">
179
+ <a href="#M000018" class="method-signature">
180
+ <span class="method-name">flush</span><span class="method-args">()</span>
181
+ </a>
182
+ </div>
183
+
184
+ <div class="method-description">
185
+ <p><a class="source-toggle" href="#"
186
+ onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
187
+ <div class="method-source-code" id="M000018-source">
188
+ <pre>
189
+ <span class="ruby-comment cmt"># File lib/buffered_io.rb, line 15</span>
190
+ 15: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">flush</span>
191
+ 16: <span class="ruby-ivar">@iobase</span> <span class="ruby-operator">+=</span> <span class="ruby-ivar">@pos</span>
192
+ 17: <span class="ruby-ivar">@buffer</span> = <span class="ruby-value str">''</span>
193
+ 18: <span class="ruby-ivar">@pos</span> = <span class="ruby-value">0</span>
194
+ 19: <span class="ruby-ivar">@io</span>.<span class="ruby-identifier">flush</span>
195
+ 20: <span class="ruby-keyword kw">end</span>
196
+ </pre>
197
+ </div>
198
+ </div>
199
+ </div>
200
+
201
+ <div id="method-M000020" class="method-detail">
202
+ <a name="M000020"></a>
203
+
204
+ <div class="method-heading">
205
+ <a href="#M000020" class="method-signature">
206
+ <span class="method-name">pos</span><span class="method-args">()</span>
207
+ </a>
208
+ </div>
209
+
210
+ <div class="method-description">
211
+ <p><a class="source-toggle" href="#"
212
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
213
+ <div class="method-source-code" id="M000020-source">
214
+ <pre>
215
+ <span class="ruby-comment cmt"># File lib/buffered_io.rb, line 32</span>
216
+ 32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pos</span>
217
+ 33: <span class="ruby-ivar">@iobase</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@pos</span>
218
+ 34: <span class="ruby-keyword kw">end</span>
219
+ </pre>
220
+ </div>
221
+ </div>
222
+ </div>
223
+
224
+ <div id="method-M000021" class="method-detail">
225
+ <a name="M000021"></a>
226
+
227
+ <div class="method-heading">
228
+ <a href="#M000021" class="method-signature">
229
+ <span class="method-name">pos=</span><span class="method-args">(newpos)</span>
230
+ </a>
231
+ </div>
232
+
233
+ <div class="method-description">
234
+ <p><a class="source-toggle" href="#"
235
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
236
+ <div class="method-source-code" id="M000021-source">
237
+ <pre>
238
+ <span class="ruby-comment cmt"># File lib/buffered_io.rb, line 36</span>
239
+ 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pos=</span>(<span class="ruby-identifier">newpos</span>)
240
+ 37: <span class="ruby-identifier">seek</span>(<span class="ruby-identifier">newpos</span>)
241
+ 38: <span class="ruby-keyword kw">end</span>
242
+ </pre>
243
+ </div>
244
+ </div>
245
+ </div>
246
+
247
+ <div id="method-M000019" class="method-detail">
248
+ <a name="M000019"></a>
249
+
250
+ <div class="method-heading">
251
+ <a href="#M000019" class="method-signature">
252
+ <span class="method-name">read</span><span class="method-args">(size, buffer = nil)</span>
253
+ </a>
254
+ </div>
255
+
256
+ <div class="method-description">
257
+ <p><a class="source-toggle" href="#"
258
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
259
+ <div class="method-source-code" id="M000019-source">
260
+ <pre>
261
+ <span class="ruby-comment cmt"># File lib/buffered_io.rb, line 22</span>
262
+ 22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read</span>(<span class="ruby-identifier">size</span>, <span class="ruby-identifier">buffer</span> = <span class="ruby-keyword kw">nil</span>)
263
+ 23: <span class="ruby-keyword kw">if</span> (<span class="ruby-ivar">@buffer</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-ivar">@pos</span>) <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">size</span>
264
+ 24: <span class="ruby-ivar">@buffer</span> <span class="ruby-operator">+=</span> <span class="ruby-ivar">@io</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">BLOCK_SIZE</span>)
265
+ 25: <span class="ruby-keyword kw">end</span>
266
+ 26: <span class="ruby-identifier">result</span> = <span class="ruby-ivar">@buffer</span>[<span class="ruby-ivar">@pos</span>,<span class="ruby-identifier">size</span>]
267
+ 27: <span class="ruby-ivar">@pos</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">result</span>.<span class="ruby-identifier">size</span>
268
+ 28: <span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">result</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">buffer</span>
269
+ 29: <span class="ruby-identifier">result</span>
270
+ 30: <span class="ruby-keyword kw">end</span>
271
+ </pre>
272
+ </div>
273
+ </div>
274
+ </div>
275
+
276
+ <div id="method-M000022" class="method-detail">
277
+ <a name="M000022"></a>
278
+
279
+ <div class="method-heading">
280
+ <a href="#M000022" class="method-signature">
281
+ <span class="method-name">seek</span><span class="method-args">(amount, whence=IO::SEEK_SET)</span>
282
+ </a>
283
+ </div>
284
+
285
+ <div class="method-description">
286
+ <p><a class="source-toggle" href="#"
287
+ onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
288
+ <div class="method-source-code" id="M000022-source">
289
+ <pre>
290
+ <span class="ruby-comment cmt"># File lib/buffered_io.rb, line 40</span>
291
+ 40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seek</span>(<span class="ruby-identifier">amount</span>, <span class="ruby-identifier">whence</span>=<span class="ruby-constant">IO</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_SET</span>)
292
+ 41: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">whence</span>
293
+ 42: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">IO</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_CUR</span>
294
+ 43: <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;rewind before buffer start&quot;</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">amount</span> <span class="ruby-operator">&lt;</span> <span class="ruby-ivar">@pos</span>)
295
+ 44: <span class="ruby-ivar">@pos</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">amount</span>
296
+ 45: <span class="ruby-ivar">@iobase</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@pos</span>
297
+ 46:
298
+ 47: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">IO</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_END</span>
299
+ 48: <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Sorry this operation is not supported&quot;</span>
300
+ 49:
301
+ 50: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">IO</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_SET</span>
302
+ 51: <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;rewind before buffer start&quot;</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">amount</span> <span class="ruby-operator">&lt;</span> <span class="ruby-ivar">@iobase</span>)
303
+ 52: <span class="ruby-ivar">@pos</span> = <span class="ruby-identifier">amount</span> <span class="ruby-operator">-</span> <span class="ruby-ivar">@iobase</span>
304
+ 53: <span class="ruby-ivar">@iobase</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@pos</span>
305
+ 54: <span class="ruby-keyword kw">end</span>
306
+ 55: <span class="ruby-keyword kw">end</span>
307
+ </pre>
308
+ </div>
309
+ </div>
310
+ </div>
311
+
312
+
313
+ </div>
314
+
315
+
316
+ </div>
317
+
318
+
319
+ <div id="validator-badges">
320
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
321
+ </div>
322
+
323
+ </body>
324
+ </html>
@@ -0,0 +1,120 @@
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: TestBlocker::BBDate</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">TestBlocker::BBDate</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/test/test_blocker_rb.html">
59
+ test/test_blocker.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
+ <a href="../BinaryBlocker/Blocker.html">
69
+ BinaryBlocker::Blocker
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+ <div id="diagram">
83
+ <map id="map" name="map">
84
+ <area shape="rect" coords="24,101,109,149" href="../TestBlocker.html" alt="TestBlocker" />
85
+ <area shape="rect" coords="5,5,128,53" href="../Test/Unit/TestCase.html" alt="Test::Unit::TestCase" />
86
+ </map>
87
+ <img src="../../dot/f_2.png" usemap="#map" border="0" alt="TopLevel" />
88
+ </div>
89
+
90
+
91
+
92
+ </div>
93
+
94
+
95
+ </div>
96
+
97
+
98
+ <!-- if includes -->
99
+
100
+ <div id="section">
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <!-- if method_list -->
110
+
111
+
112
+ </div>
113
+
114
+
115
+ <div id="validator-badges">
116
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
117
+ </div>
118
+
119
+ </body>
120
+ </html>
@@ -0,0 +1,120 @@
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: TestBlocker::BBList</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">TestBlocker::BBList</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/test/test_blocker_rb.html">
59
+ test/test_blocker.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
+ <a href="../BinaryBlocker/Blocker.html">
69
+ BinaryBlocker::Blocker
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+ <div id="diagram">
83
+ <map id="map" name="map">
84
+ <area shape="rect" coords="24,101,109,149" href="../TestBlocker.html" alt="TestBlocker" />
85
+ <area shape="rect" coords="5,5,128,53" href="../Test/Unit/TestCase.html" alt="Test::Unit::TestCase" />
86
+ </map>
87
+ <img src="../../dot/f_2.png" usemap="#map" border="0" alt="TopLevel" />
88
+ </div>
89
+
90
+
91
+
92
+ </div>
93
+
94
+
95
+ </div>
96
+
97
+
98
+ <!-- if includes -->
99
+
100
+ <div id="section">
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <!-- if method_list -->
110
+
111
+
112
+ </div>
113
+
114
+
115
+ <div id="validator-badges">
116
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
117
+ </div>
118
+
119
+ </body>
120
+ </html>
@@ -0,0 +1,120 @@
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: TestBlocker::BBPacked</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">TestBlocker::BBPacked</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/test/test_blocker_rb.html">
59
+ test/test_blocker.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
+ <a href="../BinaryBlocker/Blocker.html">
69
+ BinaryBlocker::Blocker
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+ <div id="diagram">
83
+ <map id="map" name="map">
84
+ <area shape="rect" coords="24,101,109,149" href="../TestBlocker.html" alt="TestBlocker" />
85
+ <area shape="rect" coords="5,5,128,53" href="../Test/Unit/TestCase.html" alt="Test::Unit::TestCase" />
86
+ </map>
87
+ <img src="../../dot/f_2.png" usemap="#map" border="0" alt="TopLevel" />
88
+ </div>
89
+
90
+
91
+
92
+ </div>
93
+
94
+
95
+ </div>
96
+
97
+
98
+ <!-- if includes -->
99
+
100
+ <div id="section">
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <!-- if method_list -->
110
+
111
+
112
+ </div>
113
+
114
+
115
+ <div id="validator-badges">
116
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
117
+ </div>
118
+
119
+ </body>
120
+ </html>