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
@@ -85,11 +85,11 @@ Object
85
85
 
86
86
 
87
87
  <div class="sectiontitle">Methods</div>
88
- <span style="padding-right: 5px;"><a href="#M000218">blank?</a></span>
89
- <span style="padding-right: 5px;"><a href="#M000217">ergo</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000216">to_bool</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000215">to_f</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000214">to_h</a></span>
88
+ <span style="padding-right: 5px;"><a href="#M000229">blank?</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000228">ergo</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000227">to_bool</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000226">to_f</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000225">to_h</a></span>
93
93
 
94
94
 
95
95
 
@@ -99,11 +99,11 @@ Object
99
99
  <div class="sectiontitle">Public Instance methods</div>
100
100
  <div class="method">
101
101
  <div class="title">
102
- <a name="M000218"></a><b>blank?</b>()
102
+ <a name="M000229"></a><b>blank?</b>()
103
103
  </div>
104
104
  <div class="sourcecode">
105
- <p class="source-link">[ <a href="javascript:toggleSource('M000218_source')" id="l_M000218_source">+</a> ]</p>
106
- <div id="M000218_source" class="dyn-source">
105
+ <p class="source-link">[ <a href="javascript:toggleSource('M000229_source')" id="l_M000229_source">+</a> ]</p>
106
+ <div id="M000229_source" class="dyn-source">
107
107
  <pre>
108
108
  <span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 20</span>
109
109
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
@@ -115,11 +115,11 @@ Object
115
115
  </div>
116
116
  <div class="method">
117
117
  <div class="title">
118
- <a name="M000217"></a><b>ergo</b>()
118
+ <a name="M000228"></a><b>ergo</b>()
119
119
  </div>
120
120
  <div class="description">
121
121
  <p>
122
- Compliments <a href="Kernel.html#M000368">Kernel#ergo</a>.
122
+ Compliments <a href="Kernel.html#M000380">Kernel#ergo</a>.
123
123
  </p>
124
124
  <pre>
125
125
  &quot;a&quot;.ergo{ |o| o.upcase } #=&gt; &quot;A&quot;
@@ -130,8 +130,8 @@ CREDIT: Daniel DeLorme
130
130
  </p>
131
131
  </div>
132
132
  <div class="sourcecode">
133
- <p class="source-link">[ <a href="javascript:toggleSource('M000217_source')" id="l_M000217_source">+</a> ]</p>
134
- <div id="M000217_source" class="dyn-source">
133
+ <p class="source-link">[ <a href="javascript:toggleSource('M000228_source')" id="l_M000228_source">+</a> ]</p>
134
+ <div id="M000228_source" class="dyn-source">
135
135
  <pre>
136
136
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/ergo.rb, line 36</span>
137
137
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ergo</span>
@@ -144,11 +144,11 @@ CREDIT: Daniel DeLorme
144
144
  </div>
145
145
  <div class="method">
146
146
  <div class="title">
147
- <a name="M000216"></a><b>to_bool</b>()
147
+ <a name="M000227"></a><b>to_bool</b>()
148
148
  </div>
149
149
  <div class="sourcecode">
150
- <p class="source-link">[ <a href="javascript:toggleSource('M000216_source')" id="l_M000216_source">+</a> ]</p>
151
- <div id="M000216_source" class="dyn-source">
150
+ <p class="source-link">[ <a href="javascript:toggleSource('M000227_source')" id="l_M000227_source">+</a> ]</p>
151
+ <div id="M000227_source" class="dyn-source">
152
152
  <pre>
153
153
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 153</span>
154
154
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_bool</span>
@@ -160,11 +160,11 @@ CREDIT: Daniel DeLorme
160
160
  </div>
161
161
  <div class="method">
162
162
  <div class="title">
163
- <a name="M000215"></a><b>to_f</b>()
163
+ <a name="M000226"></a><b>to_f</b>()
164
164
  </div>
165
165
  <div class="description">
166
166
  <p>
