eymiha_util 0.1.1 → 0.1.2

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 (58) hide show
  1. data/gem_package.rb +1 -1
  2. data/html/classes/BaseEnvelope.html +202 -203
  3. data/html/classes/BaseEnvelope.src/M000001.html +15 -15
  4. data/html/classes/BaseEnvelope.src/M000002.html +15 -15
  5. data/html/classes/BaseEnvelope.src/M000003.html +15 -15
  6. data/html/classes/Envelope.html +322 -328
  7. data/html/classes/Envelope.src/M000015.html +18 -34
  8. data/html/classes/Envelope.src/M000016.html +18 -18
  9. data/html/classes/Envelope.src/M000017.html +34 -18
  10. data/html/classes/Envelope.src/M000018.html +18 -25
  11. data/html/classes/Envelope.src/{M000013.html → M000019.html} +18 -18
  12. data/html/classes/Envelope.src/M000020.html +25 -17
  13. data/html/classes/Envelope.src/{M000014.html → M000022.html} +17 -18
  14. data/html/classes/EnvelopeException.html +118 -118
  15. data/html/classes/ForwardReference.html +193 -194
  16. data/html/classes/ForwardReference.src/{M000021.html → M000023.html} +19 -19
  17. data/html/classes/ForwardReference.src/{M000022.html → M000024.html} +17 -17
  18. data/html/classes/ForwardReferencer.html +175 -175
  19. data/html/classes/ForwardReferencing.html +298 -298
  20. data/html/classes/ForwardReferencing.src/M000025.html +19 -19
  21. data/html/classes/ForwardReferencing.src/M000026.html +19 -27
  22. data/html/classes/ForwardReferencing.src/M000027.html +19 -17
  23. data/html/classes/ForwardReferencing.src/M000028.html +27 -24
  24. data/html/classes/ForwardReferencing.src/M000029.html +17 -17
  25. data/html/classes/ForwardReferencing.src/M000030.html +24 -17
  26. data/html/classes/ForwardReferencing.src/{M000023.html → M000031.html} +17 -19
  27. data/html/classes/ForwardReferencing.src/M000032.html +18 -0
  28. data/html/classes/Histogram.html +314 -324
  29. data/html/classes/Histogram.src/M000006.html +18 -36
  30. data/html/classes/Histogram.src/M000007.html +20 -17
  31. data/html/classes/Histogram.src/M000008.html +36 -19
  32. data/html/classes/Histogram.src/M000009.html +17 -19
  33. data/html/classes/Histogram.src/M000010.html +17 -17
  34. data/html/classes/Histogram.src/M000011.html +17 -17
  35. data/html/classes/Histogram.src/M000012.html +19 -23
  36. data/html/classes/Histogram.src/M000013.html +20 -0
  37. data/html/classes/Histogram.src/M000014.html +24 -0
  38. data/html/classes/HistogramException.html +117 -117
  39. data/html/classes/MethodicHash.html +198 -0
  40. data/html/classes/MethodicHash.src/M000004.html +22 -0
  41. data/html/classes/MethodicHash.src/M000005.html +18 -0
  42. data/html/created.rid +1 -1
  43. data/html/files/lib/envelope_rb.html +108 -108
  44. data/html/files/lib/forward_referencing_rb.html +119 -119
  45. data/html/files/lib/histogram_rb.html +108 -108
  46. data/html/files/lib/methodic_hash_rb.html +139 -0
  47. data/html/fr_class_index.html +34 -33
  48. data/html/fr_file_index.html +29 -28
  49. data/html/fr_method_index.html +57 -55
  50. data/html/index.html +23 -23
  51. data/html/rdoc-style.css +207 -207
  52. data/lib/forward_referencing.rb +1 -1
  53. data/lib/methodic_hash.rb +44 -0
  54. data/test/tc_methodic_hash.rb +29 -0
  55. metadata +36 -29
  56. data/html/classes/ForwardReferencing.src/M000024.html +0 -20
  57. data/html/classes/Histogram.src/M000004.html +0 -19
  58. data/html/classes/Histogram.src/M000005.html +0 -21
data/gem_package.rb CHANGED
@@ -4,7 +4,7 @@ class GemPackage
4
4
 
5
5
  def initialize
6
6
  @name = 'eymiha_util'
