eymiha_util 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
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,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>start_forward_referencing (ForwardReferencing)</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 18</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_forward_referencing</span>
15
- <span class="ruby-identifier">forward_references_clear</span>
16
- <span class="ruby-ivar">@had_forward_reference_resolution</span> = <span class="ruby-keyword kw">false</span>
17
- <span class="ruby-ivar">@forward_reference_resolver</span> = <span class="ruby-keyword kw">nil</span>
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </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>start_forward_referencing (ForwardReferencing)</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 18</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_forward_referencing</span>
15
+ <span class="ruby-identifier">forward_references_clear</span>
16
+ <span class="ruby-ivar">@had_forward_reference_resolution</span> = <span class="ruby-keyword kw">false</span>
17
+ <span class="ruby-ivar">@forward_reference_resolver</span> = <span class="ruby-keyword kw">nil</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
20
  </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>create_forward_reference (ForwardReferencing)</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 27</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_forward_reference</span>(<span class="ruby-identifier">dependency</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">context</span>=<span class="ruby-keyword kw">nil</span>)
15
- <span class="ruby-identifier">forward_reference</span> = <span class="ruby-constant">ForwardReference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">dependency</span>,<span class="ruby-identifier">context</span>)
16
- <span class="ruby-ivar">@forward_references</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">forward_reference</span>
17
- <span class="ruby-identifier">forward_reference</span>
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </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>create_forward_reference (ForwardReferencing)</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 27</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_forward_reference</span>(<span class="ruby-identifier">dependency</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">context</span>=<span class="ruby-keyword kw">nil</span>)
15
+ <span class="ruby-identifier">forward_reference</span> = <span class="ruby-constant">ForwardReference</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">dependency</span>,<span class="ruby-identifier">context</span>)
16
+ <span class="ruby-ivar">@forward_references</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">forward_reference</span>
17
+ <span class="ruby-identifier">forward_reference</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
20
  </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>remove_forward_reference (ForwardReferencing)</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 37</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_forward_reference</span>(<span class="ruby-identifier">forward_reference</span>=<span class="ruby-keyword kw">nil</span>)
15
- <span class="ruby-ivar">@forward_references</span>.<span class="ruby-identifier">delete</span> <span class="ruby-identifier">forward_reference</span> <span class="ruby-keyword kw">if</span>
16
- (<span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">ForwardReference</span>)
17
- <span class="ruby-ivar">@had_forward_reference_resolution</span> = <span class="ruby-keyword kw">true</span>
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </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>remove_forward_reference (ForwardReferencing)</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 37</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_forward_reference</span>(<span class="ruby-identifier">forward_reference</span>=<span class="ruby-keyword kw">nil</span>)
15
+ <span class="ruby-ivar">@forward_references</span>.<span class="ruby-identifier">delete</span> <span class="ruby-identifier">forward_reference</span> <span class="ruby-keyword kw">if</span>
16
+ (<span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">ForwardReference</span>)
17
+ <span class="ruby-ivar">@had_forward_reference_resolution</span> = <span class="ruby-keyword kw">true</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
20
  </html>
@@ -1,32 +1,32 @@
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>resolve_forward_references (ForwardReferencing)</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 51</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve_forward_references</span>
15
- <span class="ruby-identifier">forward_references</span> = <span class="ruby-ivar">@forward_references</span>
16
- <span class="ruby-identifier">forward_references_clear</span>
17
- <span class="ruby-ivar">@had_forward_reference_resolution</span> = <span class="ruby-keyword kw">false</span>
18
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">forward_references</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
19
- <span class="ruby-ivar">@forward_reference_resolver</span> <span class="ruby-operator">||=</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>
20
- (<span class="ruby-ivar">@forward_reference_resolver</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>)
21
- <span class="ruby-identifier">forward_reference</span> = <span class="ruby-identifier">forward_references</span>.<span class="ruby-identifier">shift</span>
22
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">forward_reference</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
23
- <span class="ruby-identifier">establish_forward_reference_context</span>(<span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">context</span>) <span class="ruby-keyword kw">if</span>
24
- <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:establish_forward_reference_context</span>,<span class="ruby-keyword kw">true</span>)
25
- <span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">continuation</span>.<span class="ruby-identifier">call</span>
26
- <span class="ruby-keyword kw">end</span>
27
- <span class="ruby-keyword kw">end</span>
28
- <span class="ruby-ivar">@forward_reference_resolver</span> = <span class="ruby-keyword kw">nil</span>
29
- <span class="ruby-identifier">resolve_forward_references</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@had_forward_reference_resolution</span>
30
- <span class="ruby-keyword kw">end</span></pre>
31
- </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>resolve_forward_references (ForwardReferencing)</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 51</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve_forward_references</span>
15
+ <span class="ruby-identifier">forward_references</span> = <span class="ruby-ivar">@forward_references</span>
16
+ <span class="ruby-identifier">forward_references_clear</span>
17
+ <span class="ruby-ivar">@had_forward_reference_resolution</span> = <span class="ruby-keyword kw">false</span>
18
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">forward_references</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
19
+ <span class="ruby-ivar">@forward_reference_resolver</span> <span class="ruby-operator">||=</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>
20
+ (<span class="ruby-ivar">@forward_reference_resolver</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>)
21
+ <span class="ruby-identifier">forward_reference</span> = <span class="ruby-identifier">forward_references</span>.<span class="ruby-identifier">shift</span>
22
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">forward_reference</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
23
+ <span class="ruby-identifier">establish_forward_reference_context</span>(<span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">context</span>) <span class="ruby-keyword kw">if</span>
24
+ <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:establish_forward_reference_context</span>,<span class="ruby-keyword kw">true</span>)
25
+ <span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">continuation</span>.<span class="ruby-identifier">call</span>
26
+ <span class="ruby-keyword kw">end</span>
27
+ <span class="ruby-keyword kw">end</span>
28
+ <span class="ruby-ivar">@forward_reference_resolver</span> = <span class="ruby-keyword kw">nil</span>
29
+ <span class="ruby-identifier">resolve_forward_references</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@had_forward_reference_resolution</span>
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
32
  </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>continue_forward_reference_resolution (ForwardReferencing)</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 72</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">continue_forward_reference_resolution</span>
15
- <span class="ruby-ivar">@forward_reference_resolver</span>.<span class="ruby-identifier">call</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@forward_reference_resolver</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>continue_forward_reference_resolution (ForwardReferencing)</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 72</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">continue_forward_reference_resolution</span>
15
+ <span class="ruby-ivar">@forward_reference_resolver</span>.<span class="ruby-identifier">call</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@forward_reference_resolver</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
18
  </html>
@@ -1,25 +1,25 @@
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>forward_reference_dependencies (ForwardReferencing)</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 78</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_reference_dependencies</span>
15
- <span class="ruby-identifier">dependencies</span> = {}
16
- <span class="ruby-ivar">@forward_references</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">forward_reference</span><span class="ruby-operator">|</span>
17
- <span class="ruby-identifier">dependency</span> = <span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">dependency</span> <span class="ruby-operator">||</span> <span class="ruby-value str">&quot;nil&quot;</span>
18
- <span class="ruby-identifier">forward_references</span> = <span class="ruby-identifier">dependencies</span>[<span class="ruby-identifier">dependency</span>]
19
- <span class="ruby-identifier">dependencies</span>[<span class="ruby-identifier">dependency</span>] = [] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">forward_references</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
20
- <span class="ruby-identifier">dependencies</span>[<span class="ruby-identifier">dependency</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">forward_reference</span>
21
- }
22
- <span class="ruby-identifier">dependencies</span>
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </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>forward_reference_dependencies (ForwardReferencing)</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 78</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_reference_dependencies</span>
15
+ <span class="ruby-identifier">dependencies</span> = {}
16
+ <span class="ruby-ivar">@forward_references</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">forward_reference</span><span class="ruby-operator">|</span>
17
+ <span class="ruby-identifier">dependency</span> = <span class="ruby-identifier">forward_reference</span>.<span class="ruby-identifier">dependency</span> <span class="ruby-operator">||</span> <span class="ruby-value str">&quot;nil&quot;</span>
18
+ <span class="ruby-identifier">forward_references</span> = <span class="ruby-identifier">dependencies</span>[<span class="ruby-identifier">dependency</span>]
19
+ <span class="ruby-identifier">dependencies</span>[<span class="ruby-identifier">dependency</span>] = [] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">forward_references</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
20
+ <span class="ruby-identifier">dependencies</span>[<span class="ruby-identifier">dependency</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">forward_reference</span>
21
+ }
22
+ <span class="ruby-identifier">dependencies</span>
23
+ <span class="ruby-keyword kw">end</span></pre>
24
+ </body>
25
25
  </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>forward_references_to_s (ForwardReferencing)</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 90</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_references_to_s</span>
15
- <span class="ruby-node">&quot;#{self_name} #{forward_references_remaining} unresolved&quot;</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>forward_references_to_s (ForwardReferencing)</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 90</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_references_to_s</span>
15
+ <span class="ruby-node">&quot;#{self_name} #{forward_references_remaining} unresolved&quot;</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>forward_references_remaining (ForwardReferencing)</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 95</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_references_remaining</span>
15
- <span class="ruby-ivar">@forward_references</span>.<span class="ruby-identifier">size</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>forward_references_remaining (ForwardReferencing)</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 95</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_references_remaining</span>
15
+ <span class="ruby-ivar">@forward_references</span>.<span class="ruby-identifier">size</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>forward_references_clear (ForwardReferencing)</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 100</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_references_clear</span>
15
- <span class="ruby-ivar">@forward_references</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>forward_references_clear (ForwardReferencing)</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 100</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">forward_references_clear</span>
15
+ <span class="ruby-ivar">@forward_references</span> = []
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
18
  </html>
@@ -1,325 +1,325 @@
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: Histogram</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">Histogram</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/histogram_rb.html">
59
- lib/histogram.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
- Hash
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="Histogram.html">Histogram</a> is a hash whose values are counts
84
- of the occurences of the keys.
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="#M000014">&lt;</a>&nbsp;&nbsp;
97
- <a href="#M000013">&lt;=</a>&nbsp;&nbsp;
98
- <a href="#M000015">==</a>&nbsp;&nbsp;
99
- <a href="#M000012">&gt;</a>&nbsp;&nbsp;
100
- <a href="#M000011">&gt;=</a>&nbsp;&nbsp;
101
- <a href="#M000009">add</a>&nbsp;&nbsp;
102
- <a href="#M000008">count</a>&nbsp;&nbsp;
103
- <a href="#M000010">key_count</a>&nbsp;&nbsp;
104
- <a href="#M000007">new</a>&nbsp;&nbsp;
105
- </div>
106
- </div>
107
-
108
- </div>
109
-
110
-
111
- <!-- if includes -->
112
-
113
- <div id="section">
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
- <!-- if method_list -->
123
- <div id="methods">
124
- <h3 class="section-bar">Public Class methods</h3>
125
-
126
- <div id="method-M000007" class="method-detail">
127
- <a name="M000007"></a>
128
-
129
- <div class="method-heading">
130
- <a href="Histogram.src/M000007.html" target="Code" class="method-signature"
131
- onclick="popupCode('Histogram.src/M000007.html');return false;">
132
- <span class="method-name">new</span><span class="method-args">(key=nil,number=1)</span>
133
- </a>
134
- </div>
135
-
136
- <div class="method-description">
137
- <p>
138
- Creates and returns an instance. If arguments are given, they are passed to
139
- the <a href="Histogram.html#M000009">add</a> method to initialize the <a
140
- href="Histogram.html#M000007">new</a> instance.
141
- </p>
142
- </div>
143
- </div>
144
-
145
- <h3 class="section-bar">Public Instance methods</h3>
146
-
147
- <div id="method-M000014" class="method-detail">
148
- <a name="M000014"></a>
149
-
150
- <div class="method-heading">
151
- <a href="Histogram.src/M000014.html" target="Code" class="method-signature"
152
- onclick="popupCode('Histogram.src/M000014.html');return false;">
153
- <span class="method-name">&lt;</span><span class="method-args">(count)</span>
154
- </a>
155
- </div>
156
-
157
- <div class="method-description">
158
- <p>
159
- Returns a <a href="Histogram.html#M000007">new</a> <a
160
- href="Histogram.html">Histogram</a> containing the elements with occurences
161
- less than the given <a href="Histogram.html#M000008">count</a>.
162
- </p>
163
- </div>
164
- </div>
165
-
166
- <div id="method-M000013" class="method-detail">
167
- <a name="M000013"></a>
168
-
169
- <div class="method-heading">
170
- <a href="Histogram.src/M000013.html" target="Code" class="method-signature"
171
- onclick="popupCode('Histogram.src/M000013.html');return false;">
172
- <span class="method-name">&lt;=</span><span class="method-args">(count)</span>
173
- </a>
174
- </div>
175
-
176
- <div class="method-description">
177
- <p>
178
- Returns a <a href="Histogram.html#M000007">new</a> <a
179
- href="Histogram.html">Histogram</a> containing the elements with occurences
180
- less than or equal to the given <a href="Histogram.html#M000008">count</a>.
181
- </p>
182
- </div>
183
- </div>
184
-
185
- <div id="method-M000015" class="method-detail">
186
- <a name="M000015"></a>
187
-
188
- <div class="method-heading">
189
- <a href="Histogram.src/M000015.html" target="Code" class="method-signature"
190
- onclick="popupCode('Histogram.src/M000015.html');return false;">
191
- <span class="method-name">==</span><span class="method-args">(count)</span>
192
- </a>
193
- </div>
194
-
195
- <div class="method-description">
196
- <p>
197
- If <a href="Histogram.html#M000008">count</a> is a number, a <a
198
- href="Histogram.html#M000007">new</a> <a
199
- href="Histogram.html">Histogram</a> containing the elements with occurences
200
- equal to the given countis returned. If the <a
201
- href="Histogram.html#M000008">count</a> is a histogram, true is returned if
202
- the instance contains the same keys and values; false otherwise.
203
- </p>
204
- </div>
205
- </div>
206
-
207
- <div id="method-M000012" class="method-detail">
208
- <a name="M000012"></a>
209
-
210
- <div class="method-heading">
211
- <a href="Histogram.src/M000012.html" target="Code" class="method-signature"
212
- onclick="popupCode('Histogram.src/M000012.html');return false;">
213
- <span class="method-name">&gt;</span><span class="method-args">(count)</span>
214
- </a>
215
- </div>
216
-
217
- <div class="method-description">
218
- <p>
219
- Returns a <a href="Histogram.html#M000007">new</a> <a
220
- href="Histogram.html">Histogram</a> containing the elements with occurences
221
- greater than the given <a href="Histogram.html#M000008">count</a>.
222
- </p>
223
- </div>
224
- </div>
225
-
226
- <div id="method-M000011" class="method-detail">
227
- <a name="M000011"></a>
228
-
229
- <div class="method-heading">
230
- <a href="Histogram.src/M000011.html" target="Code" class="method-signature"
231
- onclick="popupCode('Histogram.src/M000011.html');return false;">
232
- <span class="method-name">&gt;=</span><span class="method-args">(count)</span>
233
- </a>
234
- </div>
235
-
236
- <div class="method-description">
237
- <p>
238
- Returns a <a href="Histogram.html#M000007">new</a> <a
239
- href="Histogram.html">Histogram</a> containing the elements with occurences
240
- greater than or equal to the given <a
241
- href="Histogram.html#M000008">count</a>.
242
- </p>
243
- </div>
244
- </div>
245
-
246
- <div id="method-M000009" class="method-detail">
247
- <a name="M000009"></a>
248
-
249
- <div class="method-heading">
250
- <a href="Histogram.src/M000009.html" target="Code" class="method-signature"
251
- onclick="popupCode('Histogram.src/M000009.html');return false;">
252
- <span class="method-name">add</span><span class="method-args">(key,count=1)</span>
253
- </a>
254
- </div>
255
-
256
- <div class="method-description">
257
- <p>
258
- Adds the key to the instance if it doesn&#8216;t already exist, and adds
259
- the specified <a href="Histogram.html#M000008">count</a> to it value. If
260
- the key is
261
- </p>
262
- <ul>
263
- <li>an Array, each member of the array is added. if the member itself is an
264
- Array, then if that array has one member, the member is added as a key; if
265
- two members, the member is added as a key and a <a
266
- href="Histogram.html#M000008">count</a>; otherwise, a <a
267
- href="HistogramException.html">HistogramException</a> is thrown.
268
-
269
- </li>
270
- <li>another histogram, the keys and counts in the key are added to the
271
- instance.
272
-
273
- </li>
274
- </ul>
275
- </div>
276
- </div>
277
-
278
- <div id="method-M000008" class="method-detail">
279
- <a name="M000008"></a>
280
-
281
- <div class="method-heading">
282
- <a href="Histogram.src/M000008.html" target="Code" class="method-signature"
283
- onclick="popupCode('Histogram.src/M000008.html');return false;">
284
- <span class="method-name">count</span><span class="method-args">(check_keys = keys)</span>
285
- </a>
286
- </div>
287
-
288
- <div class="method-description">
289
- <p>
290
- Returns the number of occurences of the given key. If an array of keys is
291
- given, the sum of the number of occurences of those keys is returned.
292
- </p>
293
- </div>
294
- </div>
295
-
296
- <div id="method-M000010" class="method-detail">
297
- <a name="M000010"></a>
298
-
299
- <div class="method-heading">
300
- <a href="Histogram.src/M000010.html" target="Code" class="method-signature"
301
- onclick="popupCode('Histogram.src/M000010.html');return false;">
302
- <span class="method-name">key_count</span><span class="method-args">()</span>
303
- </a>
304
- </div>
305
-
306
- <div class="method-description">
307
- <p>
308
- Returns the number of keys in the instance.
309
- </p>
310
- </div>
311
- </div>
312
-
313
-
314
- </div>
315
-
316
-
317
- </div>
318
-
319
-
320
- <div id="validator-badges">
321
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
322
- </div>
323
-
324
- </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: Histogram</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">Histogram</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/histogram_rb.html">
59
+ lib/histogram.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
+ Hash
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="Histogram.html">Histogram</a> is a hash whose values are counts
84
+ of the occurences of the keys.
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="#M000014">&lt;</a>&nbsp;&nbsp;
97
+ <a href="#M000013">&lt;=</a>&nbsp;&nbsp;
98
+ <a href="#M000015">==</a>&nbsp;&nbsp;
99
+ <a href="#M000012">&gt;</a>&nbsp;&nbsp;
100
+ <a href="#M000011">&gt;=</a>&nbsp;&nbsp;
101
+ <a href="#M000009">add</a>&nbsp;&nbsp;
102
+ <a href="#M000008">count</a>&nbsp;&nbsp;
103
+ <a href="#M000010">key_count</a>&nbsp;&nbsp;
104
+ <a href="#M000007">new</a>&nbsp;&nbsp;
105
+ </div>
106
+ </div>
107
+
108
+ </div>
109
+
110
+
111
+ <!-- if includes -->
112
+
113
+ <div id="section">
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <!-- if method_list -->
123
+ <div id="methods">
124
+ <h3 class="section-bar">Public Class methods</h3>
125
+
126
+ <div id="method-M000007" class="method-detail">
127
+ <a name="M000007"></a>
128
+
129
+ <div class="method-heading">
130
+ <a href="Histogram.src/M000007.html" target="Code" class="method-signature"
131
+ onclick="popupCode('Histogram.src/M000007.html');return false;">
132
+ <span class="method-name">new</span><span class="method-args">(key=nil,number=1)</span>
133
+ </a>
134
+ </div>
135
+
136
+ <div class="method-description">
137
+ <p>
138
+ Creates and returns an instance. If arguments are given, they are passed to
139
+ the <a href="Histogram.html#M000009">add</a> method to initialize the <a
140
+ href="Histogram.html#M000007">new</a> instance.
141
+ </p>
142
+ </div>
143
+ </div>
144
+
145
+ <h3 class="section-bar">Public Instance methods</h3>
146
+
147
+ <div id="method-M000014" class="method-detail">
148
+ <a name="M000014"></a>
149
+
150
+ <div class="method-heading">
151
+ <a href="Histogram.src/M000014.html" target="Code" class="method-signature"
152
+ onclick="popupCode('Histogram.src/M000014.html');return false;">
153
+ <span class="method-name">&lt;</span><span class="method-args">(count)</span>
154
+ </a>
155
+ </div>
156
+
157
+ <div class="method-description">
158
+ <p>
159
+ Returns a <a href="Histogram.html#M000007">new</a> <a
160
+ href="Histogram.html">Histogram</a> containing the elements with occurences
161
+ less than the given <a href="Histogram.html#M000008">count</a>.
162
+ </p>
163
+ </div>
164
+ </div>
165
+
166
+ <div id="method-M000013" class="method-detail">
167
+ <a name="M000013"></a>
168
+
169
+ <div class="method-heading">
170
+ <a href="Histogram.src/M000013.html" target="Code" class="method-signature"
171
+ onclick="popupCode('Histogram.src/M000013.html');return false;">
172
+ <span class="method-name">&lt;=</span><span class="method-args">(count)</span>
173
+ </a>
174
+ </div>
175
+
176
+ <div class="method-description">
177
+ <p>
178
+ Returns a <a href="Histogram.html#M000007">new</a> <a
179
+ href="Histogram.html">Histogram</a> containing the elements with occurences
180
+ less than or equal to the given <a href="Histogram.html#M000008">count</a>.
181
+ </p>
182
+ </div>
183
+ </div>
184
+
185
+ <div id="method-M000015" class="method-detail">
186
+ <a name="M000015"></a>
187
+
188
+ <div class="method-heading">
189
+ <a href="Histogram.src/M000015.html" target="Code" class="method-signature"
190
+ onclick="popupCode('Histogram.src/M000015.html');return false;">
191
+ <span class="method-name">==</span><span class="method-args">(count)</span>
192
+ </a>
193
+ </div>
194
+
195
+ <div class="method-description">
196
+ <p>
197
+ If <a href="Histogram.html#M000008">count</a> is a number, a <a
198
+ href="Histogram.html#M000007">new</a> <a
199
+ href="Histogram.html">Histogram</a> containing the elements with occurences
200
+ equal to the given countis returned. If the <a
201
+ href="Histogram.html#M000008">count</a> is a histogram, true is returned if
202
+ the instance contains the same keys and values; false otherwise.
203
+ </p>
204
+ </div>
205
+ </div>
206
+
207
+ <div id="method-M000012" class="method-detail">
208
+ <a name="M000012"></a>
209
+
210
+ <div class="method-heading">
211
+ <a href="Histogram.src/M000012.html" target="Code" class="method-signature"
212
+ onclick="popupCode('Histogram.src/M000012.html');return false;">
213
+ <span class="method-name">&gt;</span><span class="method-args">(count)</span>
214
+ </a>
215
+ </div>
216
+
217
+ <div class="method-description">
218
+ <p>
219
+ Returns a <a href="Histogram.html#M000007">new</a> <a
220
+ href="Histogram.html">Histogram</a> containing the elements with occurences
221
+ greater than the given <a href="Histogram.html#M000008">count</a>.
222
+ </p>
223
+ </div>
224
+ </div>
225
+
226
+ <div id="method-M000011" class="method-detail">
227
+ <a name="M000011"></a>
228
+
229
+ <div class="method-heading">
230
+ <a href="Histogram.src/M000011.html" target="Code" class="method-signature"
231
+ onclick="popupCode('Histogram.src/M000011.html');return false;">
232
+ <span class="method-name">&gt;=</span><span class="method-args">(count)</span>
233
+ </a>
234
+ </div>
235
+
236
+ <div class="method-description">
237
+ <p>
238
+ Returns a <a href="Histogram.html#M000007">new</a> <a
239
+ href="Histogram.html">Histogram</a> containing the elements with occurences
240
+ greater than or equal to the given <a
241
+ href="Histogram.html#M000008">count</a>.
242
+ </p>
243
+ </div>
244
+ </div>
245
+
246
+ <div id="method-M000009" class="method-detail">
247
+ <a name="M000009"></a>
248
+
249
+ <div class="method-heading">
250
+ <a href="Histogram.src/M000009.html" target="Code" class="method-signature"
251
+ onclick="popupCode('Histogram.src/M000009.html');return false;">
252
+ <span class="method-name">add</span><span class="method-args">(key,count=1)</span>
253
+ </a>
254
+ </div>
255
+
256
+ <div class="method-description">
257
+ <p>
258
+ Adds the key to the instance if it doesn&#8216;t already exist, and adds
259
+ the specified <a href="Histogram.html#M000008">count</a> to it value. If
260
+ the key is
261
+ </p>
262
+ <ul>
263
+ <li>an Array, each member of the array is added. if the member itself is an
264
+ Array, then if that array has one member, the member is added as a key; if
265
+ two members, the member is added as a key and a <a
266
+ href="Histogram.html#M000008">count</a>; otherwise, a <a
267
+ href="HistogramException.html">HistogramException</a> is thrown.
268
+
269
+ </li>
270
+ <li>another histogram, the keys and counts in the key are added to the
271
+ instance.
272
+
273
+ </li>
274
+ </ul>
275
+ </div>
276
+ </div>
277
+
278
+ <div id="method-M000008" class="method-detail">
279
+ <a name="M000008"></a>
280
+
281
+ <div class="method-heading">
282
+ <a href="Histogram.src/M000008.html" target="Code" class="method-signature"
283
+ onclick="popupCode('Histogram.src/M000008.html');return false;">
284
+ <span class="method-name">count</span><span class="method-args">(check_keys = keys)</span>
285
+ </a>
286
+ </div>
287
+
288
+ <div class="method-description">
289
+ <p>
290
+ Returns the number of occurences of the given key. If an array of keys is
291
+ given, the sum of the number of occurences of those keys is returned.
292
+ </p>
293
+ </div>
294
+ </div>
295
+
296
+ <div id="method-M000010" class="method-detail">
297
+ <a name="M000010"></a>
298
+
299
+ <div class="method-heading">
300
+ <a href="Histogram.src/M000010.html" target="Code" class="method-signature"
301
+ onclick="popupCode('Histogram.src/M000010.html');return false;">
302
+ <span class="method-name">key_count</span><span class="method-args">()</span>
303
+ </a>
304
+ </div>
305
+
306
+ <div class="method-description">
307
+ <p>
308
+ Returns the number of keys in the instance.
309
+ </p>
310
+ </div>
311
+ </div>
312
+
313
+
314
+ </div>
315
+
316
+
317
+ </div>
318
+
319
+
320
+ <div id="validator-badges">
321
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
322
+ </div>
323
+
324
+ </body>
325
325
  </html>