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
@@ -519,7 +519,7 @@ Alias for <a href="Integer.html#M000009">ordinal</a>
519
519
  </div>
520
520
  <div class="description">
521
521
  <p>
522
- See <a href="Float.html#M000206">Float#round_at</a>.
522
+ See <a href="Float.html#M000217">Float#round_at</a>.
523
523
  </p>
524
524
  </div>
525
525
  <div class="sourcecode">
@@ -540,7 +540,7 @@ See <a href="Float.html#M000206">Float#round_at</a>.
540
540
  </div>
541
541
  <div class="description">
542
542
  <p>
543
- See <a href="Float.html#M000207">Float#round_to</a>.
543
+ See <a href="Float.html#M000218">Float#round_to</a>.
544
544
  </p>
545
545
  </div>
546
546
  <div class="sourcecode">
@@ -118,72 +118,72 @@
118
118
 
119
119
 
120
120
  <div class="sectiontitle">Methods</div>
121
- <span style="padding-right: 5px;"><a href="#M000356">Bit</a></span>
122
- <span style="padding-right: 5px;"><a href="#M000396">__DIR__</a></span>
123
- <span style="padding-right: 5px;"><a href="#M000388">__HERE__</a></span>
124
- <span style="padding-right: 5px;"><a href="#M000357">as</a></span>
125
- <span style="padding-right: 5px;"><a href="#M000361">ask</a></span>
126
- <span style="padding-right: 5px;"><a href="#M000391">attr_singleton_accessor</a></span>
127
- <span style="padding-right: 5px;"><a href="#M000389">attr_singleton_reader</a></span>
128
- <span style="padding-right: 5px;"><a href="#M000390">attr_singleton_writer</a></span>
129
- <span style="padding-right: 5px;"><a href="#M000408">blank?</a></span>
130
- <span style="padding-right: 5px;"><a href="#M000355">bool?</a></span>
131
- <span style="padding-right: 5px;"><a href="#M000398">callstack</a></span>
132
- <span style="padding-right: 5px;"><a href="#M000369">complete</a></span>
133
- <span style="padding-right: 5px;"><a href="#M000402">constant</a></span>
134
- <span style="padding-right: 5px;"><a href="#M000386">d</a></span>
135
- <span style="padding-right: 5px;"><a href="#M000372">deep_copy</a></span>
136
- <span style="padding-right: 5px;"><a href="#M000350">demand</a></span>
137
- <span style="padding-right: 5px;"><a href="#M000362">demo</a></span>
138
- <span style="padding-right: 5px;"><a href="#M000348">eigenclass</a></span>
139
- <span style="padding-right: 5px;"><a href="#M000378">enable_warnings</a></span>
140
- <span style="padding-right: 5px;"><a href="#M000368">ergo</a></span>
141
- <span style="padding-right: 5px;"><a href="#M000354">false?</a></span>
142
- <span style="padding-right: 5px;"><a href="#M000351">future</a></span>
143
- <span style="padding-right: 5px;"><a href="#M000407">in?</a></span>
144
- <span style="padding-right: 5px;"><a href="#M000366">instance</a></span>
145
- <span style="padding-right: 5px;"><a href="#M000384">instance_assign</a></span>
146
- <span style="padding-right: 5px;"><a href="#M000387">instance_class</a></span>
147
- <span style="padding-right: 5px;"><a href="#M000383">instance_values</a></span>
148
- <span style="padding-right: 5px;"><a href="#M000382">instance_vars</a></span>
149
- <span style="padding-right: 5px;"><a href="#M000404">load_local</a></span>
150
- <span style="padding-right: 5px;"><a href="#M000363">maybe</a></span>
151
- <span style="padding-right: 5px;"><a href="#M000343">meta_alias</a></span>
152
- <span style="padding-right: 5px;"><a href="#M000346">meta_class</a></span>
153
- <span style="padding-right: 5px;"><a href="#M000345">meta_def</a></span>
154
- <span style="padding-right: 5px;"><a href="#M000344">meta_eval</a></span>
155
- <span style="padding-right: 5px;"><a href="#M000347">metaclass</a></span>
156
- <span style="padding-right: 5px;"><a href="#M000371">non_nil?</a></span>
157
- <span style="padding-right: 5px;"><a href="#M000370">not_nil?</a></span>
158
- <span style="padding-right: 5px;"><a href="#M000364">object_hexid</a></span>
159
- <span style="padding-right: 5px;"><a href="#M000367">object_send</a></span>
160
- <span style="padding-right: 5px;"><a href="#M000392">p</a></span>
161
- <span style="padding-right: 5px;"><a href="#M000399">populate</a></span>
162
- <span style="padding-right: 5px;"><a href="#M000349">promise</a></span>
163
- <span style="padding-right: 5px;"><a href="#M000380">qua_class</a></span>
164
- <span style="padding-right: 5px;"><a href="#M000379">require_all</a></span>
165
- <span style="padding-right: 5px;"><a href="#M000403">require_local</a></span>
166
- <span style="padding-right: 5px;"><a href="#M000381">resc</a></span>
167
- <span style="padding-right: 5px;"><a href="#M000405">respond</a></span>
168
- <span style="padding-right: 5px;"><a href="#M000406">respond_with_value</a></span>
169
- <span style="padding-right: 5px;"><a href="#M000397">returning</a></span>
170
- <span style="padding-right: 5px;"><a href="#M000358">send_as</a></span>
171
- <span style="padding-right: 5px;"><a href="#M000400">set_from</a></span>
172
- <span style="padding-right: 5px;"><a href="#M000374">silence_stderr</a></span>
173
- <span style="padding-right: 5px;"><a href="#M000375">silence_stdout</a></span>
174
- <span style="padding-right: 5px;"><a href="#M000373">silence_stream</a></span>
175
- <span style="padding-right: 5px;"><a href="#M000377">silence_warnings</a></span>
176
- <span style="padding-right: 5px;"><a href="#M000376">silently</a></span>
177
- <span style="padding-right: 5px;"><a href="#M000394">singleton</a></span>
178
- <span style="padding-right: 5px;"><a href="#M000393">singleton_class</a></span>
179
- <span style="padding-right: 5px;"><a href="#M000360">super_as</a></span>
180
- <span style="padding-right: 5px;"><a href="#M000359">super_method</a></span>
181
- <span style="padding-right: 5px;"><a href="#M000365">tap</a></span>
182
- <span style="padding-right: 5px;"><a href="#M000352">to_b</a></span>
183
- <span style="padding-right: 5px;"><a href="#M000353">true?</a></span>
184
- <span style="padding-right: 5px;"><a href="#M000395">try</a></span>
185
- <span style="padding-right: 5px;"><a href="#M000401">val?</a></span>
186
- <span style="padding-right: 5px;"><a href="#M000385">with</a></span>
121
+ <span style="padding-right: 5px;"><a href="#M000368">Bit</a></span>
122
+ <span style="padding-right: 5px;"><a href="#M000408">__DIR__</a></span>
123
+ <span style="padding-right: 5px;"><a href="#M000400">__HERE__</a></span>
124
+ <span style="padding-right: 5px;"><a href="#M000369">as</a></span>
125
+ <span style="padding-right: 5px;"><a href="#M000373">ask</a></span>
126
+ <span style="padding-right: 5px;"><a href="#M000403">attr_singleton_accessor</a></span>
127
+ <span style="padding-right: 5px;"><a href="#M000401">attr_singleton_reader</a></span>
128
+ <span style="padding-right: 5px;"><a href="#M000402">attr_singleton_writer</a></span>
129
+ <span style="padding-right: 5px;"><a href="#M000420">blank?</a></span>
130
+ <span style="padding-right: 5px;"><a href="#M000367">bool?</a></span>
131
+ <span style="padding-right: 5px;"><a href="#M000410">callstack</a></span>
132
+ <span style="padding-right: 5px;"><a href="#M000381">complete</a></span>
133
+ <span style="padding-right: 5px;"><a href="#M000414">constant</a></span>
134
+ <span style="padding-right: 5px;"><a href="#M000398">d</a></span>
135
+ <span style="padding-right: 5px;"><a href="#M000384">deep_copy</a></span>
136
+ <span style="padding-right: 5px;"><a href="#M000362">demand</a></span>
137
+ <span style="padding-right: 5px;"><a href="#M000374">demo</a></span>
138
+ <span style="padding-right: 5px;"><a href="#M000360">eigenclass</a></span>
139
+ <span style="padding-right: 5px;"><a href="#M000390">enable_warnings</a></span>
140
+ <span style="padding-right: 5px;"><a href="#M000380">ergo</a></span>
141
+ <span style="padding-right: 5px;"><a href="#M000366">false?</a></span>
142
+ <span style="padding-right: 5px;"><a href="#M000363">future</a></span>
143
+ <span style="padding-right: 5px;"><a href="#M000419">in?</a></span>
144
+ <span style="padding-right: 5px;"><a href="#M000378">instance</a></span>
145
+ <span style="padding-right: 5px;"><a href="#M000396">instance_assign</a></span>
146
+ <span style="padding-right: 5px;"><a href="#M000399">instance_class</a></span>
147
+ <span style="padding-right: 5px;"><a href="#M000395">instance_values</a></span>
148
+ <span style="padding-right: 5px;"><a href="#M000394">instance_vars</a></span>
149
+ <span style="padding-right: 5px;"><a href="#M000416">load_local</a></span>
150
+ <span style="padding-right: 5px;"><a href="#M000375">maybe</a></span>
151
+ <span style="padding-right: 5px;"><a href="#M000355">meta_alias</a></span>
152
+ <span style="padding-right: 5px;"><a href="#M000358">meta_class</a></span>
153
+ <span style="padding-right: 5px;"><a href="#M000357">meta_def</a></span>
154
+ <span style="padding-right: 5px;"><a href="#M000356">meta_eval</a></span>
155
+ <span style="padding-right: 5px;"><a href="#M000359">metaclass</a></span>
156
+ <span style="padding-right: 5px;"><a href="#M000383">non_nil?</a></span>
157
+ <span style="padding-right: 5px;"><a href="#M000382">not_nil?</a></span>
158
+ <span style="padding-right: 5px;"><a href="#M000376">object_hexid</a></span>
159
+ <span style="padding-right: 5px;"><a href="#M000379">object_send</a></span>
160
+ <span style="padding-right: 5px;"><a href="#M000404">p</a></span>
161
+ <span style="padding-right: 5px;"><a href="#M000411">populate</a></span>
162
+ <span style="padding-right: 5px;"><a href="#M000361">promise</a></span>
163
+ <span style="padding-right: 5px;"><a href="#M000392">qua_class</a></span>
164
+ <span style="padding-right: 5px;"><a href="#M000391">require_all</a></span>
165
+ <span style="padding-right: 5px;"><a href="#M000415">require_local</a></span>
166
+ <span style="padding-right: 5px;"><a href="#M000393">resc</a></span>
167
+ <span style="padding-right: 5px;"><a href="#M000417">respond</a></span>
168
+ <span style="padding-right: 5px;"><a href="#M000418">respond_with_value</a></span>
169
+ <span style="padding-right: 5px;"><a href="#M000409">returning</a></span>
170
+ <span style="padding-right: 5px;"><a href="#M000370">send_as</a></span>
171
+ <span style="padding-right: 5px;"><a href="#M000412">set_from</a></span>
172
+ <span style="padding-right: 5px;"><a href="#M000386">silence_stderr</a></span>
173
+ <span style="padding-right: 5px;"><a href="#M000387">silence_stdout</a></span>
174
+ <span style="padding-right: 5px;"><a href="#M000385">silence_stream</a></span>
175
+ <span style="padding-right: 5px;"><a href="#M000389">silence_warnings</a></span>
176
+ <span style="padding-right: 5px;"><a href="#M000388">silently</a></span>
177
+ <span style="padding-right: 5px;"><a href="#M000406">singleton</a></span>
178
+ <span style="padding-right: 5px;"><a href="#M000405">singleton_class</a></span>
179
+ <span style="padding-right: 5px;"><a href="#M000372">super_as</a></span>
180
+ <span style="padding-right: 5px;"><a href="#M000371">super_method</a></span>
181
+ <span style="padding-right: 5px;"><a href="#M000377">tap</a></span>
182
+ <span style="padding-right: 5px;"><a href="#M000364">to_b</a></span>
183
+ <span style="padding-right: 5px;"><a href="#M000365">true?</a></span>
184
+ <span style="padding-right: 5px;"><a href="#M000407">try</a></span>
185
+ <span style="padding-right: 5px;"><a href="#M000413">val?</a></span>
186
+ <span style="padding-right: 5px;"><a href="#M000397">with</a></span>
187
187
 