7
- @version = '0.1.1'
7
+ @version = '0.1.2'
8
8
  @files = FileList[
9
9
  '*.rb',
10
10
  'lib/*',
@@ -1,204 +1,203 @@
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: BaseEnvelope</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">BaseEnvelope</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/envelope_rb.html">
59
- lib/envelope.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="BaseEnvelope.html">BaseEnvelope</a> provides a means to keep and
84
- provide a count of objects that have been added to an envelope.
85
- </p>
86
-
87
- </div>
88
-
89
-
90
- </div>
91
-
92
- <div id="method-list">
93
- <h3 class="section-bar">Methods</h3>
94
-
95
- <div class="name-list">
96
- <a href="#M000003">new</a>&nbsp;&nbsp;
97
- <a href="#M000002">raise_no_compare</a>&nbsp;&nbsp;
98
- <a href="#M000001">raise_no_envelope</a>&nbsp;&nbsp;
99
- </div>
100
- </div>
101
-
102
- </div>
103
-
104
-
105
- <!-- if includes -->
106
-
107
- <div id="section">
108
-
109
-
110
-
111
-
112
-
113
- <div id="attribute-list">
114
- <h3 class="section-bar">Attributes</h3>
115
-
116
- <div class="name-list">
117
- <table>
118
- <tr class="top-aligned-row context-row">
119
- <td class="context-item-name">count</td>
120
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
121
- <td class="context-item-desc">
122
- count of added values reader.
123
-
124
- </td>
125
- </tr>
126
- </table>
127
- </div>
128
- </div>
129
-
130
-
131
-
132
- <!-- if method_list -->
133
- <div id="methods">
134
- <h3 class="section-bar">Public Class methods</h3>
135
-
136
- <div id="method-M000003" class="method-detail">
137
- <a name="M000003"></a>
138
-
139
- <div class="method-heading">
140
- <a href="BaseEnvelope.src/M000003.html" target="Code" class="method-signature"
141
- onclick="popupCode('BaseEnvelope.src/M000003.html');return false;">
142
- <span class="method-name">new</span><span class="method-args">()</span>
143
- </a>
144
- </div>
145
-
146
- <div class="method-description">
147
- <p>
148
- Returns a <a href="BaseEnvelope.html#M000003">new</a> instance with no
149
- values added.
150
- </p>
151
- </div>
152
- </div>
153
-
154
- <h3 class="section-bar">Public Instance methods</h3>
155
-
156
- <div id="method-M000002" class="method-detail">
157
- <a name="M000002"></a>
158
-
159
- <div class="method-heading">
160
- <a href="BaseEnvelope.src/M000002.html" target="Code" class="method-signature"
161
- onclick="popupCode('BaseEnvelope.src/M000002.html');return false;">
162
- <span class="method-name">raise_no_compare</span><span class="method-args">(value=nil)</span>
163
- </a>
164
- </div>
165
-
166
- <div class="method-description">
167
- <p>
168
- Called when the value cannot be compared with the the boundaries of the
169
- instance.
170
- </p>
171
- </div>
172
- </div>
173
-
174
- <div id="method-M000001" class="method-detail">
175
- <a name="M000001"></a>
176
-
177
- <div class="method-heading">
178
- <a href="BaseEnvelope.src/M000001.html" target="Code" class="method-signature"
179
- onclick="popupCode('BaseEnvelope.src/M000001.html');return false;">
180
- <span class="method-name">raise_no_envelope</span><span class="method-args">()</span>
181
- </a>
182
- </div>
183
-
184
- <div class="method-description">
185
- <p>
186
- Called when requesting envelope bounderies before any values have been
187
- added.
188
- </p>
189
- </div>
190
- </div>
191
-
192
-
193
- </div>
194
-
195
-
196
- </div>
197
-
198
-
199
- <div id="validator-badges">
200
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
201
- </div>
202
-
203
- </body>
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: BaseEnvelope</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">BaseEnvelope</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/envelope_rb.html">
59
+ lib/envelope.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="BaseEnvelope.html">BaseEnvelope</a> provides a means to keep and
84
+ provide a count of objects that have been added to an envelope.
85
+ </p>
86
+
87
+ </div>
88
+
89
+
90
+ </div>
91
+
92
+ <div id="method-list">
93
+ <h3 class="section-bar">Methods</h3>
94
+
95
+ <div class="name-list">
96
+ <a href="#M000003">new</a>&nbsp;&nbsp;
97
+ <a href="#M000002">raise_no_compare</a>&nbsp;&nbsp;
98
+ <a href="#M000001">raise_no_envelope</a>&nbsp;&nbsp;
99
+ </div>
100
+ </div>
101
+
102
+ </div>
103
+
104
+
105
+ <!-- if includes -->
106
+
107
+ <div id="section">
108
+
109
+
110
+
111
+
112
+
113
+ <div id="attribute-list">
114
+ <h3 class="section-bar">Attributes</h3>
115
+
116
+ <div class="name-list">
117
+ <table>
118
+ <tr class="top-aligned-row context-row">
119
+ <td class="context-item-name">count</td>
120
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
121
+ <td class="context-item-desc">
122
+ count of added values reader.
123
+
124
+ </td>
125
+ </tr>
126
+ </table>
127
+ </div>
128
+ </div>
129
+
130
+
131
+
132
+ <!-- if method_list -->
133
+ <div id="methods">
134
+ <h3 class="section-bar">Public Class methods</h3>
135
+
136
+ <div id="method-M000003" class="method-detail">
137
+ <a name="M000003"></a>
138
+
139
+ <div class="method-heading">
140
+ <a href="BaseEnvelope.src/M000003.html" target="Code" class="method-signature"
141
+ onclick="popupCode('BaseEnvelope.src/M000003.html');return false;">
142
+ <span class="method-name">new</span><span class="method-args">()</span>
143
+ </a>
144
+ </div>
145
+
146
+ <div class="method-description">
147
+ <p>
148
+ Returns a new instance with no values added.
149
+ </p>
150
+ </div>
151
+ </div>
152
+
153
+ <h3 class="section-bar">Public Instance methods</h3>
154
+
155
+ <div id="method-M000002" class="method-detail">
156
+ <a name="M000002"></a>
157
+
158
+ <div class="method-heading">
159
+ <a href="BaseEnvelope.src/M000002.html" target="Code" class="method-signature"
160
+ onclick="popupCode('BaseEnvelope.src/M000002.html');return false;">
161
+ <span class="method-name">raise_no_compare</span><span class="method-args">(value=nil)</span>
162
+ </a>
163
+ </div>
164
+
165
+ <div class="method-description">
166
+ <p>
167
+ Called when the value cannot be compared with the the boundaries of the
168
+ instance.
169
+ </p>
170
+ </div>
171
+ </div>
172
+
173
+ <div id="method-M000001" class="method-detail">
174
+ <a name="M000001"></a>
175
+
176
+ <div class="method-heading">
177
+ <a href="BaseEnvelope.src/M000001.html" target="Code" class="method-signature"
178
+ onclick="popupCode('BaseEnvelope.src/M000001.html');return false;">
179
+ <span class="method-name">raise_no_envelope</span><span class="method-args">()</span>
180
+ </a>
181
+ </div>
182
+
183
+ <div class="method-description">
184
+ <p>
185
+ Called when requesting envelope bounderies before any values have been
186
+ added.
187
+ </p>
188
+ </div>
189
+ </div>
190
+
191
+
192
+ </div>
193
+
194
+
195
+ </div>
196
+
197
+
198
+ <div id="validator-badges">
199
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
200
+ </div>
201
+
202
+ </body>
204
203
  </html>
@@ -1,18 +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>raise_no_envelope (BaseEnvelope)</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/envelope.rb, line 18</span>
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>raise_no_envelope (BaseEnvelope)</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/envelope.rb, line 18</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">raise_no_envelope</span>
15
15
  <span class="ruby-identifier">raise</span> <span class="ruby-constant">EnvelopeException</span>, <span class="ruby-value str">&quot;No values are enveloped&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
18
  </html>
@@ -1,20 +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>raise_no_compare (BaseEnvelope)</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/envelope.rb, line 24</span>
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>raise_no_compare (BaseEnvelope)</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/envelope.rb, line 24</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">raise_no_compare</span>(<span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span>)
15
15
  <span class="ruby-identifier">value</span> = <span class="ruby-node">&quot;'#{value}' &quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
16
16
  <span class="ruby-identifier">raise</span> <span class="ruby-constant">EnvelopeException</span>,
17
17
  <span class="ruby-node">&quot;The value #{value}cannot be compared with the envelope&quot;</span>
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </body>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
20
  </html>