eymiha_util 0.1.5 → 0.1.6

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 +203 -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/Enum.html +133 -0
  7. data/html/classes/Envelope.html +328 -328
  8. data/html/classes/Envelope.src/M000016.html +15 -15
  9. data/html/classes/Envelope.src/M000017.html +15 -15
  10. data/html/classes/Envelope.src/M000018.html +15 -15
  11. data/html/classes/Envelope.src/M000019.html +15 -15
  12. data/html/classes/Envelope.src/M000020.html +15 -15
  13. data/html/classes/Envelope.src/M000021.html +15 -15
  14. data/html/classes/Envelope.src/M000023.html +15 -15
  15. data/html/classes/EnvelopeException.html +118 -118
  16. data/html/classes/ForwardReference.html +203 -203
  17. data/html/classes/ForwardReference.src/M000024.html +20 -20
  18. data/html/classes/ForwardReference.src/M000025.html +17 -17
  19. data/html/classes/ForwardReferencer.html +173 -173
  20. data/html/classes/ForwardReferencing.html +319 -319
  21. data/html/classes/ForwardReferencing.src/M000026.html +19 -19
  22. data/html/classes/ForwardReferencing.src/M000027.html +19 -19
  23. data/html/classes/ForwardReferencing.src/M000028.html +19 -19
  24. data/html/classes/ForwardReferencing.src/M000029.html +31 -31
  25. data/html/classes/ForwardReferencing.src/M000030.html +17 -17
  26. data/html/classes/ForwardReferencing.src/M000031.html +24 -24
  27. data/html/classes/ForwardReferencing.src/M000032.html +17 -17
  28. data/html/classes/ForwardReferencing.src/M000033.html +17 -17
  29. data/html/classes/ForwardReferencing.src/M000034.html +17 -17
  30. data/html/classes/Histogram.html +324 -324
  31. data/html/classes/Histogram.src/M000007.html +15 -15
  32. data/html/classes/Histogram.src/M000008.html +15 -15
  33. data/html/classes/Histogram.src/M000009.html +15 -15
  34. data/html/classes/Histogram.src/M000010.html +15 -15
  35. data/html/classes/Histogram.src/M000011.html +15 -15
  36. data/html/classes/Histogram.src/M000012.html +15 -15
  37. data/html/classes/Histogram.src/M000013.html +15 -15
  38. data/html/classes/Histogram.src/M000014.html +15 -15
  39. data/html/classes/Histogram.src/M000015.html +15 -15
  40. data/html/classes/HistogramException.html +117 -117
  41. data/html/classes/MethodicHash.html +221 -221
  42. data/html/classes/MethodicHash.src/M000004.html +15 -15
  43. data/html/classes/MethodicHash.src/M000005.html +15 -15
  44. data/html/classes/MethodicHash.src/M000006.html +15 -15
  45. data/html/created.rid +1 -1
  46. data/html/files/lib/enum_rb.html +123 -0
  47. data/html/files/lib/envelope_rb.html +108 -108
  48. data/html/files/lib/forward_referencing_rb.html +119 -119
  49. data/html/files/lib/histogram_rb.html +108 -108
  50. data/html/files/lib/methodic_hash_rb.html +139 -139
  51. data/html/fr_class_index.html +35 -34
  52. data/html/fr_file_index.html +30 -29
  53. data/html/fr_method_index.html +59 -59
  54. data/html/index.html +23 -23
  55. data/html/rdoc-style.css +207 -207
  56. data/lib/enum.rb +57 -0
  57. data/test/tc_enum.rb +70 -0
  58. metadata +6 -2
@@ -1,109 +1,109 @@
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>File: histogram.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>histogram.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/histogram.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Thu May 10 16:17:56 -0400 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <p>
73
- Histograms have lots of uses - whenever you need to keep track of the
74
- occurences of items and how many times they&#8216;ve occured, a histogram
75
- is just what&#8216;s needed.
76
- </p>
77
-
78
- </div>
79
-
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
-
87
- <!-- if includes -->
88
-
89
- <div id="section">
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <!-- if method_list -->
99
-
100
-
101
- </div>
102
-
103
-
104
- <div id="validator-badges">
105
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
106
- </div>
107
-
108
- </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>File: histogram.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>histogram.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/histogram.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Thu May 10 16:17:56 -0400 2007</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ Histograms have lots of uses - whenever you need to keep track of the
74
+ occurences of items and how many times they&#8216;ve occured, a histogram
75
+ is just what&#8216;s needed.
76
+ </p>
77
+
78
+ </div>
79
+
80
+
81
+ </div>
82
+
83
+
84
+ </div>
85
+
86
+
87
+ <!-- if includes -->
88
+
89
+ <div id="section">
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <!-- if method_list -->
99
+
100
+
101
+ </div>
102
+
103
+
104
+ <div id="validator-badges">
105
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
106
+ </div>
107
+
108
+ </body>
109
109
  </html>