188
188
 
189
189
 
@@ -193,7 +193,7 @@
193
193
  <div class="sectiontitle">Public Instance methods</div>
194
194
  <div class="method">
195
195
  <div class="title">
196
- <a name="M000356"></a><b>Bit</b>(n)
196
+ <a name="M000368"></a><b>Bit</b>(n)
197
197
  </div>
198
198
  <div class="description">
199
199
  <p>
@@ -212,8 +212,8 @@ CREDIT: Thomas Sawyer, George Moschovitis
212
212
  </p>
213
213
  </div>
214
214
  <div class="sourcecode">
215
- <p class="source-link">[ <a href="javascript:toggleSource('M000356_source')" id="l_M000356_source">+</a> ]</p>
216
- <div id="M000356_source" class="dyn-source">
215
+ <p class="source-link">[ <a href="javascript:toggleSource('M000368_source')" id="l_M000368_source">+</a> ]</p>
216
+ <div id="M000368_source" class="dyn-source">
217
217
  <pre>
218
218
  <span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 97</span>
219
219
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Bit</span>(<span class="ruby-identifier">n</span>)
@@ -225,7 +225,7 @@ CREDIT: Thomas Sawyer, George Moschovitis
225
225
  </div>
226
226
  <div class="method">
227
227
  <div class="title">
228
- <a name="M000396"></a><b>__DIR__</b>()
228
+ <a name="M000408"></a><b>__DIR__</b>()
229
229
  </div>
230
230
  <div class="description">
231
231
  <p>
@@ -237,8 +237,8 @@ CREDIT: Trans
237
237
  </p>
238
238
  </div>
239
239
  <div class="sourcecode">
240
- <p class="source-link">[ <a href="javascript:toggleSource('M000396_source')" id="l_M000396_source">+</a> ]</p>
241
- <div id="M000396_source" class="dyn-source">
240
+ <p class="source-link">[ <a href="javascript:toggleSource('M000408_source')" id="l_M000408_source">+</a> ]</p>
241
+ <div id="M000408_source" class="dyn-source">
242
242
  <pre>
243
243
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/__dir__.rb, line 8</span>
244
244
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__DIR__</span>
@@ -250,11 +250,11 @@ CREDIT: Trans
250
250
  </div>
251
251
  <div class="method">
252
252
  <div class="title">
253
- <a name="M000388"></a><b>__HERE__</b>()
253
+ <a name="M000400"></a><b>__HERE__</b>()
254
254
  </div>
255
255
  <div class="sourcecode">
256
- <p class="source-link">[ <a href="javascript:toggleSource('M000388_source')" id="l_M000388_source">+</a> ]</p>
257
- <div id="M000388_source" class="dyn-source">
256
+ <p class="source-link">[ <a href="javascript:toggleSource('M000400_source')" id="l_M000400_source">+</a> ]</p>
257
+ <div id="M000400_source" class="dyn-source">
258
258
  <pre>
259
259
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/__here__.rb, line 3</span>
260
260
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__HERE__</span>
@@ -266,7 +266,7 @@ CREDIT: Trans
266
266
  </div>
267
267
  <div class="method">
268
268
  <div class="title">
269
- <a name="M000357"></a><b>as</b>(ancestor, &amp;blk)
269
+ <a name="M000369"></a><b>as</b>(ancestor, &amp;blk)
270
270
  </div>
271
271
  <div class="description">
272
272
  <p>
@@ -290,8 +290,8 @@ directly of the given object.
290
290
  </pre>
291
291
  </div>
292
292
  <div class="sourcecode">
293
- <p class="source-link">[ <a href="javascript:toggleSource('M000357_source')" id="l_M000357_source">+</a> ]</p>
294
- <div id="M000357_source" class="dyn-source">
293
+ <p class="source-link">[ <a href="javascript:toggleSource('M000369_source')" id="l_M000369_source">+</a> ]</p>
294
+ <div id="M000369_source" class="dyn-source">
295
295
  <pre>
296
296
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 22</span>
297
297
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">as</span>(<span class="ruby-identifier">ancestor</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -309,7 +309,7 @@ directly of the given object.
309
309
  </div>
310
310
  <div class="method">
311
311
  <div class="title">
312
- <a name="M000361"></a><b>ask</b>(question, answers=nil)
312
+ <a name="M000373"></a><b>ask</b>(question, answers=nil)
313
313
  </div>
314
314
  <div class="description">
315
315
  <p>
@@ -331,13 +331,13 @@ Responding:
331
331
  $ Are you happy? [Yn] Y &lt;ENTER&gt;
332
332
  </pre>
333
333
  <p>
334
- The <a href="Kernel.html#M000361">ask</a> method would return
334
+ The <a href="Kernel.html#M000373">ask</a> method would return
335
335
  &quot;Y&quot;.
336
336
  </p>
337
337
  </div>
338
338
  <div class="sourcecode">
339
- <p class="source-link">[ <a href="javascript:toggleSource('M000361_source')" id="l_M000361_source">+</a> ]</p>
340
- <div id="M000361_source" class="dyn-source">
339
+ <p class="source-link">[ <a href="javascript:toggleSource('M000373_source')" id="l_M000373_source">+</a> ]</p>
340
+ <div id="M000373_source" class="dyn-source">
341
341
  <pre>
342
342
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/ask.rb, line 19</span>
343
343
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ask</span>(<span class="ruby-identifier">question</span>, <span class="ruby-identifier">answers</span>=<span class="ruby-keyword kw">nil</span>)
@@ -352,12 +352,12 @@ The <a href="Kernel.html#M000361">ask</a> method would return
352
352
  </div>
353
353
  <div class="method">
354
354
  <div class="title">
355
- <a name="M000391"></a><b>attr_singleton_accessor</b>(*args)
355
+ <a name="M000403"></a><b>attr_singleton_accessor</b>(*args)
356
356
  </div>
357
357
  <div class="description">
358
358
  <p>
359
- Takes an array or hash <a href="Kernel.html#M000385">with</a> default
360
- values and creates <a href="Kernel.html#M000394">singleton</a>
359
+ Takes an array or hash <a href="Kernel.html#M000397">with</a> default
360
+ values and creates <a href="Kernel.html#M000406">singleton</a>
361
361
  attr_accessors for each.
362
362
  </p>
363
363
  <pre>
@@ -374,8 +374,8 @@ CREDIT: Trans
374
374
  </p>
375
375
  </div>
376
376
  <div class="sourcecode">
377
- <p class="source-link">[ <a href="javascript:toggleSource('M000391_source')" id="l_M000391_source">+</a> ]</p>
378
- <div id="M000391_source" class="dyn-source">
377
+ <p class="source-link">[ <a href="javascript:toggleSource('M000403_source')" id="l_M000403_source">+</a> ]</p>
378
+ <div id="M000403_source" class="dyn-source">
379
379
  <pre>
380
380
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/attr_singleton.rb, line 54</span>
381
381
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_singleton_accessor</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -390,12 +390,12 @@ CREDIT: Trans
390
390
  </div>
391
391
  <div class="method">
392
392
  <div class="title">
393
- <a name="M000389"></a><b>attr_singleton_reader</b>(*args)
393
+ <a name="M000401"></a><b>attr_singleton_reader</b>(*args)
394
394
  </div>
395
395
  <div class="description">
396
396
  <p>
397
- Takes an array or a hash <a href="Kernel.html#M000385">with</a> default
398
- values and creates <a href="Kernel.html#M000394">singleton</a> attr_readers
397
+ Takes an array or a hash <a href="Kernel.html#M000397">with</a> default
398
+ values and creates <a href="Kernel.html#M000406">singleton</a> attr_readers
399
399
  for each.
400
400
  </p>
401
401
  <pre>
@@ -410,8 +410,8 @@ CREDIT: Trans
410
410
  </p>
411
411
  </div>
412
412
  <div class="sourcecode">
413
- <p class="source-link">[ <a href="javascript:toggleSource('M000389_source')" id="l_M000389_source">+</a> ]</p>
414
- <div id="M000389_source" class="dyn-source">
413
+ <p class="source-link">[ <a href="javascript:toggleSource('M000401_source')" id="l_M000401_source">+</a> ]</p>
414
+ <div id="M000401_source" class="dyn-source">
415
415
  <pre>
416
416
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/attr_singleton.rb, line 14</span>
417
417
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_singleton_reader</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -426,12 +426,12 @@ CREDIT: Trans
426
426
  </div>
427
427
  <div class="method">
428
428
  <div class="title">
429
- <a name="M000390"></a><b>attr_singleton_writer</b>(*args)
429
+ <a name="M000402"></a><b>attr_singleton_writer</b>(*args)
430
430
  </div>
431
431
  <div class="description">
432
432
  <p>
433
- Takes an array or a hash <a href="Kernel.html#M000385">with</a> default
434
- values and creates <a href="Kernel.html#M000394">singleton</a> attr_writers
433
+ Takes an array or a hash <a href="Kernel.html#M000397">with</a> default
434
+ values and creates <a href="Kernel.html#M000406">singleton</a> attr_writers
435
435
  for each.
436
436
  </p>
437
437
  <pre>
@@ -448,8 +448,8 @@ CREDIT: Trans
448
448
  </p>
449
449
  </div>
450
450
  <div class="sourcecode">
451
- <p class="source-link">[ <a href="javascript:toggleSource('M000390_source')" id="l_M000390_source">+</a> ]</p>
452
- <div id="M000390_source" class="dyn-source">
451
+ <p class="source-link">[ <a href="javascript:toggleSource('M000402_source')" id="l_M000402_source">+</a> ]</p>
452
+ <div id="M000402_source" class="dyn-source">
453
453
  <pre>
454
454
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/attr_singleton.rb, line 34</span>
455
455
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_singleton_writer</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -464,7 +464,7 @@ CREDIT: Trans
464
464
  </div>
465
465
  <div class="method">
466
466
  <div class="title">
467
- <a name="M000408"></a><b>blank?</b>()
467
+ <a name="M000420"></a><b>blank?</b>()
468
468
  </div>
469
469
  <div class="description">
470
470
  <p>
@@ -485,8 +485,8 @@ to
485
485
  </pre>
486
486
  </div>
487
487
  <div class="sourcecode">
488
- <p class="source-link">[ <a href="javascript:toggleSource('M000408_source')" id="l_M000408_source">+</a> ]</p>
489
- <div id="M000408_source" class="dyn-source">
488
+ <p class="source-link">[ <a href="javascript:toggleSource('M000420_source')" id="l_M000420_source">+</a> ]</p>
489
+ <div id="M000420_source" class="dyn-source">
490
490
  <pre>
491
491
  <span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 14</span>
492
492
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
@@ -498,7 +498,7 @@ to
498
498
  </div>
499
499
  <div class="method">
500
500
  <div class="title">
501
- <a name="M000355"></a><b>bool?</b>()
501
+ <a name="M000367"></a><b>bool?</b>()
502
502
  </div>
503
503
  <div class="description">
504
504
  <p>
@@ -512,8 +512,8 @@ or <a href="FalseClass.html">FalseClass</a>, otherwise false.
512
512
  </pre>
513
513
  </div>
514
514
  <div class="sourcecode">
515
- <p class="source-link">[ <a href="javascript:toggleSource('M000355_source')" id="l_M000355_source">+</a> ]</p>
516
- <div id="M000355_source" class="dyn-source">
515
+ <p class="source-link">[ <a href="javascript:toggleSource('M000367_source')" id="l_M000367_source">+</a> ]</p>
516
+ <div id="M000367_source" class="dyn-source">
517
517
  <pre>
518
518
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 127</span>
519
519
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bool?</span>
@@ -525,12 +525,12 @@ or <a href="FalseClass.html">FalseClass</a>, otherwise false.
525
525
  </div>
526
526
  <div class="method">
527
527
  <div class="title">
528
- <a name="M000398"></a><b>callstack</b>( level = 1 )
528
+ <a name="M000410"></a><b>callstack</b>( level = 1 )
529
529
  </div>
