facets 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. data/AUTHORS +1 -1
  2. data/CHANGES +28 -45
  3. data/MANIFEST +35 -4
  4. data/README +3 -14
  5. data/RELEASE +36 -70
  6. data/VERSION +1 -1
  7. data/doc/archive/RELEASE-2.5.0 +83 -0
  8. data/doc/log/basic_stats/index.html +4 -4
  9. data/doc/log/changelog.html +509 -2
  10. data/doc/log/changelog.txt +130 -1522
  11. data/doc/rdoc/core/classes/Array.html +366 -141
  12. data/doc/rdoc/core/classes/Binding.html +45 -45
  13. data/doc/rdoc/core/classes/Class.html +38 -38
  14. data/doc/rdoc/core/classes/Comparable.html +26 -26
  15. data/doc/rdoc/core/classes/Enumerable.html +174 -170
  16. data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
  17. data/doc/rdoc/core/classes/Enumerator.html +132 -0
  18. data/doc/rdoc/core/classes/Exception.html +8 -8
  19. data/doc/rdoc/core/classes/File.html +58 -58
  20. data/doc/rdoc/core/classes/FileTest.html +4 -4
  21. data/doc/rdoc/core/classes/Float.html +8 -8
  22. data/doc/rdoc/core/classes/Functor.html +12 -12
  23. data/doc/rdoc/core/classes/Hash.html +447 -263
  24. data/doc/rdoc/core/classes/Indexable.html +110 -110
  25. data/doc/rdoc/core/classes/Integer.html +2 -2
  26. data/doc/rdoc/core/classes/Kernel.html +329 -329
  27. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  28. data/doc/rdoc/core/classes/MatchData.html +15 -15
  29. data/doc/rdoc/core/classes/Module.html +176 -157
  30. data/doc/rdoc/core/classes/NilClass.html +23 -23
  31. data/doc/rdoc/core/classes/Numeric.html +27 -27
  32. data/doc/rdoc/core/classes/Object.html +8 -8
  33. data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
  34. data/doc/rdoc/core/classes/Proc.html +22 -22
  35. data/doc/rdoc/core/classes/Regexp.html +1 -1
  36. data/doc/rdoc/core/classes/Stackable.html +31 -31
  37. data/doc/rdoc/core/classes/String.html +332 -291
  38. data/doc/rdoc/core/classes/Symbol.html +1 -1
  39. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  40. data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
  41. data/doc/rdoc/core/created.rid +1 -1
  42. data/doc/rdoc/core/files/README.html +7 -29
  43. data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
  44. data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
  45. data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
  46. data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
  47. data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
  48. data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
  49. data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
  50. data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
  51. data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
  52. data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
  53. data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
  54. data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
  55. data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
  56. data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
  57. data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
  58. data/doc/rdoc/core/fr_class_index.html +2 -0
  59. data/doc/rdoc/core/fr_file_index.html +6 -0
  60. data/doc/rdoc/core/fr_method_index.html +386 -373
  61. data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
  62. data/doc/rdoc/lore/created.rid +1 -1
  63. data/doc/rdoc/lore/files/README.html +7 -29
  64. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
  65. data/doc/rdoc/more/classes/ANSICode.html +66 -66
  66. data/doc/rdoc/more/classes/Advisable.html +37 -37
  67. data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
  68. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
  69. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
  70. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
  71. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
  72. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
  73. data/doc/rdoc/more/classes/Association.html +67 -53
  74. data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
  75. data/doc/rdoc/more/classes/BBCode.html +36 -36
  76. data/doc/rdoc/more/classes/BaseX.html +16 -16
  77. data/doc/rdoc/more/classes/BiCrypt.html +67 -67
  78. data/doc/rdoc/more/classes/BinReadable.html +85 -85
  79. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
  80. data/doc/rdoc/more/classes/Binding.html +8 -8
  81. data/doc/rdoc/more/classes/Buildable.html +4 -4
  82. data/doc/rdoc/more/classes/Cloneable.html +4 -4
  83. data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
  84. data/doc/rdoc/more/classes/Crypt.html +16 -16
  85. data/doc/rdoc/more/classes/CssTree.html +8 -8
  86. data/doc/rdoc/more/classes/Dictionary.html +52 -45
  87. data/doc/rdoc/more/classes/Enumerable.html +50 -50
  88. data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
  89. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
  90. data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
  91. data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
  92. data/doc/rdoc/more/classes/Equatable.html +16 -16
  93. data/doc/rdoc/more/classes/Expirable.html +17 -17
  94. data/doc/rdoc/more/classes/Fileable.html +14 -14
  95. data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
  96. data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
  97. data/doc/rdoc/more/classes/Hook.html +162 -0
  98. data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
  99. data/doc/rdoc/more/classes/Instantiable.html +9 -9
  100. data/doc/rdoc/more/classes/Instantize.html +8 -8
  101. data/doc/rdoc/more/classes/Interval.html +187 -187
  102. data/doc/rdoc/more/classes/It.html +12 -12
  103. data/doc/rdoc/more/classes/Matcher.html +38 -38
  104. data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
  105. data/doc/rdoc/more/classes/Memoizer.html +21 -21
  106. data/doc/rdoc/more/classes/Multiton.html +12 -12
  107. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
  108. data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
  109. data/doc/rdoc/more/classes/OpEsc.html +5 -5
  110. data/doc/rdoc/more/classes/OpenCascade.html +4 -4
  111. data/doc/rdoc/more/classes/OpenHash.html +9 -9
  112. data/doc/rdoc/more/classes/OpenStructable.html +36 -36
  113. data/doc/rdoc/more/classes/PQueue.html +84 -84
  114. data/doc/rdoc/more/classes/Paramix.html +16 -16
  115. data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
  116. data/doc/rdoc/more/classes/RWDelegator.html +16 -16
  117. data/doc/rdoc/more/classes/Random.html +5 -5
  118. data/doc/rdoc/more/classes/Random/Array.html +37 -37
  119. data/doc/rdoc/more/classes/Random/Hash.html +52 -52
  120. data/doc/rdoc/more/classes/Random/Object.html +4 -4
  121. data/doc/rdoc/more/classes/Random/String.html +34 -34
  122. data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
  123. data/doc/rdoc/more/classes/Registerable.html +13 -13
  124. data/doc/rdoc/more/classes/Stash.html +28 -28
  125. data/doc/rdoc/more/classes/String/Mask.html +72 -72
  126. data/doc/rdoc/more/classes/String/Words.html +31 -31
  127. data/doc/rdoc/more/classes/System.html +253 -253
  128. data/doc/rdoc/more/classes/Timer.html +48 -48
  129. data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
  130. data/doc/rdoc/more/classes/Tuple.html +170 -170
  131. data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
  132. data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
  133. data/doc/rdoc/more/classes/Uninheritable.html +6 -6
  134. data/doc/rdoc/more/classes/X.html +117 -0
  135. data/doc/rdoc/more/classes/XOXO.html +11 -11
  136. data/doc/rdoc/more/classes/ZipUtils.html +88 -88
  137. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
  138. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
  139. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
  140. data/doc/rdoc/more/created.rid +1 -1
  141. data/doc/rdoc/more/files/README.html +7 -29
  142. data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
  143. data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
  144. data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
  145. data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
  146. data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
  147. data/doc/rdoc/more/fr_class_index.html +2 -0
  148. data/doc/rdoc/more/fr_file_index.html +1 -0
  149. data/doc/rdoc/more/fr_method_index.html +686 -681
  150. data/lib/core/facets/array/product.rb +6 -23
  151. data/lib/core/facets/enumerable/collect.rb +3 -53
  152. data/lib/core/facets/enumerable/compact_map.rb +35 -0
  153. data/lib/core/facets/enumerable/map_with_index.rb +23 -0
  154. data/lib/core/facets/enumerable/split.rb +3 -3
  155. data/lib/core/facets/hash/collate.rb +45 -14
  156. data/lib/core/facets/hash/group_by_value.rb +65 -0
  157. data/lib/core/facets/hash/new_with.rb +15 -0
  158. data/lib/core/facets/module/extend.rb +11 -0
  159. data/lib/core/facets/string/align.rb +19 -18
  160. data/lib/core/facets/string/file.rb +17 -0
  161. data/lib/core/facets/string/xor.rb +9 -3
  162. data/lib/core/facets/to_hash.rb +274 -17
  163. data/lib/core/facets/unboundmethod/name.rb +4 -2
  164. data/lib/lore/facets/ostruct.rb +3 -0
  165. data/lib/more/facets/association.rb +28 -12
  166. data/lib/more/facets/dictionary.rb +10 -4
  167. data/lib/more/facets/hook.rb +65 -0
  168. data/lib/more/facets/paramix.rb +5 -5
  169. data/meta/abstract +13 -0
  170. data/meta/authors +1 -0
  171. data/meta/contact +1 -0
  172. data/meta/contributors +48 -0
  173. data/meta/created +1 -0
  174. data/meta/homepage +1 -0
  175. data/meta/license +1 -0
  176. data/meta/loadpath +3 -0
  177. data/meta/releases +14 -0
  178. data/meta/slogan +1 -0
  179. data/meta/summary +1 -0
  180. data/task/test.rake +116 -18
  181. data/test/core/array/test_product.rb +0 -6
  182. data/test/core/binding/test_local_variables.rb +9 -3
  183. data/test/core/enumerable/test_split.rb +19 -0
  184. data/test/core/module/test_conflict.rb +8 -3
  185. data/test/core/test_to_hash.rb +152 -0
  186. data/test/core/unboundmethod/test_arguments.rb +1 -1
  187. data/test/core/unboundmethod/test_name.rb +2 -2
  188. metadata +39 -8
  189. data/doc/log/bstats/stats.html +0 -39
  190. data/doc/log/stats.html +0 -25
  191. data/test/more/test_to_hash.rb +0 -58