167
- Allows <tt>nil</tt> to respond to <a href="NilClass.html#M000215">to_f</a>.
167
+ Allows <tt>nil</tt> to respond to <a href="NilClass.html#M000226">to_f</a>.
168
168
  Always returns <tt>0</tt>.
169
169
  </p>
170
170
  <pre>
@@ -175,8 +175,8 @@ CREDIT: Matz
175
175
  </p>
176
176
  </div>
177
177
  <div class="sourcecode">
178
- <p class="source-link">[ <a href="javascript:toggleSource('M000215_source')" id="l_M000215_source">+</a> ]</p>
179
- <div id="M000215_source" class="dyn-source">
178
+ <p class="source-link">[ <a href="javascript:toggleSource('M000226_source')" id="l_M000226_source">+</a> ]</p>
179
+ <div id="M000226_source" class="dyn-source">
180
180
  <pre>
181
181
  <span class="ruby-comment cmt"># File lib/core/facets/nilclass/to_f.rb, line 12</span>
182
182
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_f</span>; <span class="ruby-value">0</span><span class="ruby-value">.0</span>; <span class="ruby-keyword kw">end</span>
@@ -186,7 +186,7 @@ CREDIT: Matz
186
186
  </div>
187
187
  <div class="method">
188
188
  <div class="title">
189
- <a name="M000214"></a><b>to_h</b>()
189
+ <a name="M000225"></a><b>to_h</b>()
190
190
  </div>
191
191
  <div class="description">
192
192
  <p>
@@ -200,10 +200,10 @@ CREDIT: Trans
200
200
  </p>
201
201
  </div>
202
202
  <div class="sourcecode">
203
- <p class="source-link">[ <a href="javascript:toggleSource('M000214_source')" id="l_M000214_source">+</a> ]</p>
204
- <div id="M000214_source" class="dyn-source">
203
+ <p class="source-link">[ <a href="javascript:toggleSource('M000225_source')" id="l_M000225_source">+</a> ]</p>
204
+ <div id="M000225_source" class="dyn-source">
205
205
  <pre>
206
- <span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 84</span>
206
+ <span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 284</span>
207
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>; {}; <span class="ruby-keyword kw">end</span>
208
208
  </pre>
209
209
  </div>
@@ -85,12 +85,12 @@ Object
85
85
 
86
86
 
87
87
  <div class="sectiontitle">Methods</div>
88
- <span style="padding-right: 5px;"><a href="#M000211">approx?</a></span>
89
- <span style="padding-right: 5px;"><a href="#M000213">blank?</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000208">distance</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000209">round_at</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000210">round_to</a></span>
93
- <span style="padding-right: 5px;"><a href="#M000212">to_b</a></span>
88
+ <span style="padding-right: 5px;"><a href="#M000222">approx?</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000224">blank?</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000219">distance</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000220">round_at</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000221">round_to</a></span>
93
+ <span style="padding-right: 5px;"><a href="#M000223">to_b</a></span>
94
94
 
95
95
 
96
96
 
@@ -100,7 +100,7 @@ Object
100
100
  <div class="sectiontitle">Public Instance methods</div>
101
101
  <div class="method">
102
102
  <div class="title">
103
- <a name="M000211"></a><b>approx?</b>(x, n=0.01)
103
+ <a name="M000222"></a><b>approx?</b>(x, n=0.01)
104
104
  </div>
105
105
  <div class="description">
106
106
  <p>
@@ -112,8 +112,8 @@ CREDIT: Trans
112
112
  </p>
113
113
  </div>
114
114
  <div class="sourcecode">
115
- <p class="source-link">[ <a href="javascript:toggleSource('M000211_source')" id="l_M000211_source">+</a> ]</p>
116
- <div id="M000211_source" class="dyn-source">
115
+ <p class="source-link">[ <a href="javascript:toggleSource('M000222_source')" id="l_M000222_source">+</a> ]</p>
116
+ <div id="M000222_source" class="dyn-source">
117
117
  <pre>
