eymiha_util 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. data/gem_package.rb +2 -1
  2. data/html/classes/BaseEnvelope.html +204 -0
  3. data/html/classes/BaseEnvelope.src/M000001.html +18 -0
  4. data/html/classes/BaseEnvelope.src/M000002.html +20 -0
  5. data/html/classes/BaseEnvelope.src/M000003.html +18 -0
  6. data/html/classes/Envelope.html +329 -0
  7. data/html/classes/Envelope.src/M000013.html +19 -0
  8. data/html/classes/Envelope.src/M000014.html +19 -0
  9. data/html/classes/Envelope.src/M000015.html +35 -0
  10. data/html/classes/Envelope.src/M000016.html +19 -0
  11. data/html/classes/Envelope.src/M000017.html +19 -0
  12. data/html/classes/Envelope.src/M000018.html +26 -0
  13. data/html/classes/Envelope.src/M000020.html +18 -0
  14. data/html/classes/EnvelopeException.html +119 -0
  15. data/html/classes/ForwardReference.html +195 -0
  16. data/html/classes/ForwardReference.src/M000021.html +20 -0
  17. data/html/classes/ForwardReference.src/M000022.html +18 -0
  18. data/html/classes/ForwardReferencer.html +176 -0
  19. data/html/classes/ForwardReferencing.html +299 -0
  20. data/html/classes/ForwardReferencing.src/M000023.html +20 -0
  21. data/html/classes/ForwardReferencing.src/M000024.html +20 -0
  22. data/html/classes/ForwardReferencing.src/M000025.html +20 -0
  23. data/html/classes/ForwardReferencing.src/M000026.html +28 -0
  24. data/html/classes/ForwardReferencing.src/M000027.html +18 -0
  25. data/html/classes/ForwardReferencing.src/M000028.html +25 -0
  26. data/html/classes/ForwardReferencing.src/M000029.html +18 -0
  27. data/html/classes/ForwardReferencing.src/M000030.html +18 -0
  28. data/html/classes/Histogram.html +325 -0
  29. data/html/classes/Histogram.src/M000004.html +19 -0
  30. data/html/classes/Histogram.src/M000005.html +21 -0
  31. data/html/classes/Histogram.src/M000006.html +37 -0
  32. data/html/classes/Histogram.src/M000007.html +18 -0
  33. data/html/classes/Histogram.src/M000008.html +20 -0
  34. data/html/classes/Histogram.src/M000009.html +20 -0
  35. data/html/classes/Histogram.src/M000010.html +20 -0
  36. data/html/classes/Histogram.src/M000011.html +20 -0
  37. data/html/classes/Histogram.src/M000012.html +24 -0
  38. data/html/classes/HistogramException.html +118 -0
  39. data/html/created.rid +1 -0
  40. data/html/files/lib/envelope_rb.html +109 -0
  41. data/html/files/lib/forward_referencing_rb.html +120 -0
  42. data/html/files/lib/histogram_rb.html +109 -0
  43. data/html/fr_class_index.html +34 -0
  44. data/html/fr_file_index.html +29 -0
  45. data/html/fr_method_index.html +56 -0
  46. data/html/index.html +24 -0
  47. data/html/rdoc-style.css +208 -0
  48. data/lib/forward_referencing.rb +138 -0
  49. data/test/tc_forward_referencing.rb +126 -0
  50. metadata +69 -5