@@ -1,140 +1,140 @@
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>File: methodic_hash.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>methodic_hash.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/methodic_hash.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Fri Jun 08 10:23:50 -0400 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <p>
73
- The <a href="../../classes/MethodicHash.html">MethodicHash</a> is some
74
- method_missing magic that uses method names as hash keys, so hash
75
- assignment and lookup appear to be attribute writing and reading. For
76
- instance, if
77
- </p>
78
- <pre>
79
- mh = MethodicHash.new
80
- mh['four'] = 'iv'
81
- mh[:seven] = 'vii'
82
- mh.eighteen = 'xviii'
83
- </pre>
84
- <p>
85
- then
86
- </p>
87
- <pre>
88
- mh['four'] ---&gt; 'iv'
89
- mh[:four] ---&gt; 'iv'
90
- mh.four ---&gt; 'iv'
91
- mh['seven'] ---&gt; 'vii'
92
- mh[:seven] ---&gt; 'vii'
93
- mh.seven ---&gt; 'vii'
94
- mh['eighteen'] ---&gt; 'xviii'
95
- mh[:eighteen] ---&gt; 'xviii'
96
- mh.eighteen ---&gt; 'xviii'
97
- </pre>
98
- <p>
99
- This allows access to simply declared facts to be embedded in Ruby code and
100
- leverages the possibility of hashing procs.
101
- </p>
102
- <p>
103
- Note that if the hash uses anything but strings or symbols as keys, the
104
- magic stands a good chance of failing, raising an error or acting in a
105
- bizarre manner. Note also that methods of the Hash cannot be used as
106
- &#8216;attribute&#8217; names.
107
- </p>
108
-
109
- </div>
110
-
111
-
112
- </div>
113
-
114
-
115
- </div>
116
-
117
-
118
- <!-- if includes -->
119
-
120
- <div id="section">
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
- <!-- if method_list -->
130
-
131
-
132
- </div>
133
-
134
-
135
- <div id="validator-badges">
136
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
137
- </div>
138
-
139
- </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>File: methodic_hash.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>methodic_hash.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/methodic_hash.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri Jun 08 10:23:50 -0400 2007</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ The <a href="../../classes/MethodicHash.html">MethodicHash</a> is some
74
+ method_missing magic that uses method names as hash keys, so hash
75
+ assignment and lookup appear to be attribute writing and reading. For
76
+ instance, if
77
+ </p>
78
+ <pre>
79
+ mh = MethodicHash.new
80
+ mh['four'] = 'iv'
81
+ mh[:seven] = 'vii'
82
+ mh.eighteen = 'xviii'
83
+ </pre>
84
+ <p>
85
+ then
86
+ </p>
87
+ <pre>
88
+ mh['four'] ---&gt; 'iv'
89
+ mh[:four] ---&gt; 'iv'
90
+ mh.four ---&gt; 'iv'
91
+ mh['seven'] ---&gt; 'vii'
92
+ mh[:seven] ---&gt; 'vii'
93
+ mh.seven ---&gt; 'vii'
94
+ mh['eighteen'] ---&gt; 'xviii'
95
+ mh[:eighteen] ---&gt; 'xviii'
96
+ mh.eighteen ---&gt; 'xviii'
97
+ </pre>
98
+ <p>
99
+ This allows access to simply declared facts to be embedded in Ruby code and
100
+ leverages the possibility of hashing procs.
101
+ </p>
102
+ <p>
103
+ Note that if the hash uses anything but strings or symbols as keys, the
104
+ magic stands a good chance of failing, raising an error or acting in a
105
+ bizarre manner. Note also that methods of the Hash cannot be used as
106
+ &#8216;attribute&#8217; names.
107
+ </p>
108
+
109
+ </div>
110
+
111
+
112
+ </div>
113
+
114
+
115
+ </div>
116
+
117
+
118
+ <!-- if includes -->
119
+
120
+ <div id="section">
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ <!-- if method_list -->
130
+
131
+
132
+ </div>
133
+
134
+
135
+ <div id="validator-badges">
136
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
137
+ </div>
138
+
139
+ </body>
140
140
  </html>