118
118
  <span class="ruby-comment cmt"># File lib/core/facets/numeric/approx.rb, line 9</span>
119
119
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">approx?</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">n</span>=<span class="ruby-value">0</span><span class="ruby-value">.01</span>)
@@ -126,11 +126,11 @@ CREDIT: Trans
126
126
  </div>
127
127
  <div class="method">
128
128
  <div class="title">
129
- <a name="M000213"></a><b>blank?</b>()
129
+ <a name="M000224"></a><b>blank?</b>()
130
130
  </div>
131
131
  <div class="sourcecode">
132
- <p class="source-link">[ <a href="javascript:toggleSource('M000213_source')" id="l_M000213_source">+</a> ]</p>
133
- <div id="M000213_source" class="dyn-source">
132
+ <p class="source-link">[ <a href="javascript:toggleSource('M000224_source')" id="l_M000224_source">+</a> ]</p>
133
+ <div id="M000224_source" class="dyn-source">
134
134
  <pre>
135
135
  <span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 56</span>
136
136
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
@@ -142,11 +142,11 @@ CREDIT: Trans
142
142
  </div>
143
143
  <div class="method">
144
144
  <div class="title">
145
- <a name="M000208"></a><b>distance</b>(other)
145
+ <a name="M000219"></a><b>distance</b>(other)
146
146
  </div>
147
147
  <div class="description">
148
148
  <p>
149
- Returns the <a href="Numeric.html#M000208">distance</a> between self an
149
+ Returns the <a href="Numeric.html#M000219">distance</a> between self an
150
150
  another value. This is the same as #- but it provides an alternative for
151
151
  common naming between variant classes.
152
152
  </p>
@@ -155,8 +155,8 @@ common naming between variant classes.
155
155
  </pre>
156
156
  </div>
157
157
  <div class="sourcecode">
158
- <p class="source-link">[ <a href="javascript:toggleSource('M000208_source')" id="l_M000208_source">+</a> ]</p>
159
- <div id="M000208_source" class="dyn-source">
158
+ <p class="source-link">[ <a href="javascript:toggleSource('M000219_source')" id="l_M000219_source">+</a> ]</p>
159
+ <div id="M000219_source" class="dyn-source">
160
160
  <pre>
161
161
  <span class="ruby-comment cmt"># File lib/core/facets/numeric/distance.rb, line 9</span>
162
162
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">distance</span>(<span class="ruby-identifier">other</span>)
@@ -168,7 +168,7 @@ common naming between variant classes.
168
168
  </div>
169
169
  <div class="method">
170
170
  <div class="title">
171
- <a name="M000209"></a><b>round_at</b>(*args)
171
+ <a name="M000220"></a><b>round_at</b>(*args)
172
172
  </div>
173
173
  <div class="description">
174
174
  <p>
@@ -180,12 +180,12 @@ lib is in the numeric folder, but we&#8216;ll add this here for
180
180
  convenience.
181
181
  </p>
182
182
  <p>
183
- See <a href="Float.html#M000206">Float#round_at</a>.
183
+ See <a href="Float.html#M000217">Float#round_at</a>.
184
184
  </p>
185
185
  </div>
186
186
  <div class="sourcecode">
187
- <p class="source-link">[ <a href="javascript:toggleSource('M000209_source')" id="l_M000209_source">+</a> ]</p>
188
- <div id="M000209_source" class="dyn-source">
187
+ <p class="source-link">[ <a href="javascript:toggleSource('M000220_source')" id="l_M000220_source">+</a> ]</p>
188
+ <div id="M000220_source" class="dyn-source">
189
189
  <pre>
190
190
  <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 11</span>
191
191
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -197,16 +197,16 @@ See <a href="Float.html#M000206">Float#round_at</a>.
197
197
  </div>
198
198
  <div class="method">
199
199
  <div class="title">
200
- <a name="M000210"></a><b>round_to</b>(*args)
200
+ <a name="M000221"></a><b>round_to</b>(*args)
201
201
  </div>