@@ -0,0 +1,20 @@
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>new (ForwardReference)</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/forward_referencing.rb, line 127</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">dependency</span>)
15
+ <span class="ruby-ivar">@continuation</span> = <span class="ruby-keyword kw">nil</span>
16
+ <span class="ruby-ivar">@continuation</span> = <span class="ruby-identifier">callcc</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">cont</span><span class="ruby-operator">|</span> <span class="ruby-identifier">cont</span>} <span class="ruby-keyword kw">while</span> (<span class="ruby-ivar">@continuation</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>)
17
+ <span class="ruby-ivar">@dependency</span> = <span class="ruby-identifier">dependency</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,18 @@
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>to_s (ForwardReference)</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/forward_referencing.rb, line 134</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
15
+ <span class="ruby-node">&quot;#{self_name} dependency #{dependency} #{continuation}&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,176 @@
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: ForwardReferencer</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">ForwardReferencer</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/forward_referencing_rb.html">
59
+ lib/forward_referencing.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
+
81
+ <div id="description">
82
+ <p>
83
+ A <a href="ForwardReferencer.html">ForwardReferencer</a> is simply a
84
+ class-wrapper for the <a
85
+ href="ForwardReferencing.html">ForwardReferencing</a> module. method have
86
+ been shortened there is reduced potential for conflict from inheritence
87
+ than from inclusion or extension.
88
+ </p>
89
+
90
+ </div>
91
+
92
+
93
+ </div>
94
+
95
+
96
+ </div>
97
+
98
+
99
+ <!-- if includes -->
100
+ <div id="includes">
101
+ <h3 class="section-bar">Included Modules</h3>
102
+
103
+ <div id="includes-list">
104
+ <span class="include-name"><a href="ForwardReferencing.html">ForwardReferencing</a></span>
105
+ </div>
106
+ </div>
107
+
108
+ <div id="section">
109
+
110
+
111
+
112
+ <div id="aliases-list">
113
+ <h3 class="section-bar">External Aliases</h3>
114
+
115
+ <div class="name-list">
116
+ <table summary="aliases">
117
+ <tr class="top-aligned-row context-row">
118
+ <td class="context-item-name">start_forward_referencing</td>
119
+ <td>-&gt;</td>
120
+ <td class="context-item-value">initialize</td>
121
+ </tr>
122
+ <tr class="top-aligned-row context-row">
123
+ <td class="context-item-name">create_forward_reference</td>
124
+ <td>-&gt;</td>
125
+ <td class="context-item-value">create</td>
126
+ </tr>
127
+ <tr class="top-aligned-row context-row">
128
+ <td class="context-item-name">remove_forward_reference</td>
129
+ <td>-&gt;</td>
130
+ <td class="context-item-value">remove</td>
131
+ </tr>
132
+ <tr class="top-aligned-row context-row">
133
+ <td class="context-item-name">resolve_forward_references</td>
134
+ <td>-&gt;</td>
135
+ <td class="context-item-value">resolve</td>
136
+ </tr>
137
+ <tr class="top-aligned-row context-row">
138
+ <td class="context-item-name">continue_forward_reference_resolution</td>
139
+ <td>-&gt;</td>
140
+ <td class="context-item-value">continue</td>
141
+ </tr>
142
+ <tr class="top-aligned-row context-row">
143
+ <td class="context-item-name">forward_reference_dependencies</td>
144
+ <td>-&gt;</td>
145
+ <td class="context-item-value">dependencies</td>
146
+ </tr>
147
+ <tr class="top-aligned-row context-row">
148
+ <td class="context-item-name">forward_references_to_s</td>
149
+ <td>-&gt;</td>
150
+ <td class="context-item-value">to_s</td>
151
+ </tr>
152
+ <tr class="top-aligned-row context-row">
153
+ <td class="context-item-name">forward_references_remaining</td>
154
+ <td>-&gt;</td>
155
+ <td class="context-item-value">remaining</td>
156
+ </tr>
157
+ </table>
158
+ </div>
159
+ </div>
160
+
161
+
162
+
163
+
164
+
165
+ <!-- if method_list -->
166
+
167
+
168
+ </div>
169
+
170
+
171
+ <div id="validator-badges">
172
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
173
+ </div>
174
+
175
+ </body>
176
+ </html>
@@ -0,0 +1,299 @@
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: ForwardReferencing</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">ForwardReferencing</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/forward_referencing_rb.html">
59
+ lib/forward_referencing.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
+ <div id="description">
76
+ <p>
77
+ The <a href="ForwardReferencing.html">ForwardReferencing</a> module can be
78
+ mixed into a class to allow it to capture and resolve ForwardReferences.
79
+ </p>
80
+
81
+ </div>
82
+
83
+
84
+ </div>
85
+
86
+ <div id="method-list">
87
+ <h3 class="section-bar">Methods</h3>
88
+
89
+ <div class="name-list">
90
+ <a href="#M000027">continue_forward_reference_resolution</a>&nbsp;&nbsp;
91
+ <a href="#M000024">create_forward_reference</a>&nbsp;&nbsp;
92
+ <a href="#M000028">forward_reference_dependencies</a>&nbsp;&nbsp;
93
+ <a href="#M000030">forward_references_remaining</a>&nbsp;&nbsp;
94
+ <a href="#M000029">forward_references_to_s</a>&nbsp;&nbsp;
95
+ <a href="#M000025">remove_forward_reference</a>&nbsp;&nbsp;
96
+ <a href="#M000026">resolve_forward_references</a>&nbsp;&nbsp;
97
+ <a href="#M000023">start_forward_referencing</a>&nbsp;&nbsp;
98
+ </div>
99
+ </div>
100
+
101
+ </div>
102
+
103
+
104
+ <!-- if includes -->
105
+
106
+ <div id="section">
107
+
108
+
109
+
110
+
111
+
112
+ <div id="attribute-list">
113
+ <h3 class="section-bar">Attributes</h3>
114
+
115
+ <div class="name-list">
116
+ <table>
117
+ <tr class="top-aligned-row context-row">
118
+ <td class="context-item-name">forward_references</td>
119
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
120
+ <td class="context-item-desc">
121
+ An array containing the set of unresolved forward references.
122
+
123
+ </td>
124
+ </tr>
125
+ </table>
126
+ </div>
127
+ </div>
128
+
129
+
130
+
131
+ <!-- if method_list -->
132
+ <div id="methods">
133
+ <h3 class="section-bar">Public Instance methods</h3>
134
+
135
+ <div id="method-M000027" class="method-detail">
136
+ <a name="M000027"></a>
137
+
138
+ <div class="method-heading">
139
+ <a href="ForwardReferencing.src/M000027.html" target="Code" class="method-signature"
140
+ onclick="popupCode('ForwardReferencing.src/M000027.html');return false;">
141
+ <span class="method-name">continue_forward_reference_resolution</span><span class="method-args">()</span>
142
+ </a>
143
+ </div>
144
+
145
+ <div class="method-description">
146
+ <p>
147
+ To be called at the end of a section of code that could contain a forward
148
+ reference, it will continue during normal processing and jump back to the
149
+ <a href="ForwardReferencing.html#M000026">resolve_forward_references</a>
150
+ method during resolution.
151
+ </p>
152
+ </div>
153
+ </div>
154
+
155
+ <div id="method-M000024" class="method-detail">
156
+ <a name="M000024"></a>
157
+
158
+ <div class="method-heading">
159
+ <a href="ForwardReferencing.src/M000024.html" target="Code" class="method-signature"
160
+ onclick="popupCode('ForwardReferencing.src/M000024.html');return false;">
161
+ <span class="method-name">create_forward_reference</span><span class="method-args">(dependency=nil)</span>
162
+ </a>
163
+ </div>
164
+
165
+ <div class="method-description">
166
+ <p>
167
+ To be called when a section of code that could contain a forward reference
168
+ is entered. The method returns a newly created <a
169
+ href="ForwardReference.html">ForwardReference</a> with the given dependency
170
+ that can be jumped to during resolution.
171
+ </p>
172
+ </div>
173
+ </div>
174
+
175
+ <div id="method-M000028" class="method-detail">
176
+ <a name="M000028"></a>
177
+
178
+ <div class="method-heading">
179
+ <a href="ForwardReferencing.src/M000028.html" target="Code" class="method-signature"
180
+ onclick="popupCode('ForwardReferencing.src/M000028.html');return false;">
181
+ <span class="method-name">forward_reference_dependencies</span><span class="method-args">()</span>
182
+ </a>
183
+ </div>
184
+
185
+ <div class="method-description">
186
+ <p>
187
+ Returns a hash of dependencies to arrays of the ForwardReferences that have
188
+ them as dependencies.
189
+ </p>
190
+ </div>
191
+ </div>
192
+
193
+ <div id="method-M000030" class="method-detail">
194
+ <a name="M000030"></a>
195
+
196
+ <div class="method-heading">
197
+ <a href="ForwardReferencing.src/M000030.html" target="Code" class="method-signature"
198
+ onclick="popupCode('ForwardReferencing.src/M000030.html');return false;">
199
+ <span class="method-name">forward_references_remaining</span><span class="method-args">()</span>
200
+ </a>
201
+ </div>
202
+
203
+ <div class="method-description">
204
+ <p>
205
+ Returns the number of unresolved forward references.
206
+ </p>
207
+ </div>
208
+ </div>
209
+
210
+ <div id="method-M000029" class="method-detail">
211
+ <a name="M000029"></a>
212
+
213
+ <div class="method-heading">
214
+ <a href="ForwardReferencing.src/M000029.html" target="Code" class="method-signature"
215
+ onclick="popupCode('ForwardReferencing.src/M000029.html');return false;">
216
+ <span class="method-name">forward_references_to_s</span><span class="method-args">()</span>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="method-description">
221
+ <p>
222
+ Returns a string indicating the current state of <a
223
+ href="ForwardReferencing.html">ForwardReferencing</a>.
224
+ </p>
225
+ </div>
226
+ </div>
227
+
228
+ <div id="method-M000025" class="method-detail">
229
+ <a name="M000025"></a>
230
+
231
+ <div class="method-heading">
232
+ <a href="ForwardReferencing.src/M000025.html" target="Code" class="method-signature"
233
+ onclick="popupCode('ForwardReferencing.src/M000025.html');return false;">
234
+ <span class="method-name">remove_forward_reference</span><span class="method-args">(forward_reference=nil)</span>
235
+ </a>
236
+ </div>
237
+
238
+ <div class="method-description">
239
+ <p>
240
+ To be called when a section of code that could contain a forward reference
241
+ has successfully been reached. It is used to remove the <a
242
+ href="ForwardReference.html">ForwardReference</a> that was created at the
243
+ start of the section, and asserts that a resolution was made.
244
+ </p>
245
+ </div>
246
+ </div>
247
+
248
+ <div id="method-M000026" class="method-detail">
249
+ <a name="M000026"></a>
250
+
251
+ <div class="method-heading">
252
+ <a href="ForwardReferencing.src/M000026.html" target="Code" class="method-signature"
253
+ onclick="popupCode('ForwardReferencing.src/M000026.html');return false;">
254
+ <span class="method-name">resolve_forward_references</span><span class="method-args">()</span>
255
+ </a>
256
+ </div>
257
+
258
+ <div class="method-description">
259
+ <p>
260
+ To be called to try to resolve any unresolved ForwardReferences by jumping
261
+ to each in turn and retrying the code that caused it. This method repeats
262
+ until nothing more is resolved. At that point unresolved forward reference
263
+ may still exist, to be possibly resolved by another call to this method
264
+ downstream.
265
+ </p>
266
+ </div>
267
+ </div>
268
+
269
+ <div id="method-M000023" class="method-detail">
270
+ <a name="M000023"></a>
271
+
272
+ <div class="method-heading">
273
+ <a href="ForwardReferencing.src/M000023.html" target="Code" class="method-signature"
274
+ onclick="popupCode('ForwardReferencing.src/M000023.html');return false;">
275
+ <span class="method-name">start_forward_referencing</span><span class="method-args">()</span>
276
+ </a>
277
+ </div>
278
+
279
+ <div class="method-description">
280
+ <p>
281
+ To be called from the initializer of the includer, this sets up the forward
282
+ reference capture and resolution mechanisms.
283
+ </p>
284
+ </div>
285
+ </div>
286
+
287
+
288
+ </div>
289
+
290
+
291
+ </div>
292
+
293
+
294
+ <div id="validator-badges">
295
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
296
+ </div>
297
+
298
+ </body>
299
+ </html>