530
530
  <div class="description">
531
531
  <p>
532
532
  Parse a caller string and break it into its components, <a
533
- href="Kernel.html#M000397">returning</a> an array. Returns:
533
+ href="Kernel.html#M000409">returning</a> an array. Returns:
534
534
  </p>
535
535
  <ul>
536
536
  <li>file (<a href="String.html">String</a>)
@@ -569,8 +569,8 @@ CREDIT: Trans
569
569
  </p>
570
570
  </div>
571
571
  <div class="sourcecode">
572
- <p class="source-link">[ <a href="javascript:toggleSource('M000398_source')" id="l_M000398_source">+</a> ]</p>
573
- <div id="M000398_source" class="dyn-source">
572
+ <p class="source-link">[ <a href="javascript:toggleSource('M000410_source')" id="l_M000410_source">+</a> ]</p>
573
+ <div id="M000410_source" class="dyn-source">
574
574
  <pre>
575
575
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/callstack.rb, line 27</span>
576
576
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callstack</span>( <span class="ruby-identifier">level</span> = <span class="ruby-value">1</span> )
@@ -591,7 +591,7 @@ CREDIT: Trans
591
591
  </div>
592
592
  <div class="method">
593
593
  <div class="title">
594
- <a name="M000369"></a><b>complete</b>() {|| ...}
594
+ <a name="M000381"></a><b>complete</b>() {|| ...}
595
595
  </div>
596
596
  <div class="description">
597
597
  <p>
@@ -609,8 +609,8 @@ CREDIT: Trans
609
609
  </p>
610
610
  </div>
611
611
  <div class="sourcecode">
612
- <p class="source-link">[ <a href="javascript:toggleSource('M000369_source')" id="l_M000369_source">+</a> ]</p>
613
- <div id="M000369_source" class="dyn-source">
612
+ <p class="source-link">[ <a href="javascript:toggleSource('M000381_source')" id="l_M000381_source">+</a> ]</p>
613
+ <div id="M000381_source" class="dyn-source">
614
614
  <pre>
615
615
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/complete.rb, line 13</span>
616
616
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">complete</span>
@@ -622,7 +622,7 @@ CREDIT: Trans
622
622
  </div>
623
623
  <div class="method">
624
624
  <div class="title">
625
- <a name="M000402"></a><b>constant</b>(const)
625
+ <a name="M000414"></a><b>constant</b>(const)
626
626
  </div>
627
627
  <div class="description">
628
628
  <p>
@@ -645,8 +645,8 @@ CREDIT: Trans
645
645
  </p>
646
646
  </div>
647
647
  <div class="sourcecode">
648
- <p class="source-link">[ <a href="javascript:toggleSource('M000402_source')" id="l_M000402_source">+</a> ]</p>
649
- <div id="M000402_source" class="dyn-source">
648
+ <p class="source-link">[ <a href="javascript:toggleSource('M000414_source')" id="l_M000414_source">+</a> ]</p>
649
+ <div id="M000414_source" class="dyn-source">
650
650
  <pre>
651
651
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/constant.rb, line 18</span>
652
652
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">constant</span>(<span class="ruby-identifier">const</span>)
@@ -660,11 +660,11 @@ CREDIT: Trans
660
660
  </div>
661
661
  <div class="method">
662
662
  <div class="title">
663
- <a name="M000386"></a><b>d</b>(*x)
663
+ <a name="M000398"></a><b>d</b>(*x)
664
664
  </div>
665
665
  <div class="description">
666
666
  <p>
667
- Like <a href="Kernel.html#M000392">p</a> but gives file and line number.
667
+ Like <a href="Kernel.html#M000404">p</a> but gives file and line number.
668
668
  </p>
669
669
  <pre>
670
670
  d(&quot;hi&quot;)
@@ -682,8 +682,8 @@ exits in dtools.rb
682
682
  </p>
683
683
  </div>
684
684
  <div class="sourcecode">
685
- <p class="source-link">[ <a href="javascript:toggleSource('M000386_source')" id="l_M000386_source">+</a> ]</p>
686
- <div id="M000386_source" class="dyn-source">
685
+ <p class="source-link">[ <a href="javascript:toggleSource('M000398_source')" id="l_M000398_source">+</a> ]</p>
686
+ <div id="M000398_source" class="dyn-source">
687
687
  <pre>
688
688
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/d.rb, line 15</span>
689
689
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">d</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>)
@@ -697,20 +697,20 @@ exits in dtools.rb
697
697
  </div>
698
698
  <div class="method">
699
699
  <div class="title">
700
- <a name="M000372"></a><b>deep_copy</b>()
700
+ <a name="M000384"></a><b>deep_copy</b>()
701
701
  </div>
702
702
  <div class="description">
703
703
  <p>
704
704
  Anything that can be marshaled can be copied in totality. This is also
705
- commonly called a <a href="Kernel.html#M000372">deep_copy</a>.
705
+ commonly called a <a href="Kernel.html#M000384">deep_copy</a>.
706
706
  </p>
707
707
  <pre>
708
708
  &quot;ABC&quot;.copy #=&gt; &quot;ABC&quot;
709
709
  </pre>
710
710
  </div>
711
711
  <div class="sourcecode">
712
- <p class="source-link">[ <a href="javascript:toggleSource('M000372_source')" id="l_M000372_source">+</a> ]</p>
713
- <div id="M000372_source" class="dyn-source">
712
+ <p class="source-link">[ <a href="javascript:toggleSource('M000384_source')" id="l_M000384_source">+</a> ]</p>
713
+ <div id="M000384_source" class="dyn-source">
714
714
  <pre>
715
715
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/deep_copy.rb, line 8</span>
716
716
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deep_copy</span>
@@ -722,24 +722,24 @@ commonly called a <a href="Kernel.html#M000372">deep_copy</a>.
722
722
  </div>
723
723
  <div class="method">
724
724
  <div class="title">
725
- <a name="M000350"></a><b>demand</b>( promise )
725
+ <a name="M000362"></a><b>demand</b>( promise )
726
726
  </div>
727
727
  <div class="description">
728
728
  <p>
729
- Forces the result of a <a href="Kernel.html#M000349">promise</a> to be
729
+ Forces the result of a <a href="Kernel.html#M000361">promise</a> to be
730
730
  computed (if necessary) and returns the bare result object. Once evaluated,
731
- the result of the <a href="Kernel.html#M000349">promise</a> will be cached.
731
+ the result of the <a href="Kernel.html#M000361">promise</a> will be cached.
732
732
  Nested promises will be evaluated together, until the first non-<a
733
- href="Kernel.html#M000349">promise</a> result.
733
+ href="Kernel.html#M000361">promise</a> result.
734
734
  </p>
735
735
  <p>
736
736
  If called on a value that is not a <a
737
- href="Kernel.html#M000349">promise</a>, it will simply return it.
737
+ href="Kernel.html#M000361">promise</a>, it will simply return it.
738
738
  </p>
739
739
  </div>
740
740
  <div class="sourcecode">
741
- <p class="source-link">[ <a href="javascript:toggleSource('M000350_source')" id="l_M000350_source">+</a> ]</p>
742
- <div id="M000350_source" class="dyn-source">
741
+ <p class="source-link">[ <a href="javascript:toggleSource('M000362_source')" id="l_M000362_source">+</a> ]</p>
742
+ <div id="M000362_source" class="dyn-source">
743
743
  <pre>
744
744
  <span class="ruby-comment cmt"># File lib/core/facets/lazy.rb, line 219</span>
745
745
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">demand</span>( <span class="ruby-identifier">promise</span> )
@@ -755,7 +755,7 @@ href="Kernel.html#M000349">promise</a>, it will simply return it.
755
755
  </div>
756
756
  <div class="method">
757
757
  <div class="title">
758
- <a name="M000362"></a><b>demo</b>(out=$stdout,&amp;block)
758
+ <a name="M000374"></a><b>demo</b>(out=$stdout,&amp;block)
759
759
  </div>
760
760
  <div class="description">
761
761
  <p>
@@ -781,8 +781,8 @@ Preferably just a block and no string.
781
781
  </p>
782
782
  </div>
783
783
  <div class="sourcecode">
784
- <p class="source-link">[ <a href="javascript:toggleSource('M000362_source')" id="l_M000362_source">+</a> ]</p>
785
- <div id="M000362_source" class="dyn-source">
784
+ <p class="source-link">[ <a href="javascript:toggleSource('M000374_source')" id="l_M000374_source">+</a> ]</p>
785
+ <div id="M000374_source" class="dyn-source">
786
786
  <pre>
787
787
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/demo.rb, line 19</span>
788
788
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">demo</span>(<span class="ruby-identifier">out</span>=<span class="ruby-identifier">$stdout</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -794,13 +794,13 @@ Preferably just a block and no string.
794
794
  </div>
795
795
  <div class="method">
796
796
  <div class="title">
797
- <a name="M000348"></a><b>eigenclass</b>()
797
+ <a name="M000360"></a><b>eigenclass</b>()
798
798
  </div>
799
799
  <div class="description">
800
800
  <p>
801
801
  During this trying time when no one can get their techie catchwords to
802
802
  stick to the refrigerator no matter how hard they slap it # <a
803
- href="Kernel.html#M000385">with</a> the enchanted magnetic spatula, it’s
803
+ href="Kernel.html#M000397">with</a> the enchanted magnetic spatula, it’s
804
804
  good to know that the contrived phrases really do fly, graceful and
805
805
  unclasped and bearing north toward chilled shrimp. I know what my
806
806
  Hallowe’en pumpkin is going to say.
@@ -813,8 +813,8 @@ CREDIT: WhyTheLuckyStiff
813
813
  </p>
814
814
  </div>
815
815
  <div class="sourcecode">
816
- <p class="source-link">[ <a href="javascript:toggleSource('M000348_source')" id="l_M000348_source">+</a> ]</p>
817
- <div id="M000348_source" class="dyn-source">
816
+ <p class="source-link">[ <a href="javascript:toggleSource('M000360_source')" id="l_M000360_source">+</a> ]</p>
817
+ <div id="M000360_source" class="dyn-source">
818
818
  <pre>
819
819
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 69</span>
820
820
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eigenclass</span>
@@ -826,7 +826,7 @@ CREDIT: WhyTheLuckyStiff
826
826
  </div>
827
827
  <div class="method">
828
828
  <div class="title">
829
- <a name="M000378"></a><b>enable_warnings</b>() {|| ...}
829
+ <a name="M000390"></a><b>enable_warnings</b>() {|| ...}
830
830
  </div>
831
831
  <div class="description">
832
832
  <p>
@@ -838,8 +838,8 @@ CREDIT: David Heinemeier Hansson
838
838
  </p>
839
839
  </div>
840
840
  <div class="sourcecode">
841
- <p class="source-link">[ <a href="javascript:toggleSource('M000378_source')" id="l_M000378_source">+</a> ]</p>
842
- <div id="M000378_source" class="dyn-source">
841
+ <p class="source-link">[ <a href="javascript:toggleSource('M000390_source')" id="l_M000390_source">+</a> ]</p>
842
+ <div id="M000390_source" class="dyn-source">
843
843
  <pre>
844
844
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 67</span>
845
845
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enable_warnings</span>
@@ -854,7 +854,7 @@ CREDIT: David Heinemeier Hansson
854
854
  </div>
855
855
  <div class="method">
856
856
  <div class="title">
857
- <a name="M000368"></a><b>ergo</b>() {|self| ...}
857
+ <a name="M000380"></a><b>ergo</b>() {|self| ...}
858
858
  </div>
859
859
  <div class="description">
860
860
  <p>
@@ -868,16 +868,16 @@ Yield self -or- return self.
868
868
  nil.ergo{ |o| o.foobar } #=&gt; nil
869
869
  </pre>
870
870
  <p>
871
- This is like <a href="Kernel.html#M000365">tap</a>, but <a
872
- href="Kernel.html#M000365">tap</a> yields self -and- returns self.
871
+ This is like <a href="Kernel.html#M000377">tap</a>, but <a
872
+ href="Kernel.html#M000377">tap</a> yields self -and- returns self.
873
873
  </p>
874
874
  <p>
875
875
  CREDIT: Daniel DeLorme
876
876
  </p>
877
877
  </div>
878
878
  <div class="sourcecode">