@@ -73,7 +73,7 @@
73
73
 
74
74
 
75
75
  <div class="sectiontitle">Methods</div>
76
- <span style="padding-right: 5px;"><a href="#M000788">convert</a></span>
76
+ <span style="padding-right: 5px;"><a href="#M000790">convert</a></span>
77
77
 
78
78
 
79
79
 
@@ -83,11 +83,11 @@
83
83
  <div class="sectiontitle">Public Instance methods</div>
84
84
  <div class="method">
85
85
  <div class="title">
86
- <a name="M000788"></a><b>convert</b>(root, content)
86
+ <a name="M000790"></a><b>convert</b>(root, content)
87
87
  </div>
88
88
  <div class="sourcecode">
89
- <p class="source-link">[ <a href="javascript:toggleSource('M000788_source')" id="l_M000788_source">+</a> ]</p>
90
- <div id="M000788_source" class="dyn-source">
89
+ <p class="source-link">[ <a href="javascript:toggleSource('M000790_source')" id="l_M000790_source">+</a> ]</p>
90
+ <div id="M000790_source" class="dyn-source">
91
91
  <pre>
92
92
  <span class="ruby-comment cmt"># File lib/more/facets/xmlhash.rb, line 9</span>
93
93
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert</span>(<span class="ruby-identifier">root</span>, <span class="ruby-identifier">content</span>)
@@ -0,0 +1,162 @@
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
+ <html>
6
+ <head>
7
+ <title>Module: Hook</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
+
11
+ <script language="JavaScript" type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function toggleSource( id )
15
+ {
16
+ var elem
17
+ var link
18
+
19
+ if( document.getElementById )
20
+ {
21
+ elem = document.getElementById( id )
22
+ link = document.getElementById( "l_" + id )
23
+ }
24
+ else if ( document.all )
25
+ {
26
+ elem = eval( "document.all." + id )
27
+ link = eval( "document.all.l_" + id )
28
+ }
29
+ else
30
+ return false;
31
+
32
+ if( elem.style.display == "block" )
33
+ {
34
+ elem.style.display = "none"
35
+ link.innerHTML = "+"
36
+ }
37
+ else
38
+ {
39
+ elem.style.display = "block"
40
+ link.innerHTML = "-"
41
+ }
42
+ }
43
+
44
+ function openCode( url )
45
+ {
46
+ window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
+ }
48
+ // ]]>
49
+ </script>
50
+ </head>
51
+
52
+ <body>
53
+ <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
+ <td class="file-title"><span class="file-title-prefix">Module</span><br />Hook</td>
55
+ <td align="right">
56
+ <table cellspacing="0" cellpadding="2">
57
+ <tr valign="top">
58
+ <td>In:</td>
59
+ <td>
60
+ <a href="../files/lib/more/facets/hook_rb.html">lib/more/facets/hook.rb</a>
61
+ </td>
62
+ </tr>
63
+ </table>
64
+ </td>
65
+ </tr>
66
+ </table>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+ <div id="content">
71
+
72
+ <div class="description"><p>
73
+ TODO: <a href="Hook.html#M000830">hooks</a> should be an inheritor
74
+ </p>
75
+ </div>
76
+
77
+
78
+
79
+ <div class="sectiontitle">Methods</div>
80
+ <span style="padding-right: 5px;"><a href="#M000829">append_features</a></span>
81
+ <span style="padding-right: 5px;"><a href="#M000831">hook</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000830">hooks</a></span>
83
+
84
+
85
+
86
+
87
+
88
+
89
+ <div class="sectiontitle">Public Class methods</div>
90
+ <div class="method">
91
+ <div class="title">
92
+ <a name="M000829"></a><b>append_features</b>(base)
93
+ </div>
94
+ <div class="sourcecode">
95
+ <p class="source-link">[ <a href="javascript:toggleSource('M000829_source')" id="l_M000829_source">+</a> ]</p>
96
+ <div id="M000829_source" class="dyn-source">
97
+ <pre>
98
+ <span class="ruby-comment cmt"># File lib/more/facets/hook.rb, line 6</span>
99
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">base</span>)
100
+ <span class="ruby-identifier">base</span>.<span class="ruby-identifier">extend</span> <span class="ruby-keyword kw">self</span>
101
+ <span class="ruby-keyword kw">end</span>
102
+ </pre>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ <div class="sectiontitle">Public Instance methods</div>
107
+ <div class="method">
108
+ <div class="title">
109
+ <a name="M000831"></a><b>hook</b>(name)
110
+ </div>
111
+ <div class="sourcecode">
112
+ <p class="source-link">[ <a href="javascript:toggleSource('M000831_source')" id="l_M000831_source">+</a> ]</p>
113
+ <div id="M000831_source" class="dyn-source">
114
+ <pre>
115
+ <span class="ruby-comment cmt"># File lib/more/facets/hook.rb, line 14</span>
116
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hook</span>(<span class="ruby-identifier">name</span>)
117
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
118
+
119
+ (<span class="ruby-keyword kw">class</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>; <span class="ruby-keyword kw">self</span>; <span class="ruby-keyword kw">end</span>).<span class="ruby-identifier">class_eval</span> <span class="ruby-node">%{
120
+ def #{name}(meth=nil, &amp;blk)
121
+ hooks[:#{name}] &lt;&lt; (meth || blk)
122
+ end
123
+ }</span>
124
+
125
+ <span class="ruby-identifier">module_eval</span> <span class="ruby-node">%{
126
+ def #{name}(*args)
127
+ self.class.hooks[:#{name}].each do |blk|
128
+ if Proc === blk
129
+ blk.call(:#{name}, *args)
130
+ else
131
+ __send__(blk, :#{name}, *args)
132
+ end
133
+ end
134
+ end
135
+ }</span>
136
+ <span class="ruby-keyword kw">end</span>
137
+ </pre>
138
+ </div>
139
+ </div>
140
+ </div>
141
+ <div class="method">
142
+ <div class="title">
143
+ <a name="M000830"></a><b>hooks</b>()
144
+ </div>
145
+ <div class="sourcecode">
146
+ <p class="source-link">[ <a href="javascript:toggleSource('M000830_source')" id="l_M000830_source">+</a> ]</p>
147
+ <div id="M000830_source" class="dyn-source">
148
+ <pre>
149
+ <span class="ruby-comment cmt"># File lib/more/facets/hook.rb, line 10</span>
150
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hooks</span>
151
+ <span class="ruby-ivar">@hooks</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">h</span>,<span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">h</span>[<span class="ruby-identifier">k</span>] = [] }
152
+ <span class="ruby-keyword kw">end</span>
153
+ </pre>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ </div>
158
+
159
+ </div>
160
+
161
+ </body>
162
+ </html>
@@ -107,8 +107,8 @@ href="http://iamcal.com/publish/articles/php/processing_html_part_2">iamcal.com/
107
107
 
108
108
 
109
109
  <div class="sectiontitle">Methods</div>
110
- <span style="padding-right: 5px;"><a href="#M000728">filter</a></span>
111
- <span style="padding-right: 5px;"><a href="#M000727">new</a></span>
110
+ <span style="padding-right: 5px;"><a href="#M000730">filter</a></span>
111
+ <span style="padding-right: 5px;"><a href="#M000729">new</a></span>
112
112
 
113
113
  <div class="sectiontitle">Included Modules</div>
114
114
  <ul>
@@ -262,16 +262,16 @@ internal tag counter
262
262
  <div class="sectiontitle">Public Class methods</div>
263
263
  <div class="method">
264
264
  <div class="title">
265
- <a name="M000727"></a><b>new</b>( options=nil )
265
+ <a name="M000729"></a><b>new</b>( options=nil )
266
266
  </div>
267
267
  <div class="description">
268
268
  <p>
269
- New html <a href="HtmlFilter.html#M000728">filter</a>.
269
+ New html <a href="HtmlFilter.html#M000730">filter</a>.
270
270
  </p>
271
271
  </div>
272
272
  <div class="sourcecode">
273
- <p class="source-link">[ <a href="javascript:toggleSource('M000727_source')" id="l_M000727_source">+</a> ]</p>
274
- <div id="M000727_source" class="dyn-source">
273
+ <p class="source-link">[ <a href="javascript:toggleSource('M000729_source')" id="l_M000729_source">+</a> ]</p>
274
+ <div id="M000729_source" class="dyn-source">
275
275
  <pre>
276
276
  <span class="ruby-comment cmt"># File lib/more/facets/htmlfilter.rb, line 122</span>
277
277
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span> )
@@ -294,7 +294,7 @@ New html <a href="HtmlFilter.html#M000728">filter</a>.
294
294
  <div class="sectiontitle">Public Instance methods</div>
295
295
  <div class="method">
296
296
  <div class="title">
297
- <a name="M000728"></a><b>filter</b>(data)
297
+ <a name="M000730"></a><b>filter</b>(data)
298
298
  </div>
299
299
  <div class="description">
300
300
  <p>
@@ -302,8 +302,8 @@ Filter html string.
302
302
  </p>
303
303
  </div>
304
304
  <div class="sourcecode">
305
- <p class="source-link">[ <a href="javascript:toggleSource('M000728_source')" id="l_M000728_source">+</a> ]</p>
306
- <div id="M000728_source" class="dyn-source">
305
+ <p class="source-link">[ <a href="javascript:toggleSource('M000730_source')" id="l_M000730_source">+</a> ]</p>
306
+ <div id="M000730_source" class="dyn-source">
307
307
  <pre>
308
308
  <span class="ruby-comment cmt"># File lib/more/facets/htmlfilter.rb, line 138</span>
309
309
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">filter</span>(<span class="ruby-identifier">data</span>)
@@ -75,7 +75,7 @@ Initialize modules, almost as if they were classes.
75
75
  </p>
76
76
  <p>
77
77
  Alows a module to be used much like a class, by defining a <a
78
- href="Instantiable.html#M000949">new</a> method that creates a class on
78
+ href="Instantiable.html#M000954">new</a> method that creates a class on
79
79
  demand.
80
80
  </p>
81
81
  </div>
@@ -83,8 +83,8 @@ demand.
83
83
 
84
84
 
85
85
  <div class="sectiontitle">Methods</div>
86
- <span style="padding-right: 5px;"><a href="#M000948">append_features</a></span>
87
- <span style="padding-right: 5px;"><a href="#M000949">new</a></span>
86
+ <span style="padding-right: 5px;"><a href="#M000953">append_features</a></span>
87
+ <span style="padding-right: 5px;"><a href="#M000954">new</a></span>
88
88
 
89
89
 
90
90
 
@@ -94,11 +94,11 @@ demand.
94
94
  <div class="sectiontitle">Public Class methods</div>
95
95
  <div class="method">
96
96
  <div class="title">
97
- <a name="M000948"></a><b>append_features</b>(mod)
97
+ <a name="M000953"></a><b>append_features</b>(mod)
98
98
  </div>
99
99
  <div class="sourcecode">
100
- <p class="source-link">[ <a href="javascript:toggleSource('M000948_source')" id="l_M000948_source">+</a> ]</p>
101
- <div id="M000948_source" class="dyn-source">
100
+ <p class="source-link">[ <a href="javascript:toggleSource('M000953_source')" id="l_M000953_source">+</a> ]</p>
101
+ <div id="M000953_source" class="dyn-source">
102
102
  <pre>
103
103
  <span class="ruby-comment cmt"># File lib/more/facets/instantiable.rb, line 32</span>
104
104
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
@@ -111,7 +111,7 @@ demand.
111
111
  <div class="sectiontitle">Public Instance methods</div>
112
112
  <div class="method">
113
113
  <div class="title">
114
- <a name="M000949"></a><b>new</b>(*args,&amp;blk)
114
+ <a name="M000954"></a><b>new</b>(*args,&amp;blk)
115
115
  </div>
116
116
  <div class="description">
117
117
  <p>
@@ -119,8 +119,8 @@ Never use a class agian! ;)
119
119
  </p>
120
120
  </div>
121
121
  <div class="sourcecode">
122
- <p class="source-link">[ <a href="javascript:toggleSource('M000949_source')" id="l_M000949_source">+</a> ]</p>
123
- <div id="M000949_source" class="dyn-source">
122
+ <p class="source-link">[ <a href="javascript:toggleSource('M000954_source')" id="l_M000954_source">+</a> ]</p>
123
+ <div id="M000954_source" class="dyn-source">
124
124
  <pre>
125
125
  <span class="ruby-comment cmt"># File lib/more/facets/instantiable.rb, line 38</span>
126
126
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -104,8 +104,8 @@ name is probably still out there.
104
104
 
105
105
 
106
106
  <div class="sectiontitle">Methods</div>
107
- <span style="padding-right: 5px;"><a href="#M000970">append_features</a></span>
108
- <span style="padding-right: 5px;"><a href="#M000971">singleton_method_added</a></span>
107
+ <span style="padding-right: 5px;"><a href="#M000975">append_features</a></span>
108
+ <span style="padding-right: 5px;"><a href="#M000976">singleton_method_added</a></span>
109
109
 
110
110
 
111
111
 
@@ -115,11 +115,11 @@ name is probably still out there.
115
115
  <div class="sectiontitle">Public Class methods</div>
116
116
  <div class="method">
117
117
  <div class="title">
118
- <a name="M000970"></a><b>append_features</b>(mod)
118
+ <a name="M000975"></a><b>append_features</b>(mod)
119
119
  </div>
120
120
  <div class="sourcecode">
121
- <p class="source-link">[ <a href="javascript:toggleSource('M000970_source')" id="l_M000970_source">+</a> ]</p>
122
- <div id="M000970_source" class="dyn-source">
121
+ <p class="source-link">[ <a href="javascript:toggleSource('M000975_source')" id="l_M000975_source">+</a> ]</p>
122
+ <div id="M000975_source" class="dyn-source">
123
123
  <pre>
124
124
  <span class="ruby-comment cmt"># File lib/more/facets/instantize.rb, line 77</span>
125
125
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
@@ -132,11 +132,11 @@ name is probably still out there.
132
132
  <div class="sectiontitle">Public Instance methods</div>
133
133
  <div class="method">
134
134
  <div class="title">
135
- <a name="M000971"></a><b>singleton_method_added</b>( meth )
135
+ <a name="M000976"></a><b>singleton_method_added</b>( meth )
136
136
  </div>
137
137
  <div class="sourcecode">
138
- <p class="source-link">[ <a href="javascript:toggleSource('M000971_source')" id="l_M000971_source">+</a> ]</p>
139
- <div id="M000971_source" class="dyn-source">
138
+ <p class="source-link">[ <a href="javascript:toggleSource('M000976_source')" id="l_M000976_source">+</a> ]</p>
139
+ <div id="M000976_source" class="dyn-source">
140
140
  <pre>
141
141
  <span class="ruby-comment cmt"># File lib/more/facets/instantize.rb, line 81</span>
142
142
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_added</span>( <span class="ruby-identifier">meth</span> )
@@ -114,42 +114,42 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
114
114
 
115
115
 
116
116
  <div class="sectiontitle">Methods</div>
117
- <span style="padding-right: 5px;"><a href="#M000608">+@</a></span>
118
- <span style="padding-right: 5px;"><a href="#M000609">-@</a></span>
119
- <span style="padding-right: 5px;"><a href="#M000618">===</a></span>
120
- <span style="padding-right: 5px;"><a href="#M000587">[]</a></span>
121
- <span style="padding-right: 5px;"><a href="#M000594">begin</a></span>
122
- <span style="padding-right: 5px;"><a href="#M000601">closed</a></span>
123
- <span style="padding-right: 5px;"><a href="#M000598">degenerate?</a></span>
124
- <span style="padding-right: 5px;"><a href="#M000600">direction</a></span>
125
- <span style="padding-right: 5px;"><a href="#M000612">distance</a></span>
126
- <span style="padding-right: 5px;"><a href="#M000620">each</a></span>
127
- <span style="padding-right: 5px;"><a href="#M000595">end</a></span>
128
- <span style="padding-right: 5px;"><a href="#M000622">eql?</a></span>
129
- <span style="padding-right: 5px;"><a href="#M000596">exclude_begin?</a></span>
130
- <span style="padding-right: 5px;"><a href="#M000597">exclude_end?</a></span>
131
- <span style="padding-right: 5px;"><a href="#M000592">exclude_first?</a></span>
132
- <span style="padding-right: 5px;"><a href="#M000593">exclude_last?</a></span>
133
- <span style="padding-right: 5px;"><a href="#M000590">first</a></span>
134
- <span style="padding-right: 5px;"><a href="#M000604">first_closed</a></span>
135
- <span style="padding-right: 5px;"><a href="#M000606">first_opened</a></span>
136
- <span style="padding-right: 5px;"><a href="#M000603">half_closed</a></span>
137
- <span style="padding-right: 5px;"><a href="#M000617">include?</a></span>
138
- <span style="padding-right: 5px;"><a href="#M000591">last</a></span>
139
- <span style="padding-right: 5px;"><a href="#M000605">last_closed</a></span>
140
- <span style="padding-right: 5px;"><a href="#M000607">last_opened</a></span>
141
- <span style="padding-right: 5px;"><a href="#M000613">length</a></span>
142
- <span style="padding-right: 5px;"><a href="#M000616">max</a></span>
143
- <span style="padding-right: 5px;"><a href="#M000619">member?</a></span>
144
- <span style="padding-right: 5px;"><a href="#M000615">min</a></span>
145
- <span style="padding-right: 5px;"><a href="#M000588">new</a></span>
146
- <span style="padding-right: 5px;"><a href="#M000599">null?</a></span>
147
- <span style="padding-right: 5px;"><a href="#M000602">opened</a></span>
148
- <span style="padding-right: 5px;"><a href="#M000611">reversed</a></span>
149
- <span style="padding-right: 5px;"><a href="#M000589">sentinels</a></span>
150
- <span style="padding-right: 5px;"><a href="#M000614">size</a></span>
151
- <span style="padding-right: 5px;"><a href="#M000621">step</a></span>
152
- <span style="padding-right: 5px;"><a href="#M000610">~</a></span>
117
+ <span style="padding-right: 5px;"><a href="#M000610">+@</a></span>
118
+ <span style="padding-right: 5px;"><a href="#M000611">-@</a></span>
119
+ <span style="padding-right: 5px;"><a href="#M000620">===</a></span>
120
+ <span style="padding-right: 5px;"><a href="#M000589">[]</a></span>
121
+ <span style="padding-right: 5px;"><a href="#M000596">begin</a></span>
122
+ <span style="padding-right: 5px;"><a href="#M000603">closed</a></span>
123
+ <span style="padding-right: 5px;"><a href="#M000600">degenerate?</a></span>
124
+ <span style="padding-right: 5px;"><a href="#M000602">direction</a></span>
125
+ <span style="padding-right: 5px;"><a href="#M000614">distance</a></span>
126
+ <span style="padding-right: 5px;"><a href="#M000622">each</a></span>
127
+ <span style="padding-right: 5px;"><a href="#M000597">end</a></span>
128
+ <span style="padding-right: 5px;"><a href="#M000624">eql?</a></span>
129
+ <span style="padding-right: 5px;"><a href="#M000598">exclude_begin?</a></span>
130
+ <span style="padding-right: 5px;"><a href="#M000599">exclude_end?</a></span>
131
+ <span style="padding-right: 5px;"><a href="#M000594">exclude_first?</a></span>
132
+ <span style="padding-right: 5px;"><a href="#M000595">exclude_last?</a></span>
133
+ <span style="padding-right: 5px;"><a href="#M000592">first</a></span>
134
+ <span style="padding-right: 5px;"><a href="#M000606">first_closed</a></span>
135
+ <span style="padding-right: 5px;"><a href="#M000608">first_opened</a></span>
136
+ <span style="padding-right: 5px;"><a href="#M000605">half_closed</a></span>
137
+ <span style="padding-right: 5px;"><a href="#M000619">include?</a></span>
138
+ <span style="padding-right: 5px;"><a href="#M000593">last</a></span>
139
+ <span style="padding-right: 5px;"><a href="#M000607">last_closed</a></span>
140
+ <span style="padding-right: 5px;"><a href="#M000609">last_opened</a></span>
141
+ <span style="padding-right: 5px;"><a href="#M000615">length</a></span>
142
+ <span style="padding-right: 5px;"><a href="#M000618">max</a></span>
143
+ <span style="padding-right: 5px;"><a href="#M000621">member?</a></span>
144
+ <span style="padding-right: 5px;"><a href="#M000617">min</a></span>
145
+ <span style="padding-right: 5px;"><a href="#M000590">new</a></span>
146
+ <span style="padding-right: 5px;"><a href="#M000601">null?</a></span>
147
+ <span style="padding-right: 5px;"><a href="#M000604">opened</a></span>
148
+ <span style="padding-right: 5px;"><a href="#M000613">reversed</a></span>
149
+ <span style="padding-right: 5px;"><a href="#M000591">sentinels</a></span>
150
+ <span style="padding-right: 5px;"><a href="#M000616">size</a></span>
151
+ <span style="padding-right: 5px;"><a href="#M000623">step</a></span>
152
+ <span style="padding-right: 5px;"><a href="#M000612">~</a></span>
153
153
 
154
154
  <div class="sectiontitle">Included Modules</div>
155
155
  <ul>
@@ -164,11 +164,11 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
164
164
  <div class="sectiontitle">Public Class methods</div>
165
165
  <div class="method">
166
166
  <div class="title">
167
- <a name="M000587"></a><b>[]</b>( *args )
167
+ <a name="M000589"></a><b>[]</b>( *args )
168
168
  </div>
169
169
  <div class="sourcecode">
170
- <p class="source-link">[ <a href="javascript:toggleSource('M000587_source')" id="l_M000587_source">+</a> ]</p>
171
- <div id="M000587_source" class="dyn-source">
170
+ <p class="source-link">[ <a href="javascript:toggleSource('M000589_source')" id="l_M000589_source">+</a> ]</p>
171
+ <div id="M000589_source" class="dyn-source">
172
172
  <pre>
173
173
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 89</span>
174
174
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-operator">[]</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
@@ -180,11 +180,11 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
180
180
  </div>
181
181
  <div class="method">
182
182
  <div class="title">
183
- <a name="M000588"></a><b>new</b>(first, last, exclude_first=false, exclude_last=false )
183
+ <a name="M000590"></a><b>new</b>(first, last, exclude_first=false, exclude_last=false )
184
184
  </div>
185
185
  <div class="sourcecode">
186
- <p class="source-link">[ <a href="javascript:toggleSource('M000588_source')" id="l_M000588_source">+</a> ]</p>
187
- <div id="M000588_source" class="dyn-source">
186
+ <p class="source-link">[ <a href="javascript:toggleSource('M000590_source')" id="l_M000590_source">+</a> ]</p>
187
+ <div id="M000590_source" class="dyn-source">
188
188
  <pre>
189
189
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 93</span>
190
190
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-identifier">exclude_first</span>=<span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">exclude_last</span>=<span class="ruby-keyword kw">false</span> )
@@ -202,19 +202,19 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
202
202
  <div class="sectiontitle">Public Instance methods</div>
