facets 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. data/AUTHORS +1 -1
  2. data/CHANGES +28 -45
  3. data/MANIFEST +35 -4
  4. data/README +3 -14
  5. data/RELEASE +36 -70
  6. data/VERSION +1 -1
  7. data/doc/archive/RELEASE-2.5.0 +83 -0
  8. data/doc/log/basic_stats/index.html +4 -4
  9. data/doc/log/changelog.html +509 -2
  10. data/doc/log/changelog.txt +130 -1522
  11. data/doc/rdoc/core/classes/Array.html +366 -141
  12. data/doc/rdoc/core/classes/Binding.html +45 -45
  13. data/doc/rdoc/core/classes/Class.html +38 -38
  14. data/doc/rdoc/core/classes/Comparable.html +26 -26
  15. data/doc/rdoc/core/classes/Enumerable.html +174 -170
  16. data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
  17. data/doc/rdoc/core/classes/Enumerator.html +132 -0
  18. data/doc/rdoc/core/classes/Exception.html +8 -8
  19. data/doc/rdoc/core/classes/File.html +58 -58
  20. data/doc/rdoc/core/classes/FileTest.html +4 -4
  21. data/doc/rdoc/core/classes/Float.html +8 -8
  22. data/doc/rdoc/core/classes/Functor.html +12 -12
  23. data/doc/rdoc/core/classes/Hash.html +447 -263
  24. data/doc/rdoc/core/classes/Indexable.html +110 -110
  25. data/doc/rdoc/core/classes/Integer.html +2 -2
  26. data/doc/rdoc/core/classes/Kernel.html +329 -329
  27. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  28. data/doc/rdoc/core/classes/MatchData.html +15 -15
  29. data/doc/rdoc/core/classes/Module.html +176 -157
  30. data/doc/rdoc/core/classes/NilClass.html +23 -23
  31. data/doc/rdoc/core/classes/Numeric.html +27 -27
  32. data/doc/rdoc/core/classes/Object.html +8 -8
  33. data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
  34. data/doc/rdoc/core/classes/Proc.html +22 -22
  35. data/doc/rdoc/core/classes/Regexp.html +1 -1
  36. data/doc/rdoc/core/classes/Stackable.html +31 -31
  37. data/doc/rdoc/core/classes/String.html +332 -291
  38. data/doc/rdoc/core/classes/Symbol.html +1 -1
  39. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  40. data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
  41. data/doc/rdoc/core/created.rid +1 -1
  42. data/doc/rdoc/core/files/README.html +7 -29
  43. data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
  44. data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
  45. data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
  46. data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
  47. data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
  48. data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
  49. data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
  50. data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
  51. data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
  52. data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
  53. data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
  54. data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
  55. data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
  56. data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
  57. data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
  58. data/doc/rdoc/core/fr_class_index.html +2 -0
  59. data/doc/rdoc/core/fr_file_index.html +6 -0
  60. data/doc/rdoc/core/fr_method_index.html +386 -373
  61. data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
  62. data/doc/rdoc/lore/created.rid +1 -1
  63. data/doc/rdoc/lore/files/README.html +7 -29
  64. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
  65. data/doc/rdoc/more/classes/ANSICode.html +66 -66
  66. data/doc/rdoc/more/classes/Advisable.html +37 -37
  67. data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
  68. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
  69. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
  70. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
  71. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
  72. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
  73. data/doc/rdoc/more/classes/Association.html +67 -53
  74. data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
  75. data/doc/rdoc/more/classes/BBCode.html +36 -36
  76. data/doc/rdoc/more/classes/BaseX.html +16 -16
  77. data/doc/rdoc/more/classes/BiCrypt.html +67 -67
  78. data/doc/rdoc/more/classes/BinReadable.html +85 -85
  79. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
  80. data/doc/rdoc/more/classes/Binding.html +8 -8
  81. data/doc/rdoc/more/classes/Buildable.html +4 -4
  82. data/doc/rdoc/more/classes/Cloneable.html +4 -4
  83. data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
  84. data/doc/rdoc/more/classes/Crypt.html +16 -16
  85. data/doc/rdoc/more/classes/CssTree.html +8 -8
  86. data/doc/rdoc/more/classes/Dictionary.html +52 -45
  87. data/doc/rdoc/more/classes/Enumerable.html +50 -50
  88. data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
  89. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
  90. data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
  91. data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
  92. data/doc/rdoc/more/classes/Equatable.html +16 -16
  93. data/doc/rdoc/more/classes/Expirable.html +17 -17
  94. data/doc/rdoc/more/classes/Fileable.html +14 -14
  95. data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
  96. data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
  97. data/doc/rdoc/more/classes/Hook.html +162 -0
  98. data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
  99. data/doc/rdoc/more/classes/Instantiable.html +9 -9
  100. data/doc/rdoc/more/classes/Instantize.html +8 -8
  101. data/doc/rdoc/more/classes/Interval.html +187 -187
  102. data/doc/rdoc/more/classes/It.html +12 -12
  103. data/doc/rdoc/more/classes/Matcher.html +38 -38
  104. data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
  105. data/doc/rdoc/more/classes/Memoizer.html +21 -21
  106. data/doc/rdoc/more/classes/Multiton.html +12 -12
  107. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
  108. data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
  109. data/doc/rdoc/more/classes/OpEsc.html +5 -5
  110. data/doc/rdoc/more/classes/OpenCascade.html +4 -4
  111. data/doc/rdoc/more/classes/OpenHash.html +9 -9
  112. data/doc/rdoc/more/classes/OpenStructable.html +36 -36
  113. data/doc/rdoc/more/classes/PQueue.html +84 -84
  114. data/doc/rdoc/more/classes/Paramix.html +16 -16
  115. data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
  116. data/doc/rdoc/more/classes/RWDelegator.html +16 -16
  117. data/doc/rdoc/more/classes/Random.html +5 -5
  118. data/doc/rdoc/more/classes/Random/Array.html +37 -37
  119. data/doc/rdoc/more/classes/Random/Hash.html +52 -52
  120. data/doc/rdoc/more/classes/Random/Object.html +4 -4
  121. data/doc/rdoc/more/classes/Random/String.html +34 -34
  122. data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
  123. data/doc/rdoc/more/classes/Registerable.html +13 -13
  124. data/doc/rdoc/more/classes/Stash.html +28 -28
  125. data/doc/rdoc/more/classes/String/Mask.html +72 -72
  126. data/doc/rdoc/more/classes/String/Words.html +31 -31
  127. data/doc/rdoc/more/classes/System.html +253 -253
  128. data/doc/rdoc/more/classes/Timer.html +48 -48
  129. data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
  130. data/doc/rdoc/more/classes/Tuple.html +170 -170
  131. data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
  132. data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
  133. data/doc/rdoc/more/classes/Uninheritable.html +6 -6
  134. data/doc/rdoc/more/classes/X.html +117 -0
  135. data/doc/rdoc/more/classes/XOXO.html +11 -11
  136. data/doc/rdoc/more/classes/ZipUtils.html +88 -88
  137. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
  138. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
  139. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
  140. data/doc/rdoc/more/created.rid +1 -1
  141. data/doc/rdoc/more/files/README.html +7 -29
  142. data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
  143. data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
  144. data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
  145. data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
  146. data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
  147. data/doc/rdoc/more/fr_class_index.html +2 -0
  148. data/doc/rdoc/more/fr_file_index.html +1 -0
  149. data/doc/rdoc/more/fr_method_index.html +686 -681
  150. data/lib/core/facets/array/product.rb +6 -23
  151. data/lib/core/facets/enumerable/collect.rb +3 -53
  152. data/lib/core/facets/enumerable/compact_map.rb +35 -0
  153. data/lib/core/facets/enumerable/map_with_index.rb +23 -0
  154. data/lib/core/facets/enumerable/split.rb +3 -3
  155. data/lib/core/facets/hash/collate.rb +45 -14
  156. data/lib/core/facets/hash/group_by_value.rb +65 -0
  157. data/lib/core/facets/hash/new_with.rb +15 -0
  158. data/lib/core/facets/module/extend.rb +11 -0
  159. data/lib/core/facets/string/align.rb +19 -18
  160. data/lib/core/facets/string/file.rb +17 -0
  161. data/lib/core/facets/string/xor.rb +9 -3
  162. data/lib/core/facets/to_hash.rb +274 -17
  163. data/lib/core/facets/unboundmethod/name.rb +4 -2
  164. data/lib/lore/facets/ostruct.rb +3 -0
  165. data/lib/more/facets/association.rb +28 -12
  166. data/lib/more/facets/dictionary.rb +10 -4
  167. data/lib/more/facets/hook.rb +65 -0
  168. data/lib/more/facets/paramix.rb +5 -5
  169. data/meta/abstract +13 -0
  170. data/meta/authors +1 -0
  171. data/meta/contact +1 -0
  172. data/meta/contributors +48 -0
  173. data/meta/created +1 -0
  174. data/meta/homepage +1 -0
  175. data/meta/license +1 -0
  176. data/meta/loadpath +3 -0
  177. data/meta/releases +14 -0
  178. data/meta/slogan +1 -0
  179. data/meta/summary +1 -0
  180. data/task/test.rake +116 -18
  181. data/test/core/array/test_product.rb +0 -6
  182. data/test/core/binding/test_local_variables.rb +9 -3
  183. data/test/core/enumerable/test_split.rb +19 -0
  184. data/test/core/module/test_conflict.rb +8 -3
  185. data/test/core/test_to_hash.rb +152 -0
  186. data/test/core/unboundmethod/test_arguments.rb +1 -1
  187. data/test/core/unboundmethod/test_name.rb +2 -2
  188. metadata +39 -8
  189. data/doc/log/bstats/stats.html +0 -39
  190. data/doc/log/stats.html +0 -25
  191. data/test/more/test_to_hash.rb +0 -58