202
202
  <div class="description">
203
203
  <p>
204
- See <a href="Float.html#M000207">Float#round_to</a>.
204
+ See <a href="Float.html#M000218">Float#round_to</a>.
205
205
  </p>
206
206
  </div>
207
207
  <div class="sourcecode">
208
- <p class="source-link">[ <a href="javascript:toggleSource('M000210_source')" id="l_M000210_source">+</a> ]</p>
209
- <div id="M000210_source" class="dyn-source">
208
+ <p class="source-link">[ <a href="javascript:toggleSource('M000221_source')" id="l_M000221_source">+</a> ]</p>
209
+ <div id="M000221_source" class="dyn-source">
210
210
  <pre>
211
211
  <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 17</span>
212
212
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -218,7 +218,7 @@ See <a href="Float.html#M000207">Float#round_to</a>.
218
218
  </div>
219
219
  <div class="method">
220
220
  <div class="title">
221
- <a name="M000212"></a><b>to_b</b>()
221
+ <a name="M000223"></a><b>to_b</b>()
222
222
  </div>
223
223
  <div class="description">
224
224
  <p>
@@ -232,8 +232,8 @@ true.
232
232
  </pre>
233
233
  </div>
234
234
  <div class="sourcecode">
235
- <p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">+</a> ]</p>
236
- <div id="M000212_source" class="dyn-source">
235
+ <p class="source-link">[ <a href="javascript:toggleSource('M000223_source')" id="l_M000223_source">+</a> ]</p>
236
+ <div id="M000223_source" class="dyn-source">
237
237
  <pre>
238
238
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 76</span>
239
239
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
@@ -82,8 +82,8 @@ Object
82
82
 
83
83
 
84
84
  <div class="sectiontitle">Methods</div>
85
- <span style="padding-right: 5px;"><a href="#M000225">instance_exec</a></span>
86
- <span style="padding-right: 5px;"><a href="#M000224">to_bool</a></span>
85
+ <span style="padding-right: 5px;"><a href="#M000236">instance_exec</a></span>
86
+ <span style="padding-right: 5px;"><a href="#M000235">to_bool</a></span>
87
87
 
88
88
  <div class="sectiontitle">Included Modules</div>
89
89
  <ul>
@@ -97,7 +97,7 @@ Object
97
97
  <div class="sectiontitle">Public Instance methods</div>
98
98
  <div class="method">
99
99
  <div class="title">
100
- <a name="M000225"></a><b>instance_exec</b>(*args, &amp;block)
100
+ <a name="M000236"></a><b>instance_exec</b>(*args, &amp;block)
101
101
  </div>
102
102
  <div class="description">
103
103
  <p>
@@ -113,8 +113,8 @@ This version has been borrowed from Rails for compatibility sake.
113
113
  </p>
114
114
  </div>
115
115
  <div class="sourcecode">
116
- <p class="source-link">[ <a href="javascript:toggleSource('M000225_source')" id="l_M000225_source">+</a> ]</p>
117
- <div id="M000225_source" class="dyn-source">
116
+ <p class="source-link">[ <a href="javascript:toggleSource('M000236_source')" id="l_M000236_source">+</a> ]</p>
117
+ <div id="M000236_source" class="dyn-source">
118
118
  <pre>
119
119
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_exec.rb, line 15</span>
120
120
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_exec</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -139,11 +139,11 @@ This version has been borrowed from Rails for compatibility sake.
139
139
  </div>
140
140
  <div class="method">
141
141
  <div class="title">
142
- <a name="M000224"></a><b>to_bool</b>()
142
+ <a name="M000235"></a><b>to_bool</b>()
143
143
  </div>
144
144
  <div class="sourcecode">