203
203
  <div class="method">
204
204
  <div class="title">
205
- <a name="M000608"></a><b>+@</b>()
205
+ <a name="M000610"></a><b>+@</b>()
206
206
  </div>
207
207
  <div class="description">
208
208
  <p>
209
- Unary shorthands. These return a <a href="Interval.html#M000588">new</a>
210
- interval exclusive of <a href="Interval.html#M000590">first</a>, <a
211
- href="Interval.html#M000591">last</a> or both <a
212
- href="Interval.html#M000589">sentinels</a>, repectively.
209
+ Unary shorthands. These return a <a href="Interval.html#M000590">new</a>
210
+ interval exclusive of <a href="Interval.html#M000592">first</a>, <a
211
+ href="Interval.html#M000593">last</a> or both <a
212
+ href="Interval.html#M000591">sentinels</a>, repectively.
213
213
  </p>
214
214
  </div>
215
215
  <div class="sourcecode">
216
- <p class="source-link">[ <a href="javascript:toggleSource('M000608_source')" id="l_M000608_source">+</a> ]</p>
217
- <div id="M000608_source" class="dyn-source">
216
+ <p class="source-link">[ <a href="javascript:toggleSource('M000610_source')" id="l_M000610_source">+</a> ]</p>
217
+ <div id="M000610_source" class="dyn-source">
218
218
  <pre>