@@ -73,19 +73,19 @@
73
73
 
74
74
 
75
75
  <div class="sectiontitle">Methods</div>
76
- <span style="padding-right: 5px;"><a href="#M000801">at_rand</a></span>
77
- <span style="padding-right: 5px;"><a href="#M000802">at_rand!</a></span>
78
- <span style="padding-right: 5px;"><a href="#M000800">pick</a></span>
79
- <span style="padding-right: 5px;"><a href="#M000794">pick_key</a></span>
80
- <span style="padding-right: 5px;"><a href="#M000797">pick_pair</a></span>
81
- <span style="padding-right: 5px;"><a href="#M000792">rand_key</a></span>
82
- <span style="padding-right: 5px;"><a href="#M000793">rand_key!</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000795">rand_pair</a></span>
84
- <span style="padding-right: 5px;"><a href="#M000796">rand_pair!</a></span>
85
- <span style="padding-right: 5px;"><a href="#M000798">rand_value</a></span>
86
- <span style="padding-right: 5px;"><a href="#M000799">rand_value!</a></span>
87
- <span style="padding-right: 5px;"><a href="#M000803">shuffle</a></span>
88
- <span style="padding-right: 5px;"><a href="#M000804">shuffle!</a></span>
76
+ <span style="padding-right: 5px;"><a href="#M000803">at_rand</a></span>
77
+ <span style="padding-right: 5px;"><a href="#M000804">at_rand!</a></span>
78
+ <span style="padding-right: 5px;"><a href="#M000802">pick</a></span>
79
+ <span style="padding-right: 5px;"><a href="#M000796">pick_key</a></span>
80
+ <span style="padding-right: 5px;"><a href="#M000799">pick_pair</a></span>
81
+ <span style="padding-right: 5px;"><a href="#M000794">rand_key</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000795">rand_key!</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000797">rand_pair</a></span>
84
+ <span style="padding-right: 5px;"><a href="#M000798">rand_pair!</a></span>
85
+ <span style="padding-right: 5px;"><a href="#M000800">rand_value</a></span>
86
+ <span style="padding-right: 5px;"><a href="#M000801">rand_value!</a></span>
87
+ <span style="padding-right: 5px;"><a href="#M000805">shuffle</a></span>
88
+ <span style="padding-right: 5px;"><a href="#M000806">shuffle!</a></span>
89
89
 