879
- <p class="source-link">[ <a href="javascript:toggleSource('M000368_source')" id="l_M000368_source">+</a> ]</p>
880
- <div id="M000368_source" class="dyn-source">
879
+ <p class="source-link">[ <a href="javascript:toggleSource('M000380_source')" id="l_M000380_source">+</a> ]</p>
880
+ <div id="M000380_source" class="dyn-source">
881
881
  <pre>
882
882
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/ergo.rb, line 17</span>
883
883
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ergo</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>
@@ -893,7 +893,7 @@ CREDIT: Daniel DeLorme
893
893
  </div>
894
894
  <div class="method">
895
895
  <div class="title">
896
- <a name="M000354"></a><b>false?</b>()
896
+ <a name="M000366"></a><b>false?</b>()
897
897
  </div>
898
898
  <div class="description">
899
899
  <p>
@@ -907,8 +907,8 @@ href="FalseClass.html">FalseClass</a>, otherwise false.
907
907
  </pre>
908
908
  </div>
909
909
  <div class="sourcecode">
910
- <p class="source-link">[ <a href="javascript:toggleSource('M000354_source')" id="l_M000354_source">+</a> ]</p>
911
- <div id="M000354_source" class="dyn-source">
910
+ <p class="source-link">[ <a href="javascript:toggleSource('M000366_source')" id="l_M000366_source">+</a> ]</p>
911
+ <div id="M000366_source" class="dyn-source">
912
912
  <pre>
913
913
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 116</span>
914
914
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">false?</span>
@@ -920,25 +920,25 @@ href="FalseClass.html">FalseClass</a>, otherwise false.
920
920
  </div>
921
921
  <div class="method">
922
922
  <div class="title">
923
- <a name="M000351"></a><b>future</b>( ) {|result| ...}
923
+ <a name="M000363"></a><b>future</b>( ) {|result| ...}
924
924
  </div>
925
925
  <div class="description">
926
926
  <p>
927
927
  Schedules a computation to be run asynchronously in a background thread and
928
- returns a <a href="Kernel.html#M000349">promise</a> for its result. An
929
- attempt to <a href="Kernel.html#M000350">demand</a> the result of the <a
930
- href="Kernel.html#M000349">promise</a> will block until the computation
928
+ returns a <a href="Kernel.html#M000361">promise</a> for its result. An
929
+ attempt to <a href="Kernel.html#M000362">demand</a> the result of the <a
930
+ href="Kernel.html#M000361">promise</a> will block until the computation
931
931
  finishes.
932
932
  </p>
933
933
  <p>
934
- As <a href="Kernel.html#M000385">with</a> <a
935
- href="Kernel.html#M000349">Kernel.promise</a>, this passes the block a <a
936
- href="Kernel.html#M000349">promise</a> for its own result. Use wisely.
934
+ As <a href="Kernel.html#M000397">with</a> <a
935
+ href="Kernel.html#M000361">Kernel.promise</a>, this passes the block a <a
936
+ href="Kernel.html#M000361">promise</a> for its own result. Use wisely.
937
937
  </p>
938
938
  </div>
939
939
  <div class="sourcecode">
940
- <p class="source-link">[ <a href="javascript:toggleSource('M000351_source')" id="l_M000351_source">+</a> ]</p>
941
- <div id="M000351_source" class="dyn-source">
940
+ <p class="source-link">[ <a href="javascript:toggleSource('M000363_source')" id="l_M000363_source">+</a> ]</p>
941
+ <div id="M000363_source" class="dyn-source">
942
942
  <pre>
943
943
  <span class="ruby-comment cmt"># File lib/core/facets/lazy.rb, line 234</span>
944
944
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">future</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">computation</span> ) <span class="ruby-comment cmt">#:yields: result</span>
@@ -950,7 +950,7 @@ href="Kernel.html#M000349">promise</a> for its own result. Use wisely.
950
950
  </div>
951
951
  <div class="method">
952
952
  <div class="title">
953
- <a name="M000407"></a><b>in?</b>(other)
953
+ <a name="M000419"></a><b>in?</b>(other)
954
954
  </div>
955
955
  <div class="description">
956
956
  <p>
@@ -962,8 +962,8 @@ Is self included in other?
962
962
  </pre>
963
963
  </div>
964
964
  <div class="sourcecode">
965
- <p class="source-link">[ <a href="javascript:toggleSource('M000407_source')" id="l_M000407_source">+</a> ]</p>
966
- <div id="M000407_source" class="dyn-source">
965
+ <p class="source-link">[ <a href="javascript:toggleSource('M000419_source')" id="l_M000419_source">+</a> ]</p>
966
+ <div id="M000419_source" class="dyn-source">
967
967
  <pre>
968
968
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/in.rb, line 8</span>
969
969
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">in?</span>(<span class="ruby-identifier">other</span>)
@@ -975,12 +975,12 @@ Is self included in other?
975
975
  </div>
976
976
  <div class="method">
977
977
  <div class="title">
978
- <a name="M000366"></a><b>instance</b>()
978
+ <a name="M000378"></a><b>instance</b>()
979
979
  </div>
980
980
  <div class="description">
981
981
  <p>
982
- Access internals of an object <a href="Kernel.html#M000357">as</a> if <a
983
- href="Kernel.html#M000385">with</a> private access.
982
+ Access internals of an object <a href="Kernel.html#M000369">as</a> if <a
983
+ href="Kernel.html#M000397">with</a> private access.
984
984
  </p>
985
985
  <pre>
986
986
  class X
@@ -989,8 +989,8 @@ href="Kernel.html#M000385">with</a> private access.
989
989
  </pre>
990
990
  </div>
991
991
  <div class="sourcecode">
992
- <p class="source-link">[ <a href="javascript:toggleSource('M000366_source')" id="l_M000366_source">+</a> ]</p>
993
- <div id="M000366_source" class="dyn-source">
992
+ <p class="source-link">[ <a href="javascript:toggleSource('M000378_source')" id="l_M000378_source">+</a> ]</p>
993
+ <div id="M000378_source" class="dyn-source">
994
994
  <pre>
995
995
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance.rb, line 12</span>
996
996
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance</span>
@@ -1004,11 +1004,11 @@ href="Kernel.html#M000385">with</a> private access.
1004
1004
  </div>
1005
1005
  <div class="method">
1006
1006
  <div class="title">
1007
- <a name="M000384"></a><b>instance_assign</b>(hash)
1007
+ <a name="M000396"></a><b>instance_assign</b>(hash)
1008
1008
  </div>
1009
1009
  <div class="description">
1010
1010
  <p>
1011
- Set <a href="Kernel.html#M000366">instance</a> variables using a hash.
1011
+ Set <a href="Kernel.html#M000378">instance</a> variables using a hash.
1012
1012
  </p>
1013
1013
  <pre>
1014
1014
  instance_assign('@a'=&gt;1, '@b'=&gt;2)
@@ -1016,13 +1016,13 @@ Set <a href="Kernel.html#M000366">instance</a> variables using a hash.
1016
1016
  @b #=&gt; 2
1017
1017
  </pre>
1018
1018
  <p>
1019
- WARNING: <a href="Kernel.html#M000384">instance_assign</a> will be
1019
+ WARNING: <a href="Kernel.html#M000396">instance_assign</a> will be
1020
1020
  deprecated. Use instance_vars.update instead.
1021
1021
  </p>
1022
1022
  </div>
1023
1023
  <div class="sourcecode">
1024
- <p class="source-link">[ <a href="javascript:toggleSource('M000384_source')" id="l_M000384_source">+</a> ]</p>
1025
- <div id="M000384_source" class="dyn-source">
1024
+ <p class="source-link">[ <a href="javascript:toggleSource('M000396_source')" id="l_M000396_source">+</a> ]</p>
1025
+ <div id="M000396_source" class="dyn-source">
1026
1026
  <pre>
1027
1027
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_assign.rb, line 32</span>
1028
1028
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_assign</span>(<span class="ruby-identifier">hash</span>)
@@ -1038,14 +1038,14 @@ deprecated. Use instance_vars.update instead.
1038
1038
  </div>
1039
1039
  <div class="method">
1040
1040
  <div class="title">
1041
- <a name="M000387"></a><b>instance_class</b>(&amp;block)
1041
+ <a name="M000399"></a><b>instance_class</b>(&amp;block)
1042
1042
  </div>
1043
1043
  <div class="description">
1044
1044
  <p>
1045
1045
  Easy access to an object qua class, otherwise known <a
1046
- href="Kernel.html#M000357">as</a> the object&#8216;s <a
1047
- href="Kernel.html#M000347">metaclass</a> or <a
1048
- href="Kernel.html#M000394">singleton</a> class. This implemnetation alwasy
1046
+ href="Kernel.html#M000369">as</a> the object&#8216;s <a
1047
+ href="Kernel.html#M000359">metaclass</a> or <a
1048
+ href="Kernel.html#M000406">singleton</a> class. This implemnetation alwasy
1049
1049
  returns the class, even if a block is provided to eval against it.
1050
1050
  </p>
1051
1051
  <pre>
@@ -1056,8 +1056,8 @@ CREDIT: Trans
1056
1056
  </p>
1057
1057
  </div>
1058
1058
  <div class="sourcecode">
1059
- <p class="source-link">[ <a href="javascript:toggleSource('M000387_source')" id="l_M000387_source">+</a> ]</p>
1060
- <div id="M000387_source" class="dyn-source">
1059
+ <p class="source-link">[ <a href="javascript:toggleSource('M000399_source')" id="l_M000399_source">+</a> ]</p>
1060
+ <div id="M000399_source" class="dyn-source">
1061
1061
  <pre>
1062
1062
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_class.rb, line 19</span>
1063
1063
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_class</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -1070,11 +1070,11 @@ CREDIT: Trans
1070
1070
  </div>
1071
1071
  <div class="method">
1072
1072
  <div class="title">
1073
- <a name="M000383"></a><b>instance_values</b>()
1073
+ <a name="M000395"></a><b>instance_values</b>()
1074
1074
  </div>
1075
1075
  <div class="description">
1076
1076
  <p>
1077
- Return <a href="Kernel.html#M000366">instance</a> variable values in an
1077
+ Return <a href="Kernel.html#M000378">instance</a> variable values in an
1078
1078
  array.
1079
1079
  </p>
1080
1080
  <pre>
@@ -1089,13 +1089,13 @@ array.
1089
1089
  x.instance_values #=&gt; { &quot;a&quot;=&gt;1, &quot;b&quot;=&gt;2 }
1090
1090
  </pre>
1091
1091
  <p>
1092
- WARNING: <a href="Kernel.html#M000383">instance_values</a> will be
1092
+ WARNING: <a href="Kernel.html#M000395">instance_values</a> will be
1093
1093
  deprecated. Use instance_vars.to_hash instead.
1094
1094
  </p>
1095
1095
  </div>
1096
1096
  <div class="sourcecode">
1097
- <p class="source-link">[ <a href="javascript:toggleSource('M000383_source')" id="l_M000383_source">+</a> ]</p>
1098
- <div id="M000383_source" class="dyn-source">
1097
+ <p class="source-link">[ <a href="javascript:toggleSource('M000395_source')" id="l_M000395_source">+</a> ]</p>
1098
+ <div id="M000395_source" class="dyn-source">
1099
1099
  <pre>
1100
1100
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_assign.rb, line 17</span>
1101
1101
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_values</span>
@@ -1110,11 +1110,11 @@ deprecated. Use instance_vars.to_hash instead.
1110
1110
  </div>
1111
1111
  <div class="method">
1112
1112
  <div class="title">
1113
- <a name="M000382"></a><b>instance_vars</b>()
1113
+ <a name="M000394"></a><b>instance_vars</b>()
1114
1114
  </div>
1115
1115
  <div class="sourcecode">
1116
- <p class="source-link">[ <a href="javascript:toggleSource('M000382_source')" id="l_M000382_source">+</a> ]</p>
1117
- <div id="M000382_source" class="dyn-source">
1116
+ <p class="source-link">[ <a href="javascript:toggleSource('M000394_source')" id="l_M000394_source">+</a> ]</p>
1117
+ <div id="M000394_source" class="dyn-source">
1118
1118
  <pre>
1119
1119
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 3</span>
1120
1120
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_vars</span>
@@ -1126,11 +1126,11 @@ deprecated. Use instance_vars.to_hash instead.
1126
1126
  </div>