219
219
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 159</span>
220
220
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
@@ -224,11 +224,11 @@ href="Interval.html#M000589">sentinels</a>, repectively.
224
224
  </div>
225
225
  <div class="method">
226
226
  <div class="title">
227
- <a name="M000609"></a><b>-@</b>()
227
+ <a name="M000611"></a><b>-@</b>()
228
228
  </div>
229
229
  <div class="sourcecode">
230
- <p class="source-link">[ <a href="javascript:toggleSource('M000609_source')" id="l_M000609_source">+</a> ]</p>
231
- <div id="M000609_source" class="dyn-source">
230
+ <p class="source-link">[ <a href="javascript:toggleSource('M000611_source')" id="l_M000611_source">+</a> ]</p>
231
+ <div id="M000611_source" class="dyn-source">
232
232
  <pre>
233
233
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 160</span>
234
234
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -238,7 +238,7 @@ href="Interval.html#M000589">sentinels</a>, repectively.
238
238
  </div>
239
239
  <div class="method">
240
240
  <div class="title">
241
- <a name="M000618"></a><b>===</b>(x)
241
+ <a name="M000620"></a><b>===</b>(x)
242
242
  </div>
243
243
  <div class="description">
244
244
  <p>
@@ -248,27 +248,27 @@ Alias for include?
248
248
  </div>