90
90
 
91
91
 
@@ -95,57 +95,57 @@
95
95
  <div class="sectiontitle">Public Instance methods</div>
96
96
  <div class="method">
97
97
  <div class="title">
98
- <a name="M000801"></a><b>at_rand</b>()
98
+ <a name="M000803"></a><b>at_rand</b>()
99
99
  </div>
100
100
  <div class="description">
101
101
  <p>
102
- Alias for <a href="Hash.html#M000798">rand_value</a>
102
+ Alias for <a href="Hash.html#M000800">rand_value</a>
103
103
  </p>
104
104
  </div>
105
105
  </div>
106
106
  <div class="method">
107
107
  <div class="title">
108
- <a name="M000802"></a><b>at_rand!</b>()
108
+ <a name="M000804"></a><b>at_rand!</b>()
109
109
  </div>
110
110
  <div class="description">
111
111
  <p>
112
- Alias for <a href="Hash.html#M000798">rand_value</a>!
112
+ Alias for <a href="Hash.html#M000800">rand_value</a>!
113
113
  </p>
114
114
  </div>
115
115
  </div>
116
116
  <div class="method">
117
117
  <div class="title">
118
- <a name="M000800"></a><b>pick</b>()
118
+ <a name="M000802"></a><b>pick</b>()
119
119
  </div>