145
- <p class="source-link">[ <a href="javascript:toggleSource('M000224_source')" id="l_M000224_source">+</a> ]</p>
146
- <div id="M000224_source" class="dyn-source">
145
+ <p class="source-link">[ <a href="javascript:toggleSource('M000235_source')" id="l_M000235_source">+</a> ]</p>
146
+ <div id="M000235_source" class="dyn-source">
147
147
  <pre>
148
148
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 135</span>
149
149
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_bool</span>
@@ -73,7 +73,7 @@
73
73
 
74
74
 
75
75
  <div class="sectiontitle">Methods</div>
76
- <span style="padding-right: 5px;"><a href="#M000316">classes</a></span>
76
+ <span style="padding-right: 5px;"><a href="#M000328">classes</a></span>
77
77
 
78
78
 
79
79
 
@@ -83,18 +83,18 @@
83
83
  <div class="sectiontitle">Public Class methods</div>
84
84
  <div class="method">
85
85
  <div class="title">
86
- <a name="M000316"></a><b>classes</b>()
86
+ <a name="M000328"></a><b>classes</b>()
87
87
  </div>
88
88
  <div class="description">
89
89
  <p>
90
90
  @return &lt;<a href="Array.html">Array</a>[<a
91
91
  href="Class.html">Class</a>]&gt; All the <a
92
- href="ObjectSpace.html#M000316">classes</a> in the object space.
92
+ href="ObjectSpace.html#M000328">classes</a> in the object space.
93
93
  </p>
94
94
  </div>
95
95
  <div class="sourcecode">
96
- <p class="source-link">[ <a href="javascript:toggleSource('M000316_source')" id="l_M000316_source">+</a> ]</p>
97
- <div id="M000316_source" class="dyn-source">
96
+ <p class="source-link">[ <a href="javascript:toggleSource('M000328_source')" id="l_M000328_source">+</a> ]</p>
97
+ <div id="M000328_source" class="dyn-source">
98
98
  <pre>
99
99
  <span class="ruby-comment cmt"># File lib/core/facets/objectspace/classes.rb, line 4</span>
100
100
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">classes</span>
@@ -85,11 +85,11 @@ Object
85
85
 
86
86
 
87
87
  <div class="sectiontitle">Methods</div>
88
- <span style="padding-right: 5px;"><a href="#M000160">*</a></span>
89
- <span style="padding-right: 5px;"><a href="#M000162">bind</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000159">compose</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000158">curry</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000161">to_method</a></span>
88
+ <span style="padding-right: 5px;"><a href="#M000169">*</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000171">bind</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000168">compose</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000167">curry</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000170">to_method</a></span>
93
93
 
94
94
 
95
95
 
@@ -99,11 +99,11 @@ Object
99
99
  <div class="sectiontitle">Public Instance methods</div>
100
100
  <div class="method">
101
101
  <div class="title">
102
- <a name="M000160"></a><b>*</b>(x)
102
+ <a name="M000169"></a><b>*</b>(x)
103
103
  </div>
104
104
  <div class="description">
105
105
  <p>
106
- Operator for <a href="Proc.html#M000159">Proc#compose</a> and <a
106
+ Operator for <a href="Proc.html#M000168">Proc#compose</a> and <a
107
107
  href="Integer.html#M000016">Integer#times_collect</a>/of.
108
108
  </p>
109
109
  <pre>
@@ -118,8 +118,8 @@ CREDIT: Dave
118
118
  </p>
119
119
  </div>
120
120
  <div class="sourcecode">
121
- <p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">+</a> ]</p>
122
- <div id="M000160_source" class="dyn-source">
121
+ <p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">+</a> ]</p>
122
+ <div id="M000169_source" class="dyn-source">
123
123
  <pre>
124
124
  <span class="ruby-comment cmt"># File lib/core/facets/proc/compose.rb, line 29</span>
125
125
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">x</span>)
@@ -139,7 +139,7 @@ CREDIT: Dave
139
139
  </div>
140
140
  <div class="method">
141
141
  <div class="title">
142
- <a name="M000162"></a><b>bind</b>(object)
142
+ <a name="M000171"></a><b>bind</b>(object)
143
143
  </div>