249
249
  <div class="method">
250
250
  <div class="title">
251
- <a name="M000594"></a><b>begin</b>()
251
+ <a name="M000596"></a><b>begin</b>()
252
252
  </div>
253
253
  <div class="description">
254
254
  <p>
255
- Alias for <a href="Interval.html#M000590">first</a>
255
+ Alias for <a href="Interval.html#M000592">first</a>
256
256
  </p>
257
257
  </div>
258
258
  </div>
259
259
  <div class="method">
260
260
  <div class="title">
261
- <a name="M000601"></a><b>closed</b>()
261
+ <a name="M000603"></a><b>closed</b>()
262
262
  </div>
263
263
  <div class="description">
264
264
  <p>
265
- Returns a <a href="Interval.html#M000588">new</a> interval inclusive of of
266
- both <a href="Interval.html#M000589">sentinels</a>.
265
+ Returns a <a href="Interval.html#M000590">new</a> interval inclusive of of
266
+ both <a href="Interval.html#M000591">sentinels</a>.
267
267
  </p>
268
268
  </div>
269
269
  <div class="sourcecode">
270
- <p class="source-link">[ <a href="javascript:toggleSource('M000601_source')" id="l_M000601_source">+</a> ]</p>
271
- <div id="M000601_source" class="dyn-source">
270
+ <p class="source-link">[ <a href="javascript:toggleSource('M000603_source')" id="l_M000603_source">+</a> ]</p>
271
+ <div id="M000603_source" class="dyn-source">
272
272
  <pre>
273
273
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 139</span>
274
274
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">closed</span>; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -278,19 +278,19 @@ both <a href="Interval.html#M000589">sentinels</a>.
278
278
  </div>
279
279
  <div class="method">
280
280
  <div class="title">
281
- <a name="M000598"></a><b>degenerate?</b>()
281
+ <a name="M000600"></a><b>degenerate?</b>()
282
282
  </div>
283
283
  <div class="description">
284
284
  <p>
285
285
  Returns <tt>true</tt> if the start and <a
286
- href="Interval.html#M000595">end</a> <a
287
- href="Interval.html#M000589">sentinels</a> are equal and the interval is <a
288
- href="Interval.html#M000601">closed</a>; otherwise <tt>false</tt>.
286
+ href="Interval.html#M000597">end</a> <a
287
+ href="Interval.html#M000591">sentinels</a> are equal and the interval is <a
288
+ href="Interval.html#M000603">closed</a>; otherwise <tt>false</tt>.
289
289
  </p>
290
290
  </div>
291
291
  <div class="sourcecode">
292
- <p class="source-link">[ <a href="javascript:toggleSource('M000598_source')" id="l_M000598_source">+</a> ]</p>
293
- <div id="M000598_source" class="dyn-source">
292
+ <p class="source-link">[ <a href="javascript:toggleSource('M000600_source')" id="l_M000600_source">+</a> ]</p>
293
+ <div id="M000600_source" class="dyn-source">
294
294
  <pre>
295
295
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 125</span>
296
296
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">degenerate?</span> ; <span class="ruby-ivar">@direction</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">and</span> <span class="ruby-operator">!</span> (<span class="ruby-ivar">@exclusive_first</span> <span class="ruby-keyword kw">or</span> <span class="ruby-ivar">@exclusive_last</span>) ; <span class="ruby-keyword kw">end</span>
@@ -300,11 +300,11 @@ href="Interval.html#M000601">closed</a>; otherwise <tt>false</tt>.
300
300
  </div>
301
301
  <div class="method">
302
302
  <div class="title">
303
- <a name="M000600"></a><b>direction</b>()
303
+ <a name="M000602"></a><b>direction</b>()
304
304
  </div>
305
305
  <div class="description">
306
306
  <p>
307
- Returns the <a href="Interval.html#M000600">direction</a> of the interval
307
+ Returns the <a href="Interval.html#M000602">direction</a> of the interval
308
308
  indicated by +1, 0 or -1.
309
309
  </p>
310
310
  <pre>
@@ -314,8 +314,8 @@ indicated by +1, 0 or -1.
314
314
  </pre>
315
315
  </div>
316
316
  <div class="sourcecode">
317
- <p class="source-link">[ <a href="javascript:toggleSource('M000600_source')" id="l_M000600_source">+</a> ]</p>
318
- <div id="M000600_source" class="dyn-source">
317
+ <p class="source-link">[ <a href="javascript:toggleSource('M000602_source')" id="l_M000602_source">+</a> ]</p>
318
+ <div id="M000602_source" class="dyn-source">
319
319
  <pre>
320
320
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 136</span>
321
321
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">direction</span> ; <span class="ruby-ivar">@direction</span> ; <span class="ruby-keyword kw">end</span>
@@ -325,28 +325,28 @@ indicated by +1, 0 or -1.
325
325
  </div>
326
326
  <div class="method">
327
327
  <div class="title">
328
- <a name="M000612"></a><b>distance</b>()
328
+ <a name="M000614"></a><b>distance</b>()
329
329
  </div>
330
330
  <div class="description">
331
331
  <p>
332
- Returns the <a href="Interval.html#M000613">length</a> of the interval as
333
- the difference between the <a href="Interval.html#M000590">first</a> and <a
334
- href="Interval.html#M000591">last</a> elements. Returns <tt>nil</tt> if the
332
+ Returns the <a href="Interval.html#M000615">length</a> of the interval as
333
+ the difference between the <a href="Interval.html#M000592">first</a> and <a
334
+ href="Interval.html#M000593">last</a> elements. Returns <tt>nil</tt> if the
335
335
  sentinal objects do not support <a
336
- href="Interval.html#M000612">distance</a> comparison (<a
337
- href="Interval.html#M000612">distance</a>). TODO: Add <tt>n</tt> parameter
336
+ href="Interval.html#M000614">distance</a> comparison (<a
337
+ href="Interval.html#M000614">distance</a>). TODO: Add <tt>n</tt> parameter
338
338
  to count segmentations like those produced by <a
339
- href="Interval.html#M000620">each</a>.
339
+ href="Interval.html#M000622">each</a>.
340
340
  </p>
341
341
  </div>
342
342
  <div class="aka">
343
343
  This method is also aliased as
344
- <a href="Interval.html#M000613">length</a>
345
- <a href="Interval.html#M000614">size</a>
344
+ <a href="Interval.html#M000615">length</a>
345
+ <a href="Interval.html#M000616">size</a>
346
346
  </div>
347
347
  <div class="sourcecode">
348
- <p class="source-link">[ <a href="javascript:toggleSource('M000612_source')" id="l_M000612_source">+</a> ]</p>
349
- <div id="M000612_source" class="dyn-source">
348
+ <p class="source-link">[ <a href="javascript:toggleSource('M000614_source')" id="l_M000614_source">+</a> ]</p>
349
+ <div id="M000614_source" class="dyn-source">
350
350
  <pre>
351
351
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 175</span>
352
352
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">distance</span>
@@ -363,20 +363,20 @@ href="Interval.html#M000620">each</a>.
363
363
  </div>
364
364
  <div class="method">
365
365
  <div class="title">
366
- <a name="M000620"></a><b>each</b>(n=1, d=nil) {|| ...}
366
+ <a name="M000622"></a><b>each</b>(n=1, d=nil) {|| ...}
367
367
  </div>
368
368
  <div class="description">
369
369
  <p>
370
370
  Iterates over the interval, passing <a
371
- href="Interval.html#M000620">each</a> _n_th element to the block. If n is
371
+ href="Interval.html#M000622">each</a> _n_th element to the block. If n is
372
372
  not given then n defaults to 1. Each _n_th <a
373
- href="Interval.html#M000621">step</a> is determined by invoking +++ or +\-+
374
- n, depending on the <a href="Interval.html#M000600">direction</a> of the
373
+ href="Interval.html#M000623">step</a> is determined by invoking +++ or +\-+
374
+ n, depending on the <a href="Interval.html#M000602">direction</a> of the
375
375
  interval. If n is negative the iteration is preformed in reverse form <a