120
120
  <div class="description">
121
121
  <p>
122
- Alias for <a href="Hash.html#M000798">rand_value</a>!
122
+ Alias for <a href="Hash.html#M000800">rand_value</a>!
123
123
  </p>
124
124
  </div>
125
125
  </div>
126
126
  <div class="method">
127
127
  <div class="title">
128
- <a name="M000794"></a><b>pick_key</b>()
128
+ <a name="M000796"></a><b>pick_key</b>()
129
129
  </div>
130
130
  <div class="description">
131
131
  <p>
132
- Alias for <a href="Hash.html#M000792">rand_key</a>!
132
+ Alias for <a href="Hash.html#M000794">rand_key</a>!
133
133
  </p>
134
134
  </div>
135
135
  </div>
136
136
  <div class="method">
137
137
  <div class="title">
138
- <a name="M000797"></a><b>pick_pair</b>()
138
+ <a name="M000799"></a><b>pick_pair</b>()
139
139
  </div>
140
140
  <div class="description">
141
141
  <p>
142
- Alias for <a href="Hash.html#M000795">rand_pair</a>!
142
+ Alias for <a href="Hash.html#M000797">rand_pair</a>!
143
143
  </p>
144
144
  </div>
145
145
  </div>
146
146
  <div class="method">
147
147
  <div class="title">
148
- <a name="M000792"></a><b>rand_key</b>()
148
+ <a name="M000794"></a><b>rand_key</b>()
149
149
  </div>
150
150
  <div class="description">
151
151
  <p>
@@ -156,8 +156,8 @@ Returns a random key.
156
156
  </pre>
157
157
  </div>
158
158
  <div class="sourcecode">
159
- <p class="source-link">[ <a href="javascript:toggleSource('M000792_source')" id="l_M000792_source">+</a> ]</p>
160
- <div id="M000792_source" class="dyn-source">
159
+ <p class="source-link">[ <a href="javascript:toggleSource('M000794_source')" id="l_M000794_source">+</a> ]</p>
160
+ <div id="M000794_source" class="dyn-source">
161
161
  <pre>
162
162
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 224</span>
163
163
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_key</span>
@@ -169,7 +169,7 @@ Returns a random key.
169
169
  </div>
170
170
  <div class="method">
171
171
  <div class="title">
172
- <a name="M000793"></a><b>rand_key!</b>()
172
+ <a name="M000795"></a><b>rand_key!</b>()
173
173
  </div>
174
174
  <div class="description">
175
175
  <p>
@@ -183,11 +183,11 @@ Delete a random key-value pair, returning the key.
183
183
  </div>
184
184
  <div class="aka">
185
185
  This method is also aliased as
186
- <a href="Hash.html#M000794">pick_key</a>
186
+ <a href="Hash.html#M000796">pick_key</a>
187
187
  </div>
188
188
  <div class="sourcecode">
189
- <p class="source-link">[ <a href="javascript:toggleSource('M000793_source')" id="l_M000793_source">+</a> ]</p>
190
- <div id="M000793_source" class="dyn-source">
189
+ <p class="source-link">[ <a href="javascript:toggleSource('M000795_source')" id="l_M000795_source">+</a> ]</p>
190
+ <div id="M000795_source" class="dyn-source">
191
191
  <pre>
192
192
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 234</span>
193
193
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_key!</span>
@@ -201,7 +201,7 @@ Delete a random key-value pair, returning the key.
201
201
  </div>
202
202
  <div class="method">
203
203
  <div class="title">
204
- <a name="M000795"></a><b>rand_pair</b>()
204
+ <a name="M000797"></a><b>rand_pair</b>()
205
205
  </div>
206
206
  <div class="description">
207
207
  <p>
@@ -212,8 +212,8 @@ Returns a random key-value pair.
212
212
  </pre>
