eymiha_util 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/gem_package.rb +1 -1
  2. data/html/classes/Eymiha.html +150 -158
  3. data/html/classes/Eymiha/BaseEnvelope.html +203 -203
  4. data/html/classes/Eymiha/BaseEnvelope.src/M000015.html +17 -19
  5. data/html/classes/Eymiha/BaseEnvelope.src/M000016.html +19 -17
  6. data/html/classes/Eymiha/{Envelope.src/M000051.html → BaseEnvelope.src/M000017.html} +17 -17
  7. data/html/classes/Eymiha/EasyLog.html +272 -245
  8. data/html/classes/Eymiha/EasyLog.src/M000001.html +15 -15
  9. data/html/classes/Eymiha/EasyLog.src/M000002.html +15 -15
  10. data/html/classes/Eymiha/EasyLog.src/M000003.html +15 -15
  11. data/html/classes/Eymiha/EasyLog.src/M000004.html +15 -15
  12. data/html/classes/Eymiha/{StringMapFormat.src/M000025.html → EasyLog.src/M000005.html} +17 -16
  13. data/html/classes/Eymiha/EasyLogFormatter.html +191 -191
  14. data/html/classes/Eymiha/EasyLogFormatter.src/M000018.html +20 -17
  15. data/html/classes/Eymiha/EasyLogFormatter.src/M000019.html +17 -17
  16. data/html/classes/Eymiha/EasyLogFormatter.src/M000020.html +20 -0
  17. data/html/classes/Eymiha/EasyLogger.html +246 -217
  18. data/html/classes/Eymiha/EasyLogger.src/{M000032.html → M000024.html} +15 -15
  19. data/html/classes/Eymiha/EasyLogger.src/{M000033.html → M000025.html} +17 -17
  20. data/html/classes/Eymiha/EasyLogger.src/{M000034.html → M000026.html} +15 -15
  21. data/html/classes/Eymiha/EasyLogger.src/M000027.html +18 -0
  22. data/html/classes/Eymiha/Enum.html +110 -110
  23. data/html/classes/Eymiha/Envelope.html +328 -328
  24. data/html/classes/Eymiha/{BaseEnvelope.src/M000014.html → Envelope.src/M000037.html} +18 -17
  25. data/html/classes/Eymiha/Envelope.src/{M000045.html → M000038.html} +15 -15
  26. data/html/classes/Eymiha/Envelope.src/{M000046.html → M000039.html} +15 -15
  27. data/html/classes/Eymiha/Envelope.src/{M000047.html → M000040.html} +15 -15
  28. data/html/classes/Eymiha/Envelope.src/{M000048.html → M000041.html} +15 -15
  29. data/html/classes/Eymiha/Envelope.src/{M000049.html → M000042.html} +15 -15
  30. data/html/classes/Eymiha/Envelope.src/M000044.html +17 -18
  31. data/html/classes/Eymiha/EnvelopeException.html +118 -118
  32. data/html/classes/Eymiha/ForwardReference.html +203 -203
  33. data/html/classes/Eymiha/ForwardReference.src/{M000054.html → M000045.html} +20 -20
  34. data/html/classes/Eymiha/ForwardReference.src/{M000055.html → M000046.html} +17 -17
  35. data/html/classes/Eymiha/ForwardReferencer.html +180 -180
  36. data/html/classes/Eymiha/ForwardReferencing.html +319 -319
  37. data/html/classes/Eymiha/ForwardReferencing.src/M000006.html +19 -19
  38. data/html/classes/Eymiha/ForwardReferencing.src/M000007.html +19 -19
  39. data/html/classes/Eymiha/ForwardReferencing.src/M000008.html +19 -31
  40. data/html/classes/Eymiha/ForwardReferencing.src/M000009.html +31 -17
  41. data/html/classes/Eymiha/ForwardReferencing.src/M000010.html +17 -24
  42. data/html/classes/Eymiha/ForwardReferencing.src/M000011.html +24 -17
  43. data/html/classes/Eymiha/ForwardReferencing.src/M000012.html +17 -17
  44. data/html/classes/Eymiha/ForwardReferencing.src/M000013.html +17 -17
  45. data/html/classes/Eymiha/ForwardReferencing.src/M000014.html +18 -0
  46. data/html/classes/Eymiha/Histogram.html +324 -324
  47. data/html/classes/Eymiha/Histogram.src/M000028.html +19 -0
  48. data/html/classes/Eymiha/Histogram.src/M000029.html +21 -0
  49. data/html/classes/Eymiha/Histogram.src/{M000037.html → M000030.html} +15 -15
  50. data/html/classes/Eymiha/Histogram.src/{M000038.html → M000031.html} +15 -15
  51. data/html/classes/Eymiha/Histogram.src/{M000039.html → M000032.html} +15 -15
  52. data/html/classes/Eymiha/Histogram.src/{M000040.html → M000033.html} +15 -15
  53. data/html/classes/Eymiha/Histogram.src/{M000041.html → M000034.html} +15 -15
  54. data/html/classes/Eymiha/Histogram.src/M000035.html +19 -18
  55. data/html/classes/Eymiha/Histogram.src/M000036.html +23 -20
  56. data/html/classes/Eymiha/HistogramException.html +117 -117
  57. data/html/classes/Eymiha/MethodicHash.html +221 -221
  58. data/html/classes/Eymiha/MethodicHash.src/{M000026.html → M000021.html} +15 -15
  59. data/html/classes/Eymiha/MethodicHash.src/{M000027.html → M000022.html} +15 -15
  60. data/html/classes/Eymiha/MethodicHash.src/{M000028.html → M000023.html} +15 -15
  61. data/html/created.rid +1 -1
  62. data/html/files/lib/eymiha/util/easylog_rb.html +115 -115
  63. data/html/files/lib/eymiha/util/enum_rb.html +122 -122
  64. data/html/files/lib/eymiha/util/envelope_rb.html +108 -108
  65. data/html/files/lib/eymiha/util/forward_referencing_rb.html +117 -117
  66. data/html/files/lib/eymiha/util/histogram_rb.html +108 -108
  67. data/html/files/lib/eymiha/util/methodic_hash_rb.html +100 -100
  68. data/html/files/lib/eymiha/util_rb.html +112 -112
  69. data/html/fr_class_index.html +39 -43
  70. data/html/fr_file_index.html +32 -33
  71. data/html/fr_method_index.html +71 -80
  72. data/html/index.html +23 -23
  73. data/html/rdoc-style.css +207 -207
  74. data/lib/eymiha/util/easylog.rb +59 -14
  75. data/test/tc_easylog.rb +200 -0
  76. metadata +75 -86
  77. data/html/classes/Eymiha/EasyLogFormatter.src/M000017.html +0 -21
  78. data/html/classes/Eymiha/ForwardReferencing.src/M000005.html +0 -20
  79. data/html/classes/Eymiha/Histogram.src/M000042.html +0 -20
  80. data/html/classes/Eymiha/Histogram.src/M000043.html +0 -24
  81. data/html/classes/Eymiha/StringMap.html +0 -184
  82. data/html/classes/Eymiha/StringMap.src/M000029.html +0 -18
  83. data/html/classes/Eymiha/StringMap.src/M000030.html +0 -18
  84. data/html/classes/Eymiha/StringMap.src/M000031.html +0 -18
  85. data/html/classes/Eymiha/StringMapException.html +0 -111
  86. data/html/classes/Eymiha/StringMapFormat.html +0 -227
  87. data/html/classes/Eymiha/StringMapFormat.src/M000020.html +0 -20
  88. data/html/classes/Eymiha/StringMapFormat.src/M000021.html +0 -19
  89. data/html/classes/Eymiha/StringMapFormat.src/M000022.html +0 -18
  90. data/html/classes/Eymiha/StringMapFormat.src/M000023.html +0 -22
  91. data/html/classes/Eymiha/StringMapFormat.src/M000024.html +0 -19
  92. data/html/classes/Eymiha/StringMapFormatItem.html +0 -156
  93. data/html/classes/Eymiha/StringMapFormatItem.src/M000052.html +0 -21
  94. data/html/classes/Eymiha/StringMapFormatItem.src/M000053.html +0 -18
  95. data/html/files/lib/eymiha/util/string_map_rb.html +0 -101
  96. data/lib/eymiha/util/string_map.rb +0 -78