376
- href="Interval.html#M000595">end</a> sentinal to front sentinal. A second
376
+ href="Interval.html#M000597">end</a> sentinal to front sentinal. A second
377
377
  parameter, d, can be given in which case the applied <a
378
- href="Interval.html#M000621">step</a> is calculated as a fraction of the
379
- interval&#8216;s <a href="Interval.html#M000613">length</a> times n / d.
378
+ href="Interval.html#M000623">step</a> is calculated as a fraction of the
379
+ interval&#8216;s <a href="Interval.html#M000615">length</a> times n / d.
380
380
  This allows iteration over the whole interval in equal sized segments.
381
381
  </p>
382
382
  <pre>
@@ -387,11 +387,11 @@ This allows iteration over the whole interval in equal sized segments.
387
387
  </div>
388
388
  <div class="aka">
389
389
  This method is also aliased as
390
- <a href="Interval.html#M000621">step</a>
390
+ <a href="Interval.html#M000623">step</a>
391
391
  </div>
392
392
  <div class="sourcecode">
393
- <p class="source-link">[ <a href="javascript:toggleSource('M000620_source')" id="l_M000620_source">+</a> ]</p>
394
- <div id="M000620_source" class="dyn-source">
393
+ <p class="source-link">[ <a href="javascript:toggleSource('M000622_source')" id="l_M000622_source">+</a> ]</p>
394
+ <div id="M000622_source" class="dyn-source">
395
395
  <pre>
396
396
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 239</span>
397
397
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">d</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt"># :yield:</span>
@@ -427,17 +427,17 @@ This allows iteration over the whole interval in equal sized segments.
427
427
  </div>
428
428
  <div class="method">
429
429
  <div class="title">
430
- <a name="M000595"></a><b>end</b>()
430
+ <a name="M000597"></a><b>end</b>()
431
431
  </div>
432
432
  <div class="description">
433
433
  <p>
434
- Alias for <a href="Interval.html#M000591">last</a>
434
+ Alias for <a href="Interval.html#M000593">last</a>
435
435
  </p>
436
436
  </div>
437
437
  </div>
438
438
  <div class="method">
439
439
  <div class="title">
440
- <a name="M000622"></a><b>eql?</b>(other)
440
+ <a name="M000624"></a><b>eql?</b>(other)
441
441
  </div>
442
442
  <div class="description">
443
443
  <p>
@@ -445,8 +445,8 @@ Compares two intervals to see if they are equal
445
445
  </p>
446
446
  </div>
447
447
  <div class="sourcecode">
448
- <p class="source-link">[ <a href="javascript:toggleSource('M000622_source')" id="l_M000622_source">+</a> ]</p>
449
- <div id="M000622_source" class="dyn-source">
448
+ <p class="source-link">[ <a href="javascript:toggleSource('M000624_source')" id="l_M000624_source">+</a> ]</p>
449
+ <div id="M000624_source" class="dyn-source">
450
450
  <pre>
451
451
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 274</span>
452
452
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>(<span class="ruby-identifier">other</span>)
@@ -462,7 +462,7 @@ Compares two intervals to see if they are equal
462
462
  </div>
463
463
  <div class="method">
464
464
  <div class="title">
465
- <a name="M000596"></a><b>exclude_begin?</b>()
465
+ <a name="M000598"></a><b>exclude_begin?</b>()
466
466
  </div>
467
467
  <div class="description">
468
468
  <p>
@@ -472,7 +472,7 @@ Alias for exclude_first?
472
472
  </div>
473
473
  <div class="method">
474
474
  <div class="title">
475
- <a name="M000597"></a><b>exclude_end?</b>()
475
+ <a name="M000599"></a><b>exclude_end?</b>()
476
476
  </div>
477
477
  <div class="description">
478
478
  <p>
@@ -482,15 +482,15 @@ Alias for exclude_last?
482
482
  </div>
483
483
  <div class="method">
484
484
  <div class="title">
485
- <a name="M000592"></a><b>exclude_first?</b>()
485
+ <a name="M000594"></a><b>exclude_first?</b>()
486
486
  </div>
487
487
  <div class="aka">
488
488
  This method is also aliased as
489
- <a href="Interval.html#M000596">exclude_begin?</a>
489
+ <a href="Interval.html#M000598">exclude_begin?</a>
490
490
  </div>
491
491
  <div class="sourcecode">
492
- <p class="source-link">[ <a href="javascript:toggleSource('M000592_source')" id="l_M000592_source">+</a> ]</p>
493
- <div id="M000592_source" class="dyn-source">
492
+ <p class="source-link">[ <a href="javascript:toggleSource('M000594_source')" id="l_M000594_source">+</a> ]</p>
493
+ <div id="M000594_source" class="dyn-source">
494
494
  <pre>
495
495
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 115</span>
496
496
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude_first?</span> ; <span class="ruby-ivar">@exclude_first</span> ; <span class="ruby-keyword kw">end</span>
@@ -500,15 +500,15 @@ Alias for exclude_last?
500
500
  </div>
501
501
  <div class="method">
502
502
  <div class="title">
503
- <a name="M000593"></a><b>exclude_last?</b>()
503
+ <a name="M000595"></a><b>exclude_last?</b>()
504
504
  </div>
505
505
  <div class="aka">
506
506
  This method is also aliased as
507
- <a href="Interval.html#M000597">exclude_end?</a>
507
+ <a href="Interval.html#M000599">exclude_end?</a>
508
508
  </div>
509
509
  <div class="sourcecode">
510
- <p class="source-link">[ <a href="javascript:toggleSource('M000593_source')" id="l_M000593_source">+</a> ]</p>
511
- <div id="M000593_source" class="dyn-source">
510
+ <p class="source-link">[ <a href="javascript:toggleSource('M000595_source')" id="l_M000595_source">+</a> ]</p>
511
+ <div id="M000595_source" class="dyn-source">
512
512
  <pre>
513
513
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 116</span>
514
514
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude_last?</span> ; <span class="ruby-ivar">@exclude_last</span> ; <span class="ruby-keyword kw">end</span>
@@ -518,21 +518,21 @@ Alias for exclude_last?
518
518
  </div>
519
519
  <div class="method">
520
520
  <div class="title">
521
- <a name="M000590"></a><b>first</b>()
521
+ <a name="M000592"></a><b>first</b>()
522
522
  </div>
523
523
  <div class="description">
524
524
  <p>
525
- Returns the <a href="Interval.html#M000590">first</a> or <a
526
- href="Interval.html#M000591">last</a> sentinal of the interval.
525
+ Returns the <a href="Interval.html#M000592">first</a> or <a
526
+ href="Interval.html#M000593">last</a> sentinal of the interval.
527
527
  </p>
528
528
  </div>
529
529
  <div class="aka">
530
530
  This method is also aliased as
531
- <a href="Interval.html#M000594">begin</a>
531
+ <a href="Interval.html#M000596">begin</a>
532
532
  </div>
533
533
  <div class="sourcecode">
534
- <p class="source-link">[ <a href="javascript:toggleSource('M000590_source')" id="l_M000590_source">+</a> ]</p>
535
- <div id="M000590_source" class="dyn-source">
534
+ <p class="source-link">[ <a href="javascript:toggleSource('M000592_source')" id="l_M000592_source">+</a> ]</p>
535
+ <div id="M000592_source" class="dyn-source">
536
536
  <pre>
537
537
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 111</span>
538
538
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span> ; <span class="ruby-ivar">@first</span> ; <span class="ruby-keyword kw">end</span>
@@ -542,19 +542,19 @@ href="Interval.html#M000591">last</a> sentinal of the interval.
542
542
  </div>
543
543
  <div class="method">
544
544
  <div class="title">
545
- <a name="M000604"></a><b>first_closed</b>()
545
+ <a name="M000606"></a><b>first_closed</b>()
546
546
  </div>
547
547
  <div class="description">
548
548
  <p>
549
- Returns a <a href="Interval.html#M000588">new</a> interval with one of the
550
- two <a href="Interval.html#M000589">sentinels</a> <a
551
- href="Interval.html#M000602">opened</a> or <a
552
- href="Interval.html#M000601">closed</a>
549
+ Returns a <a href="Interval.html#M000590">new</a> interval with one of the
550
+ two <a href="Interval.html#M000591">sentinels</a> <a
551
+ href="Interval.html#M000604">opened</a> or <a
552
+ href="Interval.html#M000603">closed</a>
553
553
  </p>
554
554
  </div>
555
555
  <div class="sourcecode">