213
213
  </div>
214
214
  <div class="sourcecode">
215
- <p class="source-link">[ <a href="javascript:toggleSource('M000795_source')" id="l_M000795_source">+</a> ]</p>
216
- <div id="M000795_source" class="dyn-source">
215
+ <p class="source-link">[ <a href="javascript:toggleSource('M000797_source')" id="l_M000797_source">+</a> ]</p>
216
+ <div id="M000797_source" class="dyn-source">
217
217
  <pre>
218
218
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 246</span>
219
219
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_pair</span>
@@ -226,7 +226,7 @@ Returns a random key-value pair.
226
226
  </div>
227
227
  <div class="method">
228
228
  <div class="title">
229
- <a name="M000796"></a><b>rand_pair!</b>()
229
+ <a name="M000798"></a><b>rand_pair!</b>()
230
230
  </div>
231
231
  <div class="description">
232
232
  <p>
@@ -240,11 +240,11 @@ Deletes a random key-value pair and returns that pair.
240
240
  </div>
241
241
  <div class="aka">
242
242
  This method is also aliased as
243
- <a href="Hash.html#M000797">pick_pair</a>
243
+ <a href="Hash.html#M000799">pick_pair</a>
244
244
  </div>
245
245
  <div class="sourcecode">
246
- <p class="source-link">[ <a href="javascript:toggleSource('M000796_source')" id="l_M000796_source">+</a> ]</p>
247
- <div id="M000796_source" class="dyn-source">
246
+ <p class="source-link">[ <a href="javascript:toggleSource('M000798_source')" id="l_M000798_source">+</a> ]</p>
247
+ <div id="M000798_source" class="dyn-source">
248
248
  <pre>
249
249
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 257</span>
250
250
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_pair!</span>
@@ -258,7 +258,7 @@ Deletes a random key-value pair and returns that pair.
258
258
  </div>
259
259
  <div class="method">
260
260
  <div class="title">
261
- <a name="M000798"></a><b>rand_value</b>()
261
+ <a name="M000800"></a><b>rand_value</b>()
262
262
  </div>
263
263
  <div class="description">
264
264
  <p>
@@ -271,11 +271,11 @@ Returns a random hash value.
271
271
  </div>
272
272
  <div class="aka">
273
273
  This method is also aliased as
274
- <a href="Hash.html#M000801">at_rand</a>
274
+ <a href="Hash.html#M000803">at_rand</a>
275
275
  </div>
276
276
  <div class="sourcecode">
277
- <p class="source-link">[ <a href="javascript:toggleSource('M000798_source')" id="l_M000798_source">+</a> ]</p>
278
- <div id="M000798_source" class="dyn-source">
277
+ <p class="source-link">[ <a href="javascript:toggleSource('M000800_source')" id="l_M000800_source">+</a> ]</p>
278
+ <div id="M000800_source" class="dyn-source">
279
279
  <pre>
280
280
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 270</span>
281
281
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_value</span>
@@ -287,7 +287,7 @@ Returns a random hash value.
287
287
  </div>
288
288
  <div class="method">
289
289
  <div class="title">
290
- <a name="M000799"></a><b>rand_value!</b>()
290
+ <a name="M000801"></a><b>rand_value!</b>()
291
291
  </div>
292
292
  <div class="description">
293
293
  <p>
@@ -301,12 +301,12 @@ Deletes a random key-value pair and returns the value.
301
301
  </div>
302
302
  <div class="aka">
303
303
  This method is also aliased as
304
- <a href="Hash.html#M000800">pick</a>
305
- <a href="Hash.html#M000802">at_rand!</a>
304
+ <a href="Hash.html#M000802">pick</a>
305
+ <a href="Hash.html#M000804">at_rand!</a>
306
306
  </div>
307
307
  <div class="sourcecode">
308
- <p class="source-link">[ <a href="javascript:toggleSource('M000799_source')" id="l_M000799_source">+</a> ]</p>
309
- <div id="M000799_source" class="dyn-source">
308
+ <p class="source-link">[ <a href="javascript:toggleSource('M000801_source')" id="l_M000801_source">+</a> ]</p>
309
+ <div id="M000801_source" class="dyn-source">
310
310
  <pre>
311
311
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 280</span>
312
312
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_value!</span>
@@ -320,7 +320,7 @@ Deletes a random key-value pair and returns the value.
320
320
  </div>