144
144
  <div class="description">
145
145
  <p>
@@ -155,8 +155,8 @@ NOTE: This version comes from Rails. The old Facets
155
155
  </pre>
156
156
  </div>
157
157
  <div class="sourcecode">
158
- <p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">+</a> ]</p>
159
- <div id="M000162_source" class="dyn-source">
158
+ <p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">+</a> ]</p>
159
+ <div id="M000171_source" class="dyn-source">
160
160
  <pre>
161
161
  <span class="ruby-comment cmt"># File lib/core/facets/proc/bind.rb, line 10</span>
162
162
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bind</span>(<span class="ruby-identifier">object</span>)
@@ -175,7 +175,7 @@ NOTE: This version comes from Rails. The old Facets
175
175
  </div>
176
176
  <div class="method">
177
177
  <div class="title">
178
- <a name="M000159"></a><b>compose</b>(g)
178
+ <a name="M000168"></a><b>compose</b>(g)
179
179
  </div>
180
180
  <div class="description">
181
181
  <p>
@@ -194,8 +194,8 @@ CREDIT: Dave
194
194
  </p>
195
195
  </div>
196
196
  <div class="sourcecode">
197
- <p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">+</a> ]</p>
198
- <div id="M000159_source" class="dyn-source">
197
+ <p class="source-link">[ <a href="javascript:toggleSource('M000168_source')" id="l_M000168_source">+</a> ]</p>
198
+ <div id="M000168_source" class="dyn-source">
199
199
  <pre>
200
200
  <span class="ruby-comment cmt"># File lib/core/facets/proc/compose.rb, line 14</span>
201
201
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compose</span>(<span class="ruby-identifier">g</span>)
@@ -208,7 +208,7 @@ CREDIT: Dave
208
208
  </div>
209
209
  <div class="method">
210
210
  <div class="title">
211
- <a name="M000158"></a><b>curry</b>(*args)
211
+ <a name="M000167"></a><b>curry</b>(*args)
212
212
  </div>
213
213
  <div class="description">
214
214
  <p>
@@ -216,13 +216,13 @@ Curry <a href="Proc.html">Proc</a> object into new <a
216
216
  href="Proc.html">Proc</a> object.
217
217
  </p>
218
218
  <p>
219
- TODO: Utilize Ruby 1.9&#8216;s <a href="Proc.html#M000158">curry</a>
219
+ TODO: Utilize Ruby 1.9&#8216;s <a href="Proc.html#M000167">curry</a>
220
220
  method.
221
221
  </p>
222
222
  </div>
223
223
  <div class="sourcecode">
224
- <p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">+</a> ]</p>
225
- <div id="M000158_source" class="dyn-source">
224
+ <p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">+</a> ]</p>
225
+ <div id="M000167_source" class="dyn-source">
226
226
  <pre>
227
227
  <span class="ruby-comment cmt"># File lib/core/facets/proc/curry.rb, line 7</span>
228
228
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curry</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -253,7 +253,7 @@ method.
253
253
  </div>
254
254
  <div class="method">
255
255
  <div class="title">
256
- <a name="M000161"></a><b>to_method</b>(object, name=nil)
256
+ <a name="M000170"></a><b>to_method</b>(object, name=nil)
257
257
  </div>
258
258
  <div class="description">
259
259
  <p>
@@ -266,8 +266,8 @@ Convert <a href="Proc.html">Proc</a> to method.
266
266
  </pre>
267
267
  </div>
268
268
  <div class="sourcecode">
269
- <p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">+</a> ]</p>
270
- <div id="M000161_source" class="dyn-source">
269
+ <p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">+</a> ]</p>
270
+ <div id="M000170_source" class="dyn-source">
271
271
  <pre>
272
272
  <span class="ruby-comment cmt"># File lib/core/facets/proc/to_method.rb, line 11</span>
273
273
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_method</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">name</span>=<span class="ruby-keyword kw">nil</span>)