556
- <p class="source-link">[ <a href="javascript:toggleSource('M000604_source')" id="l_M000604_source">+</a> ]</p>
557
- <div id="M000604_source" class="dyn-source">
556
+ <p class="source-link">[ <a href="javascript:toggleSource('M000606_source')" id="l_M000606_source">+</a> ]</p>
557
+ <div id="M000606_source" class="dyn-source">
558
558
  <pre>
559
559
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 152</span>
560
560
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first_closed</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -564,11 +564,11 @@ href="Interval.html#M000601">closed</a>
564
564
  </div>
565
565
  <div class="method">
566
566
  <div class="title">
567
- <a name="M000606"></a><b>first_opened</b>()
567
+ <a name="M000608"></a><b>first_opened</b>()
568
568
  </div>
569
569
  <div class="sourcecode">
570
- <p class="source-link">[ <a href="javascript:toggleSource('M000606_source')" id="l_M000606_source">+</a> ]</p>
571
- <div id="M000606_source" class="dyn-source">
570
+ <p class="source-link">[ <a href="javascript:toggleSource('M000608_source')" id="l_M000608_source">+</a> ]</p>
571
+ <div id="M000608_source" class="dyn-source">
572
572
  <pre>
573
573
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 154</span>
574
574
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first_opened</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
@@ -578,21 +578,21 @@ href="Interval.html#M000601">closed</a>
578
578
  </div>
579
579
  <div class="method">
580
580
  <div class="title">
581
- <a name="M000603"></a><b>half_closed</b>(e=false)
581
+ <a name="M000605"></a><b>half_closed</b>(e=false)
582
582
  </div>
583
583
  <div class="description">
584
584
  <p>
585
- Returns a <a href="Interval.html#M000588">new</a> interval with either the
586
- <a href="Interval.html#M000590">first</a> or the <a
587
- href="Interval.html#M000591">last</a> sentinel exclusive. If the parameter
588
- is false, the deafult, then the <a href="Interval.html#M000590">first</a>
585
+ Returns a <a href="Interval.html#M000590">new</a> interval with either the
586
+ <a href="Interval.html#M000592">first</a> or the <a
587
+ href="Interval.html#M000593">last</a> sentinel exclusive. If the parameter
588
+ is false, the deafult, then the <a href="Interval.html#M000592">first</a>
589
589
  sentinel is excluded; if the parameter is true, the <a
590
- href="Interval.html#M000591">last</a> sentinel is excluded.
590
+ href="Interval.html#M000593">last</a> sentinel is excluded.
591
591
  </p>
592
592
  </div>
593
593
  <div class="sourcecode">
594
- <p class="source-link">[ <a href="javascript:toggleSource('M000603_source')" id="l_M000603_source">+</a> ]</p>
595
- <div id="M000603_source" class="dyn-source">
594
+ <p class="source-link">[ <a href="javascript:toggleSource('M000605_source')" id="l_M000605_source">+</a> ]</p>
595
+ <div id="M000605_source" class="dyn-source">
596
596
  <pre>
597
597
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 147</span>
598
598
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">half_closed</span>(<span class="ruby-identifier">e</span>=<span class="ruby-keyword kw">false</span>)
@@ -604,7 +604,7 @@ href="Interval.html#M000591">last</a> sentinel is excluded.
604
604
  </div>
605
605
  <div class="method">
606
606
  <div class="title">
607
- <a name="M000617"></a><b>include?</b>(x)
607
+ <a name="M000619"></a><b>include?</b>(x)
608
608
  </div>
609
609
  <div class="description">
610
610
  <p>
@@ -613,12 +613,12 @@ Returns true or false if the element is part of the interval.
613
613
  </div>
614
614
  <div class="aka">
615
615
  This method is also aliased as
616
- <a href="Interval.html#M000618">===</a>
617
- <a href="Interval.html#M000619">member?</a>
616
+ <a href="Interval.html#M000620">===</a>
617
+ <a href="Interval.html#M000621">member?</a>
618
618
  </div>
619
619
  <div class="sourcecode">
620
- <p class="source-link">[ <a href="javascript:toggleSource('M000617_source')" id="l_M000617_source">+</a> ]</p>
621
- <div id="M000617_source" class="dyn-source">
620
+ <p class="source-link">[ <a href="javascript:toggleSource('M000619_source')" id="l_M000619_source">+</a> ]</p>
621
+ <div id="M000619_source" class="dyn-source">
622
622
  <pre>
623
623
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 197</span>
624
624
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">x</span>)
@@ -633,15 +633,15 @@ Returns true or false if the element is part of the interval.
633
633
  </div>
634
634
  <div class="method">
635
635
  <div class="title">
636
- <a name="M000591"></a><b>last</b>()
636
+ <a name="M000593"></a><b>last</b>()
637
637
  </div>
638
638
  <div class="aka">
639
639
  This method is also aliased as
640
- <a href="Interval.html#M000595">end</a>
640
+ <a href="Interval.html#M000597">end</a>
641
641
  </div>
642
642
  <div class="sourcecode">
643
- <p class="source-link">[ <a href="javascript:toggleSource('M000591_source')" id="l_M000591_source">+</a> ]</p>
644
- <div id="M000591_source" class="dyn-source">
643
+ <p class="source-link">[ <a href="javascript:toggleSource('M000593_source')" id="l_M000593_source">+</a> ]</p>
644
+ <div id="M000593_source" class="dyn-source">
645
645
  <pre>
646
646
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 112</span>
647
647
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span> ; <span class="ruby-ivar">@last</span> ; <span class="ruby-keyword kw">end</span>
@@ -651,11 +651,11 @@ Returns true or false if the element is part of the interval.
651
651
  </div>
652
652
  <div class="method">
653
653
  <div class="title">
654
- <a name="M000605"></a><b>last_closed</b>()
654
+ <a name="M000607"></a><b>last_closed</b>()
655
655
  </div>
656
656
  <div class="sourcecode">
657
- <p class="source-link">[ <a href="javascript:toggleSource('M000605_source')" id="l_M000605_source">+</a> ]</p>
658
- <div id="M000605_source" class="dyn-source">
657
+ <p class="source-link">[ <a href="javascript:toggleSource('M000607_source')" id="l_M000607_source">+</a> ]</p>
658
+ <div id="M000607_source" class="dyn-source">
659
659
  <pre>
660
660
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 153</span>
661
661
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_closed</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
@@ -665,11 +665,11 @@ Returns true or false if the element is part of the interval.
665
665
  </div>
666
666
  <div class="method">
667
667
  <div class="title">
668
- <a name="M000607"></a><b>last_opened</b>()
668
+ <a name="M000609"></a><b>last_opened</b>()
669
669
  </div>
670
670
  <div class="sourcecode">
671
- <p class="source-link">[ <a href="javascript:toggleSource('M000607_source')" id="l_M000607_source">+</a> ]</p>
672
- <div id="M000607_source" class="dyn-source">
671
+ <p class="source-link">[ <a href="javascript:toggleSource('M000609_source')" id="l_M000609_source">+</a> ]</p>
672
+ <div id="M000609_source" class="dyn-source">
673
673
  <pre>
674
674
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 155</span>
675
675
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_opened</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -679,27 +679,27 @@ Returns true or false if the element is part of the interval.
679
679
  </div>
680
680
  <div class="method">
681
681
  <div class="title">
682
- <a name="M000613"></a><b>length</b>()
682
+ <a name="M000615"></a><b>length</b>()
683
683
  </div>
684
684
  <div class="description">
685
685
  <p>
686
- Alias for <a href="Interval.html#M000612">distance</a>
686
+ Alias for <a href="Interval.html#M000614">distance</a>
687
687
  </p>
688
688
  </div>
689
689
  </div>
690
690
  <div class="method">
691
691
  <div class="title">
692
- <a name="M000616"></a><b>max</b>()
692
+ <a name="M000618"></a><b>max</b>()
693
693
  </div>
694
694
  <div class="description">
695
695
  <p>
696
- Returns the greater of the <a href="Interval.html#M000590">first</a> and <a
697
- href="Interval.html#M000591">last</a> sentinals.
696
+ Returns the greater of the <a href="Interval.html#M000592">first</a> and <a
697
+ href="Interval.html#M000593">last</a> sentinals.
698
698
  </p>
699
699
  </div>
700
700
  <div class="sourcecode">
701
- <p class="source-link">[ <a href="javascript:toggleSource('M000616_source')" id="l_M000616_source">+</a> ]</p>
702
- <div id="M000616_source" class="dyn-source">
701
+ <p class="source-link">[ <a href="javascript:toggleSource('M000618_source')" id="l_M000618_source">+</a> ]</p>
702
+ <div id="M000618_source" class="dyn-source">
703
703
  <pre>
704
704
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 192</span>
705
705
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">max</span>
@@ -711,7 +711,7 @@ href="Interval.html#M000591">last</a> sentinals.
711
711
  </div>