321
321
  <div class="method">
322
322
  <div class="title">
323
- <a name="M000803"></a><b>shuffle</b>()
323
+ <a name="M000805"></a><b>shuffle</b>()
324
324
  </div>
325
325
  <div class="description">
326
326
  <p>
@@ -333,8 +333,8 @@ order.
333
333
  </pre>
334
334
  </div>
335
335
  <div class="sourcecode">
336
- <p class="source-link">[ <a href="javascript:toggleSource('M000803_source')" id="l_M000803_source">+</a> ]</p>
337
- <div id="M000803_source" class="dyn-source">
336
+ <p class="source-link">[ <a href="javascript:toggleSource('M000805_source')" id="l_M000805_source">+</a> ]</p>
337
+ <div id="M000805_source" class="dyn-source">
338
338
  <pre>
339
339
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 297</span>
340
340
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shuffle</span>
@@ -346,7 +346,7 @@ order.
346
346
  </div>
347
347
  <div class="method">
348
348
  <div class="title">
349
- <a name="M000804"></a><b>shuffle!</b>()
349
+ <a name="M000806"></a><b>shuffle!</b>()
350
350
  </div>
351
351
  <div class="description">
352
352
  <p>
@@ -359,8 +359,8 @@ Destructive shuffle_hash. Arrange the values in a new random order.
359
359
  </pre>
360
360
  </div>
361
361
  <div class="sourcecode">
362
- <p class="source-link">[ <a href="javascript:toggleSource('M000804_source')" id="l_M000804_source">+</a> ]</p>
363
- <div id="M000804_source" class="dyn-source">
362
+ <p class="source-link">[ <a href="javascript:toggleSource('M000806_source')" id="l_M000806_source">+</a> ]</p>
363
+ <div id="M000806_source" class="dyn-source">
364
364
  <pre>
365
365
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 308</span>
366
366
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shuffle!</span>
@@ -73,7 +73,7 @@
73
73
 
74
74
 
75
75
  <div class="sectiontitle">Methods</div>
76
- <span style="padding-right: 5px;"><a href="#M000813">maybe</a></span>
76
+ <span style="padding-right: 5px;"><a href="#M000815">maybe</a></span>
77
77
 
78
78
 
79
79
 
@@ -83,7 +83,7 @@
83
83
  <div class="sectiontitle">Public Instance methods</div>
84
84
  <div class="method">
85
85
  <div class="title">
86
- <a name="M000813"></a><b>maybe</b>(chance = 0.5) {|if rand &lt; chance| ...}
86
+ <a name="M000815"></a><b>maybe</b>(chance = 0.5) {|if rand &lt; chance| ...}
87
87
  </div>
88
88
  <div class="description">
89
89
  <p>
@@ -96,8 +96,8 @@ Can also take a block that has a 50/50 chance to being executed.
96
96
  </pre>
97
97
  </div>
98
98
  <div class="sourcecode">
99
- <p class="source-link">[ <a href="javascript:toggleSource('M000813_source')" id="l_M000813_source">+</a> ]</p>
100
- <div id="M000813_source" class="dyn-source">
99
+ <p class="source-link">[ <a href="javascript:toggleSource('M000815_source')" id="l_M000815_source">+</a> ]</p>
100
+ <div id="M000815_source" class="dyn-source">
101
101
  <pre>
102
102
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 88</span>
103
103
  <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>)
@@ -73,14 +73,14 @@
73
73
 
74
74
 
75
75
  <div class="sectiontitle">Methods</div>
76
- <span style="padding-right: 5px;"><a href="#M000815">at_rand</a></span>
77
- <span style="padding-right: 5px;"><a href="#M000816">at_rand!</a></span>
78
- <span style="padding-right: 5px;"><a href="#M000814">included</a></span>
79
- <span style="padding-right: 5px;"><a href="#M000817">rand_byte</a></span>
80
- <span style="padding-right: 5px;"><a href="#M000818">rand_byte!</a></span>
81
- <span style="padding-right: 5px;"><a href="#M000819">rand_index</a></span>
82
- <span style="padding-right: 5px;"><a href="#M000820">shuffle</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000821">shuffle!</a></span>
76
+ <span style="padding-right: 5px;"><a href="#M000817">at_rand</a></span>
77
+ <span style="padding-right: 5px;"><a href="#M000818">at_rand!</a></span>
78
+ <span style="padding-right: 5px;"><a href="#M000816">included</a></span>
79
+ <span style="padding-right: 5px;"><a href="#M000819">rand_byte</a></span>
80
+ <span style="padding-right: 5px;"><a href="#M000820">rand_byte!</a></span>
81
+ <span style="padding-right: 5px;"><a href="#M000821">rand_index</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000822">shuffle</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000823">shuffle!</a></span>
84
84
 