1127
1127
  <div class="method">
1128
1128
  <div class="title">
1129
- <a name="M000404"></a><b>load_local</b>(fname, safe=nil)
1129
+ <a name="M000416"></a><b>load_local</b>(fname, safe=nil)
1130
1130
  </div>
1131
1131
  <div class="description">
1132
1132
  <p>
1133
- Load file from same dir <a href="Kernel.html#M000357">as</a> calling
1133
+ Load file from same dir <a href="Kernel.html#M000369">as</a> calling
1134
1134
  script.
1135
1135
  </p>
1136
1136
  <pre>
@@ -1138,8 +1138,8 @@ script.
1138
1138
  </pre>
1139
1139
  </div>
1140
1140
  <div class="sourcecode">
1141
- <p class="source-link">[ <a href="javascript:toggleSource('M000404_source')" id="l_M000404_source">+</a> ]</p>
1142
- <div id="M000404_source" class="dyn-source">
1141
+ <p class="source-link">[ <a href="javascript:toggleSource('M000416_source')" id="l_M000416_source">+</a> ]</p>
1142
+ <div id="M000416_source" class="dyn-source">
1143
1143
  <pre>
1144
1144
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/require_local.rb, line 17</span>
1145
1145
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_local</span>(<span class="ruby-identifier">fname</span>, <span class="ruby-identifier">safe</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1153,7 +1153,7 @@ script.
1153
1153
  </div>
1154
1154
  <div class="method">
1155
1155
  <div class="title">
1156
- <a name="M000363"></a><b>maybe</b>(chance = 0.5) {|if rand &lt; chance| ...}
1156
+ <a name="M000375"></a><b>maybe</b>(chance = 0.5) {|if rand &lt; chance| ...}
1157
1157
  </div>
1158
1158
  <div class="description">
1159
1159
  <p>
@@ -1166,8 +1166,8 @@ a 50/50 chance to being executed.
1166
1166
  </pre>
1167
1167
  </div>
1168
1168
  <div class="sourcecode">
1169
- <p class="source-link">[ <a href="javascript:toggleSource('M000363_source')" id="l_M000363_source">+</a> ]</p>
1170
- <div id="M000363_source" class="dyn-source">
1169
+ <p class="source-link">[ <a href="javascript:toggleSource('M000375_source')" id="l_M000375_source">+</a> ]</p>
1170
+ <div id="M000375_source" class="dyn-source">
1171
1171
  <pre>
1172
1172
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/maybe.rb, line 9</span>
1173
1173
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">maybe</span>(<span class="ruby-identifier">chance</span> = <span class="ruby-value">0</span><span class="ruby-value">.5</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -1183,12 +1183,12 @@ a 50/50 chance to being executed.
1183
1183
  </div>
1184
1184
  <div class="method">
1185
1185
  <div class="title">
1186
- <a name="M000343"></a><b>meta_alias</b>(*args)
1186
+ <a name="M000355"></a><b>meta_alias</b>(*args)
1187
1187
  </div>
1188
1188
  <div class="description">
1189
1189
  <p>
1190
- Alias a method defined in the <a href="Kernel.html#M000347">metaclass</a>
1191
- (ie. <a href="Kernel.html#M000394">singleton</a> class).
1190
+ Alias a method defined in the <a href="Kernel.html#M000359">metaclass</a>
1191
+ (ie. <a href="Kernel.html#M000406">singleton</a> class).
1192
1192
  </p>
1193
1193
  <pre>
1194
1194
  def X.y?; &quot;y?&quot; ; end
@@ -1200,8 +1200,8 @@ CREDIT: Trans
1200
1200
  </p>
1201
1201
  </div>
1202
1202
  <div class="sourcecode">
1203
- <p class="source-link">[ <a href="javascript:toggleSource('M000343_source')" id="l_M000343_source">+</a> ]</p>
1204
- <div id="M000343_source" class="dyn-source">
1203
+ <p class="source-link">[ <a href="javascript:toggleSource('M000355_source')" id="l_M000355_source">+</a> ]</p>
1204
+ <div id="M000355_source" class="dyn-source">
1205
1205
  <pre>
1206
1206
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 11</span>
1207
1207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_alias</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -1215,23 +1215,23 @@ CREDIT: Trans
1215
1215
  </div>
1216
1216
  <div class="method">
1217
1217
  <div class="title">
1218
- <a name="M000346"></a><b>meta_class</b>(&amp;block)
1218
+ <a name="M000358"></a><b>meta_class</b>(&amp;block)
1219
1219
  </div>
1220
1220
  <div class="description">
1221
1221
  <p>
1222
1222
  Easy access to an object&#8216;s &quot;special&quot; class, otherwise known
1223
- <a href="Kernel.html#M000357">as</a> it&#8216;s <a
1224
- href="Kernel.html#M000347">metaclass</a> or <a
1225
- href="Kernel.html#M000394">singleton</a> class.
1223
+ <a href="Kernel.html#M000369">as</a> it&#8216;s <a
1224
+ href="Kernel.html#M000359">metaclass</a> or <a
1225
+ href="Kernel.html#M000406">singleton</a> class.
1226
1226
  </p>
1227
1227
  </div>
1228
1228
  <div class="aka">
1229
1229
  This method is also aliased as
1230
- <a href="Kernel.html#M000347">metaclass</a>
1230
+ <a href="Kernel.html#M000359">metaclass</a>
1231
1231
  </div>
1232
1232
  <div class="sourcecode">
1233
- <p class="source-link">[ <a href="javascript:toggleSource('M000346_source')" id="l_M000346_source">+</a> ]</p>
1234
- <div id="M000346_source" class="dyn-source">
1233
+ <p class="source-link">[ <a href="javascript:toggleSource('M000358_source')" id="l_M000358_source">+</a> ]</p>
1234
+ <div id="M000358_source" class="dyn-source">
1235
1235
  <pre>
1236
1236
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 47</span>
1237
1237
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_class</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -1247,12 +1247,12 @@ href="Kernel.html#M000394">singleton</a> class.
1247
1247
  </div>
1248
1248
  <div class="method">
1249
1249
  <div class="title">
1250
- <a name="M000345"></a><b>meta_def</b>( name, &amp;block )
1250
+ <a name="M000357"></a><b>meta_def</b>( name, &amp;block )
1251
1251
  </div>
1252
1252
  <div class="description">
1253
1253
  <p>
1254
1254
  Add method to a meta-class &#8212;i.e. a <a
1255
- href="Kernel.html#M000394">singleton</a> method.
1255
+ href="Kernel.html#M000406">singleton</a> method.
1256
1256
  </p>
1257
1257
  <pre>
1258
1258
  class X; end
@@ -1264,8 +1264,8 @@ CREDIT: WhyTheLuckyStiff
1264
1264
  </p>
1265
1265
  </div>
1266
1266
  <div class="sourcecode">
1267
- <p class="source-link">[ <a href="javascript:toggleSource('M000345_source')" id="l_M000345_source">+</a> ]</p>
1268
- <div id="M000345_source" class="dyn-source">
1267
+ <p class="source-link">[ <a href="javascript:toggleSource('M000357_source')" id="l_M000357_source">+</a> ]</p>
1268
+ <div id="M000357_source" class="dyn-source">
1269
1269
  <pre>
1270
1270
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 38</span>
1271
1271
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_def</span>( <span class="ruby-identifier">name</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> )
@@ -1279,11 +1279,11 @@ CREDIT: WhyTheLuckyStiff
1279
1279
  </div>
1280
1280
  <div class="method">
1281
1281
  <div class="title">
1282
- <a name="M000344"></a><b>meta_eval</b>(str=nil, &amp;blk)
1282
+ <a name="M000356"></a><b>meta_eval</b>(str=nil, &amp;blk)
1283
1283
  </div>
1284
1284
  <div class="description">
1285
1285
  <p>
1286
- Evaluate code in a <a href="Kernel.html#M000347">metaclass</a>. This is
1286
+ Evaluate code in a <a href="Kernel.html#M000359">metaclass</a>. This is
1287
1287
  equivalent to &#8216;meta_class.instance_eval&#8217;.
1288
1288
  </p>
1289
1289
  <p>
@@ -1291,8 +1291,8 @@ CREDIT: WhyTheLuckyStiff
1291
1291
  </p>
1292
1292
  </div>
1293
1293
  <div class="sourcecode">
1294
- <p class="source-link">[ <a href="javascript:toggleSource('M000344_source')" id="l_M000344_source">+</a> ]</p>
1295
- <div id="M000344_source" class="dyn-source">
1294
+ <p class="source-link">[ <a href="javascript:toggleSource('M000356_source')" id="l_M000356_source">+</a> ]</p>
1295
+ <div id="M000356_source" class="dyn-source">
1296
1296
  <pre>
1297
1297
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 22</span>
1298
1298
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_eval</span>(<span class="ruby-identifier">str</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -1308,17 +1308,17 @@ CREDIT: WhyTheLuckyStiff
1308
1308
  </div>
1309
1309
  <div class="method">
1310
1310
  <div class="title">
1311
- <a name="M000347"></a><b>metaclass</b>(&amp;block)
1311
+ <a name="M000359"></a><b>metaclass</b>(&amp;block)
1312
1312
  </div>
1313
1313
  <div class="description">
1314
1314
  <p>
1315
- Alias for <a href="Kernel.html#M000346">meta_class</a>
1315
+ Alias for <a href="Kernel.html#M000358">meta_class</a>
1316
1316
  </p>
1317
1317
  </div>
1318
1318
  </div>
1319
1319
  <div class="method">
1320
1320
  <div class="title">
1321
- <a name="M000371"></a><b>non_nil?</b>()
1321
+ <a name="M000383"></a><b>non_nil?</b>()
1322
1322
  </div>
1323
1323
  <div class="description">
1324
1324
  <p>
@@ -1328,7 +1328,7 @@ Alias for not_nil?
1328
1328
  </div>
1329
1329
  <div class="method">
1330
1330
  <div class="title">
1331
- <a name="M000370"></a><b>not_nil?</b>()
1331
+ <a name="M000382"></a><b>not_nil?</b>()
1332
1332
  </div>
1333
1333
  <div class="description">
1334
1334
  <p>
@@ -1344,11 +1344,11 @@ CREDIT: Gavin Sinclair
1344
1344
  </div>
1345
1345
  <div class="aka">
1346
1346
  This method is also aliased as
1347
- <a href="Kernel.html#M000371">non_nil?</a>
1347
+ <a href="Kernel.html#M000383">non_nil?</a>
1348
1348
  </div>
1349
1349
  <div class="sourcecode">
1350
- <p class="source-link">[ <a href="javascript:toggleSource('M000370_source')" id="l_M000370_source">+</a> ]</p>
1351
- <div id="M000370_source" class="dyn-source">
1350
+ <p class="source-link">[ <a href="javascript:toggleSource('M000382_source')" id="l_M000382_source">+</a> ]</p>
1351
+ <div id="M000382_source" class="dyn-source">
1352
1352
  <pre>
1353
1353
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/not_nil.rb, line 10</span>
1354
1354
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">not_nil?</span>
@@ -1360,21 +1360,21 @@ CREDIT: Gavin Sinclair
1360
1360
  </div>
1361
1361
  <div class="method">
1362
1362
  <div class="title">
1363
- <a name="M000364"></a><b>object_hexid</b>()
1363
+ <a name="M000376"></a><b>object_hexid</b>()
1364
1364
  </div>
1365
1365
  <div class="description">
1366
1366
  <p>
1367
- Returns the object id <a href="Kernel.html#M000357">as</a> a string in
1367
+ Returns the object id <a href="Kernel.html#M000369">as</a> a string in
1368
1368
  hexideciaml, which is how Ruby reports them <a
1369
- href="Kernel.html#M000385">with</a> inspect.
1369
+ href="Kernel.html#M000397">with</a> inspect.
1370
1370
  </p>
1371
1371
  <pre>
1372
1372
  &quot;ABC&quot;.object_hexid #=&gt; &quot;0x402d359c&quot;
1373
1373
  </pre>
1374
1374
  </div>
1375
1375
  <div class="sourcecode">
1376
- <p class="source-link">[ <a href="javascript:toggleSource('M000364_source')" id="l_M000364_source">+</a> ]</p>
1377
- <div id="M000364_source" class="dyn-source">
1376
+ <p class="source-link">[ <a href="javascript:toggleSource('M000376_source')" id="l_M000376_source">+</a> ]</p>
1377
+ <div id="M000376_source" class="dyn-source">
1378
1378
  <pre>
1379
1379
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/object_hexid.rb, line 8</span>
1380
1380
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_hexid</span>
@@ -1386,7 +1386,7 @@ href="Kernel.html#M000385">with</a> inspect.
1386
1386
  </div>
1387
1387
  <div class="method">
1388
1388
  <div class="title">
1389
- <a name="M000367"></a><b>object_send</b>(name,*args,&amp;blk)
1389
+ <a name="M000379"></a><b>object_send</b>(name,*args,&amp;blk)
1390
1390
  </div>
1391
1391
  <div class="description">
1392
1392
  <p>
@@ -1402,7 +1402,7 @@ Send only to public methods.
1402
1402
  =&gt; NoMethodError: private method `foo' called for #&lt;X:0xb7ac6ba8&gt;
1403
1403
  </pre>
1404
1404
  <p>
1405
- TODO: <a href="Kernel.html#M000367">object_send</a> needs to change for
1405
+ TODO: <a href="Kernel.html#M000379">object_send</a> needs to change for
1406
1406
  1.9.
1407
1407
  </p>
1408
1408
  <p>
@@ -1410,8 +1410,8 @@ CREDIT: Trans
1410
1410
  </p>
1411
1411
  </div>
1412
1412
  <div class="sourcecode">
1413
- <p class="source-link">[ <a href="javascript:toggleSource('M000367_source')" id="l_M000367_source">+</a> ]</p>
1414
- <div id="M000367_source" class="dyn-source">
1413
+ <p class="source-link">[ <a href="javascript:toggleSource('M000379_source')" id="l_M000379_source">+</a> ]</p>
1414
+ <div id="M000379_source" class="dyn-source">
1415
1415
  <pre>
1416
1416
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/object_send.rb, line 20</span>
1417
1417
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_send</span>(<span class="ruby-identifier">name</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -1430,11 +1430,11 @@ CREDIT: Trans
1430
1430
  </div>
1431
1431
  <div class="method">
1432
1432
  <div class="title">
1433
- <a name="M000392"></a><b>p</b>(*x)
1433
+ <a name="M000404"></a><b>p</b>(*x)
1434
1434
  </div>
1435
1435
  <div class="description">
1436
1436
  <p>
1437
- Alternate to standard <a href="Kernel.html#M000392">p</a> method that
1437
+ Alternate to standard <a href="Kernel.html#M000404">p</a> method that
1438
1438
  outputs Kernel#inspect to stdout, but also passes through the orginal
1439
1439
  argument(s).
1440
1440
  </p>
@@ -1451,13 +1451,13 @@ produces
1451
1451
  5
1452
1452
  </pre>
1453
1453
  <p>
1454
- TODO: DEPRECATE <a href="Kernel.html#M000357">as</a> of 1.9, <em>if</em> it
1454
+ TODO: DEPRECATE <a href="Kernel.html#M000369">as</a> of 1.9, <em>if</em> it
1455
1455
  will do this.
1456
1456
  </p>
1457
1457
  </div>
1458
1458
  <div class="sourcecode">
1459
- <p class="source-link">[ <a href="javascript:toggleSource('M000392_source')" id="l_M000392_source">+</a> ]</p>
1460
- <div id="M000392_source" class="dyn-source">
1459
+ <p class="source-link">[ <a href="javascript:toggleSource('M000404_source')" id="l_M000404_source">+</a> ]</p>
1460
+ <div id="M000404_source" class="dyn-source">
1461
1461
  <pre>
1462
1462
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/p.rb, line 18</span>
1463
1463
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">p</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>)
@@ -1470,7 +1470,7 @@ will do this.
1470
1470
  </div>
1471
1471
  <div class="method">
1472
1472
  <div class="title">
1473
- <a name="M000399"></a><b>populate</b>(data=nil) {|| ...}
1473
+ <a name="M000411"></a><b>populate</b>(data=nil) {|| ...}
1474
1474
  </div>
1475
1475
  <div class="description">
1476
1476
  <p>
@@ -1484,7 +1484,7 @@ Assign via accessor methods using a hash, associative array or block.
1484
1484
  object.populate{ |s| s.a = 1; s.b = 2 }
1485
1485
  </pre>
1486
1486
  <p>
1487
- These are all the same <a href="Kernel.html#M000357">as</a> doing:
1487
+ These are all the same <a href="Kernel.html#M000369">as</a> doing:
1488
1488
  </p>
1489
1489
  <pre>
1490
1490
  object.a = 1
@@ -1502,8 +1502,8 @@ TODO: Better name, set_with ?
1502
1502
  </p>
1503
1503
  </div>
1504
1504
  <div class="sourcecode">
1505
- <p class="source-link">[ <a href="javascript:toggleSource('M000399_source')" id="l_M000399_source">+</a> ]</p>
1506
- <div id="M000399_source" class="dyn-source">
1505
+ <p class="source-link">[ <a href="javascript:toggleSource('M000411_source')" id="l_M000411_source">+</a> ]</p>
1506
+ <div id="M000411_source" class="dyn-source">
1507
1507
  <pre>
1508
1508
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/populate.rb, line 25</span>
1509
1509
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">populate</span>(<span class="ruby-identifier">data</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -1521,34 +1521,34 @@ TODO: Better name, set_with ?
1521
1521
  </div>
1522
1522
  <div class="method">
1523
1523
  <div class="title">
1524
- <a name="M000349"></a><b>promise</b>( ) {|result| ...}
1524
+ <a name="M000361"></a><b>promise</b>( ) {|result| ...}
1525
1525
  </div>
1526
1526
  <div class="description">
1527
1527
  <p>
1528
- The <a href="Kernel.html#M000349">promise</a>() function is used together
1529
- <a href="Kernel.html#M000385">with</a> <a
1530
- href="Kernel.html#M000350">demand</a>() to implement lazy evaluation. It
1531
- returns a <a href="Kernel.html#M000349">promise</a> to evaluate the
1532
- provided block at a <a href="Kernel.html#M000351">future</a> time.
1528
+ The <a href="Kernel.html#M000361">promise</a>() function is used together
1529
+ <a href="Kernel.html#M000397">with</a> <a
1530
+ href="Kernel.html#M000362">demand</a>() to implement lazy evaluation. It
1531
+ returns a <a href="Kernel.html#M000361">promise</a> to evaluate the
1532
+ provided block at a <a href="Kernel.html#M000363">future</a> time.
1533
1533
  Evaluation can be demanded and the block&#8216;s result obtained via the <a
1534
- href="Kernel.html#M000350">demand</a>() function.
1534
+ href="Kernel.html#M000362">demand</a>() function.
1535
1535
  </p>
1536
1536
  <p>
1537
1537
  Implicit evaluation is also supported: the first message sent to it will <a
1538
- href="Kernel.html#M000350">demand</a> evaluation, after which that message
1538
+ href="Kernel.html#M000362">demand</a> evaluation, after which that message
1539
1539
  and any subsequent messages will be forwarded to the result object.
1540
1540
  </p>
1541
1541
  <p>
1542
1542
  As an aid to circular programming, the block will be passed a <a
1543
- href="Kernel.html#M000349">promise</a> for its own result when it is
1543
+ href="Kernel.html#M000361">promise</a> for its own result when it is
1544
1544
  evaluated. Be careful not to force that <a
1545
- href="Kernel.html#M000349">promise</a> during the computation, lest the
1545
+ href="Kernel.html#M000361">promise</a> during the computation, lest the
1546
1546
  computation diverge.
1547
1547
  </p>
1548
1548
  </div>
1549
1549
  <div class="sourcecode">
1550
- <p class="source-link">[ <a href="javascript:toggleSource('M000349_source')" id="l_M000349_source">+</a> ]</p>
1551
- <div id="M000349_source" class="dyn-source">
1550
+ <p class="source-link">[ <a href="javascript:toggleSource('M000361_source')" id="l_M000361_source">+</a> ]</p>
1551
+ <div id="M000361_source" class="dyn-source">
1552
1552
  <pre>
1553
1553
  <span class="ruby-comment cmt"># File lib/core/facets/lazy.rb, line 208</span>
1554
1554
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">promise</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">computation</span> ) <span class="ruby-comment cmt">#:yields: result</span>
@@ -1560,13 +1560,13 @@ computation diverge.
1560
1560
  </div>
1561
1561
  <div class="method">
1562
1562
  <div class="title">
1563
- <a name="M000380"></a><b>qua_class</b>(&amp;block)
1563
+ <a name="M000392"></a><b>qua_class</b>(&amp;block)
1564
1564
  </div>
1565
1565
  <div class="description">
1566
1566
  <p>
1567
1567
  Easy access to an object qua class, otherwise known <a
1568
- href="Kernel.html#M000357">as</a> the object&#8216;s <a
1569
- href="Kernel.html#M000394">singleton</a> class.
1568
+ href="Kernel.html#M000369">as</a> the object&#8216;s <a
1569
+ href="Kernel.html#M000406">singleton</a> class.
1570
1570
  </p>
1571
1571
  <p>
1572
1572
  Yes, another one.
@@ -1576,8 +1576,8 @@ CREDIT: Trans
1576
1576
  </p>
1577
1577
  </div>
1578
1578
  <div class="sourcecode">
1579
- <p class="source-link">[ <a href="javascript:toggleSource('M000380_source')" id="l_M000380_source">+</a> ]</p>
1580
- <div id="M000380_source" class="dyn-source">
1579
+ <p class="source-link">[ <a href="javascript:toggleSource('M000392_source')" id="l_M000392_source">+</a> ]</p>
1580
+ <div id="M000392_source" class="dyn-source">
1581
1581
  <pre>
1582
1582
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/qua_class.rb, line 10</span>
1583
1583
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">qua_class</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -1593,20 +1593,20 @@ CREDIT: Trans
1593
1593
  </div>
1594
1594
  <div class="method">
1595
1595
  <div class="title">
1596
- <a name="M000379"></a><b>require_all</b>(pat)
1596
+ <a name="M000391"></a><b>require_all</b>(pat)
1597
1597
  </div>
1598
1598
  <div class="description">
1599
1599
  <p>
1600
1600
  Require a pattern of files. This make is easy to require an entire
1601
- directory, for <a href="Kernel.html#M000366">instance</a>.
1601
+ directory, for <a href="Kernel.html#M000378">instance</a>.
1602
1602
  </p>
1603
1603
  <pre>
1604
1604
  require_all 'facets/time/*'
1605
1605
  </pre>
1606
1606
  </div>
1607
1607
  <div class="sourcecode">
1608
- <p class="source-link">[ <a href="javascript:toggleSource('M000379_source')" id="l_M000379_source">+</a> ]</p>
1609
- <div id="M000379_source" class="dyn-source">
1608
+ <p class="source-link">[ <a href="javascript:toggleSource('M000391_source')" id="l_M000391_source">+</a> ]</p>
1609
+ <div id="M000391_source" class="dyn-source">
1610
1610
  <pre>
1611
1611
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/require_all.rb, line 8</span>
1612
1612
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">require_all</span>(<span class="ruby-identifier">pat</span>)
@@ -1626,11 +1626,11 @@ directory, for <a href="Kernel.html#M000366">instance</a>.
1626
1626
  </div>
1627
1627
  <div class="method">
1628
1628
  <div class="title">
1629
- <a name="M000403"></a><b>require_local</b>(fname)
1629
+ <a name="M000415"></a><b>require_local</b>(fname)
1630
1630
  </div>
1631
1631
  <div class="description">
1632
1632
  <p>
1633
- Require file from same dir <a href="Kernel.html#M000357">as</a> calling
1633
+ Require file from same dir <a href="Kernel.html#M000369">as</a> calling
1634
1634
  script.
1635
1635
  </p>
1636
1636
  <pre>
@@ -1638,8 +1638,8 @@ script.
1638
1638
  </pre>
1639
1639
  </div>
1640
1640
  <div class="sourcecode">
1641
- <p class="source-link">[ <a href="javascript:toggleSource('M000403_source')" id="l_M000403_source">+</a> ]</p>
1642
- <div id="M000403_source" class="dyn-source">
1641
+ <p class="source-link">[ <a href="javascript:toggleSource('M000415_source')" id="l_M000415_source">+</a> ]</p>
1642
+ <div id="M000415_source" class="dyn-source">
1643
1643
  <pre>
1644
1644
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/require_local.rb, line 7</span>
1645
1645
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">require_local</span>(<span class="ruby-identifier">fname</span>)
@@ -1653,7 +1653,7 @@ script.
1653
1653
  </div>
1654
1654
  <div class="method">
1655
1655
  <div class="title">
1656
- <a name="M000381"></a><b>resc</b>(str)
1656
+ <a name="M000393"></a><b>resc</b>(str)
1657
1657
  </div>
1658
1658
  <div class="description">
1659
1659
  <p>
@@ -1669,8 +1669,8 @@ CREDIT: Trans
1669
1669
  </p>
1670
1670
  </div>
1671
1671
  <div class="sourcecode">
1672
- <p class="source-link">[ <a href="javascript:toggleSource('M000381_source')" id="l_M000381_source">+</a> ]</p>
1673
- <div id="M000381_source" class="dyn-source">
1672
+ <p class="source-link">[ <a href="javascript:toggleSource('M000393_source')" id="l_M000393_source">+</a> ]</p>
1673
+ <div id="M000393_source" class="dyn-source">
1674
1674
  <pre>
1675
1675
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/resc.rb, line 11</span>
1676
1676
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resc</span>(<span class="ruby-identifier">str</span>)
@@ -1682,12 +1682,12 @@ CREDIT: Trans
1682
1682
  </div>
1683
1683
  <div class="method">
1684
1684
  <div class="title">
1685
- <a name="M000405"></a><b>respond</b>(sym, *args)
1685
+ <a name="M000417"></a><b>respond</b>(sym, *args)
1686
1686
  </div>
1687
1687
  <div class="description">
1688
1688
  <p>
1689
1689
  Like respond_to? but returns the result of the call if it does indeed <a
1690
- href="Kernel.html#M000405">respond</a>.
1690
+ href="Kernel.html#M000417">respond</a>.
1691
1691
  </p>
1692
1692
  <pre>
1693
1693
  class X
@@ -1704,11 +1704,11 @@ CREDIT: Trans
1704
1704
  </div>
1705
1705
  <div class="aka">
1706
1706
  This method is also aliased as
1707
- <a href="Kernel.html#M000406">respond_with_value</a>
1707
+ <a href="Kernel.html#M000418">respond_with_value</a>
1708
1708
  </div>
1709
1709
  <div class="sourcecode">
1710
- <p class="source-link">[ <a href="javascript:toggleSource('M000405_source')" id="l_M000405_source">+</a> ]</p>
1711
- <div id="M000405_source" class="dyn-source">
1710
+ <p class="source-link">[ <a href="javascript:toggleSource('M000417_source')" id="l_M000417_source">+</a> ]</p>
1711
+ <div id="M000417_source" class="dyn-source">
1712
1712
  <pre>
1713
1713
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/respond.rb, line 16</span>
1714
1714
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">respond</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -1721,17 +1721,17 @@ CREDIT: Trans
1721
1721
  </div>
1722
1722
  <div class="method">
1723
1723
  <div class="title">
1724
- <a name="M000406"></a><b>respond_with_value</b>(sym, *args)
1724
+ <a name="M000418"></a><b>respond_with_value</b>(sym, *args)
1725
1725
  </div>
1726
1726
  <div class="description">
1727
1727
  <p>
1728
- Alias for <a href="Kernel.html#M000405">respond</a>
1728
+ Alias for <a href="Kernel.html#M000417">respond</a>
1729
1729
  </p>
1730
1730
  </div>
1731
1731
  </div>
1732
1732
  <div class="method">
1733
1733
  <div class="title">
1734
- <a name="M000397"></a><b>returning</b>(obj=self) {|| ...}
1734
+ <a name="M000409"></a><b>returning</b>(obj=self) {|| ...}
1735
1735
  </div>
1736
1736
  <div class="description">
1737
1737
  <p>
@@ -1744,11 +1744,11 @@ A Ruby-ized realization of the K combinator.
1744
1744
  end
1745
1745
  </pre>
1746
1746
  <p>
1747
- Technically, <a href="Kernel.html#M000397">returning</a> probably should
1747
+ Technically, <a href="Kernel.html#M000409">returning</a> probably should
1748
1748
  force the return of the stated object irregardless of any return statements
1749
1749
  that might appear within it&#8216;s block. This might differentiate <a
1750
- href="Kernel.html#M000397">returning</a> from <a
1751
- href="Kernel.html#M000385">with</a>, however it also would require
1750
+ href="Kernel.html#M000409">returning</a> from <a
1751
+ href="Kernel.html#M000397">with</a>, however it also would require
1752
1752
  implementation in Ruby itself.
1753
1753
  </p>
1754
1754
  <p>
@@ -1756,8 +1756,8 @@ CREDIT: Mikael Brockman
1756
1756
  </p>
1757
1757
  </div>
1758
1758
  <div class="sourcecode">
1759
- <p class="source-link">[ <a href="javascript:toggleSource('M000397_source')" id="l_M000397_source">+</a> ]</p>
1760
- <div id="M000397_source" class="dyn-source">
1759
+ <p class="source-link">[ <a href="javascript:toggleSource('M000409_source')" id="l_M000409_source">+</a> ]</p>
1760
+ <div id="M000409_source" class="dyn-source">
1761
1761
  <pre>
1762
1762
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/returning.rb, line 18</span>
1763
1763
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">returning</span>(<span class="ruby-identifier">obj</span>=<span class="ruby-keyword kw">self</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -1770,7 +1770,7 @@ CREDIT: Mikael Brockman
1770
1770
  </div>
1771
1771
  <div class="method">
1772
1772
  <div class="title">
1773
- <a name="M000358"></a><b>send_as</b>(ancestor, sym, *args, &amp;blk)
1773
+ <a name="M000370"></a><b>send_as</b>(ancestor, sym, *args, &amp;blk)
1774
1774
  </div>
1775
1775
  <div class="description">
1776
1776
  <p>
@@ -1781,8 +1781,8 @@ TODO: Does this have the proper scope for send?
1781
1781
  </p>
1782
1782
  </div>
1783
1783
  <div class="sourcecode">
1784
- <p class="source-link">[ <a href="javascript:toggleSource('M000358_source')" id="l_M000358_source">+</a> ]</p>
1785
- <div id="M000358_source" class="dyn-source">
1784
+ <p class="source-link">[ <a href="javascript:toggleSource('M000370_source')" id="l_M000370_source">+</a> ]</p>
1785
+ <div id="M000370_source" class="dyn-source">
1786
1786
  <pre>
1787
1787
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 36</span>
1788
1788
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_as</span>(<span class="ruby-identifier">ancestor</span>, <span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -1794,7 +1794,7 @@ TODO: Does this have the proper scope for send?
1794
1794
  </div>
1795
1795
  <div class="method">
1796
1796
  <div class="title">
1797
- <a name="M000400"></a><b>set_from</b>(obj, *fields)
1797
+ <a name="M000412"></a><b>set_from</b>(obj, *fields)
1798
1798
  </div>
1799
1799
  <div class="description">
1800
1800
  <p>
@@ -1821,8 +1821,8 @@ TODO: populate_from(obj) ?
1821
1821
  </p>
1822
1822
  </div>
1823
1823
  <div class="sourcecode">
1824
- <p class="source-link">[ <a href="javascript:toggleSource('M000400_source')" id="l_M000400_source">+</a> ]</p>
1825
- <div id="M000400_source" class="dyn-source">
1824
+ <p class="source-link">[ <a href="javascript:toggleSource('M000412_source')" id="l_M000412_source">+</a> ]</p>
1825
+ <div id="M000412_source" class="dyn-source">
1826
1826
  <pre>
1827
1827
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/populate.rb, line 54</span>
1828
1828
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_from</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">fields</span>)
@@ -1848,11 +1848,11 @@ TODO: populate_from(obj) ?
1848
1848
  </div>
1849
1849
  <div class="method">
1850
1850
  <div class="title">
1851
- <a name="M000374"></a><b>silence_stderr</b>( {|| ...}
1851
+ <a name="M000386"></a><b>silence_stderr</b>( {|| ...}
1852
1852
  </div>
1853
1853
  <div class="sourcecode">
1854
- <p class="source-link">[ <a href="javascript:toggleSource('M000374_source')" id="l_M000374_source">+</a> ]</p>
1855
- <div id="M000374_source" class="dyn-source">
1854
+ <p class="source-link">[ <a href="javascript:toggleSource('M000386_source')" id="l_M000386_source">+</a> ]</p>
1855
+ <div id="M000386_source" class="dyn-source">
1856
1856
  <pre>
1857
1857
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 27</span>
1858
1858
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_stderr</span> <span class="ruby-comment cmt">#:yeild:</span>
@@ -1864,11 +1864,11 @@ TODO: populate_from(obj) ?
1864
1864
  </div>
1865
1865
  <div class="method">
1866
1866
  <div class="title">
1867
- <a name="M000375"></a><b>silence_stdout</b>( {|| ...}
1867
+ <a name="M000387"></a><b>silence_stdout</b>( {|| ...}
1868
1868
  </div>
1869
1869
  <div class="sourcecode">
1870
- <p class="source-link">[ <a href="javascript:toggleSource('M000375_source')" id="l_M000375_source">+</a> ]</p>
1871
- <div id="M000375_source" class="dyn-source">
1870
+ <p class="source-link">[ <a href="javascript:toggleSource('M000387_source')" id="l_M000387_source">+</a> ]</p>
1871
+ <div id="M000387_source" class="dyn-source">
1872
1872
  <pre>
1873
1873
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 32</span>
1874
1874
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_stdout</span> <span class="ruby-comment cmt">#:yeild:</span>
@@ -1880,7 +1880,7 @@ TODO: populate_from(obj) ?
1880
1880
  </div>
1881
1881
  <div class="method">
1882
1882
  <div class="title">
1883
- <a name="M000373"></a><b>silence_stream</b>(*streams) {|| ...}
1883
+ <a name="M000385"></a><b>silence_stream</b>(*streams) {|| ...}
1884
1884
  </div>
1885
1885
  <div class="description">
1886
1886
  <p>
@@ -1898,8 +1898,8 @@ CREDIT: David Heinemeier Hansson
1898
1898
  </p>
1899
1899
  </div>
1900
1900
  <div class="sourcecode">
1901
- <p class="source-link">[ <a href="javascript:toggleSource('M000373_source')" id="l_M000373_source">+</a> ]</p>
1902
- <div id="M000373_source" class="dyn-source">
1901
+ <p class="source-link">[ <a href="javascript:toggleSource('M000385_source')" id="l_M000385_source">+</a> ]</p>
1902
+ <div id="M000385_source" class="dyn-source">
1903
1903
  <pre>
1904
1904
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 13</span>
1905
1905
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_stream</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">streams</span>) <span class="ruby-comment cmt">#:yeild:</span>
@@ -1920,7 +1920,7 @@ CREDIT: David Heinemeier Hansson
1920
1920
  </div>
1921
1921
  <div class="method">
1922
1922
  <div class="title">
1923
- <a name="M000377"></a><b>silence_warnings</b>() {|| ...}
1923
+ <a name="M000389"></a><b>silence_warnings</b>() {|| ...}
1924
1924
  </div>
1925
1925
  <div class="description">
1926
1926
  <p>
@@ -1939,8 +1939,8 @@ CREDIT: David Heinemeier Hansson
1939
1939
  </p>
1940
1940
  </div>
1941
1941
  <div class="sourcecode">
1942
- <p class="source-link">[ <a href="javascript:toggleSource('M000377_source')" id="l_M000377_source">+</a> ]</p>
1943
- <div id="M000377_source" class="dyn-source">
1942
+ <p class="source-link">[ <a href="javascript:toggleSource('M000389_source')" id="l_M000389_source">+</a> ]</p>
1943
+ <div id="M000389_source" class="dyn-source">
1944
1944
  <pre>
1945
1945
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 55</span>
1946
1946
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_warnings</span>
@@ -1955,17 +1955,17 @@ CREDIT: David Heinemeier Hansson
1955
1955
  </div>
1956
1956
  <div class="method">
1957
1957
  <div class="title">
1958
- <a name="M000376"></a><b>silently</b>(*streams) {|| ...}
1958
+ <a name="M000388"></a><b>silently</b>(*streams) {|| ...}
1959
1959
  </div>
1960
1960
  <div class="description">
1961
1961
  <p>
1962
- Just like <a href="Kernel.html#M000373">silence_stream</a>, but will
1962
+ Just like <a href="Kernel.html#M000385">silence_stream</a>, but will
1963
1963
  default to STDOUT, STDERR if no streams are given.
1964
1964
  </p>
1965
1965
  </div>
1966
1966
  <div class="sourcecode">
1967
- <p class="source-link">[ <a href="javascript:toggleSource('M000376_source')" id="l_M000376_source">+</a> ]</p>
1968
- <div id="M000376_source" class="dyn-source">
1967
+ <p class="source-link">[ <a href="javascript:toggleSource('M000388_source')" id="l_M000388_source">+</a> ]</p>
1968
+ <div id="M000388_source" class="dyn-source">
1969
1969
  <pre>
1970
1970
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 39</span>
1971
1971
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silently</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">streams</span>) <span class="ruby-comment cmt">#:yeild:</span>
@@ -1978,17 +1978,17 @@ default to STDOUT, STDERR if no streams are given.
1978
1978
  </div>
1979
1979
  <div class="method">
1980
1980
  <div class="title">
1981
- <a name="M000394"></a><b>singleton</b>(&amp;block)
1981
+ <a name="M000406"></a><b>singleton</b>(&amp;block)
1982
1982
  </div>
1983
1983
  <div class="description">
1984
1984
  <p>
1985
- Alias for <a href="Kernel.html#M000393">singleton_class</a>
1985
+ Alias for <a href="Kernel.html#M000405">singleton_class</a>
1986
1986
  </p>
1987
1987
  </div>
1988
1988
  </div>
1989
1989
  <div class="method">
1990
1990
  <div class="title">
1991
- <a name="M000393"></a><b>singleton_class</b>(&amp;block)
1991
+ <a name="M000405"></a><b>singleton_class</b>(&amp;block)
1992
1992
  </div>
1993
1993
  <div class="description">
1994
1994
  <p>
@@ -2000,11 +2000,11 @@ One day these names must be reconciled!
2000
2000
  </div>
2001
2001
  <div class="aka">
2002
2002
  This method is also aliased as
2003
- <a href="Kernel.html#M000394">singleton</a>
2003
+ <a href="Kernel.html#M000406">singleton</a>
2004
2004
  </div>
2005
2005
  <div class="sourcecode">
2006
- <p class="source-link">[ <a href="javascript:toggleSource('M000393_source')" id="l_M000393_source">+</a> ]</p>
2007
- <div id="M000393_source" class="dyn-source">
2006
+ <p class="source-link">[ <a href="javascript:toggleSource('M000405_source')" id="l_M000405_source">+</a> ]</p>
2007
+ <div id="M000405_source" class="dyn-source">
2008
2008
  <pre>
2009
2009
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/singleton_class.rb, line 7</span>
2010
2010
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_class</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -2020,7 +2020,7 @@ One day these names must be reconciled!
2020
2020
  </div>
2021
2021
  <div class="method">
2022
2022
  <div class="title">
2023
- <a name="M000360"></a><b>super_as</b>(klass=self.class.superclass, *args, &amp;blk)
2023
+ <a name="M000372"></a><b>super_as</b>(klass=self.class.superclass, *args, &amp;blk)
2024
2024
  </div>
2025
2025
  <div class="description">
2026
2026
  <p>
@@ -2043,8 +2043,8 @@ Like super but skips to a specific ancestor module or class.
2043
2043
  </pre>
2044
2044
  </div>
2045
2045
  <div class="sourcecode">
2046
- <p class="source-link">[ <a href="javascript:toggleSource('M000360_source')" id="l_M000360_source">+</a> ]</p>
2047
- <div id="M000360_source" class="dyn-source">
2046
+ <p class="source-link">[ <a href="javascript:toggleSource('M000372_source')" id="l_M000372_source">+</a> ]</p>
2047
+ <div id="M000372_source" class="dyn-source">
2048
2048
  <pre>
2049
2049
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 73</span>
2050
2050
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">super_as</span>(<span class="ruby-identifier">klass</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">superclass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -2060,7 +2060,7 @@ Like super but skips to a specific ancestor module or class.
2060
2060
  </div>
2061
2061
  <div class="method">
2062
2062
  <div class="title">
2063
- <a name="M000359"></a><b>super_method</b>(klass, meth)
2063
+ <a name="M000371"></a><b>super_method</b>(klass, meth)
2064
2064
  </div>
2065
2065
  <div class="description">
2066
2066
  <p>
@@ -2068,8 +2068,8 @@ Returns method of a parent class bound to self.
2068
2068
  </p>
2069
2069
  </div>
2070
2070
  <div class="sourcecode">
2071
- <p class="source-link">[ <a href="javascript:toggleSource('M000359_source')" id="l_M000359_source">+</a> ]</p>
2072
- <div id="M000359_source" class="dyn-source">
2071
+ <p class="source-link">[ <a href="javascript:toggleSource('M000371_source')" id="l_M000371_source">+</a> ]</p>
2072
+ <div id="M000371_source" class="dyn-source">
2073
2073
  <pre>
2074
2074
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 50</span>
2075
2075
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">super_method</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-identifier">meth</span>)
@@ -2084,17 +2084,17 @@ Returns method of a parent class bound to self.
2084
2084
  </div>
2085
2085
  <div class="method">
2086
2086
  <div class="title">
2087
- <a name="M000365"></a><b>tap</b>() {|self| ...}
2087
+ <a name="M000377"></a><b>tap</b>() {|self| ...}
2088
2088
  </div>
2089
2089
  <div class="description">
2090
2090
  <p>
2091
- The <a href="Kernel.html#M000365">tap</a> K-Combinator. This yields self
2091
+ The <a href="Kernel.html#M000377">tap</a> K-Combinator. This yields self
2092
2092
  -and- returns self.
2093
2093
  </p>
2094
2094
  </div>
2095
2095
  <div class="sourcecode">
2096
- <p class="source-link">[ <a href="javascript:toggleSource('M000365_source')" id="l_M000365_source">+</a> ]</p>
2097
- <div id="M000365_source" class="dyn-source">
2096
+ <p class="source-link">[ <a href="javascript:toggleSource('M000377_source')" id="l_M000377_source">+</a> ]</p>
2097
+ <div id="M000377_source" class="dyn-source">
2098
2098
  <pre>
2099
2099
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/tap.rb, line 7</span>
2100
2100
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tap</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
@@ -2109,7 +2109,7 @@ The <a href="Kernel.html#M000365">tap</a> K-Combinator. This yields self
2109
2109
  </div>
2110
2110
  <div class="method">
2111
2111
  <div class="title">
2112
- <a name="M000352"></a><b>to_b</b>()
2112
+ <a name="M000364"></a><b>to_b</b>()
2113
2113
  </div>
2114
2114
  <div class="description">
2115
2115
  <p>
@@ -2124,8 +2124,8 @@ this to suite the particular need.
2124
2124
  </pre>
2125
2125
  </div>
2126
2126
  <div class="sourcecode">
2127
- <p class="source-link">[ <a href="javascript:toggleSource('M000352_source')" id="l_M000352_source">+</a> ]</p>
2128
- <div id="M000352_source" class="dyn-source">
2127
+ <p class="source-link">[ <a href="javascript:toggleSource('M000364_source')" id="l_M000364_source">+</a> ]</p>
2128
+ <div id="M000364_source" class="dyn-source">
2129
2129
  <pre>
2130
2130
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 94</span>
2131
2131
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
@@ -2137,7 +2137,7 @@ this to suite the particular need.
2137
2137
  </div>
2138
2138
  <div class="method">
2139
2139
  <div class="title">
2140
- <a name="M000353"></a><b>true?</b>()
2140
+ <a name="M000365"></a><b>true?</b>()
2141
2141
  </div>
2142
2142
  <div class="description">
2143
2143
  <p>
@@ -2151,8 +2151,8 @@ otherwise false.
2151
2151
  </pre>
2152
2152
  </div>
2153
2153
  <div class="sourcecode">
2154
- <p class="source-link">[ <a href="javascript:toggleSource('M000353_source')" id="l_M000353_source">+</a> ]</p>
2155
- <div id="M000353_source" class="dyn-source">
2154
+ <p class="source-link">[ <a href="javascript:toggleSource('M000365_source')" id="l_M000365_source">+</a> ]</p>
2155
+ <div id="M000365_source" class="dyn-source">
2156
2156
  <pre>
2157
2157
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 105</span>
2158
2158
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">true?</span>
@@ -2164,7 +2164,7 @@ otherwise false.
2164
2164
  </div>
2165
2165
  <div class="method">
2166
2166
  <div class="title">
2167
- <a name="M000395"></a><b>try</b>(method, default=nil)
2167
+ <a name="M000407"></a><b>try</b>(method, default=nil)
2168
2168
  </div>
2169
2169
  <div class="description">
2170
2170
  <p>
@@ -2184,8 +2184,8 @@ CREDIT: Chris Wanstrath
2184
2184
  </p>
2185
2185
  </div>
2186
2186
  <div class="sourcecode">
2187
- <p class="source-link">[ <a href="javascript:toggleSource('M000395_source')" id="l_M000395_source">+</a> ]</p>
2188
- <div id="M000395_source" class="dyn-source">
2187
+ <p class="source-link">[ <a href="javascript:toggleSource('M000407_source')" id="l_M000407_source">+</a> ]</p>
2188
+ <div id="M000407_source" class="dyn-source">
2189
2189
  <pre>
2190
2190
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/try.rb, line 12</span>
2191
2191
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">try</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">default</span>=<span class="ruby-keyword kw">nil</span>)
@@ -2201,7 +2201,7 @@ CREDIT: Chris Wanstrath
2201
2201
  </div>
2202
2202
  <div class="method">
2203
2203
  <div class="title">
2204
- <a name="M000401"></a><b>val?</b>()
2204
+ <a name="M000413"></a><b>val?</b>()
2205
2205
  </div>
2206
2206
  <div class="description">
2207
2207
  <p>
@@ -2216,8 +2216,8 @@ if it is not nil? and if it responds to empty?, is not empty.
2216
2216
  </pre>
2217
2217
  </div>
2218
2218
  <div class="sourcecode">
2219
- <p class="source-link">[ <a href="javascript:toggleSource('M000401_source')" id="l_M000401_source">+</a> ]</p>
2220
- <div id="M000401_source" class="dyn-source">
2219
+ <p class="source-link">[ <a href="javascript:toggleSource('M000413_source')" id="l_M000413_source">+</a> ]</p>
2220
+ <div id="M000413_source" class="dyn-source">
2221
2221
  <pre>
2222
2222
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/val.rb, line 12</span>
2223
2223
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">val?</span>
@@ -2231,11 +2231,11 @@ if it is not nil? and if it responds to empty?, is not empty.
2231
2231
  </div>
2232
2232
  <div class="method">
2233
2233
  <div class="title">
2234
- <a name="M000385"></a><b>with</b>(obj=self, &amp;block)
2234
+ <a name="M000397"></a><b>with</b>(obj=self, &amp;block)
2235
2235
  </div>
2236
2236
  <div class="description">
2237
2237
  <p>
2238
- Like <a href="Kernel.html#M000397">returning</a> but exectures the block
2238
+ Like <a href="Kernel.html#M000409">returning</a> but exectures the block
2239
2239
  via instance_eval.
2240
2240
  </p>
2241
2241
  <pre>
@@ -2250,8 +2250,8 @@ via instance_eval.
2250
2250
  </pre>
2251
2251
  </div>
2252
2252
  <div class="sourcecode">
2253
- <p class="source-link">[ <a href="javascript:toggleSource('M000385_source')" id="l_M000385_source">+</a> ]</p>
2254
- <div id="M000385_source" class="dyn-source">
2253
+ <p class="source-link">[ <a href="javascript:toggleSource('M000397_source')" id="l_M000397_source">+</a> ]</p>
2254
+ <div id="M000397_source" class="dyn-source">
2255
2255
  <pre>
2256
2256
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/with.rb, line 15</span>
2257
2257
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-identifier">obj</span>=<span class="ruby-keyword kw">self</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)