@@ -1,22 +1,22 @@
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 (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 62</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>new (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 72</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">logdev</span>, <span class="ruby-identifier">shift_age</span> = <span class="ruby-value str">'weekly'</span>, <span class="ruby-identifier">shift_size</span> = <span class="ruby-value">1048576</span>,
15
15
  <span class="ruby-identifier">subsecond_precision</span> = <span class="ruby-keyword kw">nil</span>)
16
16
  <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">logdev</span>, <span class="ruby-identifier">shift_age</span>, <span class="ruby-identifier">shift_size</span>)
17
17
  <span class="ruby-ivar">@formatter</span> = <span class="ruby-constant">EasyLogFormatter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">subsecond_precision</span>)
18
18
  <span class="ruby-ivar">@classify</span> = <span class="ruby-keyword kw">true</span>
19
19
  <span class="ruby-ivar">@@default_logger</span> = <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@@default_logger</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
22
  </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>change_logger (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 71</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">change_logger</span>(<span class="ruby-identifier">new</span>)
15
- <span class="ruby-identifier">old</span>, <span class="ruby-ivar">@@default_logger</span> = <span class="ruby-ivar">@@default_logger</span>, <span class="ruby-identifier">new</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </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>
7
+ <head>
8
+ <title>change_logger (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 81</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">change_logger</span>(<span class="ruby-identifier">logger</span>)
15
+ <span class="ruby-identifier">old</span>, <span class="ruby-ivar">@@default_logger</span> = <span class="ruby-ivar">@@default_logger</span>, <span class="ruby-identifier">logger</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
18
  </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>finish_logging (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 77</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>finish_logging (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 87</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">finish_logging</span>
15
15
  <span class="ruby-identifier">change_logger</span> <span class="ruby-keyword kw">nil</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>
@@ -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>level (Eymiha::EasyLogger)</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/eymiha/util/easylog.rb, line 92</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">level</span>
15
+ <span class="ruby-ivar">@@default_logger</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@@default_logger</span>.<span class="ruby-identifier">level</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -1,111 +1,111 @@
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: Eymiha::Enum</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">Eymiha::Enum</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/eymiha/util/enum_rb.html">
59
- lib/eymiha/util/enum.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
-
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
-
89
- <!-- if includes -->
90
-
91
- <div id="section">
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <!-- if method_list -->
101
-
102
-
103
- </div>
104
-
105
-
106
- <div id="validator-badges">
107
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
- </div>
109
-
110
- </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: Eymiha::Enum</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">Eymiha::Enum</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/eymiha/util/enum_rb.html">
59
+ lib/eymiha/util/enum.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
+
82
+
83
+ </div>
84
+
85
+
86
+ </div>
87
+
88
+
89
+ <!-- if includes -->
90
+
91
+ <div id="section">
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <!-- if method_list -->
101
+
102
+
103
+ </div>
104
+
105
+
106
+ <div id="validator-badges">
107
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
+ </div>
109
+
110
+ </body>
111
111
  </html>
@@ -1,329 +1,329 @@
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: Eymiha::Envelope</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">Eymiha::Envelope</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/eymiha/util/envelope_rb.html">
59
- lib/eymiha/util/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
- <a href="BaseEnvelope.html">
69
- BaseEnvelope
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
-
83
- <div id="description">
84
- <p>
85
- An <a href="Envelope.html">Envelope</a> is the minimum envelope that will
86
- completely contain a set of values. Values may be added to an instance, and
87
- it can return the number of values considered so far and its <a
88
- href="Envelope.html#M000047">high</a> and <a
89
- href="Envelope.html#M000048">low</a> boundaries.
90
- </p>
91
- <p>
92
- Envelopes can be used to generate ranges, however the result may be of
93
- limited utility if the types of values being enveloped don&#8216;t play
94
- nicely with ranges.
95
- </p>
96
-
97
- </div>
98
-
99
-
100
- </div>
101
-
102
- <div id="method-list">
103
- <h3 class="section-bar">Methods</h3>
104
-
105
- <div class="name-list">
106
- <a href="#M000050">===</a>&nbsp;&nbsp;
107
- <a href="#M000046">add</a>&nbsp;&nbsp;
108
- <a href="#M000049">contains?</a>&nbsp;&nbsp;
109
- <a href="#M000047">high</a>&nbsp;&nbsp;
110
- <a href="#M000048">low</a>&nbsp;&nbsp;
111
- <a href="#M000044">new</a>&nbsp;&nbsp;
112
- <a href="#M000051">to_range</a>&nbsp;&nbsp;
113
- <a href="#M000045">to_s</a>&nbsp;&nbsp;
114
- </div>
115
- </div>
116
-
117
- </div>
118
-
119
-
120
- <!-- if includes -->
121
-
122
- <div id="section">
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <!-- if method_list -->
132
- <div id="methods">
133
- <h3 class="section-bar">Public Class methods</h3>
134
-
135
- <div id="method-M000044" class="method-detail">
136
- <a name="M000044"></a>
137
-
138
- <div class="method-heading">
139
- <a href="Envelope.src/M000044.html" target="Code" class="method-signature"
140
- onclick="popupCode('Envelope.src/M000044.html');return false;">
141
- <span class="method-name">new</span><span class="method-args">(value=nil)</span>
142
- </a>
143
- </div>
144
-
145
- <div class="method-description">
146
- <p>
147
- Creates and returns an instance. If an argument is given, it is passed to
148
- the set method to initialize the <a href="Envelope.html#M000044">new</a>
149
- instance.
150
- </p>
151
- </div>
152
- </div>
153
-
154
- <h3 class="section-bar">Public Instance methods</h3>
155
-
156
- <div id="method-M000050" class="method-detail">
157
- <a name="M000050"></a>
158
-
159
- <div class="method-heading">
160
- <span class="method-name">===</span><span class="method-args">(value)</span>
161
- </div>
162
-
163
- <div class="method-description">
164
- <p>
165
- Alias for contains?
166
- </p>
167
- </div>
168
- </div>
169
-
170
- <div id="method-M000046" class="method-detail">
171
- <a name="M000046"></a>
172
-
173
- <div class="method-heading">
174
- <a href="Envelope.src/M000046.html" target="Code" class="method-signature"
175
- onclick="popupCode('Envelope.src/M000046.html');return false;">
176
- <span class="method-name">add</span><span class="method-args">(value)</span>
177
- </a>
178
- </div>
179
-
180
- <div class="method-description">
181
- <p>
182
- Adds a value to the instance. When
183
- </p>
184
- <ul>
185
- <li>x is an <a href="Envelope.html">Envelope</a>, it is coalesced into the
186
- instance.
187
-
188
- </li>
189
- <li>otherwise, the envelope is extened to contain the value.
190
-
191
- </li>
192
- <li>if the value cannot be compared to the boundaries, an <a
193
- href="EnvelopeException.html">EnvelopeException</a> is raised.
194
-
195
- </li>
196
- </ul>
197
- <p>
198
- The modified instance is returned.
199
- </p>
200
- </div>
201
- </div>
202
-
203
- <div id="method-M000049" class="method-detail">
204
- <a name="M000049"></a>
205
-
206
- <div class="method-heading">
207
- <a href="Envelope.src/M000049.html" target="Code" class="method-signature"
208
- onclick="popupCode('Envelope.src/M000049.html');return false;">
209
- <span class="method-name">contains?</span><span class="method-args">(value)</span>
210
- </a>
211
- </div>
212
-
213
- <div class="method-description">
214
- <p>
215
- Returns true if the instance completely contains the argument:
216
- </p>
217
- <ul>
218
- <li>value is an <a href="Envelope.html">Envelope</a>, its <a
219
- href="Envelope.html#M000047">high</a> and <a
220
- href="Envelope.html#M000048">low</a> are contained.
221
-
222
- </li>
223
- <li>otherwise, the value is contained.
224
-
225
- </li>
226
- <li>if the value cannot be compared to the boundaries, an <a
227
- href="EnvelopeException.html">EnvelopeException</a> is raised.
228
-
229
- </li>
230
- </ul>
231
- </div>
232
- </div>
233
-
234
- <div id="method-M000047" class="method-detail">
235
- <a name="M000047"></a>
236
-
237
- <div class="method-heading">
238
- <a href="Envelope.src/M000047.html" target="Code" class="method-signature"
239
- onclick="popupCode('Envelope.src/M000047.html');return false;">
240
- <span class="method-name">high</span><span class="method-args">()</span>
241
- </a>
242
- </div>
243
-
244
- <div class="method-description">
245
- <p>
246
- Returns the <a href="Envelope.html#M000047">high</a> boundary of the
247
- instance.
248
- </p>
249
- <ul>
250
- <li>if there are no boundaries, an <a
251
- href="EnvelopeException.html">EnvelopeException</a> is raised.
252
-
253
- </li>
254
- </ul>
255
- </div>
256
- </div>
257
-
258
- <div id="method-M000048" class="method-detail">
259
- <a name="M000048"></a>
260
-
261
- <div class="method-heading">
262
- <a href="Envelope.src/M000048.html" target="Code" class="method-signature"
263
- onclick="popupCode('Envelope.src/M000048.html');return false;">
264
- <span class="method-name">low</span><span class="method-args">()</span>
265
- </a>
266
- </div>
267
-
268
- <div class="method-description">
269
- <p>
270
- Returns the <a href="Envelope.html#M000048">low</a> boundary of the
271
- instance.
272
- </p>
273
- <ul>
274
- <li>if there are no boundaries, an <a
275
- href="EnvelopeException.html">EnvelopeException</a> is raised.
276
-
277
- </li>
278
- </ul>
279
- </div>
280
- </div>
281
-
282
- <div id="method-M000051" class="method-detail">
283
- <a name="M000051"></a>
284
-
285
- <div class="method-heading">
286
- <a href="Envelope.src/M000051.html" target="Code" class="method-signature"
287
- onclick="popupCode('Envelope.src/M000051.html');return false;">
288
- <span class="method-name">to_range</span><span class="method-args">()</span>
289
- </a>
290
- </div>
291
-
292
- <div class="method-description">
293
- <p>
294
- Returns an inclusive range from the <a href="Envelope.html#M000048">low</a>
295
- to <a href="Envelope.html#M000047">high</a> boundaries
296
- </p>
297
- </div>
298
- </div>
299
-
300
- <div id="method-M000045" class="method-detail">
301
- <a name="M000045"></a>
302
-
303
- <div class="method-heading">
304
- <a href="Envelope.src/M000045.html" target="Code" class="method-signature"
305
- onclick="popupCode('Envelope.src/M000045.html');return false;">
306
- <span class="method-name">to_s</span><span class="method-args">()</span>
307
- </a>
308
- </div>
309
-
310
- <div class="method-description">
311
- <p>
312
- Returns a string representation of the instance.
313
- </p>
314
- </div>
315
- </div>
316
-
317
-
318
- </div>
319
-
320
-
321
- </div>
322
-
323
-
324
- <div id="validator-badges">
325
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
326
- </div>
327
-
328
- </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: Eymiha::Envelope</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">Eymiha::Envelope</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/eymiha/util/envelope_rb.html">
59
+ lib/eymiha/util/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
+ <a href="BaseEnvelope.html">
69
+ BaseEnvelope
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
+
83
+ <div id="description">
84
+ <p>
85
+ An <a href="Envelope.html">Envelope</a> is the minimum envelope that will
86
+ completely contain a set of values. Values may be added to an instance, and
87
+ it can return the number of values considered so far and its <a
88
+ href="Envelope.html#M000040">high</a> and <a
89
+ href="Envelope.html#M000041">low</a> boundaries.
90
+ </p>
91
+ <p>
92
+ Envelopes can be used to generate ranges, however the result may be of
93
+ limited utility if the types of values being enveloped don&#8216;t play
94
+ nicely with ranges.
95
+ </p>
96
+
97
+ </div>
98
+
99
+
100
+ </div>
101
+
102
+ <div id="method-list">
103
+ <h3 class="section-bar">Methods</h3>
104
+
105
+ <div class="name-list">
106
+ <a href="#M000043">===</a>&nbsp;&nbsp;
107
+ <a href="#M000039">add</a>&nbsp;&nbsp;
108
+ <a href="#M000042">contains?</a>&nbsp;&nbsp;
109
+ <a href="#M000040">high</a>&nbsp;&nbsp;
110
+ <a href="#M000041">low</a>&nbsp;&nbsp;
111
+ <a href="#M000037">new</a>&nbsp;&nbsp;
112
+ <a href="#M000044">to_range</a>&nbsp;&nbsp;
113
+ <a href="#M000038">to_s</a>&nbsp;&nbsp;
114
+ </div>
115
+ </div>
116
+
117
+ </div>
118
+
119
+
120
+ <!-- if includes -->
121
+
122
+ <div id="section">
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ <!-- if method_list -->
132
+ <div id="methods">
133
+ <h3 class="section-bar">Public Class methods</h3>
134
+
135
+ <div id="method-M000037" class="method-detail">
136
+ <a name="M000037"></a>
137
+
138
+ <div class="method-heading">
139
+ <a href="Envelope.src/M000037.html" target="Code" class="method-signature"
140
+ onclick="popupCode('Envelope.src/M000037.html');return false;">
141
+ <span class="method-name">new</span><span class="method-args">(value=nil)</span>
142
+ </a>
143
+ </div>
144
+
145
+ <div class="method-description">
146
+ <p>
147
+ Creates and returns an instance. If an argument is given, it is passed to
148
+ the set method to initialize the <a href="Envelope.html#M000037">new</a>
149
+ instance.
150
+ </p>
151
+ </div>
152
+ </div>
153
+
154
+ <h3 class="section-bar">Public Instance methods</h3>
155
+
156
+ <div id="method-M000043" class="method-detail">
157
+ <a name="M000043"></a>
158
+
159
+ <div class="method-heading">
160
+ <span class="method-name">===</span><span class="method-args">(value)</span>
161
+ </div>
162
+
163
+ <div class="method-description">
164
+ <p>
165
+ Alias for contains?
166
+ </p>
167
+ </div>
168
+ </div>
169
+
170
+ <div id="method-M000039" class="method-detail">
171
+ <a name="M000039"></a>
172
+
173
+ <div class="method-heading">
174
+ <a href="Envelope.src/M000039.html" target="Code" class="method-signature"
175
+ onclick="popupCode('Envelope.src/M000039.html');return false;">
176
+ <span class="method-name">add</span><span class="method-args">(value)</span>
177
+ </a>
178
+ </div>
179
+
180
+ <div class="method-description">
181
+ <p>
182
+ Adds a value to the instance. When
183
+ </p>
184
+ <ul>
185
+ <li>x is an <a href="Envelope.html">Envelope</a>, it is coalesced into the
186
+ instance.
187
+
188
+ </li>
189
+ <li>otherwise, the envelope is extened to contain the value.
190
+
191
+ </li>
192
+ <li>if the value cannot be compared to the boundaries, an <a
193
+ href="EnvelopeException.html">EnvelopeException</a> is raised.
194
+
195
+ </li>
196
+ </ul>
197
+ <p>
198
+ The modified instance is returned.
199
+ </p>
200
+ </div>
201
+ </div>
202
+
203
+ <div id="method-M000042" class="method-detail">
204
+ <a name="M000042"></a>
205
+
206
+ <div class="method-heading">
207
+ <a href="Envelope.src/M000042.html" target="Code" class="method-signature"
208
+ onclick="popupCode('Envelope.src/M000042.html');return false;">
209
+ <span class="method-name">contains?</span><span class="method-args">(value)</span>
210
+ </a>
211
+ </div>
212
+
213
+ <div class="method-description">
214
+ <p>
215
+ Returns true if the instance completely contains the argument:
216
+ </p>
217
+ <ul>
218
+ <li>value is an <a href="Envelope.html">Envelope</a>, its <a
219
+ href="Envelope.html#M000040">high</a> and <a
220
+ href="Envelope.html#M000041">low</a> are contained.
221
+
222
+ </li>
223
+ <li>otherwise, the value is contained.
224
+
225
+ </li>
226
+ <li>if the value cannot be compared to the boundaries, an <a
227
+ href="EnvelopeException.html">EnvelopeException</a> is raised.
228
+
229
+ </li>
230
+ </ul>
231
+ </div>
232
+ </div>
233
+
234
+ <div id="method-M000040" class="method-detail">
235
+ <a name="M000040"></a>
236
+
237
+ <div class="method-heading">
238
+ <a href="Envelope.src/M000040.html" target="Code" class="method-signature"
239
+ onclick="popupCode('Envelope.src/M000040.html');return false;">
240
+ <span class="method-name">high</span><span class="method-args">()</span>
241
+ </a>
242
+ </div>
243
+
244
+ <div class="method-description">
245
+ <p>
246
+ Returns the <a href="Envelope.html#M000040">high</a> boundary of the
247
+ instance.
248
+ </p>
249
+ <ul>
250
+ <li>if there are no boundaries, an <a
251
+ href="EnvelopeException.html">EnvelopeException</a> is raised.
252
+
253
+ </li>
254
+ </ul>
255
+ </div>
256
+ </div>
257
+
258
+ <div id="method-M000041" class="method-detail">
259
+ <a name="M000041"></a>
260
+
261
+ <div class="method-heading">
262
+ <a href="Envelope.src/M000041.html" target="Code" class="method-signature"
263
+ onclick="popupCode('Envelope.src/M000041.html');return false;">
264
+ <span class="method-name">low</span><span class="method-args">()</span>
265
+ </a>
266
+ </div>
267
+
268
+ <div class="method-description">
269
+ <p>
270
+ Returns the <a href="Envelope.html#M000041">low</a> boundary of the
271
+ instance.
272
+ </p>
273
+ <ul>
274
+ <li>if there are no boundaries, an <a
275
+ href="EnvelopeException.html">EnvelopeException</a> is raised.
276
+
277
+ </li>
278
+ </ul>
279
+ </div>
280
+ </div>
281
+
282
+ <div id="method-M000044" class="method-detail">
283
+ <a name="M000044"></a>
284
+
285
+ <div class="method-heading">
286
+ <a href="Envelope.src/M000044.html" target="Code" class="method-signature"
287
+ onclick="popupCode('Envelope.src/M000044.html');return false;">
288
+ <span class="method-name">to_range</span><span class="method-args">()</span>
289
+ </a>
290
+ </div>
291
+
292
+ <div class="method-description">
293
+ <p>
294
+ Returns an inclusive range from the <a href="Envelope.html#M000041">low</a>
295
+ to <a href="Envelope.html#M000040">high</a> boundaries
296
+ </p>
297
+ </div>
298
+ </div>
299
+
300
+ <div id="method-M000038" class="method-detail">
301
+ <a name="M000038"></a>
302
+
303
+ <div class="method-heading">
304
+ <a href="Envelope.src/M000038.html" target="Code" class="method-signature"
305
+ onclick="popupCode('Envelope.src/M000038.html');return false;">
306
+ <span class="method-name">to_s</span><span class="method-args">()</span>
307
+ </a>
308
+ </div>
309
+
310
+ <div class="method-description">
311
+ <p>
312
+ Returns a string representation of the instance.
313
+ </p>
314
+ </div>
315
+ </div>
316
+
317
+
318
+ </div>
319
+
320
+
321
+ </div>
322
+
323
+
324
+ <div id="validator-badges">
325
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
326
+ </div>
327
+
328
+ </body>
329
329
  </html>