85
85
 
86
86
 
@@ -93,11 +93,11 @@
93
93
  <div class="sectiontitle">Public Class methods</div>
94
94
  <div class="method">
95
95
  <div class="title">
96
- <a name="M000814"></a><b>included</b>(base)
96
+ <a name="M000816"></a><b>included</b>(base)
97
97
  </div>
98
98
  <div class="sourcecode">
99
- <p class="source-link">[ <a href="javascript:toggleSource('M000814_source')" id="l_M000814_source">+</a> ]</p>
100
- <div id="M000814_source" class="dyn-source">
99
+ <p class="source-link">[ <a href="javascript:toggleSource('M000816_source')" id="l_M000816_source">+</a> ]</p>
100
+ <div id="M000816_source" class="dyn-source">
101
101
  <pre>
102
102
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 318</span>
103
103
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">base</span>)
@@ -110,7 +110,7 @@
110
110
  <div class="sectiontitle">Public Instance methods</div>
111
111
  <div class="method">
112
112
  <div class="title">
113
- <a name="M000815"></a><b>at_rand</b>( separator=// )
113
+ <a name="M000817"></a><b>at_rand</b>( separator=// )
114
114
  </div>
115
115
  <div class="description">
116
116
  <p>
@@ -122,8 +122,8 @@ charaacter.
122
122
  </pre>
123
123
  </div>
124
124
  <div class="sourcecode">
125
- <p class="source-link">[ <a href="javascript:toggleSource('M000815_source')" id="l_M000815_source">+</a> ]</p>
126
- <div id="M000815_source" class="dyn-source">
125
+ <p class="source-link">[ <a href="javascript:toggleSource('M000817_source')" id="l_M000817_source">+</a> ]</p>
126
+ <div id="M000817_source" class="dyn-source">
127
127
  <pre>
128
128
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 366</span>
129
129
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_rand</span>( <span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span> )
@@ -136,7 +136,7 @@ charaacter.
136
136
  </div>
137
137
  <div class="method">
138
138
  <div class="title">
139
- <a name="M000816"></a><b>at_rand!</b>( separator=// )
139
+ <a name="M000818"></a><b>at_rand!</b>( separator=// )
140
140
  </div>
141
141
  <div class="description">
142
142
  <p>
@@ -150,8 +150,8 @@ separation is by character.
150
150
  </pre>
151
151
  </div>
152
152
  <div class="sourcecode">
153
- <p class="source-link">[ <a href="javascript:toggleSource('M000816_source')" id="l_M000816_source">+</a> ]</p>
154
- <div id="M000816_source" class="dyn-source">
153
+ <p class="source-link">[ <a href="javascript:toggleSource('M000818_source')" id="l_M000818_source">+</a> ]</p>
154
+ <div id="M000818_source" class="dyn-source">
155
155
  <pre>
156
156
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 378</span>
157
157
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_rand!</span>( <span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span> )
@@ -169,7 +169,7 @@ separation is by character.
169
169
  </div>
170
170
  <div class="method">
171
171
  <div class="title">
172
- <a name="M000817"></a><b>rand_byte</b>()
172
+ <a name="M000819"></a><b>rand_byte</b>()
173
173
  </div>
174
174
  <div class="description">
175
175
  <p>
@@ -180,8 +180,8 @@ Return a random byte of <em>self</em>.
180
180
  </pre>
181
181
  </div>
182
182
  <div class="sourcecode">
183
- <p class="source-link">[ <a href="javascript:toggleSource('M000817_source')" id="l_M000817_source">+</a> ]</p>
184
- <div id="M000817_source" class="dyn-source">
183
+ <p class="source-link">[ <a href="javascript:toggleSource('M000819_source')" id="l_M000819_source">+</a> ]</p>
184
+ <div id="M000819_source" class="dyn-source">
185
185
  <pre>
186
186
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 392</span>
187
187
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_byte</span>
@@ -193,11 +193,11 @@ Return a random byte of <em>self</em>.
193
193
  </div>
194
194
  <div class="method">
195
195
  <div class="title">
196
- <a name="M000818"></a><b>rand_byte!</b>()
196
+ <a name="M000820"></a><b>rand_byte!</b>()
197
197
  </div>
198
198
  <div class="description">
199
199
  <p>
200
- Destructive <a href="String.html#M000817">rand_byte</a>. Delete a random
200
+ Destructive <a href="String.html#M000819">rand_byte</a>. Delete a random
201
201
  byte of <em>self</em> and return it.
202
202
  </p>
203
203
  <pre>
@@ -207,8 +207,8 @@ byte of <em>self</em> and return it.
207
207
  </pre>
208
208
  </div>
209
209
  <div class="sourcecode">
210
- <p class="source-link">[ <a href="javascript:toggleSource('M000818_source')" id="l_M000818_source">+</a> ]</p>
211
- <div id="M000818_source" class="dyn-source">
210
+ <p class="source-link">[ <a href="javascript:toggleSource('M000820_source')" id="l_M000820_source">+</a> ]</p>
211
+ <div id="M000820_source" class="dyn-source">
212
212
  <pre>
213
213
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 402</span>
214
214
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_byte!</span>
@@ -223,7 +223,7 @@ byte of <em>self</em> and return it.
223
223
  </div>
224
224
  <div class="method">
225
225
  <div class="title">
226
- <a name="M000819"></a><b>rand_index</b>()
226
+ <a name="M000821"></a><b>rand_index</b>()
227
227
  </div>
228
228
  <div class="description">
229
229
  <p>
@@ -234,8 +234,8 @@ Return a random string index.
234
234
  </pre>
235
235
  </div>
236
236
  <div class="sourcecode">
237
- <p class="source-link">[ <a href="javascript:toggleSource('M000819_source')" id="l_M000819_source">+</a> ]</p>
238
- <div id="M000819_source" class="dyn-source">
237
+ <p class="source-link">[ <a href="javascript:toggleSource('M000821_source')" id="l_M000821_source">+</a> ]</p>
238
+ <div id="M000821_source" class="dyn-source">
239
239
  <pre>
240
240
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 413</span>
241
241
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_index</span>
@@ -247,7 +247,7 @@ Return a random string index.
247
247
  </div>
248
248
  <div class="method">
249
249
  <div class="title">
250
- <a name="M000820"></a><b>shuffle</b>(separator=//)
250
+ <a name="M000822"></a><b>shuffle</b>(separator=//)
251
251
  </div>
252
252
  <div class="description">
253
253
  <p>
@@ -259,8 +259,8 @@ default seperation is by character.
259
259
  </pre>
260
260
  </div>
261
261
  <div class="sourcecode">
262
- <p class="source-link">[ <a href="javascript:toggleSource('M000820_source')" id="l_M000820_source">+</a> ]</p>
263
- <div id="M000820_source" class="dyn-source">
262
+ <p class="source-link">[ <a href="javascript:toggleSource('M000822_source')" id="l_M000822_source">+</a> ]</p>
263
+ <div id="M000822_source" class="dyn-source">
264
264
  <pre>
265
265
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 422</span>
266
266
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shuffle</span>(<span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span>)
@@ -272,16 +272,16 @@ default seperation is by character.
272
272
  </div>
273
273
  <div class="method">
274
274
  <div class="title">
275
- <a name="M000821"></a><b>shuffle!</b>(separator=//)
275
+ <a name="M000823"></a><b>shuffle!</b>(separator=//)
276
276
  </div>
277
277
  <div class="description">
278
278
  <p>
279
- In place version of <a href="String.html#M000820">shuffle</a>.
279
+ In place version of <a href="String.html#M000822">shuffle</a>.
280
280
  </p>
281
281
  </div>
282
282
  <div class="sourcecode">
283
- <p class="source-link">[ <a href="javascript:toggleSource('M000821_source')" id="l_M000821_source">+</a> ]</p>
284
- <div id="M000821_source" class="dyn-source">
283
+ <p class="source-link">[ <a href="javascript:toggleSource('M000823_source')" id="l_M000823_source">+</a> ]</p>
284
+ <div id="M000823_source" class="dyn-source">
285
285
  <pre>
286
286
  <span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 428</span>
287
287
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shuffle!</span>(<span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span>)