712
712
  <div class="method">
713
713
  <div class="title">
714
- <a name="M000619"></a><b>member?</b>(x)
714
+ <a name="M000621"></a><b>member?</b>(x)
715
715
  </div>
716
716
  <div class="description">
717
717
  <p>
@@ -721,17 +721,17 @@ Alias for include?
721
721
  </div>
722
722
  <div class="method">
723
723
  <div class="title">
724
- <a name="M000615"></a><b>min</b>()
724
+ <a name="M000617"></a><b>min</b>()
725
725
  </div>
726
726
  <div class="description">
727
727
  <p>
728
- Returns the lesser of the <a href="Interval.html#M000590">first</a> and <a
729
- href="Interval.html#M000591">last</a> sentinals.
728
+ Returns the lesser of the <a href="Interval.html#M000592">first</a> and <a
729
+ href="Interval.html#M000593">last</a> sentinals.
730
730
  </p>
731
731
  </div>
732
732
  <div class="sourcecode">
733
- <p class="source-link">[ <a href="javascript:toggleSource('M000615_source')" id="l_M000615_source">+</a> ]</p>
734
- <div id="M000615_source" class="dyn-source">
733
+ <p class="source-link">[ <a href="javascript:toggleSource('M000617_source')" id="l_M000617_source">+</a> ]</p>
734
+ <div id="M000617_source" class="dyn-source">
735
735
  <pre>
736
736
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 187</span>
737
737
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">min</span>
@@ -743,19 +743,19 @@ href="Interval.html#M000591">last</a> sentinals.
743
743
  </div>
744
744
  <div class="method">
745
745
  <div class="title">
746
- <a name="M000599"></a><b>null?</b>()
746
+ <a name="M000601"></a><b>null?</b>()
747
747
  </div>
748
748
  <div class="description">
749
749
  <p>
750
750
  Returns <tt>true</tt> if the start and <a
751
- href="Interval.html#M000595">end</a> <a
752
- href="Interval.html#M000589">sentinels</a> are equal and the interval is
751
+ href="Interval.html#M000597">end</a> <a
752
+ href="Interval.html#M000591">sentinels</a> are equal and the interval is
753
753
  open; otherwise <tt>false</tt>.
754
754
  </p>
755
755
  </div>
756
756
  <div class="sourcecode">
757
- <p class="source-link">[ <a href="javascript:toggleSource('M000599_source')" id="l_M000599_source">+</a> ]</p>
758
- <div id="M000599_source" class="dyn-source">
757
+ <p class="source-link">[ <a href="javascript:toggleSource('M000601_source')" id="l_M000601_source">+</a> ]</p>
758
+ <div id="M000601_source" class="dyn-source">
759
759
  <pre>
760
760
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 128</span>
761
761
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">null?</span> ; <span class="ruby-ivar">@direction</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@exclusive_first</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@exclusive_last</span> ; <span class="ruby-keyword kw">end</span>
@@ -765,17 +765,17 @@ open; otherwise <tt>false</tt>.
765
765
  </div>
766
766
  <div class="method">
767
767
  <div class="title">
768
- <a name="M000602"></a><b>opened</b>()
768
+ <a name="M000604"></a><b>opened</b>()
769
769
  </div>
770
770
  <div class="description">
771
771
  <p>
772
- Returns a <a href="Interval.html#M000588">new</a> interval exclusive of
773
- both <a href="Interval.html#M000589">sentinels</a>.
772
+ Returns a <a href="Interval.html#M000590">new</a> interval exclusive of
773
+ both <a href="Interval.html#M000591">sentinels</a>.
774
774
  </p>
775
775
  </div>
776
776
  <div class="sourcecode">
777
- <p class="source-link">[ <a href="javascript:toggleSource('M000602_source')" id="l_M000602_source">+</a> ]</p>
778
- <div id="M000602_source" class="dyn-source">
777
+ <p class="source-link">[ <a href="javascript:toggleSource('M000604_source')" id="l_M000604_source">+</a> ]</p>
778
+ <div id="M000604_source" class="dyn-source">
779
779
  <pre>
780
780
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 142</span>
781
781
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">opened</span>; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -785,21 +785,21 @@ both <a href="Interval.html#M000589">sentinels</a>.
785
785
  </div>
786
786
  <div class="method">
787
787
  <div class="title">
788
- <a name="M000611"></a><b>reversed</b>()
788
+ <a name="M000613"></a><b>reversed</b>()
789
789
  </div>
790
790
  <div class="description">
791
791
  <p>
792
- Returns a <a href="Interval.html#M000588">new</a> interval with the <a
793
- href="Interval.html#M000589">sentinels</a> <a
794
- href="Interval.html#M000611">reversed</a>.
792
+ Returns a <a href="Interval.html#M000590">new</a> interval with the <a
793
+ href="Interval.html#M000591">sentinels</a> <a
794
+ href="Interval.html#M000613">reversed</a>.
795
795
  </p>
796
796
  <pre>
797
797
  (0..10).reversed #=&gt; 10..0
798
798
  </pre>
799
799
  </div>
800
800
  <div class="sourcecode">
801
- <p class="source-link">[ <a href="javascript:toggleSource('M000611_source')" id="l_M000611_source">+</a> ]</p>
802
- <div id="M000611_source" class="dyn-source">
801
+ <p class="source-link">[ <a href="javascript:toggleSource('M000613_source')" id="l_M000613_source">+</a> ]</p>
802
+ <div id="M000613_source" class="dyn-source">
803
803
  <pre>
804
804
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 167</span>
805
805
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reversed</span>
@@ -811,21 +811,21 @@ href="Interval.html#M000611">reversed</a>.
811
811
  </div>
812
812
  <div class="method">
813
813
  <div class="title">
814
- <a name="M000589"></a><b>sentinels</b>()
814
+ <a name="M000591"></a><b>sentinels</b>()
815
815
  </div>
816
816
  <div class="description">
817
817
  <p>
818
- Returns a two element array of <a href="Interval.html#M000590">first</a>
819
- and <a href="Interval.html#M000591">last</a> <a
820
- href="Interval.html#M000589">sentinels</a>.
818
+ Returns a two element array of <a href="Interval.html#M000592">first</a>
819
+ and <a href="Interval.html#M000593">last</a> <a
820
+ href="Interval.html#M000591">sentinels</a>.
821
821
  </p>
822
822
  <pre>
823
823
  (0..10).sentinels #=&gt; [0,10]
824
824
  </pre>
825
825
  </div>
826
826
  <div class="sourcecode">
827
- <p class="source-link">[ <a href="javascript:toggleSource('M000589_source')" id="l_M000589_source">+</a> ]</p>
828
- <div id="M000589_source" class="dyn-source">
827
+ <p class="source-link">[ <a href="javascript:toggleSource('M000591_source')" id="l_M000591_source">+</a> ]</p>
828
+ <div id="M000591_source" class="dyn-source">
829
829
  <pre>
830
830
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 106</span>
831
831
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sentinels</span>
@@ -837,31 +837,31 @@ href="Interval.html#M000589">sentinels</a>.
837
837
  </div>
838
838
  <div class="method">
839
839
  <div class="title">
840
- <a name="M000614"></a><b>size</b>()
840
+ <a name="M000616"></a><b>size</b>()
841
841
  </div>
842
842
  <div class="description">
843
843
  <p>
844
- Alias for <a href="Interval.html#M000612">distance</a>
844
+ Alias for <a href="Interval.html#M000614">distance</a>
845
845
  </p>
846
846
  </div>
847
847
  </div>
848
848
  <div class="method">
849
849
  <div class="title">
850
- <a name="M000621"></a><b>step</b>(n=1, d=nil)
850
+ <a name="M000623"></a><b>step</b>(n=1, d=nil)
851
851
  </div>
852
852
  <div class="description">
853
853
  <p>
854
- Alias for <a href="Interval.html#M000620">each</a>
854
+ Alias for <a href="Interval.html#M000622">each</a>
855
855
  </p>
856
856
  </div>
857
857
  </div>
858
858
  <div class="method">
859
859
  <div class="title">
860
- <a name="M000610"></a><b>~</b>()
860
+ <a name="M000612"></a><b>~</b>()
861
861
  </div>
862
862
  <div class="sourcecode">
863
- <p class="source-link">[ <a href="javascript:toggleSource('M000610_source')" id="l_M000610_source">+</a> ]</p>
864
- <div id="M000610_source" class="dyn-source">
863
+ <p class="source-link">[ <a href="javascript:toggleSource('M000612_source')" id="l_M000612_source">+</a> ]</p>
864
+ <div id="M000612_source" class="dyn-source">
865
865
  <pre>
866
866
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 161</span>
867
867
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">~@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>