facets 2.4.1 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3413) hide show
  1. data/AUTHORS +16 -5
  2. data/CHANGES +9 -1
  3. data/MANIFEST +3093 -1289
  4. data/METADATA +28 -0
  5. data/NEWS +52 -0
  6. data/README +7 -65
  7. data/README.core +102 -0
  8. data/README.lore +51 -0
  9. data/README.more +43 -0
  10. data/doc/{history.rdoc → notes/history.rdoc} +0 -0
  11. data/doc/{notes.rdoc → notes/notes.rdoc} +0 -0
  12. data/doc/rdoc/core/classes/Array.html +1704 -0
  13. data/doc/rdoc/core/classes/Binding.html +718 -0
  14. data/doc/rdoc/core/classes/Class.html +518 -0
  15. data/doc/rdoc/core/classes/Comparable.html +430 -0
  16. data/doc/rdoc/core/classes/Dir.html +697 -0
  17. data/doc/rdoc/core/classes/Enumerable.html +2126 -0
  18. data/doc/rdoc/core/classes/Exception.html +234 -0
  19. data/doc/rdoc/core/classes/FalseClass.html +133 -0
  20. data/doc/rdoc/core/classes/File.html +929 -0
  21. data/doc/rdoc/core/classes/FileTest.html +147 -0
  22. data/doc/rdoc/core/classes/Float.html +297 -0
  23. data/doc/rdoc/core/classes/Friend.html +178 -0
  24. data/doc/rdoc/core/classes/Functor.html +173 -0
  25. data/doc/rdoc/core/classes/Hash.html +3864 -0
  26. data/doc/rdoc/core/classes/InstanceVariables.html +515 -0
  27. data/doc/rdoc/core/classes/Integer.html +852 -0
  28. data/doc/rdoc/core/classes/Kernel.html +3952 -0
  29. data/doc/rdoc/core/classes/Lazy.html +96 -0
  30. data/doc/rdoc/core/classes/Lazy/Future.html +100 -0
  31. data/doc/rdoc/core/classes/Lazy/Promise.html +114 -0
  32. data/doc/rdoc/core/classes/Lazy/PromiseSafe.html +99 -0
  33. data/doc/rdoc/core/classes/MatchData.html +309 -0
  34. data/doc/rdoc/core/classes/MissingArgument.html +98 -0
  35. data/doc/rdoc/core/classes/Module.html +2219 -0
  36. data/doc/rdoc/core/classes/Module/CloneExtensions.html +287 -0
  37. data/doc/rdoc/core/classes/NilClass.html +274 -0
  38. data/doc/rdoc/core/classes/Numeric.html +362 -0
  39. data/doc/rdoc/core/classes/Object.html +115 -0
  40. data/doc/rdoc/core/classes/Proc.html +595 -0
  41. data/doc/rdoc/core/classes/Range.html +622 -0
  42. data/doc/rdoc/core/classes/Regexp.html +289 -0
  43. data/doc/rdoc/core/classes/String.html +3913 -0
  44. data/doc/rdoc/core/classes/String/Words.html +571 -0
  45. data/doc/rdoc/core/classes/Symbol.html +584 -0
  46. data/doc/rdoc/core/classes/Time.html +824 -0
  47. data/doc/rdoc/core/classes/TrueClass.html +133 -0
  48. data/doc/rdoc/core/classes/UnboundMethod.html +295 -0
  49. data/doc/rdoc/core/created.rid +1 -0
  50. data/doc/rdoc/core/files/README.html +300 -0
  51. data/doc/rdoc/core/files/README_core.html +229 -0
  52. data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +96 -0
  53. data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +92 -0
  54. data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +92 -0
  55. data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +97 -0
  56. data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +92 -0
  57. data/doc/rdoc/core/files/lib/core/facets/array/not_empty_rb.html +92 -0
  58. data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +92 -0
  59. data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +92 -0
  60. data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +92 -0
  61. data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +92 -0
  62. data/doc/rdoc/core/files/lib/core/facets/array/recursively_rb.html +92 -0
  63. data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +92 -0
  64. data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +92 -0
  65. data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +92 -0
  66. data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +97 -0
  67. data/doc/rdoc/core/files/lib/core/facets/array/traverse_rb.html +92 -0
  68. data/doc/rdoc/core/files/lib/core/facets/array_rb.html +125 -0
  69. data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +97 -0
  70. data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +96 -0
  71. data/doc/rdoc/core/files/lib/core/facets/binding/eval_rb.html +92 -0
  72. data/doc/rdoc/core/files/lib/core/facets/binding/local_variables_rb.html +96 -0
  73. data/doc/rdoc/core/files/lib/core/facets/binding/opvars_rb.html +96 -0
  74. data/doc/rdoc/core/files/lib/core/facets/binding/self_rb.html +96 -0
  75. data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +100 -0
  76. data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +92 -0
  77. data/doc/rdoc/core/files/lib/core/facets/blank_rb.html +97 -0
  78. data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +126 -0
  79. data/doc/rdoc/core/files/lib/core/facets/callstack_rb.html +92 -0
  80. data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +92 -0
  81. data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +92 -0
  82. data/doc/rdoc/core/files/lib/core/facets/class/subclasses_rb.html +96 -0
  83. data/doc/rdoc/core/files/lib/core/facets/class/to_methodname_rb.html +92 -0
  84. data/doc/rdoc/core/files/lib/core/facets/class/to_pathname_rb.html +92 -0
  85. data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +92 -0
  86. data/doc/rdoc/core/files/lib/core/facets/class_rb.html +97 -0
  87. data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +92 -0
  88. data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +92 -0
  89. data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +109 -0
  90. data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +98 -0
  91. data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +92 -0
  92. data/doc/rdoc/core/files/lib/core/facets/dir/descend_rb.html +96 -0
  93. data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +92 -0
  94. data/doc/rdoc/core/files/lib/core/facets/dir/parent_rb.html +92 -0
  95. data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +92 -0
  96. data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +102 -0
  97. data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +96 -0
  98. data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +96 -0
  99. data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +92 -0
  100. data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +92 -0
  101. data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +92 -0
  102. data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +92 -0
  103. data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +96 -0
  104. data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +92 -0
  105. data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +92 -0
  106. data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +92 -0
  107. data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +92 -0
  108. data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +92 -0
  109. data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +92 -0
  110. data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +92 -0
  111. data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +92 -0
  112. data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +92 -0
  113. data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +92 -0
  114. data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +92 -0
  115. data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +92 -0
  116. data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +92 -0
  117. data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +114 -0
  118. data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +92 -0
  119. data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +92 -0
  120. data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +97 -0
  121. data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +92 -0
  122. data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +92 -0
  123. data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +92 -0
  124. data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +92 -0
  125. data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +92 -0
  126. data/doc/rdoc/core/files/lib/core/facets/file_rb.html +99 -0
  127. data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +92 -0
  128. data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +96 -0
  129. data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +96 -0
  130. data/doc/rdoc/core/files/lib/core/facets/float_rb.html +96 -0
  131. data/doc/rdoc/core/files/lib/core/facets/functor_rb.html +151 -0
  132. data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +92 -0
  133. data/doc/rdoc/core/files/lib/core/facets/hash/argumentize_rb.html +92 -0
  134. data/doc/rdoc/core/files/lib/core/facets/hash/at_rb.html +92 -0
  135. data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +92 -0
  136. data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +92 -0
  137. data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +92 -0
  138. data/doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html +92 -0
  139. data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +92 -0
  140. data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +92 -0
  141. data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +92 -0
  142. data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +92 -0
  143. data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +92 -0
  144. data/doc/rdoc/core/files/lib/core/facets/hash/mash_rb.html +96 -0
  145. data/doc/rdoc/core/files/lib/core/facets/hash/merge_rb.html +92 -0
  146. data/doc/rdoc/core/files/lib/core/facets/hash/op_rb.html +92 -0
  147. data/doc/rdoc/core/files/lib/core/facets/hash/recursive_merge_rb.html +92 -0
  148. data/doc/rdoc/core/files/lib/core/facets/hash/recursively_rb.html +92 -0
  149. data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +96 -0
  150. data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +92 -0
  151. data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +96 -0
  152. data/doc/rdoc/core/files/lib/core/facets/hash/stringify_keys_rb.html +96 -0
  153. data/doc/rdoc/core/files/lib/core/facets/hash/swap_rb.html +92 -0
  154. data/doc/rdoc/core/files/lib/core/facets/hash/symbolize_keys_rb.html +96 -0
  155. data/doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html +96 -0
  156. data/doc/rdoc/core/files/lib/core/facets/hash/to_proc_rb.html +92 -0
  157. data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +92 -0
  158. data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +92 -0
  159. data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +92 -0
  160. data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +92 -0
  161. data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +96 -0
  162. data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +117 -0
  163. data/doc/rdoc/core/files/lib/core/facets/integer/even_rb.html +96 -0
  164. data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +92 -0
  165. data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +92 -0
  166. data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +92 -0
  167. data/doc/rdoc/core/files/lib/core/facets/integer/of_rb.html +92 -0
  168. data/doc/rdoc/core/files/lib/core/facets/integer/ordinal_rb.html +92 -0
  169. data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +101 -0
  170. data/doc/rdoc/core/files/lib/core/facets/kernel/__callee___rb.html +96 -0
  171. data/doc/rdoc/core/files/lib/core/facets/kernel/__class___rb.html +92 -0
  172. data/doc/rdoc/core/files/lib/core/facets/kernel/__dir___rb.html +92 -0
  173. data/doc/rdoc/core/files/lib/core/facets/kernel/__get___rb.html +92 -0
  174. data/doc/rdoc/core/files/lib/core/facets/kernel/__method___rb.html +92 -0
  175. data/doc/rdoc/core/files/lib/core/facets/kernel/__set___rb.html +96 -0
  176. data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +96 -0
  177. data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +92 -0
  178. data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +92 -0
  179. data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +92 -0
  180. data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +92 -0
  181. data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +92 -0
  182. data/doc/rdoc/core/files/lib/core/facets/kernel/deep_copy_rb.html +92 -0
  183. data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +92 -0
  184. data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +96 -0
  185. data/doc/rdoc/core/files/lib/core/facets/kernel/here_rb.html +92 -0
  186. data/doc/rdoc/core/files/lib/core/facets/kernel/in_rb.html +92 -0
  187. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_assign_rb.html +92 -0
  188. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +92 -0
  189. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +96 -0
  190. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_rb.html +96 -0
  191. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_send_rb.html +92 -0
  192. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +92 -0
  193. data/doc/rdoc/core/files/lib/core/facets/kernel/load_rb.html +92 -0
  194. data/doc/rdoc/core/files/lib/core/facets/kernel/maybe_rb.html +92 -0
  195. data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +92 -0
  196. data/doc/rdoc/core/files/lib/core/facets/kernel/object_class_rb.html +92 -0
  197. data/doc/rdoc/core/files/lib/core/facets/kernel/object_hexid_rb.html +92 -0
  198. data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +92 -0
  199. data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +92 -0
  200. data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +92 -0
  201. data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +92 -0
  202. data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +92 -0
  203. data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +92 -0
  204. data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +92 -0
  205. data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +92 -0
  206. data/doc/rdoc/core/files/lib/core/facets/kernel/suppress_rb.html +92 -0
  207. data/doc/rdoc/core/files/lib/core/facets/kernel/tap_rb.html +92 -0
  208. data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +92 -0
  209. data/doc/rdoc/core/files/lib/core/facets/kernel/val_rb.html +92 -0
  210. data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +92 -0
  211. data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +124 -0
  212. data/doc/rdoc/core/files/lib/core/facets/lazy_rb.html +120 -0
  213. data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +92 -0
  214. data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +92 -0
  215. data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +97 -0
  216. data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +92 -0
  217. data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +92 -0
  218. data/doc/rdoc/core/files/lib/core/facets/module/alias_rb.html +92 -0
  219. data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +92 -0
  220. data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +92 -0
  221. data/doc/rdoc/core/files/lib/core/facets/module/can_rb.html +92 -0
  222. data/doc/rdoc/core/files/lib/core/facets/module/class_rb.html +92 -0
  223. data/doc/rdoc/core/files/lib/core/facets/module/clone_rb.html +92 -0
  224. data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +92 -0
  225. data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +92 -0
  226. data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +92 -0
  227. data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +92 -0
  228. data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +92 -0
  229. data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +92 -0
  230. data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +92 -0
  231. data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +92 -0
  232. data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +92 -0
  233. data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +92 -0
  234. data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +92 -0
  235. data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +92 -0
  236. data/doc/rdoc/core/files/lib/core/facets/module_rb.html +115 -0
  237. data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +92 -0
  238. data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +96 -0
  239. data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +92 -0
  240. data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +92 -0
  241. data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +92 -0
  242. data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +97 -0
  243. data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +92 -0
  244. data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +92 -0
  245. data/doc/rdoc/core/files/lib/core/facets/proc/curry_rb.html +92 -0
  246. data/doc/rdoc/core/files/lib/core/facets/proc/partial_rb.html +125 -0
  247. data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +96 -0
  248. data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +92 -0
  249. data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +102 -0
  250. data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +92 -0
  251. data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +92 -0
  252. data/doc/rdoc/core/files/lib/core/facets/range/to_r_rb.html +92 -0
  253. data/doc/rdoc/core/files/lib/core/facets/range/umbrella_rb.html +96 -0
  254. data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +92 -0
  255. data/doc/rdoc/core/files/lib/core/facets/range_rb.html +100 -0
  256. data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +92 -0
  257. data/doc/rdoc/core/files/lib/core/facets/regexp/to_re_rb.html +92 -0
  258. data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +97 -0
  259. data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +92 -0
  260. data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +92 -0
  261. data/doc/rdoc/core/files/lib/core/facets/string/bytes_rb.html +92 -0
  262. data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +92 -0
  263. data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +92 -0
  264. data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +92 -0
  265. data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +92 -0
  266. data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +92 -0
  267. data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +92 -0
  268. data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +92 -0
  269. data/doc/rdoc/core/files/lib/core/facets/string/end_with_rb.html +96 -0
  270. data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +92 -0
  271. data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +92 -0
  272. data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +92 -0
  273. data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +92 -0
  274. data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +92 -0
  275. data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +92 -0
  276. data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +92 -0
  277. data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +92 -0
  278. data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +92 -0
  279. data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +92 -0
  280. data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +92 -0
  281. data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +92 -0
  282. data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +92 -0
  283. data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +92 -0
  284. data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +92 -0
  285. data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +92 -0
  286. data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +92 -0
  287. data/doc/rdoc/core/files/lib/core/facets/string/to_time_rb.html +96 -0
  288. data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +96 -0
  289. data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +92 -0
  290. data/doc/rdoc/core/files/lib/core/facets/string_rb.html +124 -0
  291. data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +92 -0
  292. data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +92 -0
  293. data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +92 -0
  294. data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +92 -0
  295. data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +92 -0
  296. data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +99 -0
  297. data/doc/rdoc/core/files/lib/core/facets/time/ago_rb.html +96 -0
  298. data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +92 -0
  299. data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +92 -0
  300. data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +96 -0
  301. data/doc/rdoc/core/files/lib/core/facets/time/round_rb.html +96 -0
  302. data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +96 -0
  303. data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +92 -0
  304. data/doc/rdoc/core/files/lib/core/facets/time/to_date_rb.html +92 -0
  305. data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +92 -0
  306. data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +92 -0
  307. data/doc/rdoc/core/files/lib/core/facets/time_rb.html +106 -0
  308. data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +92 -0
  309. data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +92 -0
  310. data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +92 -0
  311. data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +97 -0
  312. data/doc/rdoc/core/fr_class_index.html +83 -0
  313. data/doc/rdoc/core/fr_file_index.html +536 -0
  314. data/doc/rdoc/core/fr_method_index.html +838 -0
  315. data/doc/rdoc/core/index.html +26 -0
  316. data/doc/{html/api → rdoc}/core/rdoc-style.css +0 -0
  317. data/doc/rdoc/lore/classes/Array.html +178 -0
  318. data/doc/rdoc/lore/classes/BasicObject.html +259 -0
  319. data/doc/rdoc/lore/classes/CGI.html +187 -0
  320. data/doc/rdoc/lore/classes/Config.html +137 -0
  321. data/doc/rdoc/lore/classes/Continuation.html +115 -0
  322. data/doc/rdoc/lore/classes/Date.html +254 -0
  323. data/doc/rdoc/lore/classes/File.html +130 -0
  324. data/doc/rdoc/lore/classes/FileUtils.html +780 -0
  325. data/doc/rdoc/lore/classes/GetoptLong.html +120 -0
  326. data/doc/rdoc/lore/classes/GetoptLong/DSL.html +210 -0
  327. data/doc/rdoc/lore/classes/Logger.html +231 -0
  328. data/doc/rdoc/lore/classes/Logger/Ansicolor.html +279 -0
  329. data/doc/rdoc/lore/classes/Logger/LogDevice.html +123 -0
  330. data/doc/rdoc/lore/classes/NilClass.html +121 -0
  331. data/doc/rdoc/lore/classes/OpenStruct.html +413 -0
  332. data/doc/rdoc/lore/classes/Pathname.html +269 -0
  333. data/doc/rdoc/lore/classes/Set.html +119 -0
  334. data/doc/rdoc/lore/classes/Shellwords.html +113 -0
  335. data/doc/rdoc/lore/classes/String.html +121 -0
  336. data/doc/rdoc/lore/classes/URI.html +456 -0
  337. data/doc/rdoc/lore/classes/URI/Hash.html +107 -0
  338. data/doc/rdoc/lore/classes/URI/Kernel.html +124 -0
  339. data/doc/rdoc/lore/created.rid +1 -0
  340. data/doc/rdoc/lore/files/README.html +299 -0
  341. data/doc/rdoc/lore/files/README_lore.html +155 -0
  342. data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +190 -0
  343. data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +111 -0
  344. data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +147 -0
  345. data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +122 -0
  346. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/head_rb.html +96 -0
  347. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/safe_ln_rb.html +96 -0
  348. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/slice_rb.html +96 -0
  349. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/tail_rb.html +96 -0
  350. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/wc_rb.html +96 -0
  351. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/whereis_rb.html +96 -0
  352. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/which_rb.html +96 -0
  353. data/doc/rdoc/lore/files/lib/lore/facets/fileutils_rb.html +131 -0
  354. data/doc/rdoc/lore/files/lib/lore/facets/getoptlong_rb.html +135 -0
  355. data/doc/rdoc/lore/files/lib/lore/facets/logger_rb.html +142 -0
  356. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +135 -0
  357. data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +159 -0
  358. data/doc/rdoc/lore/files/lib/lore/facets/rbconfig_rb.html +124 -0
  359. data/doc/rdoc/lore/files/lib/lore/facets/set_rb.html +96 -0
  360. data/doc/rdoc/lore/files/lib/lore/facets/shellwords_rb.html +124 -0
  361. data/doc/rdoc/lore/files/lib/lore/facets/uri_rb.html +125 -0
  362. data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +145 -0
  363. data/doc/rdoc/lore/fr_class_index.html +68 -0
  364. data/doc/rdoc/lore/fr_file_index.html +76 -0
  365. data/doc/rdoc/lore/fr_method_index.html +140 -0
  366. data/doc/rdoc/lore/index.html +26 -0
  367. data/doc/{html/api/more → rdoc/lore}/rdoc-style.css +0 -0
  368. data/doc/rdoc/more/classes/ANSICode.html +495 -0
  369. data/doc/rdoc/more/classes/Advisable.html +271 -0
  370. data/doc/rdoc/more/classes/Advisable/Method.html +225 -0
  371. data/doc/rdoc/more/classes/Archive.html +89 -0
  372. data/doc/rdoc/more/classes/Archive/Tar.html +89 -0
  373. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +471 -0
  374. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +357 -0
  375. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +218 -0
  376. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +285 -0
  377. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +380 -0
  378. data/doc/rdoc/more/classes/Association.html +307 -0
  379. data/doc/rdoc/more/classes/Association/Kernel.html +134 -0
  380. data/doc/rdoc/more/classes/Autoarray.html +168 -0
  381. data/doc/rdoc/more/classes/BBCode.html +534 -0
  382. data/doc/rdoc/more/classes/BaseX.html +196 -0
  383. data/doc/rdoc/more/classes/BiCrypt.html +543 -0
  384. data/doc/rdoc/more/classes/BigDuration.html +325 -0
  385. data/doc/rdoc/more/classes/BinReadable.html +487 -0
  386. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +225 -0
  387. data/doc/rdoc/more/classes/Buildable.html +154 -0
  388. data/doc/rdoc/more/classes/BuildingBlock.html +362 -0
  389. data/doc/rdoc/more/classes/CLI/Arguments.html +490 -0
  390. data/doc/rdoc/more/classes/CLI/Command.html +317 -0
  391. data/doc/rdoc/more/classes/CLI/Command/UniversalOptions.html +91 -0
  392. data/doc/rdoc/more/classes/CLI/NoCommandError.html +113 -0
  393. data/doc/rdoc/more/classes/CLI/NoOptionError.html +120 -0
  394. data/doc/rdoc/more/classes/CacheDecorator.html +224 -0
  395. data/doc/rdoc/more/classes/Capsule.html +410 -0
  396. data/doc/rdoc/more/classes/Capsule/MissingFile.html +96 -0
  397. data/doc/rdoc/more/classes/Chain.html +208 -0
  398. data/doc/rdoc/more/classes/Cloneable.html +131 -0
  399. data/doc/rdoc/more/classes/ConsoleUtils.html +240 -0
  400. data/doc/rdoc/more/classes/Coroutine.html +286 -0
  401. data/doc/rdoc/more/classes/Crypt.html +277 -0
  402. data/doc/rdoc/more/classes/CssFilter.html +473 -0
  403. data/doc/rdoc/more/classes/CssTree.html +151 -0
  404. data/doc/rdoc/more/classes/Dictionary.html +1250 -0
  405. data/doc/rdoc/more/classes/DictionaryMatcher.html +339 -0
  406. data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +117 -0
  407. data/doc/rdoc/more/classes/Downloader.html +514 -0
  408. data/doc/rdoc/more/classes/Duration.html +769 -0
  409. data/doc/rdoc/more/classes/Enumerable.html +340 -0
  410. data/doc/rdoc/more/classes/Enumerable/Elementor.html +172 -0
  411. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +118 -0
  412. data/doc/rdoc/more/classes/EnumerablePass.html +216 -0
  413. data/doc/rdoc/more/classes/Equatable.html +190 -0
  414. data/doc/rdoc/more/classes/EventHook.html +176 -0
  415. data/doc/rdoc/more/classes/Expirable.html +197 -0
  416. data/doc/rdoc/more/classes/FileList.html +957 -0
  417. data/doc/rdoc/more/classes/FileShell.html +745 -0
  418. data/doc/rdoc/more/classes/Fileable.html +180 -0
  419. data/doc/rdoc/more/classes/Fileable/DSL.html +305 -0
  420. data/doc/rdoc/more/classes/Hash.html +173 -0
  421. data/doc/rdoc/more/classes/Hash2Xml.html +107 -0
  422. data/doc/rdoc/more/classes/HtmlFilter.html +331 -0
  423. data/doc/rdoc/more/classes/IORedirect.html +222 -0
  424. data/doc/rdoc/more/classes/Indexable.html +606 -0
  425. data/doc/rdoc/more/classes/InfinityClass.html +450 -0
  426. data/doc/rdoc/more/classes/InfinityClass/Numeric.html +197 -0
  427. data/doc/rdoc/more/classes/Ini.html +449 -0
  428. data/doc/rdoc/more/classes/Instantiable.html +142 -0
  429. data/doc/rdoc/more/classes/Instantise.html +162 -0
  430. data/doc/rdoc/more/classes/Interval.html +879 -0
  431. data/doc/rdoc/more/classes/It.html +187 -0
  432. data/doc/rdoc/more/classes/Kernel.html +641 -0
  433. data/doc/rdoc/more/classes/LRUCache.html +323 -0
  434. data/doc/rdoc/more/classes/LRUCache/Item.html +114 -0
  435. data/doc/rdoc/more/classes/LRUCache/Sentinel.html +100 -0
  436. data/doc/rdoc/more/classes/LinkedList.html +434 -0
  437. data/doc/rdoc/more/classes/LinkedList/Node.html +151 -0
  438. data/doc/rdoc/more/classes/Module.html +1405 -0
  439. data/doc/rdoc/more/classes/Multiton.html +207 -0
  440. data/doc/rdoc/more/classes/Multiton/Inclusive.html +93 -0
  441. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +223 -0
  442. data/doc/rdoc/more/classes/NackClass.html +98 -0
  443. data/doc/{html/api → rdoc}/more/classes/Net.html +0 -0
  444. data/doc/rdoc/more/classes/Net/SMTP.html +203 -0
  445. data/doc/rdoc/more/classes/NullClass.html +204 -0
  446. data/doc/rdoc/more/classes/ObjectReflection.html +174 -0
  447. data/doc/rdoc/more/classes/OpEsc.html +138 -0
  448. data/doc/rdoc/more/classes/OpenCascade.html +144 -0
  449. data/doc/rdoc/more/classes/OpenCollection.html +140 -0
  450. data/doc/rdoc/more/classes/OpenHash.html +159 -0
  451. data/doc/rdoc/more/classes/OpenObject.html +610 -0
  452. data/doc/rdoc/more/classes/PQueue.html +609 -0
  453. data/doc/rdoc/more/classes/Paramix.html +203 -0
  454. data/doc/rdoc/more/classes/Paramix/Delegator.html +217 -0
  455. data/doc/rdoc/more/classes/PathList.html +161 -0
  456. data/doc/rdoc/more/classes/PathList/Finder.html +137 -0
  457. data/doc/rdoc/more/classes/Platform.html +446 -0
  458. data/doc/rdoc/more/classes/Pool.html +206 -0
  459. data/doc/rdoc/more/classes/Proc.html +138 -0
  460. data/doc/rdoc/more/classes/ProgressBar.html +358 -0
  461. data/doc/rdoc/more/classes/Prototype.html +245 -0
  462. data/doc/rdoc/more/classes/RWDelegator.html +196 -0
  463. data/doc/rdoc/more/classes/Random.html +164 -0
  464. data/doc/rdoc/more/classes/Random/Array.html +341 -0
  465. data/doc/rdoc/more/classes/Random/Hash.html +380 -0
  466. data/doc/rdoc/more/classes/Random/Object.html +121 -0
  467. data/doc/rdoc/more/classes/Random/String.html +301 -0
  468. data/doc/rdoc/more/classes/Random/String/Self.html +155 -0
  469. data/doc/rdoc/more/classes/Recorder.html +205 -0
  470. data/doc/rdoc/more/classes/RecursiveDependency.html +92 -0
  471. data/doc/rdoc/more/classes/Reference.html +198 -0
  472. data/doc/rdoc/more/classes/Registerable.html +159 -0
  473. data/doc/rdoc/more/classes/Semaphore.html +262 -0
  474. data/doc/rdoc/more/classes/Settings.html +290 -0
  475. data/doc/rdoc/more/classes/Settings/Setting.html +225 -0
  476. data/doc/rdoc/more/classes/Settings/SettingCollection.html +146 -0
  477. data/doc/rdoc/more/classes/SimpleStringIO.html +137 -0
  478. data/doc/rdoc/more/classes/Snapshot.html +196 -0
  479. data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +165 -0
  480. data/doc/rdoc/more/classes/Stackable.html +264 -0
  481. data/doc/rdoc/more/classes/String/Style.html +804 -0
  482. data/doc/rdoc/more/classes/Struct.html +132 -0
  483. data/doc/rdoc/more/classes/SyncArray.html +129 -0
  484. data/doc/rdoc/more/classes/SyncHash.html +160 -0
  485. data/doc/rdoc/more/classes/SyncHash/Delegator.html +213 -0
  486. data/doc/rdoc/more/classes/SyncHash/Inheritor.html +213 -0
  487. data/doc/rdoc/more/classes/System.html +1119 -0
  488. data/doc/rdoc/more/classes/Timer.html +466 -0
  489. data/doc/rdoc/more/classes/Timer/Dummy.html +141 -0
  490. data/doc/rdoc/more/classes/TracePoint.html +455 -0
  491. data/doc/rdoc/more/classes/Tuple.html +902 -0
  492. data/doc/rdoc/more/classes/TypeCast.html +158 -0
  493. data/doc/rdoc/more/classes/TypeCast/Class.html +129 -0
  494. data/doc/rdoc/more/classes/TypeCast/Object.html +119 -0
  495. data/doc/rdoc/more/classes/TypeCastException.html +96 -0
  496. data/doc/rdoc/more/classes/Uninheritable.html +122 -0
  497. data/doc/rdoc/more/classes/UploadUtils.html +499 -0
  498. data/doc/rdoc/more/classes/VersionNumber.html +384 -0
  499. data/doc/rdoc/more/classes/Weekdays.html +220 -0
  500. data/doc/rdoc/more/classes/XOXO.html +191 -0
  501. data/doc/rdoc/more/classes/ZipUtils.html +437 -0
  502. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +225 -0
  503. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +225 -0
  504. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +225 -0
  505. data/doc/rdoc/more/created.rid +1 -0
  506. data/doc/rdoc/more/files/README.html +299 -0
  507. data/doc/rdoc/more/files/README_more.html +141 -0
  508. data/doc/rdoc/more/files/lib/more/facets/1stclassmethod_rb.html +181 -0
  509. data/doc/rdoc/more/files/lib/more/facets/advisable_rb.html +124 -0
  510. data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +180 -0
  511. data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +200 -0
  512. data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +142 -0
  513. data/doc/rdoc/more/files/lib/more/facets/association_rb.html +158 -0
  514. data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +92 -0
  515. data/doc/rdoc/more/files/lib/more/facets/autoarray_rb.html +125 -0
  516. data/doc/rdoc/more/files/lib/more/facets/autoreload_rb.html +134 -0
  517. data/doc/rdoc/more/files/lib/more/facets/basex_rb.html +92 -0
  518. data/doc/rdoc/more/files/lib/more/facets/bbcode_rb.html +138 -0
  519. data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +124 -0
  520. data/doc/rdoc/more/files/lib/more/facets/binreadable_rb.html +141 -0
  521. data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +230 -0
  522. data/doc/rdoc/more/files/lib/more/facets/bytes_rb.html +169 -0
  523. data/doc/rdoc/more/files/lib/more/facets/cachedecorator_rb.html +178 -0
  524. data/doc/rdoc/more/files/lib/more/facets/capsule_rb.html +143 -0
  525. data/doc/rdoc/more/files/lib/more/facets/cattr_rb.html +125 -0
  526. data/doc/rdoc/more/files/lib/more/facets/chain_rb.html +114 -0
  527. data/doc/rdoc/more/files/lib/more/facets/class_extension_rb.html +155 -0
  528. data/doc/rdoc/more/files/lib/more/facets/classmethods_rb.html +213 -0
  529. data/doc/rdoc/more/files/lib/more/facets/cloneable_rb.html +134 -0
  530. data/doc/rdoc/more/files/lib/more/facets/command_rb.html +170 -0
  531. data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +109 -0
  532. data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +163 -0
  533. data/doc/rdoc/more/files/lib/more/facets/crypt_rb.html +141 -0
  534. data/doc/rdoc/more/files/lib/more/facets/cssfilter_rb.html +121 -0
  535. data/doc/rdoc/more/files/lib/more/facets/daemonize_rb.html +118 -0
  536. data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +158 -0
  537. data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +201 -0
  538. data/doc/rdoc/more/files/lib/more/facets/dictionarymatcher_rb.html +92 -0
  539. data/doc/rdoc/more/files/lib/more/facets/downloader_rb.html +137 -0
  540. data/doc/rdoc/more/files/lib/more/facets/duplicable_rb.html +100 -0
  541. data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +132 -0
  542. data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +148 -0
  543. data/doc/rdoc/more/files/lib/more/facets/elementwise_rb.html +96 -0
  544. data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +153 -0
  545. data/doc/rdoc/more/files/lib/more/facets/equatable_rb.html +146 -0
  546. data/doc/rdoc/more/files/lib/more/facets/eventhook_rb.html +141 -0
  547. data/doc/rdoc/more/files/lib/more/facets/expirable_rb.html +116 -0
  548. data/doc/rdoc/more/files/lib/more/facets/fileable_rb.html +138 -0
  549. data/doc/rdoc/more/files/lib/more/facets/filelist_rb.html +165 -0
  550. data/doc/rdoc/more/files/lib/more/facets/fileshell_rb.html +124 -0
  551. data/doc/rdoc/more/files/lib/more/facets/heap_rb.html +132 -0
  552. data/doc/rdoc/more/files/lib/more/facets/htmlfilter_rb.html +153 -0
  553. data/doc/rdoc/more/files/lib/more/facets/indexable_rb.html +113 -0
  554. data/doc/rdoc/more/files/lib/more/facets/infinity_rb.html +153 -0
  555. data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +149 -0
  556. data/doc/rdoc/more/files/lib/more/facets/ini_rb.html +105 -0
  557. data/doc/rdoc/more/files/lib/more/facets/instantiable_rb.html +119 -0
  558. data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +145 -0
  559. data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +163 -0
  560. data/doc/rdoc/more/files/lib/more/facets/ioredirect_rb.html +133 -0
  561. data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +94 -0
  562. data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +96 -0
  563. data/doc/rdoc/more/files/lib/more/facets/linkedlist_rb.html +159 -0
  564. data/doc/rdoc/more/files/lib/more/facets/lrucache_rb.html +129 -0
  565. data/doc/rdoc/more/files/lib/more/facets/main_rb.html +126 -0
  566. data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +163 -0
  567. data/doc/rdoc/more/files/lib/more/facets/methodspace_rb.html +138 -0
  568. data/doc/rdoc/more/files/lib/more/facets/minitar_rb.html +203 -0
  569. data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +148 -0
  570. data/doc/rdoc/more/files/lib/more/facets/multiton_rb.html +187 -0
  571. data/doc/rdoc/more/files/lib/more/facets/nackclass_rb.html +120 -0
  572. data/doc/rdoc/more/files/lib/more/facets/net/smtp_tls_rb.html +143 -0
  573. data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +92 -0
  574. data/doc/rdoc/more/files/lib/more/facets/nullclass_rb.html +122 -0
  575. data/doc/rdoc/more/files/lib/more/facets/opencascade_rb.html +156 -0
  576. data/doc/rdoc/more/files/lib/more/facets/opencollection_rb.html +123 -0
  577. data/doc/rdoc/more/files/lib/more/facets/openhash_rb.html +107 -0
  578. data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +169 -0
  579. data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +94 -0
  580. data/doc/rdoc/more/files/lib/more/facets/orderedhash_rb.html +143 -0
  581. data/doc/rdoc/more/files/lib/more/facets/overload_rb.html +119 -0
  582. data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +135 -0
  583. data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +133 -0
  584. data/doc/rdoc/more/files/lib/more/facets/platform_rb.html +103 -0
  585. data/doc/rdoc/more/files/lib/more/facets/pool_rb.html +131 -0
  586. data/doc/rdoc/more/files/lib/more/facets/pqueue_rb.html +128 -0
  587. data/doc/rdoc/more/files/lib/more/facets/progressbar_rb.html +126 -0
  588. data/doc/rdoc/more/files/lib/more/facets/prototype_rb.html +102 -0
  589. data/doc/rdoc/more/files/lib/more/facets/random_rb.html +149 -0
  590. data/doc/rdoc/more/files/lib/more/facets/rbsystem_rb.html +144 -0
  591. data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +154 -0
  592. data/doc/rdoc/more/files/lib/more/facets/reference_rb.html +130 -0
  593. data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +135 -0
  594. data/doc/rdoc/more/files/lib/more/facets/registerable_rb.html +98 -0
  595. data/doc/rdoc/more/files/lib/more/facets/rwdelegator_rb.html +122 -0
  596. data/doc/rdoc/more/files/lib/more/facets/semaphore_rb.html +120 -0
  597. data/doc/rdoc/more/files/lib/more/facets/settings_rb.html +141 -0
  598. data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +177 -0
  599. data/doc/rdoc/more/files/lib/more/facets/stackable_rb.html +121 -0
  600. data/doc/rdoc/more/files/lib/more/facets/style_rb.html +96 -0
  601. data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +92 -0
  602. data/doc/rdoc/more/files/lib/more/facets/syncarray_rb.html +125 -0
  603. data/doc/rdoc/more/files/lib/more/facets/synchash_rb.html +138 -0
  604. data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +132 -0
  605. data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +174 -0
  606. data/doc/rdoc/more/files/lib/more/facets/times_rb.html +163 -0
  607. data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +167 -0
  608. data/doc/rdoc/more/files/lib/more/facets/tuple_rb.html +160 -0
  609. data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +214 -0
  610. data/doc/rdoc/more/files/lib/more/facets/uninheritable_rb.html +129 -0
  611. data/doc/rdoc/more/files/lib/more/facets/uploadutils_rb.html +176 -0
  612. data/doc/rdoc/more/files/lib/more/facets/version_rb.html +133 -0
  613. data/doc/rdoc/more/files/lib/more/facets/xmlhash_rb.html +97 -0
  614. data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +136 -0
  615. data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +133 -0
  616. data/doc/rdoc/more/fr_class_index.html +183 -0
  617. data/doc/rdoc/more/fr_file_index.html +158 -0
  618. data/doc/rdoc/more/fr_method_index.html +1057 -0
  619. data/doc/rdoc/more/index.html +26 -0
  620. data/doc/rdoc/more/rdoc-style.css +175 -0
  621. data/doc/ri/ANSICode/cdesc-ANSICode.yaml +60 -0
  622. data/doc/ri/ANSICode/clear_line-i.yaml +13 -0
  623. data/doc/ri/ANSICode/clear_screen-i.yaml +13 -0
  624. data/doc/ri/ANSICode/clr-i.yaml +12 -0
  625. data/doc/ri/ANSICode/cls-i.yaml +12 -0
  626. data/doc/ri/ANSICode/colors-i.yaml +10 -0
  627. data/doc/ri/ANSICode/define_ansicolor_method-c.yaml +12 -0
  628. data/doc/ri/ANSICode/display-i.yaml +12 -0
  629. data/doc/ri/ANSICode/down-i.yaml +12 -0
  630. data/doc/ri/ANSICode/left-i.yaml +12 -0
  631. data/doc/ri/ANSICode/move-i.yaml +12 -0
  632. data/doc/ri/ANSICode/restore-i.yaml +12 -0
  633. data/doc/ri/ANSICode/right-i.yaml +12 -0
  634. data/doc/ri/ANSICode/save-i.yaml +12 -0
  635. data/doc/ri/ANSICode/uncolored-i.yaml +10 -0
  636. data/doc/ri/ANSICode/up-i.yaml +12 -0
  637. data/doc/ri/Advisable/Method/advice_after%3d-i.yaml +10 -0
  638. data/doc/ri/Advisable/Method/advice_around%3d-i.yaml +10 -0
  639. data/doc/ri/Advisable/Method/advice_before%3d-i.yaml +10 -0
  640. data/doc/ri/Advisable/Method/advised%3f-i.yaml +10 -0
  641. data/doc/ri/Advisable/Method/call_with_advice-i.yaml +12 -0
  642. data/doc/ri/Advisable/Method/cdesc-Method.yaml +43 -0
  643. data/doc/ri/Advisable/Method/lambda_target-i.yaml +12 -0
  644. data/doc/ri/Advisable/advice_after-i.yaml +10 -0
  645. data/doc/ri/Advisable/advice_around-i.yaml +10 -0
  646. data/doc/ri/Advisable/advice_before-i.yaml +10 -0
  647. data/doc/ri/Advisable/advise-i.yaml +12 -0
  648. data/doc/ri/Advisable/after-i.yaml +10 -0
  649. data/doc/ri/Advisable/around-i.yaml +10 -0
  650. data/doc/ri/Advisable/before-i.yaml +10 -0
  651. data/doc/ri/Advisable/cdesc-Advisable.yaml +35 -0
  652. data/doc/ri/Advisable/method_added-i.yaml +16 -0
  653. data/doc/ri/Archive/Tar/Minitar/BlockRequired/cdesc-BlockRequired.yaml +17 -0
  654. data/doc/ri/Archive/Tar/Minitar/ClosedStream/cdesc-ClosedStream.yaml +17 -0
  655. data/doc/ri/Archive/Tar/Minitar/FileNameTooLong/cdesc-FileNameTooLong.yaml +17 -0
  656. data/doc/ri/Archive/Tar/Minitar/Input/cdesc-Input.yaml +30 -0
  657. data/doc/ri/Archive/Tar/Minitar/Input/close-i.yaml +12 -0
  658. data/doc/ri/Archive/Tar/Minitar/Input/each-i.yaml +12 -0
  659. data/doc/ri/Archive/Tar/Minitar/Input/extract_entry-i.yaml +43 -0
  660. data/doc/ri/Archive/Tar/Minitar/Input/fsync_dir-i.yaml +10 -0
  661. data/doc/ri/Archive/Tar/Minitar/Input/new-c.yaml +12 -0
  662. data/doc/ri/Archive/Tar/Minitar/Input/open-c.yaml +12 -0
  663. data/doc/ri/Archive/Tar/Minitar/Input/tar-i.yaml +12 -0
  664. data/doc/ri/Archive/Tar/Minitar/NonSeekableStream/cdesc-NonSeekableStream.yaml +17 -0
  665. data/doc/ri/Archive/Tar/Minitar/Output/cdesc-Output.yaml +23 -0
  666. data/doc/ri/Archive/Tar/Minitar/Output/close-i.yaml +12 -0
  667. data/doc/ri/Archive/Tar/Minitar/Output/new-c.yaml +12 -0
  668. data/doc/ri/Archive/Tar/Minitar/Output/open-c.yaml +12 -0
  669. data/doc/ri/Archive/Tar/Minitar/Output/tar-i.yaml +12 -0
  670. data/doc/ri/Archive/Tar/Minitar/Reader/EntryStream/cdesc-EntryStream.yaml +17 -0
  671. data/doc/ri/Archive/Tar/Minitar/Reader/InvalidEntryStream/cdesc-InvalidEntryStream.yaml +17 -0
  672. data/doc/ri/Archive/Tar/Minitar/Reader/cdesc-Reader.yaml +27 -0
  673. data/doc/ri/Archive/Tar/Minitar/Reader/close-i.yaml +10 -0
  674. data/doc/ri/Archive/Tar/Minitar/Reader/each-i.yaml +12 -0
  675. data/doc/ri/Archive/Tar/Minitar/Reader/each_entry-i.yaml +12 -0
  676. data/doc/ri/Archive/Tar/Minitar/Reader/new-c.yaml +12 -0
  677. data/doc/ri/Archive/Tar/Minitar/Reader/open-c.yaml +12 -0
  678. data/doc/ri/Archive/Tar/Minitar/Reader/rewind-i.yaml +12 -0
  679. data/doc/ri/Archive/Tar/Minitar/UnexpectedEOF/cdesc-UnexpectedEOF.yaml +17 -0
  680. data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/FileOverflow/cdesc-FileOverflow.yaml +17 -0
  681. data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/cdesc-BoundedStream.yaml +17 -0
  682. data/doc/ri/Archive/Tar/Minitar/Writer/RestrictedStream/cdesc-RestrictedStream.yaml +17 -0
  683. data/doc/ri/Archive/Tar/Minitar/Writer/add_file-i.yaml +34 -0
  684. data/doc/ri/Archive/Tar/Minitar/Writer/add_file_simple-i.yaml +33 -0
  685. data/doc/ri/Archive/Tar/Minitar/Writer/cdesc-Writer.yaml +31 -0
  686. data/doc/ri/Archive/Tar/Minitar/Writer/close-i.yaml +12 -0
  687. data/doc/ri/Archive/Tar/Minitar/Writer/flush-i.yaml +12 -0
  688. data/doc/ri/Archive/Tar/Minitar/Writer/mkdir-i.yaml +12 -0
  689. data/doc/ri/Archive/Tar/Minitar/Writer/new-c.yaml +12 -0
  690. data/doc/ri/Archive/Tar/Minitar/Writer/open-c.yaml +12 -0
  691. data/doc/ri/Archive/Tar/Minitar/Writer/split_name-i.yaml +10 -0
  692. data/doc/ri/Archive/Tar/Minitar/cdesc-Minitar.yaml +68 -0
  693. data/doc/ri/Archive/Tar/Minitar/dir%3f-c.yaml +12 -0
  694. data/doc/ri/Archive/Tar/Minitar/open-c.yaml +12 -0
  695. data/doc/ri/Archive/Tar/Minitar/pack-c.yaml +14 -0
  696. data/doc/ri/Archive/Tar/Minitar/pack_file-c.yaml +75 -0
  697. data/doc/ri/Archive/Tar/Minitar/unpack-c.yaml +12 -0
  698. data/doc/ri/Archive/Tar/PosixHeader/cdesc-PosixHeader.yaml +53 -0
  699. data/doc/ri/Archive/Tar/cdesc-Tar.yaml +15 -0
  700. data/doc/ri/Archive/cdesc-Archive.yaml +16 -0
  701. data/doc/ri/Array/cdesc-Array.yaml +17 -0
  702. data/doc/ri/As/cdesc-As.yaml +19 -0
  703. data/doc/ri/Association/%3c%3d%3e-i.yaml +10 -0
  704. data/doc/ri/Association/%5b%5d-c.yaml +10 -0
  705. data/doc/ri/Association/Kernel/%3e%3e-i.yaml +12 -0
  706. data/doc/ri/Association/Kernel/associations-i.yaml +10 -0
  707. data/doc/ri/Association/Kernel/cdesc-Kernel.yaml +20 -0
  708. data/doc/ri/Association/cdesc-Association.yaml +67 -0
  709. data/doc/ri/Association/inspect-i.yaml +10 -0
  710. data/doc/ri/Association/invert%21-i.yaml +10 -0
  711. data/doc/ri/Association/new-c.yaml +10 -0
  712. data/doc/ri/Association/to_ary-i.yaml +10 -0
  713. data/doc/ri/Association/to_s-i.yaml +10 -0
  714. data/doc/ri/Autoarray/%5b%5d%3d-i.yaml +10 -0
  715. data/doc/ri/Autoarray/%5b%5d-i.yaml +10 -0
  716. data/doc/ri/Autoarray/cdesc-Autoarray.yaml +26 -0
  717. data/doc/ri/Autoarray/new-c.yaml +10 -0
  718. data/doc/ri/BBCode/ansi-c.yaml +12 -0
  719. data/doc/ri/BBCode/ansi_to_bbcode-c.yaml +12 -0
  720. data/doc/ri/BBCode/ansi_to_html-c.yaml +12 -0
  721. data/doc/ri/BBCode/bbcode_to_ansi-c.yaml +12 -0
  722. data/doc/ri/BBCode/bbcode_to_html-c.yaml +12 -0
  723. data/doc/ri/BBCode/cdesc-BBCode.yaml +59 -0
  724. data/doc/ri/BBCode/html_to_ansi-c.yaml +12 -0
  725. data/doc/ri/BBCode/html_to_bbcode-c.yaml +12 -0
  726. data/doc/ri/BBCode/strip_bbcode-c.yaml +12 -0
  727. data/doc/ri/BaseX/cdesc-BaseX.yaml +27 -0
  728. data/doc/ri/BaseX/convert_base-i.yaml +10 -0
  729. data/doc/ri/BaseX/decode-i.yaml +10 -0
  730. data/doc/ri/BaseX/encode-i.yaml +10 -0
  731. data/doc/ri/BaseX/new-c.yaml +10 -0
  732. data/doc/ri/BasicObject/__self__-i.yaml +12 -0
  733. data/doc/ri/BasicObject/cdesc-BasicObject.yaml +53 -0
  734. data/doc/ri/BasicObject/hide-c.yaml +12 -0
  735. data/doc/ri/BasicObject/object_self-i.yaml +13 -0
  736. data/doc/ri/BiCrypt/block_size-i.yaml +10 -0
  737. data/doc/ri/BiCrypt/carefully_open_file-i.yaml +10 -0
  738. data/doc/ri/BiCrypt/cdesc-BiCrypt.yaml +53 -0
  739. data/doc/ri/BiCrypt/decrypt_block-i.yaml +10 -0
  740. data/doc/ri/BiCrypt/decrypt_file-i.yaml +10 -0
  741. data/doc/ri/BiCrypt/decrypt_pair-i.yaml +10 -0
  742. data/doc/ri/BiCrypt/decrypt_stream-i.yaml +10 -0
  743. data/doc/ri/BiCrypt/decrypt_string-i.yaml +10 -0
  744. data/doc/ri/BiCrypt/encrypt_block-i.yaml +10 -0
  745. data/doc/ri/BiCrypt/encrypt_file-i.yaml +10 -0
  746. data/doc/ri/BiCrypt/encrypt_pair-i.yaml +10 -0
  747. data/doc/ri/BiCrypt/encrypt_stream-i.yaml +10 -0
  748. data/doc/ri/BiCrypt/encrypt_string-i.yaml +10 -0
  749. data/doc/ri/BiCrypt/f-i.yaml +10 -0
  750. data/doc/ri/BiCrypt/generate_initialization_vector-i.yaml +12 -0
  751. data/doc/ri/BiCrypt/new-c.yaml +10 -0
  752. data/doc/ri/BiCrypt/precalculate_S_table-i.yaml +10 -0
  753. data/doc/ri/BigDuration/cdesc-BigDuration.yaml +41 -0
  754. data/doc/ri/BigDuration/each-i.yaml +12 -0
  755. data/doc/ri/BigDuration/months%3d-i.yaml +12 -0
  756. data/doc/ri/BigDuration/new-c.yaml +12 -0
  757. data/doc/ri/BigDuration/seconds-i.yaml +12 -0
  758. data/doc/ri/BigDuration/strftime-i.yaml +16 -0
  759. data/doc/ri/BigDuration/years%3d-i.yaml +12 -0
  760. data/doc/ri/BinReadable/ByteOrder/big%3f-i.yaml +12 -0
  761. data/doc/ri/BinReadable/ByteOrder/big_endian%3f-i.yaml +13 -0
  762. data/doc/ri/BinReadable/ByteOrder/byte_order-i.yaml +13 -0
  763. data/doc/ri/BinReadable/ByteOrder/byteorder-i.yaml +12 -0
  764. data/doc/ri/BinReadable/ByteOrder/cdesc-ByteOrder.yaml +39 -0
  765. data/doc/ri/BinReadable/ByteOrder/little%3f-i.yaml +12 -0
  766. data/doc/ri/BinReadable/ByteOrder/little_endian%3f-i.yaml +11 -0
  767. data/doc/ri/BinReadable/ByteOrder/network%3f-i.yaml +12 -0
  768. data/doc/ri/BinReadable/byte_order%3d-i.yaml +11 -0
  769. data/doc/ri/BinReadable/byte_order-i.yaml +13 -0
  770. data/doc/ri/BinReadable/byteorder%3d-i.yaml +12 -0
  771. data/doc/ri/BinReadable/byteorder-i.yaml +12 -0
  772. data/doc/ri/BinReadable/cdesc-BinReadable.yaml +65 -0
  773. data/doc/ri/BinReadable/read_cstring-i.yaml +10 -0
  774. data/doc/ri/BinReadable/read_int16_big-i.yaml +10 -0
  775. data/doc/ri/BinReadable/read_int16_little-i.yaml +10 -0
  776. data/doc/ri/BinReadable/read_int16_native-i.yaml +13 -0
  777. data/doc/ri/BinReadable/read_int32_big-i.yaml +10 -0
  778. data/doc/ri/BinReadable/read_int32_little-i.yaml +10 -0
  779. data/doc/ri/BinReadable/read_int32_native-i.yaml +13 -0
  780. data/doc/ri/BinReadable/read_int8-i.yaml +10 -0
  781. data/doc/ri/BinReadable/read_uint8-i.yaml +12 -0
  782. data/doc/ri/BinReadable/read_word16_big-i.yaml +10 -0
  783. data/doc/ri/BinReadable/read_word16_little-i.yaml +10 -0
  784. data/doc/ri/BinReadable/read_word16_native-i.yaml +13 -0
  785. data/doc/ri/BinReadable/read_word32_big-i.yaml +10 -0
  786. data/doc/ri/BinReadable/read_word32_little-i.yaml +10 -0
  787. data/doc/ri/BinReadable/read_word32_native-i.yaml +13 -0
  788. data/doc/ri/BinReadable/read_word8-i.yaml +13 -0
  789. data/doc/ri/BinReadable/readn-i.yaml +12 -0
  790. data/doc/ri/BinReadable/ru-i.yaml +12 -0
  791. data/doc/ri/BinReadable/ru_swap-i.yaml +12 -0
  792. data/doc/ri/Binding/%5b%5d%3d-i.yaml +14 -0
  793. data/doc/ri/Binding/%5b%5d-i.yaml +14 -0
  794. data/doc/ri/Binding/__DIR__-i.yaml +12 -0
  795. data/doc/ri/Binding/__FILE__-i.yaml +12 -0
  796. data/doc/ri/Binding/__LINE__-i.yaml +12 -0
  797. data/doc/ri/Binding/__callee__-i.yaml +14 -0
  798. data/doc/ri/Binding/__method__-i.yaml +14 -0
  799. data/doc/ri/Binding/caller-i.yaml +12 -0
  800. data/doc/ri/Binding/callstack-i.yaml +12 -0
  801. data/doc/ri/Binding/cdesc-Binding.yaml +40 -0
  802. data/doc/ri/Binding/defined%3f-i.yaml +12 -0
  803. data/doc/ri/Binding/eval-i.yaml +12 -0
  804. data/doc/ri/Binding/local_variables-i.yaml +14 -0
  805. data/doc/ri/Binding/self-i.yaml +12 -0
  806. data/doc/ri/Buildable/cdesc-Buildable.yaml +29 -0
  807. data/doc/ri/Buildable/included-c.yaml +10 -0
  808. data/doc/ri/BuildingBlock/%3c%3c-i.yaml +12 -0
  809. data/doc/ri/BuildingBlock/build%21-i.yaml +11 -0
  810. data/doc/ri/BuildingBlock/cdesc-BuildingBlock.yaml +57 -0
  811. data/doc/ri/BuildingBlock/inspect-i.yaml +12 -0
  812. data/doc/ri/BuildingBlock/method_missing-i.yaml +11 -0
  813. data/doc/ri/BuildingBlock/new-c.yaml +11 -0
  814. data/doc/ri/BuildingBlock/to_buffer-i.yaml +12 -0
  815. data/doc/ri/BuildingBlock/to_s-i.yaml +12 -0
  816. data/doc/ri/BuildingBlock/to_str-i.yaml +10 -0
  817. data/doc/ri/CGI/cdesc-CGI.yaml +25 -0
  818. data/doc/ri/CGI/esc-i.yaml +12 -0
  819. data/doc/ri/CGI/escformat-i.yaml +12 -0
  820. data/doc/ri/CGI/marshal_from_cgi-i.yaml +12 -0
  821. data/doc/ri/CGI/marshal_to_cgi-i.yaml +12 -0
  822. data/doc/ri/CLI/Arguments/arguments-i.yaml +12 -0
  823. data/doc/ri/CLI/Arguments/assoc_options-i.yaml +14 -0
  824. data/doc/ri/CLI/Arguments/cdesc-Arguments.yaml +77 -0
  825. data/doc/ri/CLI/Arguments/flags-i.yaml +12 -0
  826. data/doc/ri/CLI/Arguments/format_options-i.yaml +12 -0
  827. data/doc/ri/CLI/Arguments/multi_flag-i.yaml +12 -0
  828. data/doc/ri/CLI/Arguments/new-c.yaml +12 -0
  829. data/doc/ri/CLI/Arguments/operands-i.yaml +13 -0
  830. data/doc/ri/CLI/Arguments/options-i.yaml +12 -0
  831. data/doc/ri/CLI/Arguments/parameters-c.yaml +10 -0
  832. data/doc/ri/CLI/Arguments/parameters-i.yaml +12 -0
  833. data/doc/ri/CLI/Arguments/parameters_without_duplicates-i.yaml +12 -0
  834. data/doc/ri/CLI/Arguments/parse-i.yaml +14 -0
  835. data/doc/ri/CLI/Arguments/parse_arity-i.yaml +12 -0
  836. data/doc/ri/CLI/Arguments/parse_line-i.yaml +12 -0
  837. data/doc/ri/CLI/Arguments/parse_preoptions-i.yaml +12 -0
  838. data/doc/ri/CLI/Arguments/preflags-i.yaml +12 -0
  839. data/doc/ri/CLI/Arguments/preoptions-i.yaml +14 -0
  840. data/doc/ri/CLI/Arguments/subcommand-i.yaml +12 -0
  841. data/doc/ri/CLI/Arguments/subcommand_with_arguments-i.yaml +14 -0
  842. data/doc/ri/CLI/Arguments/subcommand_with_parameters-i.yaml +13 -0
  843. data/doc/ri/CLI/Arguments/subcommand_with_preoptions-i.yaml +11 -0
  844. data/doc/ri/CLI/Command/UniversalOptions/cdesc-UniversalOptions.yaml +17 -0
  845. data/doc/ri/CLI/Command/call-i.yaml +12 -0
  846. data/doc/ri/CLI/Command/cdesc-Command.yaml +50 -0
  847. data/doc/ri/CLI/Command/command_missing-i.yaml +11 -0
  848. data/doc/ri/CLI/Command/commands-i.yaml +11 -0
  849. data/doc/ri/CLI/Command/default-i.yaml +12 -0
  850. data/doc/ri/CLI/Command/initialize_arguments-i.yaml +11 -0
  851. data/doc/ri/CLI/Command/initialize_options-i.yaml +11 -0
  852. data/doc/ri/CLI/Command/new-c.yaml +11 -0
  853. data/doc/ri/CLI/Command/option_arity-c.yaml +11 -0
  854. data/doc/ri/CLI/Command/option_missing-i.yaml +11 -0
  855. data/doc/ri/CLI/Command/start-c.yaml +11 -0
  856. data/doc/ri/CLI/Command/subcommand-c.yaml +12 -0
  857. data/doc/ri/CLI/NoCommandError/cdesc-NoCommandError.yaml +16 -0
  858. data/doc/ri/CLI/NoCommandError/new-c.yaml +10 -0
  859. data/doc/ri/CLI/NoOptionError/cdesc-NoOptionError.yaml +18 -0
  860. data/doc/ri/CLI/NoOptionError/new-c.yaml +10 -0
  861. data/doc/ri/CLI/cdesc-CLI.yaml +15 -0
  862. data/doc/ri/CacheDecorator/cache-c.yaml +10 -0
  863. data/doc/ri/CacheDecorator/cdesc-CacheDecorator.yaml +45 -0
  864. data/doc/ri/CacheDecorator/method_missing-i.yaml +10 -0
  865. data/doc/ri/CacheDecorator/new-c.yaml +10 -0
  866. data/doc/ri/CacheDecorator/self-i.yaml +10 -0
  867. data/doc/ri/CacheDecorator/uncache-c.yaml +10 -0
  868. data/doc/ri/Capsule/MissingFile/cdesc-MissingFile.yaml +17 -0
  869. data/doc/ri/Capsule/cdesc-Capsule.yaml +55 -0
  870. data/doc/ri/Capsule/include-i.yaml +11 -0
  871. data/doc/ri/Capsule/include_script-i.yaml +10 -0
  872. data/doc/ri/Capsule/load-c.yaml +12 -0
  873. data/doc/ri/Capsule/load-i.yaml +16 -0
  874. data/doc/ri/Capsule/load_in_module-i.yaml +12 -0
  875. data/doc/ri/Capsule/load_path_lookup-i.yaml +12 -0
  876. data/doc/ri/Capsule/new-c.yaml +12 -0
  877. data/doc/ri/Capsule/require-i.yaml +14 -0
  878. data/doc/ri/Chain/%7e-i.yaml +10 -0
  879. data/doc/ri/Chain/cdesc-Chain.yaml +36 -0
  880. data/doc/ri/Chain/end-i.yaml +16 -0
  881. data/doc/ri/Chain/method_missing-i.yaml +10 -0
  882. data/doc/ri/Chain/new-c.yaml +10 -0
  883. data/doc/ri/Class/cdesc-Class.yaml +17 -0
  884. data/doc/ri/Cloneable/cdesc-Cloneable.yaml +21 -0
  885. data/doc/ri/Cloneable/initialize_copy-i.yaml +10 -0
  886. data/doc/ri/Comparable/at_least-i.yaml +14 -0
  887. data/doc/ri/Comparable/at_most-i.yaml +14 -0
  888. data/doc/ri/Comparable/bound-i.yaml +15 -0
  889. data/doc/ri/Comparable/cap-i.yaml +14 -0
  890. data/doc/ri/Comparable/cdesc-Comparable.yaml +26 -0
  891. data/doc/ri/Comparable/clip-i.yaml +12 -0
  892. data/doc/ri/Comparable/cmp-i.yaml +18 -0
  893. data/doc/ri/Config/cdesc-Config.yaml +18 -0
  894. data/doc/ri/Config/datadir-c.yaml +16 -0
  895. data/doc/ri/Config/inspect-c.yaml +10 -0
  896. data/doc/ri/Console/cdesc-Console.yaml +17 -0
  897. data/doc/ri/ConsoleUtils/ask-i.yaml +12 -0
  898. data/doc/ri/ConsoleUtils/cdesc-ConsoleUtils.yaml +27 -0
  899. data/doc/ri/ConsoleUtils/password-i.yaml +12 -0
  900. data/doc/ri/ConsoleUtils/print_justified-i.yaml +14 -0
  901. data/doc/ri/ConsoleUtils/screen_width-i.yaml +14 -0
  902. data/doc/ri/Continuation/cdesc-Continuation.yaml +16 -0
  903. data/doc/ri/Continuation/create-c.yaml +10 -0
  904. data/doc/ri/Coroutine/%5b%5d%3d-i.yaml +10 -0
  905. data/doc/ri/Coroutine/%5b%5d-i.yaml +10 -0
  906. data/doc/ri/Coroutine/cdesc-Coroutine.yaml +42 -0
  907. data/doc/ri/Coroutine/continue-i.yaml +10 -0
  908. data/doc/ri/Coroutine/new-c.yaml +10 -0
  909. data/doc/ri/Coroutine/resume-i.yaml +10 -0
  910. data/doc/ri/Coroutine/run-i.yaml +10 -0
  911. data/doc/ri/Coroutine/stop-i.yaml +10 -0
  912. data/doc/ri/Crypt/cdesc-Crypt.yaml +28 -0
  913. data/doc/ri/Crypt/check-c.yaml +12 -0
  914. data/doc/ri/Crypt/crypt-c.yaml +20 -0
  915. data/doc/ri/Crypt/generate_salt-c.yaml +12 -0
  916. data/doc/ri/CssFilter/accept_host-i.yaml +11 -0
  917. data/doc/ri/CssFilter/cdesc-CssFilter.yaml +98 -0
  918. data/doc/ri/CssFilter/clean_properties-i.yaml +14 -0
  919. data/doc/ri/CssFilter/clean_value-i.yaml +11 -0
  920. data/doc/ri/CssFilter/filter-i.yaml +11 -0
  921. data/doc/ri/CssFilter/new-c.yaml +11 -0
  922. data/doc/ri/CssFilter/parse-i.yaml +14 -0
  923. data/doc/ri/CssFilter/remove_blanklines-i.yaml +11 -0
  924. data/doc/ri/CssFilter/remove_comments-i.yaml +11 -0
  925. data/doc/ri/CssFilter/remove_nullvalues-i.yaml +11 -0
  926. data/doc/ri/CssFilter/remove_urls-i.yaml +12 -0
  927. data/doc/ri/CssFilter/remove_whitespace-i.yaml +11 -0
  928. data/doc/ri/CssTree/cdesc-CssTree.yaml +19 -0
  929. data/doc/ri/CssTree/new-c.yaml +10 -0
  930. data/doc/ri/CssTree/to_css-i.yaml +12 -0
  931. data/doc/ri/Date/cdesc-Date.yaml +28 -0
  932. data/doc/ri/Date/days_in_month-i.yaml +14 -0
  933. data/doc/ri/Date/days_of_month-i.yaml +10 -0
  934. data/doc/ri/Date/month_name-i.yaml +14 -0
  935. data/doc/ri/Date/stamp-i.yaml +13 -0
  936. data/doc/ri/Date/to_date-i.yaml +12 -0
  937. data/doc/ri/Date/to_s-i.yaml +12 -0
  938. data/doc/ri/Date/to_time-i.yaml +12 -0
  939. data/doc/ri/Dictionary/%3c%3c-i.yaml +10 -0
  940. data/doc/ri/Dictionary/%3d%3d-i.yaml +16 -0
  941. data/doc/ri/Dictionary/%5b%5d%3d-i.yaml +18 -0
  942. data/doc/ri/Dictionary/%5b%5d-c.yaml +10 -0
  943. data/doc/ri/Dictionary/%5b%5d-i.yaml +10 -0
  944. data/doc/ri/Dictionary/alpha-c.yaml +18 -0
  945. data/doc/ri/Dictionary/auto-c.yaml +14 -0
  946. data/doc/ri/Dictionary/cdesc-Dictionary.yaml +150 -0
  947. data/doc/ri/Dictionary/clear-i.yaml +10 -0
  948. data/doc/ri/Dictionary/delete-i.yaml +10 -0
  949. data/doc/ri/Dictionary/delete_if-i.yaml +10 -0
  950. data/doc/ri/Dictionary/dup-i.yaml +10 -0
  951. data/doc/ri/Dictionary/each-i.yaml +11 -0
  952. data/doc/ri/Dictionary/each_key-i.yaml +10 -0
  953. data/doc/ri/Dictionary/each_pair-i.yaml +12 -0
  954. data/doc/ri/Dictionary/each_value-i.yaml +10 -0
  955. data/doc/ri/Dictionary/empty%3f-i.yaml +10 -0
  956. data/doc/ri/Dictionary/fetch-i.yaml +10 -0
  957. data/doc/ri/Dictionary/first-i.yaml +11 -0
  958. data/doc/ri/Dictionary/has_key%3f-i.yaml +10 -0
  959. data/doc/ri/Dictionary/insert-i.yaml +10 -0
  960. data/doc/ri/Dictionary/inspect-i.yaml +10 -0
  961. data/doc/ri/Dictionary/invert-i.yaml +10 -0
  962. data/doc/ri/Dictionary/key%3f-i.yaml +10 -0
  963. data/doc/ri/Dictionary/keys-i.yaml +10 -0
  964. data/doc/ri/Dictionary/last-i.yaml +11 -0
  965. data/doc/ri/Dictionary/length-i.yaml +11 -0
  966. data/doc/ri/Dictionary/merge%21-i.yaml +12 -0
  967. data/doc/ri/Dictionary/merge-i.yaml +10 -0
  968. data/doc/ri/Dictionary/new-c.yaml +12 -0
  969. data/doc/ri/Dictionary/new_by-c.yaml +12 -0
  970. data/doc/ri/Dictionary/order-i.yaml +10 -0
  971. data/doc/ri/Dictionary/order_by-i.yaml +12 -0
  972. data/doc/ri/Dictionary/order_by_key-i.yaml +20 -0
  973. data/doc/ri/Dictionary/order_by_value-i.yaml +18 -0
  974. data/doc/ri/Dictionary/pop-i.yaml +10 -0
  975. data/doc/ri/Dictionary/push-i.yaml +10 -0
  976. data/doc/ri/Dictionary/reject%21-i.yaml +10 -0
  977. data/doc/ri/Dictionary/reject-i.yaml +10 -0
  978. data/doc/ri/Dictionary/reorder-i.yaml +11 -0
  979. data/doc/ri/Dictionary/replace-i.yaml +10 -0
  980. data/doc/ri/Dictionary/reverse%21-i.yaml +10 -0
  981. data/doc/ri/Dictionary/reverse-i.yaml +10 -0
  982. data/doc/ri/Dictionary/select-i.yaml +10 -0
  983. data/doc/ri/Dictionary/shift-i.yaml +10 -0
  984. data/doc/ri/Dictionary/size-i.yaml +12 -0
  985. data/doc/ri/Dictionary/store-i.yaml +10 -0
  986. data/doc/ri/Dictionary/to_a-i.yaml +10 -0
  987. data/doc/ri/Dictionary/to_h-i.yaml +10 -0
  988. data/doc/ri/Dictionary/to_hash-i.yaml +10 -0
  989. data/doc/ri/Dictionary/to_s-i.yaml +10 -0
  990. data/doc/ri/Dictionary/unshift-i.yaml +10 -0
  991. data/doc/ri/Dictionary/update-i.yaml +11 -0
  992. data/doc/ri/Dictionary/values-i.yaml +10 -0
  993. data/doc/ri/DictionaryMatcher/%3c%3c-i.yaml +12 -0
  994. data/doc/ri/DictionaryMatcher/%3d%3d%3d-i.yaml +12 -0
  995. data/doc/ri/DictionaryMatcher/%3d%7e-i.yaml +13 -0
  996. data/doc/ri/DictionaryMatcher/MatchData/cdesc-MatchData.yaml +18 -0
  997. data/doc/ri/DictionaryMatcher/MatchData/inspect-i.yaml +10 -0
  998. data/doc/ri/DictionaryMatcher/add-i.yaml +13 -0
  999. data/doc/ri/DictionaryMatcher/cdesc-DictionaryMatcher.yaml +38 -0
  1000. data/doc/ri/DictionaryMatcher/compute_failure_function-i.yaml +10 -0
  1001. data/doc/ri/DictionaryMatcher/include%3f-i.yaml +12 -0
  1002. data/doc/ri/DictionaryMatcher/inspect-i.yaml +10 -0
  1003. data/doc/ri/DictionaryMatcher/internal_match-i.yaml +10 -0
  1004. data/doc/ri/DictionaryMatcher/match-i.yaml +12 -0
  1005. data/doc/ri/DictionaryMatcher/new-c.yaml +12 -0
  1006. data/doc/ri/DictionaryMatcher/scan-i.yaml +12 -0
  1007. data/doc/ri/Dir/ascend-c.yaml +18 -0
  1008. data/doc/ri/Dir/cdesc-Dir.yaml +28 -0
  1009. data/doc/ri/Dir/descend-c.yaml +18 -0
  1010. data/doc/ri/Dir/ls_r-c.yaml +12 -0
  1011. data/doc/ri/Dir/multiglob-c.yaml +30 -0
  1012. data/doc/ri/Dir/multiglob_r-c.yaml +22 -0
  1013. data/doc/ri/Dir/parent%3f-c.yaml +14 -0
  1014. data/doc/ri/Dir/recurse-c.yaml +14 -0
  1015. data/doc/ri/Downloader/Checksum/cdesc-Checksum.yaml +17 -0
  1016. data/doc/ri/Downloader/Mirror/cdesc-Mirror.yaml +15 -0
  1017. data/doc/ri/Downloader/add_mirror-i.yaml +10 -0
  1018. data/doc/ri/Downloader/add_mirrors-i.yaml +10 -0
  1019. data/doc/ri/Downloader/cdesc-Downloader.yaml +49 -0
  1020. data/doc/ri/Downloader/compute_checksum-i.yaml +12 -0
  1021. data/doc/ri/Downloader/download-i.yaml +14 -0
  1022. data/doc/ri/Downloader/extract-i.yaml +12 -0
  1023. data/doc/ri/Downloader/fetch-i.yaml +12 -0
  1024. data/doc/ri/Downloader/interface%3d-i.yaml +10 -0
  1025. data/doc/ri/Downloader/interface-i.yaml +12 -0
  1026. data/doc/ri/Downloader/mirrors-i.yaml +10 -0
  1027. data/doc/ri/Downloader/monitored_download-i.yaml +12 -0
  1028. data/doc/ri/Downloader/new-c.yaml +10 -0
  1029. data/doc/ri/Downloader/prioritize_urls-i.yaml +12 -0
  1030. data/doc/ri/Duration/%2a-i.yaml +16 -0
  1031. data/doc/ri/Duration/%2b-i.yaml +16 -0
  1032. data/doc/ri/Duration/%2d-i.yaml +16 -0
  1033. data/doc/ri/Duration/%2f-i.yaml +16 -0
  1034. data/doc/ri/Duration/%3c%3d%3e-i.yaml +16 -0
  1035. data/doc/ri/Duration/cdesc-Duration.yaml +93 -0
  1036. data/doc/ri/Duration/days%3d-i.yaml +16 -0
  1037. data/doc/ri/Duration/each-i.yaml +20 -0
  1038. data/doc/ri/Duration/hours%3d-i.yaml +16 -0
  1039. data/doc/ri/Duration/inspect-i.yaml +16 -0
  1040. data/doc/ri/Duration/minutes%3d-i.yaml +16 -0
  1041. data/doc/ri/Duration/new-c.yaml +16 -0
  1042. data/doc/ri/Duration/seconds%3d-i.yaml +16 -0
  1043. data/doc/ri/Duration/seconds-i.yaml +16 -0
  1044. data/doc/ri/Duration/strftime-i.yaml +20 -0
  1045. data/doc/ri/Duration/to_s-i.yaml +16 -0
  1046. data/doc/ri/Duration/weeks%3d-i.yaml +16 -0
  1047. data/doc/ri/Enumerable/Elementor/cdesc-Elementor.yaml +26 -0
  1048. data/doc/ri/Enumerable/Elementor/instance_delegate-i.yaml +10 -0
  1049. data/doc/ri/Enumerable/Elementor/instance_operator-i.yaml +10 -0
  1050. data/doc/ri/Enumerable/Elementor/method_missing-i.yaml +10 -0
  1051. data/doc/ri/Enumerable/Elementor/new-c.yaml +10 -0
  1052. data/doc/ri/Enumerable/Enumerator/cdesc-Enumerator.yaml +16 -0
  1053. data/doc/ri/Enumerable/Enumerator/to_elem-i.yaml +12 -0
  1054. data/doc/ri/Enumerable/accumulate-i.yaml +18 -0
  1055. data/doc/ri/Enumerable/cdesc-Enumerable.yaml +94 -0
  1056. data/doc/ri/Enumerable/cluster_by-i.yaml +18 -0
  1057. data/doc/ri/Enumerable/collect_with_index-i.yaml +15 -0
  1058. data/doc/ri/Enumerable/commonality-i.yaml +14 -0
  1059. data/doc/ri/Enumerable/compact_collect-i.yaml +12 -0
  1060. data/doc/ri/Enumerable/compact_map-i.yaml +23 -0
  1061. data/doc/ri/Enumerable/count-i.yaml +18 -0
  1062. data/doc/ri/Enumerable/divide-i.yaml +14 -0
  1063. data/doc/ri/Enumerable/duplicates-i.yaml +12 -0
  1064. data/doc/ri/Enumerable/each_by-i.yaml +18 -0
  1065. data/doc/ri/Enumerable/elements%21-i.yaml +12 -0
  1066. data/doc/ri/Enumerable/elements-i.yaml +12 -0
  1067. data/doc/ri/Enumerable/elementwise-i.yaml +15 -0
  1068. data/doc/ri/Enumerable/entropy-i.yaml +14 -0
  1069. data/doc/ri/Enumerable/every%21-i.yaml +13 -0
  1070. data/doc/ri/Enumerable/every-i.yaml +15 -0
  1071. data/doc/ri/Enumerable/ewise-i.yaml +12 -0
  1072. data/doc/ri/Enumerable/frequency-i.yaml +14 -0
  1073. data/doc/ri/Enumerable/graph-i.yaml +12 -0
  1074. data/doc/ri/Enumerable/group_by-i.yaml +14 -0
  1075. data/doc/ri/Enumerable/ideal_entropy-i.yaml +14 -0
  1076. data/doc/ri/Enumerable/inject%21-i.yaml +20 -0
  1077. data/doc/ri/Enumerable/map_send-i.yaml +14 -0
  1078. data/doc/ri/Enumerable/map_with_index-i.yaml +12 -0
  1079. data/doc/ri/Enumerable/mash-i.yaml +19 -0
  1080. data/doc/ri/Enumerable/mode-i.yaml +14 -0
  1081. data/doc/ri/Enumerable/modulate-i.yaml +18 -0
  1082. data/doc/ri/Enumerable/none%3f-i.yaml +16 -0
  1083. data/doc/ri/Enumerable/nonuniq-i.yaml +15 -0
  1084. data/doc/ri/Enumerable/occur-i.yaml +14 -0
  1085. data/doc/ri/Enumerable/one%3f-i.yaml +16 -0
  1086. data/doc/ri/Enumerable/per-i.yaml +10 -0
  1087. data/doc/ri/Enumerable/probability-i.yaml +14 -0
  1088. data/doc/ri/Enumerable/split-i.yaml +16 -0
  1089. data/doc/ri/Enumerable/sum-i.yaml +14 -0
  1090. data/doc/ri/Enumerable/threaded_map-i.yaml +14 -0
  1091. data/doc/ri/Enumerable/threaded_map_send-i.yaml +14 -0
  1092. data/doc/ri/Enumerable/to_elem-i.yaml +12 -0
  1093. data/doc/ri/Enumerable/to_h-i.yaml +14 -0
  1094. data/doc/ri/Enumerable/uniq_by-i.yaml +18 -0
  1095. data/doc/ri/EnumerablePass/cdesc-EnumerablePass.yaml +28 -0
  1096. data/doc/ri/EnumerablePass/detect-i.yaml +12 -0
  1097. data/doc/ri/EnumerablePass/find-i.yaml +15 -0
  1098. data/doc/ri/EnumerablePass/wrap_enumerable_method-c.yaml +10 -0
  1099. data/doc/ri/Equatable/%3d%3d-i.yaml +10 -0
  1100. data/doc/ri/Equatable/cdesc-Equatable.yaml +34 -0
  1101. data/doc/ri/Equatable/eql%3f-i.yaml +10 -0
  1102. data/doc/ri/Equatable/hash-i.yaml +10 -0
  1103. data/doc/ri/Equatable/identify-c.yaml +10 -0
  1104. data/doc/ri/EventHook/call-i.yaml +10 -0
  1105. data/doc/ri/EventHook/cdesc-EventHook.yaml +31 -0
  1106. data/doc/ri/EventHook/new-c.yaml +10 -0
  1107. data/doc/ri/Exception/cdesc-Exception.yaml +17 -0
  1108. data/doc/ri/Exception/detail-i.yaml +18 -0
  1109. data/doc/ri/Exception/suppress-c.yaml +14 -0
  1110. data/doc/ri/Expirable/cdesc-Expirable.yaml +30 -0
  1111. data/doc/ri/Expirable/expired%3f-i.yaml +12 -0
  1112. data/doc/ri/Expirable/expires_after-i.yaml +12 -0
  1113. data/doc/ri/Expirable/expires_spread-i.yaml +12 -0
  1114. data/doc/ri/Expirable/touch%21-i.yaml +12 -0
  1115. data/doc/ri/FalseClass/cdesc-FalseClass.yaml +15 -0
  1116. data/doc/ri/File/append-c.yaml +14 -0
  1117. data/doc/ri/File/cdesc-File.yaml +38 -0
  1118. data/doc/ri/File/create-c.yaml +14 -0
  1119. data/doc/ri/File/null-c.yaml +14 -0
  1120. data/doc/ri/File/read_binary-c.yaml +14 -0
  1121. data/doc/ri/File/read_list-c.yaml +14 -0
  1122. data/doc/ri/File/rewrite%21-c.yaml +14 -0
  1123. data/doc/ri/File/rewrite-c.yaml +24 -0
  1124. data/doc/ri/File/rootname-c.yaml +14 -0
  1125. data/doc/ri/File/sanitize-c.yaml +14 -0
  1126. data/doc/ri/File/write-c.yaml +16 -0
  1127. data/doc/ri/File/writelines-c.yaml +18 -0
  1128. data/doc/ri/File/yaml%3f-c.yaml +14 -0
  1129. data/doc/ri/FileList/%2a-i.yaml +12 -0
  1130. data/doc/ri/FileList/%3d%3d-i.yaml +12 -0
  1131. data/doc/ri/FileList/%5b%5d-c.yaml +14 -0
  1132. data/doc/ri/FileList/add-i.yaml +12 -0
  1133. data/doc/ri/FileList/add_matching-i.yaml +12 -0
  1134. data/doc/ri/FileList/calculate_exclude_regexp-i.yaml +10 -0
  1135. data/doc/ri/FileList/cdesc-FileList.yaml +111 -0
  1136. data/doc/ri/FileList/clear_exclude-i.yaml +12 -0
  1137. data/doc/ri/FileList/clear_ignore_patterns-c.yaml +12 -0
  1138. data/doc/ri/FileList/clone-i.yaml +13 -0
  1139. data/doc/ri/FileList/dup-i.yaml +12 -0
  1140. data/doc/ri/FileList/egrep-i.yaml +12 -0
  1141. data/doc/ri/FileList/exclude%3f-i.yaml +12 -0
  1142. data/doc/ri/FileList/exclude-i.yaml +26 -0
  1143. data/doc/ri/FileList/ext-i.yaml +18 -0
  1144. data/doc/ri/FileList/gsub%21-i.yaml +12 -0
  1145. data/doc/ri/FileList/gsub-i.yaml +16 -0
  1146. data/doc/ri/FileList/import-i.yaml +10 -0
  1147. data/doc/ri/FileList/include-i.yaml +17 -0
  1148. data/doc/ri/FileList/new-c.yaml +16 -0
  1149. data/doc/ri/FileList/resolve-i.yaml +12 -0
  1150. data/doc/ri/FileList/resolve_add-i.yaml +10 -0
  1151. data/doc/ri/FileList/resolve_exclude-i.yaml +10 -0
  1152. data/doc/ri/FileList/select_default_ignore_patterns-c.yaml +35 -0
  1153. data/doc/ri/FileList/sub%21-i.yaml +12 -0
  1154. data/doc/ri/FileList/sub-i.yaml +16 -0
  1155. data/doc/ri/FileList/to_a-i.yaml +12 -0
  1156. data/doc/ri/FileList/to_ary-i.yaml +12 -0
  1157. data/doc/ri/FileList/to_s-i.yaml +12 -0
  1158. data/doc/ri/FileShell/%5b%5d-i.yaml +12 -0
  1159. data/doc/ri/FileShell/cd-i.yaml +15 -0
  1160. data/doc/ri/FileShell/cdesc-FileShell.yaml +83 -0
  1161. data/doc/ri/FileShell/chdir-i.yaml +12 -0
  1162. data/doc/ri/FileShell/chmod-i.yaml +12 -0
  1163. data/doc/ri/FileShell/chmod_R-i.yaml +12 -0
  1164. data/doc/ri/FileShell/chown-i.yaml +12 -0
  1165. data/doc/ri/FileShell/chown_R-i.yaml +12 -0
  1166. data/doc/ri/FileShell/cp-i.yaml +12 -0
  1167. data/doc/ri/FileShell/cp_r-i.yaml +12 -0
  1168. data/doc/ri/FileShell/dryrun%3f-i.yaml +10 -0
  1169. data/doc/ri/FileShell/fu-i.yaml +11 -0
  1170. data/doc/ri/FileShell/install-i.yaml +12 -0
  1171. data/doc/ri/FileShell/ln-i.yaml +12 -0
  1172. data/doc/ri/FileShell/ln_s-i.yaml +12 -0
  1173. data/doc/ri/FileShell/ln_sf-i.yaml +12 -0
  1174. data/doc/ri/FileShell/ls-i.yaml +12 -0
  1175. data/doc/ri/FileShell/mkdir-i.yaml +12 -0
  1176. data/doc/ri/FileShell/mkdir_p-i.yaml +12 -0
  1177. data/doc/ri/FileShell/move-i.yaml +12 -0
  1178. data/doc/ri/FileShell/mv-i.yaml +13 -0
  1179. data/doc/ri/FileShell/new-c.yaml +10 -0
  1180. data/doc/ri/FileShell/pwd-i.yaml +12 -0
  1181. data/doc/ri/FileShell/quiet%3f-i.yaml +10 -0
  1182. data/doc/ri/FileShell/rm-i.yaml +12 -0
  1183. data/doc/ri/FileShell/rm_r-i.yaml +12 -0
  1184. data/doc/ri/FileShell/rm_rf-i.yaml +12 -0
  1185. data/doc/ri/FileShell/rmdir-i.yaml +12 -0
  1186. data/doc/ri/FileShell/root%3f-i.yaml +12 -0
  1187. data/doc/ri/FileShell/touch-i.yaml +12 -0
  1188. data/doc/ri/FileShell/verbose%3f-i.yaml +10 -0
  1189. data/doc/ri/FileTest/cdesc-FileTest.yaml +16 -0
  1190. data/doc/ri/FileTest/root%3f-i.yaml +14 -0
  1191. data/doc/ri/FileUtils/cdesc-FileUtils.yaml +39 -0
  1192. data/doc/ri/FileUtils/head-i.yaml +14 -0
  1193. data/doc/ri/FileUtils/safe_ln-i.yaml +14 -0
  1194. data/doc/ri/FileUtils/slice-i.yaml +16 -0
  1195. data/doc/ri/FileUtils/tail-i.yaml +16 -0
  1196. data/doc/ri/FileUtils/wc-i.yaml +18 -0
  1197. data/doc/ri/FileUtils/whereis-i.yaml +10 -0
  1198. data/doc/ri/FileUtils/which-i.yaml +16 -0
  1199. data/doc/ri/Fileable/DSL/cdesc-DSL.yaml +31 -0
  1200. data/doc/ri/Fileable/DSL/file-i.yaml +12 -0
  1201. data/doc/ri/Fileable/DSL/filename-i.yaml +12 -0
  1202. data/doc/ri/Fileable/DSL/included-i.yaml +12 -0
  1203. data/doc/ri/Fileable/DSL/load-i.yaml +12 -0
  1204. data/doc/ri/Fileable/DSL/load_cache-i.yaml +12 -0
  1205. data/doc/ri/Fileable/DSL/locate-i.yaml +12 -0
  1206. data/doc/ri/Fileable/DSL/lookup-i.yaml +12 -0
  1207. data/doc/ri/Fileable/DSL/open-i.yaml +12 -0
  1208. data/doc/ri/Fileable/cdesc-Fileable.yaml +30 -0
  1209. data/doc/ri/Fileable/included-c.yaml +12 -0
  1210. data/doc/ri/Fileable/new-c.yaml +12 -0
  1211. data/doc/ri/Fileable/read-i.yaml +12 -0
  1212. data/doc/ri/Float/cdesc-Float.yaml +17 -0
  1213. data/doc/ri/Friend/cdesc-Friend.yaml +27 -0
  1214. data/doc/ri/Friend/new-c.yaml +10 -0
  1215. data/doc/ri/Functor/cdesc-Functor.yaml +23 -0
  1216. data/doc/ri/Functor/method_missing-i.yaml +12 -0
  1217. data/doc/ri/Functor/new-c.yaml +10 -0
  1218. data/doc/ri/Functor/to_proc-i.yaml +10 -0
  1219. data/doc/ri/GetoptLong/DSL/cdesc-DSL.yaml +30 -0
  1220. data/doc/ri/GetoptLong/DSL/flag-i.yaml +10 -0
  1221. data/doc/ri/GetoptLong/DSL/new-c.yaml +10 -0
  1222. data/doc/ri/GetoptLong/DSL/optional-i.yaml +11 -0
  1223. data/doc/ri/GetoptLong/DSL/opts-i.yaml +12 -0
  1224. data/doc/ri/GetoptLong/DSL/reqs-i.yaml +12 -0
  1225. data/doc/ri/GetoptLong/DSL/required-i.yaml +11 -0
  1226. data/doc/ri/GetoptLong/cdesc-GetoptLong.yaml +16 -0
  1227. data/doc/ri/GetoptLong/new-c.yaml +10 -0
  1228. data/doc/ri/Hash/cdesc-Hash.yaml +15 -0
  1229. data/doc/ri/Hash2Xml/cdesc-Hash2Xml.yaml +21 -0
  1230. data/doc/ri/Hash2Xml/convert-i.yaml +10 -0
  1231. data/doc/ri/Hash2Xml/convert_body-i.yaml +11 -0
  1232. data/doc/ri/Hash2Xml/convert_tag-i.yaml +11 -0
  1233. data/doc/ri/HtmlFilter/balance_html-i.yaml +11 -0
  1234. data/doc/ri/HtmlFilter/cdesc-HtmlFilter.yaml +149 -0
  1235. data/doc/ri/HtmlFilter/check_entity-i.yaml +11 -0
  1236. data/doc/ri/HtmlFilter/check_tags-i.yaml +11 -0
  1237. data/doc/ri/HtmlFilter/decode_dec_entity-i.yaml +11 -0
  1238. data/doc/ri/HtmlFilter/decode_entities-i.yaml +12 -0
  1239. data/doc/ri/HtmlFilter/decode_hex_entity-i.yaml +11 -0
  1240. data/doc/ri/HtmlFilter/decode_num_entity-i.yaml +11 -0
  1241. data/doc/ri/HtmlFilter/escape_comments-i.yaml +11 -0
  1242. data/doc/ri/HtmlFilter/escape_special_chars-i.yaml +12 -0
  1243. data/doc/ri/HtmlFilter/filter-i.yaml +12 -0
  1244. data/doc/ri/HtmlFilter/fix_case-i.yaml +11 -0
  1245. data/doc/ri/HtmlFilter/fix_case_inner-i.yaml +11 -0
  1246. data/doc/ri/HtmlFilter/is_valid_entity-i.yaml +11 -0
  1247. data/doc/ri/HtmlFilter/new-c.yaml +12 -0
  1248. data/doc/ri/HtmlFilter/process_param_protocol-i.yaml +11 -0
  1249. data/doc/ri/HtmlFilter/process_remove_blanks-i.yaml +11 -0
  1250. data/doc/ri/HtmlFilter/process_tag-i.yaml +11 -0
  1251. data/doc/ri/HtmlFilter/strip_single-i.yaml +11 -0
  1252. data/doc/ri/HtmlFilter/validate_entities-i.yaml +11 -0
  1253. data/doc/ri/IORedirect/cdesc-IORedirect.yaml +28 -0
  1254. data/doc/ri/IORedirect/new-c.yaml +12 -0
  1255. data/doc/ri/IORedirect/redirect-c.yaml +12 -0
  1256. data/doc/ri/IORedirect/start-i.yaml +12 -0
  1257. data/doc/ri/IORedirect/stop-i.yaml +12 -0
  1258. data/doc/ri/Indexable/body-i.yaml +14 -0
  1259. data/doc/ri/Indexable/cdesc-Indexable.yaml +55 -0
  1260. data/doc/ri/Indexable/ends-i.yaml +16 -0
  1261. data/doc/ri/Indexable/first%21-i.yaml +14 -0
  1262. data/doc/ri/Indexable/first%3d-i.yaml +14 -0
  1263. data/doc/ri/Indexable/first-i.yaml +14 -0
  1264. data/doc/ri/Indexable/foot-i.yaml +14 -0
  1265. data/doc/ri/Indexable/head-i.yaml +14 -0
  1266. data/doc/ri/Indexable/index_of-i.yaml +16 -0
  1267. data/doc/ri/Indexable/last%21-i.yaml +14 -0
  1268. data/doc/ri/Indexable/last%3d-i.yaml +14 -0
  1269. data/doc/ri/Indexable/last-i.yaml +14 -0
  1270. data/doc/ri/Indexable/mid-i.yaml +16 -0
  1271. data/doc/ri/Indexable/middle-i.yaml +16 -0
  1272. data/doc/ri/Indexable/pos-i.yaml +14 -0
  1273. data/doc/ri/Indexable/range-i.yaml +14 -0
  1274. data/doc/ri/Indexable/tail-i.yaml +14 -0
  1275. data/doc/ri/Indexable/thru-i.yaml +14 -0
  1276. data/doc/ri/InfinityClass/%2b%40-i.yaml +12 -0
  1277. data/doc/ri/InfinityClass/%2d%40-i.yaml +12 -0
  1278. data/doc/ri/InfinityClass/%3c%3d%3e-i.yaml +12 -0
  1279. data/doc/ri/InfinityClass/%3d%3d-i.yaml +12 -0
  1280. data/doc/ri/InfinityClass/Numeric/cdesc-Numeric.yaml +27 -0
  1281. data/doc/ri/InfinityClass/Numeric/finite%3f-i.yaml +10 -0
  1282. data/doc/ri/InfinityClass/Numeric/inf%3f-i.yaml +12 -0
  1283. data/doc/ri/InfinityClass/Numeric/infinite%3f-i.yaml +11 -0
  1284. data/doc/ri/InfinityClass/Numeric/nan%3f-i.yaml +10 -0
  1285. data/doc/ri/InfinityClass/Numeric/neginf%3f-i.yaml +10 -0
  1286. data/doc/ri/InfinityClass/Numeric/posinf%3f-i.yaml +10 -0
  1287. data/doc/ri/InfinityClass/cdesc-InfinityClass.yaml +75 -0
  1288. data/doc/ri/InfinityClass/coerce-i.yaml +12 -0
  1289. data/doc/ri/InfinityClass/new-c.yaml +10 -0
  1290. data/doc/ri/InfinityClass/times-i.yaml +12 -0
  1291. data/doc/ri/InfinityClass/to_f-i.yaml +12 -0
  1292. data/doc/ri/InfinityClass/to_s-i.yaml +11 -0
  1293. data/doc/ri/Ini/%5b%5d%3d-i.yaml +12 -0
  1294. data/doc/ri/Ini/%5b%5d-i.yaml +12 -0
  1295. data/doc/ri/Ini/cdesc-Ini.yaml +51 -0
  1296. data/doc/ri/Ini/new-c.yaml +16 -0
  1297. data/doc/ri/Ini/read_comment_from_file-c.yaml +16 -0
  1298. data/doc/ri/Ini/read_from_file-c.yaml +16 -0
  1299. data/doc/ri/Ini/restore-i.yaml +12 -0
  1300. data/doc/ri/Ini/to_s-c.yaml +16 -0
  1301. data/doc/ri/Ini/update-i.yaml +12 -0
  1302. data/doc/ri/Ini/write_to_file-c.yaml +16 -0
  1303. data/doc/ri/InstanceVariables/%3c%3c-i.yaml +10 -0
  1304. data/doc/ri/InstanceVariables/%5b%5d%3d-i.yaml +10 -0
  1305. data/doc/ri/InstanceVariables/%5b%5d-i.yaml +10 -0
  1306. data/doc/ri/InstanceVariables/atize-i.yaml +10 -0
  1307. data/doc/ri/InstanceVariables/cdesc-InstanceVariables.yaml +38 -0
  1308. data/doc/ri/InstanceVariables/each-i.yaml +10 -0
  1309. data/doc/ri/InstanceVariables/instance_delegate-i.yaml +10 -0
  1310. data/doc/ri/InstanceVariables/keys-i.yaml +10 -0
  1311. data/doc/ri/InstanceVariables/names-i.yaml +10 -0
  1312. data/doc/ri/InstanceVariables/new-c.yaml +10 -0
  1313. data/doc/ri/InstanceVariables/to_hash-i.yaml +10 -0
  1314. data/doc/ri/InstanceVariables/update-i.yaml +10 -0
  1315. data/doc/ri/InstanceVariables/values-i.yaml +10 -0
  1316. data/doc/ri/Instantiable/append_features-c.yaml +10 -0
  1317. data/doc/ri/Instantiable/cdesc-Instantiable.yaml +24 -0
  1318. data/doc/ri/Instantiable/new-i.yaml +12 -0
  1319. data/doc/ri/Instantise/append_features-c.yaml +10 -0
  1320. data/doc/ri/Instantise/cdesc-Instantise.yaml +29 -0
  1321. data/doc/ri/Instantise/singleton_method_added-i.yaml +10 -0
  1322. data/doc/ri/Integer/cdesc-Integer.yaml +15 -0
  1323. data/doc/ri/Interval/%2b%40-i.yaml +12 -0
  1324. data/doc/ri/Interval/%2d%40-i.yaml +10 -0
  1325. data/doc/ri/Interval/%3d%3d%3d-i.yaml +12 -0
  1326. data/doc/ri/Interval/%5b%5d-c.yaml +10 -0
  1327. data/doc/ri/Interval/%7e-i.yaml +10 -0
  1328. data/doc/ri/Interval/begin-i.yaml +12 -0
  1329. data/doc/ri/Interval/cdesc-Interval.yaml +97 -0
  1330. data/doc/ri/Interval/closed-i.yaml +12 -0
  1331. data/doc/ri/Interval/degenerate%3f-i.yaml +12 -0
  1332. data/doc/ri/Interval/direction-i.yaml +14 -0
  1333. data/doc/ri/Interval/distance-i.yaml +15 -0
  1334. data/doc/ri/Interval/each-i.yaml +15 -0
  1335. data/doc/ri/Interval/end-i.yaml +12 -0
  1336. data/doc/ri/Interval/eql%3f-i.yaml +12 -0
  1337. data/doc/ri/Interval/exclude_begin%3f-i.yaml +12 -0
  1338. data/doc/ri/Interval/exclude_end%3f-i.yaml +12 -0
  1339. data/doc/ri/Interval/exclude_first%3f-i.yaml +12 -0
  1340. data/doc/ri/Interval/exclude_last%3f-i.yaml +11 -0
  1341. data/doc/ri/Interval/first-i.yaml +13 -0
  1342. data/doc/ri/Interval/first_closed-i.yaml +12 -0
  1343. data/doc/ri/Interval/first_opened-i.yaml +10 -0
  1344. data/doc/ri/Interval/half_closed-i.yaml +12 -0
  1345. data/doc/ri/Interval/include%3f-i.yaml +15 -0
  1346. data/doc/ri/Interval/last-i.yaml +11 -0
  1347. data/doc/ri/Interval/last_closed-i.yaml +10 -0
  1348. data/doc/ri/Interval/last_opened-i.yaml +10 -0
  1349. data/doc/ri/Interval/length-i.yaml +12 -0
  1350. data/doc/ri/Interval/max-i.yaml +12 -0
  1351. data/doc/ri/Interval/member%3f-i.yaml +12 -0
  1352. data/doc/ri/Interval/min-i.yaml +12 -0
  1353. data/doc/ri/Interval/new-c.yaml +10 -0
  1354. data/doc/ri/Interval/null%3f-i.yaml +12 -0
  1355. data/doc/ri/Interval/opened-i.yaml +12 -0
  1356. data/doc/ri/Interval/reversed-i.yaml +14 -0
  1357. data/doc/ri/Interval/sentinels-i.yaml +14 -0
  1358. data/doc/ri/Interval/size-i.yaml +12 -0
  1359. data/doc/ri/Interval/step-i.yaml +12 -0
  1360. data/doc/ri/It/cdesc-It.yaml +39 -0
  1361. data/doc/ri/It/first%3f-i.yaml +10 -0
  1362. data/doc/ri/It/last%3f-i.yaml +10 -0
  1363. data/doc/ri/It/new-c.yaml +10 -0
  1364. data/doc/ri/It/next_iteration-i.yaml +10 -0
  1365. data/doc/ri/Kernel/cdesc-Kernel.yaml +16 -0
  1366. data/doc/ri/LRUCache/%5b%5d%3d-i.yaml +12 -0
  1367. data/doc/ri/LRUCache/%5b%5d-i.yaml +12 -0
  1368. data/doc/ri/LRUCache/Item/cdesc-Item.yaml +28 -0
  1369. data/doc/ri/LRUCache/Sentinel/cdesc-Sentinel.yaml +18 -0
  1370. data/doc/ri/LRUCache/cdesc-LRUCache.yaml +65 -0
  1371. data/doc/ri/LRUCache/clear-i.yaml +12 -0
  1372. data/doc/ri/LRUCache/delete-i.yaml +12 -0
  1373. data/doc/ri/LRUCache/first-i.yaml +12 -0
  1374. data/doc/ri/LRUCache/last-i.yaml +13 -0
  1375. data/doc/ri/LRUCache/lru-i.yaml +12 -0
  1376. data/doc/ri/LRUCache/lru_append-i.yaml +12 -0
  1377. data/doc/ri/LRUCache/lru_clear-i.yaml +12 -0
  1378. data/doc/ri/LRUCache/lru_delete-i.yaml +12 -0
  1379. data/doc/ri/LRUCache/lru_insert-i.yaml +12 -0
  1380. data/doc/ri/LRUCache/lru_join-i.yaml +12 -0
  1381. data/doc/ri/LRUCache/lru_touch-i.yaml +12 -0
  1382. data/doc/ri/LRUCache/new-c.yaml +10 -0
  1383. data/doc/ri/Lazy/DivergenceError/cdesc-DivergenceError.yaml +17 -0
  1384. data/doc/ri/Lazy/Future/cdesc-Future.yaml +20 -0
  1385. data/doc/ri/Lazy/LazyException/cdesc-LazyException.yaml +19 -0
  1386. data/doc/ri/Lazy/Promise/cdesc-Promise.yaml +25 -0
  1387. data/doc/ri/Lazy/PromiseSafe/cdesc-PromiseSafe.yaml +20 -0
  1388. data/doc/ri/Lazy/cdesc-Lazy.yaml +20 -0
  1389. data/doc/ri/LinkedList/%5b%5d%3d-i.yaml +10 -0
  1390. data/doc/ri/LinkedList/%5b%5d-i.yaml +10 -0
  1391. data/doc/ri/LinkedList/Node/cdesc-Node.yaml +33 -0
  1392. data/doc/ri/LinkedList/Node/new-c.yaml +10 -0
  1393. data/doc/ri/LinkedList/cdesc-LinkedList.yaml +57 -0
  1394. data/doc/ri/LinkedList/delete-i.yaml +10 -0
  1395. data/doc/ri/LinkedList/each-i.yaml +10 -0
  1396. data/doc/ri/LinkedList/empty%3f-i.yaml +10 -0
  1397. data/doc/ri/LinkedList/first-i.yaml +10 -0
  1398. data/doc/ri/LinkedList/last-i.yaml +10 -0
  1399. data/doc/ri/LinkedList/length-i.yaml +10 -0
  1400. data/doc/ri/LinkedList/new-c.yaml +10 -0
  1401. data/doc/ri/LinkedList/node_delete-i.yaml +10 -0
  1402. data/doc/ri/LinkedList/node_join-i.yaml +10 -0
  1403. data/doc/ri/LinkedList/node_purge-i.yaml +10 -0
  1404. data/doc/ri/LinkedList/pop-i.yaml +10 -0
  1405. data/doc/ri/LinkedList/push-i.yaml +10 -0
  1406. data/doc/ri/LinkedList/queue-i.yaml +10 -0
  1407. data/doc/ri/LinkedList/shift-i.yaml +10 -0
  1408. data/doc/ri/LinkedList/to_a-i.yaml +10 -0
  1409. data/doc/ri/LinkedList/unshift-i.yaml +10 -0
  1410. data/doc/ri/Logger/Ansicolor/cdesc-Ansicolor.yaml +36 -0
  1411. data/doc/ri/Logger/Ansicolor/debug-i.yaml +10 -0
  1412. data/doc/ri/Logger/Ansicolor/debug_with_color-i.yaml +10 -0
  1413. data/doc/ri/Logger/Ansicolor/error-i.yaml +10 -0
  1414. data/doc/ri/Logger/Ansicolor/error_with_color-i.yaml +10 -0
  1415. data/doc/ri/Logger/Ansicolor/fatal-i.yaml +10 -0
  1416. data/doc/ri/Logger/Ansicolor/fatal_with_color-i.yaml +10 -0
  1417. data/doc/ri/Logger/Ansicolor/info-i.yaml +10 -0
  1418. data/doc/ri/Logger/Ansicolor/info_with_color-i.yaml +10 -0
  1419. data/doc/ri/Logger/Ansicolor/warn-i.yaml +10 -0
  1420. data/doc/ri/Logger/Ansicolor/warn_with_color-i.yaml +10 -0
  1421. data/doc/ri/Logger/LogDevice/ansicolor%3f-i.yaml +10 -0
  1422. data/doc/ri/Logger/LogDevice/cdesc-LogDevice.yaml +19 -0
  1423. data/doc/ri/Logger/ansicolor%3d-i.yaml +10 -0
  1424. data/doc/ri/Logger/cdesc-Logger.yaml +44 -0
  1425. data/doc/ri/Logger/format_procedure-i.yaml +10 -0
  1426. data/doc/ri/Logger/setup_format-i.yaml +21 -0
  1427. data/doc/ri/MatchData/cdesc-MatchData.yaml +20 -0
  1428. data/doc/ri/MatchData/match-i.yaml +14 -0
  1429. data/doc/ri/MatchData/matchset-i.yaml +14 -0
  1430. data/doc/ri/MatchData/matchtree-i.yaml +14 -0
  1431. data/doc/ri/Method/cdesc-Method.yaml +15 -0
  1432. data/doc/ri/MissingArgument/cdesc-MissingArgument.yaml +17 -0
  1433. data/doc/ri/Module/%2a-i.yaml +14 -0
  1434. data/doc/ri/Module/%2b-i.yaml +22 -0
  1435. data/doc/ri/Module/%2d-i.yaml +14 -0
  1436. data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +20 -0
  1437. data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +14 -0
  1438. data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +14 -0
  1439. data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +14 -0
  1440. data/doc/ri/Module/Comparable-i.yaml +18 -0
  1441. data/doc/ri/Module/Equatable-i.yaml +18 -0
  1442. data/doc/ri/Module/abstract-i.yaml +14 -0
  1443. data/doc/ri/Module/alias_accessor%21-i.yaml +17 -0
  1444. data/doc/ri/Module/alias_accessor-i.yaml +14 -0
  1445. data/doc/ri/Module/alias_method_chain-i.yaml +32 -0
  1446. data/doc/ri/Module/alias_module_function-i.yaml +14 -0
  1447. data/doc/ri/Module/alias_reader%21-i.yaml +17 -0
  1448. data/doc/ri/Module/alias_reader%3f-i.yaml +12 -0
  1449. data/doc/ri/Module/alias_reader-i.yaml +12 -0
  1450. data/doc/ri/Module/alias_setter-i.yaml +14 -0
  1451. data/doc/ri/Module/alias_switcher-i.yaml +12 -0
  1452. data/doc/ri/Module/alias_tester-i.yaml +12 -0
  1453. data/doc/ri/Module/alias_toggler-i.yaml +12 -0
  1454. data/doc/ri/Module/alias_validator-i.yaml +12 -0
  1455. data/doc/ri/Module/alias_writer%21-i.yaml +14 -0
  1456. data/doc/ri/Module/alias_writer-i.yaml +12 -0
  1457. data/doc/ri/Module/all_instance_methods-i.yaml +18 -0
  1458. data/doc/ri/Module/ancestor%3f-i.yaml +14 -0
  1459. data/doc/ri/Module/ann%21-i.yaml +12 -0
  1460. data/doc/ri/Module/ann-i.yaml +12 -0
  1461. data/doc/ri/Module/annotations-i.yaml +10 -0
  1462. data/doc/ri/Module/append_features-c.yaml +10 -0
  1463. data/doc/ri/Module/append_features-i.yaml +10 -0
  1464. data/doc/ri/Module/append_features_without_class_extension-i.yaml +12 -0
  1465. data/doc/ri/Module/attr-i.yaml +10 -0
  1466. data/doc/ri/Module/attr_accessor%21-i.yaml +21 -0
  1467. data/doc/ri/Module/attr_reader%21-i.yaml +21 -0
  1468. data/doc/ri/Module/attr_reader%3f-i.yaml +12 -0
  1469. data/doc/ri/Module/attr_setter-i.yaml +18 -0
  1470. data/doc/ri/Module/attr_switcher-i.yaml +12 -0
  1471. data/doc/ri/Module/attr_tester-i.yaml +12 -0
  1472. data/doc/ri/Module/attr_toggler-i.yaml +12 -0
  1473. data/doc/ri/Module/attr_validator-i.yaml +14 -0
  1474. data/doc/ri/Module/attr_writer%21-i.yaml +18 -0
  1475. data/doc/ri/Module/basename-i.yaml +18 -0
  1476. data/doc/ri/Module/cdesc-Module.yaml +191 -0
  1477. data/doc/ri/Module/class_def-i.yaml +14 -0
  1478. data/doc/ri/Module/class_extension-i.yaml +17 -0
  1479. data/doc/ri/Module/class_inherit-i.yaml +12 -0
  1480. data/doc/ri/Module/class_load-i.yaml +12 -0
  1481. data/doc/ri/Module/class_methods-i.yaml +11 -0
  1482. data/doc/ri/Module/class_require-i.yaml +12 -0
  1483. data/doc/ri/Module/classified_attributes-i.yaml +14 -0
  1484. data/doc/ri/Module/conflict%3f-i.yaml +14 -0
  1485. data/doc/ri/Module/define_dependency-i.yaml +11 -0
  1486. data/doc/ri/Module/depend-i.yaml +11 -0
  1487. data/doc/ri/Module/dependencies-i.yaml +12 -0
  1488. data/doc/ri/Module/heritage-i.yaml +10 -0
  1489. data/doc/ri/Module/include_as-i.yaml +14 -0
  1490. data/doc/ri/Module/include_function_module-i.yaml +14 -0
  1491. data/doc/ri/Module/instance_method%21-i.yaml +16 -0
  1492. data/doc/ri/Module/instance_method_defined%3f-i.yaml +14 -0
  1493. data/doc/ri/Module/integrate-i.yaml +20 -0
  1494. data/doc/ri/Module/is%3f-i.yaml +14 -0
  1495. data/doc/ri/Module/is-i.yaml +12 -0
  1496. data/doc/ri/Module/memoize-i.yaml +14 -0
  1497. data/doc/ri/Module/method_overloads-i.yaml +10 -0
  1498. data/doc/ri/Module/method_space-i.yaml +14 -0
  1499. data/doc/ri/Module/mixin_parameters-i.yaml +17 -0
  1500. data/doc/ri/Module/mixin_params-i.yaml +12 -0
  1501. data/doc/ri/Module/modspace-i.yaml +18 -0
  1502. data/doc/ri/Module/module_load-i.yaml +15 -0
  1503. data/doc/ri/Module/module_method_defined%3f-i.yaml +12 -0
  1504. data/doc/ri/Module/module_require-i.yaml +15 -0
  1505. data/doc/ri/Module/nesting-i.yaml +14 -0
  1506. data/doc/ri/Module/overload-i.yaml +14 -0
  1507. data/doc/ri/Module/pathize-i.yaml +16 -0
  1508. data/doc/ri/Module/prepend-i.yaml +14 -0
  1509. data/doc/ri/Module/private_conflict%3f-i.yaml +12 -0
  1510. data/doc/ri/Module/protected_conflict%3f-i.yaml +12 -0
  1511. data/doc/ri/Module/public_conflict%3f-i.yaml +12 -0
  1512. data/doc/ri/Module/redef-i.yaml +12 -0
  1513. data/doc/ri/Module/redefine_method-i.yaml +17 -0
  1514. data/doc/ri/Module/redirect-i.yaml +12 -0
  1515. data/doc/ri/Module/redirect_method-i.yaml +19 -0
  1516. data/doc/ri/Module/rename-i.yaml +12 -0
  1517. data/doc/ri/Module/rename_method-i.yaml +15 -0
  1518. data/doc/ri/Module/revisal-i.yaml +12 -0
  1519. data/doc/ri/Module/revise-i.yaml +15 -0
  1520. data/doc/ri/Module/setting-i.yaml +21 -0
  1521. data/doc/ri/Module/singleton_method_defined%3f-i.yaml +15 -0
  1522. data/doc/ri/Module/spacename-i.yaml +20 -0
  1523. data/doc/ri/Module/wrap-i.yaml +12 -0
  1524. data/doc/ri/Module/wrap_method-i.yaml +19 -0
  1525. data/doc/ri/Multiton/Inclusive/cdesc-Inclusive.yaml +18 -0
  1526. data/doc/ri/Multiton/Inclusive/included-i.yaml +10 -0
  1527. data/doc/ri/Multiton/InstanceMutex/cdesc-InstanceMutex.yaml +17 -0
  1528. data/doc/ri/Multiton/MetaMethods/_load-i.yaml +10 -0
  1529. data/doc/ri/Multiton/MetaMethods/cdesc-MetaMethods.yaml +34 -0
  1530. data/doc/ri/Multiton/MetaMethods/initialized%3f-i.yaml +10 -0
  1531. data/doc/ri/Multiton/MetaMethods/instance-i.yaml +11 -0
  1532. data/doc/ri/Multiton/MetaMethods/multiton_id-i.yaml +12 -0
  1533. data/doc/ri/Multiton/MetaMethods/multiton_instance-i.yaml +10 -0
  1534. data/doc/ri/Multiton/MetaMethods/multiton_mutex-i.yaml +10 -0
  1535. data/doc/ri/Multiton/MetaMethods/new-i.yaml +12 -0
  1536. data/doc/ri/Multiton/MetaMethods/reinitialize-i.yaml +10 -0
  1537. data/doc/ri/Multiton/MetaMethods/singleton_method_added-i.yaml +10 -0
  1538. data/doc/ri/Multiton/_dump-i.yaml +12 -0
  1539. data/doc/ri/Multiton/cdesc-Multiton.yaml +40 -0
  1540. data/doc/ri/Multiton/clone-i.yaml +12 -0
  1541. data/doc/ri/Multiton/dup-i.yaml +10 -0
  1542. data/doc/ri/NackClass/cdesc-NackClass.yaml +20 -0
  1543. data/doc/ri/Net/SMTP/cdesc-SMTP.yaml +25 -0
  1544. data/doc/ri/Net/SMTP/do_helo-i.yaml +10 -0
  1545. data/doc/ri/Net/SMTP/do_tls_start-i.yaml +10 -0
  1546. data/doc/ri/Net/SMTP/quit-i.yaml +10 -0
  1547. data/doc/ri/Net/SMTP/start-c.yaml +10 -0
  1548. data/doc/ri/Net/SMTP/start-i.yaml +10 -0
  1549. data/doc/ri/Net/SMTP/starttls-i.yaml +10 -0
  1550. data/doc/ri/Net/cdesc-Net.yaml +15 -0
  1551. data/doc/ri/NilClass/cdesc-NilClass.yaml +17 -0
  1552. data/doc/ri/NullClass/%5b%5d-i.yaml +10 -0
  1553. data/doc/ri/NullClass/cdesc-NullClass.yaml +32 -0
  1554. data/doc/ri/NullClass/inspect-i.yaml +10 -0
  1555. data/doc/ri/NullClass/method_missing-i.yaml +10 -0
  1556. data/doc/ri/NullClass/new-c.yaml +10 -0
  1557. data/doc/ri/NullClass/nil%3f-i.yaml +10 -0
  1558. data/doc/ri/NullClass/null%3f-i.yaml +10 -0
  1559. data/doc/ri/Numeric/cdesc-Numeric.yaml +26 -0
  1560. data/doc/ri/Object/cdesc-Object.yaml +15 -0
  1561. data/doc/ri/ObjectReflection/_bind_method-i.yaml +10 -0
  1562. data/doc/ri/ObjectReflection/cdesc-ObjectReflection.yaml +28 -0
  1563. data/doc/ri/ObjectReflection/id-i.yaml +11 -0
  1564. data/doc/ri/ObjectReflection/method_missing-i.yaml +16 -0
  1565. data/doc/ri/ObjectReflection/new-c.yaml +11 -0
  1566. data/doc/ri/OpEsc/cdesc-OpEsc.yaml +30 -0
  1567. data/doc/ri/OpEsc/escape-c.yaml +14 -0
  1568. data/doc/ri/OpenCascade/cdesc-OpenCascade.yaml +25 -0
  1569. data/doc/ri/OpenCascade/method_missing-i.yaml +10 -0
  1570. data/doc/ri/OpenCollection/cdesc-OpenCollection.yaml +22 -0
  1571. data/doc/ri/OpenCollection/method_missing-i.yaml +10 -0
  1572. data/doc/ri/OpenCollection/new-c.yaml +10 -0
  1573. data/doc/ri/OpenHash/cdesc-OpenHash.yaml +22 -0
  1574. data/doc/ri/OpenHash/method_missing-i.yaml +12 -0
  1575. data/doc/ri/OpenHash/new-c.yaml +12 -0
  1576. data/doc/ri/OpenObject/%3d%3d-i.yaml +12 -0
  1577. data/doc/ri/OpenObject/%5b%5d%3d-i.yaml +10 -0
  1578. data/doc/ri/OpenObject/%5b%5d-c.yaml +10 -0
  1579. data/doc/ri/OpenObject/%5b%5d-i.yaml +10 -0
  1580. data/doc/ri/OpenObject/as_hash%21-i.yaml +12 -0
  1581. data/doc/ri/OpenObject/cdesc-OpenObject.yaml +77 -0
  1582. data/doc/ri/OpenObject/default%21-i.yaml +12 -0
  1583. data/doc/ri/OpenObject/define_slot-i.yaml +10 -0
  1584. data/doc/ri/OpenObject/delete-i.yaml +11 -0
  1585. data/doc/ri/OpenObject/each-i.yaml +12 -0
  1586. data/doc/ri/OpenObject/fetch-i.yaml +10 -0
  1587. data/doc/ri/OpenObject/initialize_copy-i.yaml +10 -0
  1588. data/doc/ri/OpenObject/inspect-i.yaml +12 -0
  1589. data/doc/ri/OpenObject/merge-i.yaml +12 -0
  1590. data/doc/ri/OpenObject/method_missing-i.yaml +10 -0
  1591. data/doc/ri/OpenObject/new-c.yaml +14 -0
  1592. data/doc/ri/OpenObject/protect_slot-i.yaml +10 -0
  1593. data/doc/ri/OpenObject/store-i.yaml +10 -0
  1594. data/doc/ri/OpenObject/to_a-i.yaml +12 -0
  1595. data/doc/ri/OpenObject/to_h-i.yaml +10 -0
  1596. data/doc/ri/OpenObject/to_hash-i.yaml +10 -0
  1597. data/doc/ri/OpenObject/to_openobject-i.yaml +10 -0
  1598. data/doc/ri/OpenObject/to_proc-i.yaml +10 -0
  1599. data/doc/ri/OpenObject/update-i.yaml +12 -0
  1600. data/doc/ri/OpenStruct/%5b%5d%3d-i.yaml +14 -0
  1601. data/doc/ri/OpenStruct/%5b%5d-i.yaml +14 -0
  1602. data/doc/ri/OpenStruct/__merge__-i.yaml +14 -0
  1603. data/doc/ri/OpenStruct/__update__-i.yaml +14 -0
  1604. data/doc/ri/OpenStruct/cdesc-OpenStruct.yaml +35 -0
  1605. data/doc/ri/OpenStruct/each-i.yaml +11 -0
  1606. data/doc/ri/OpenStruct/instance_delegate-i.yaml +19 -0
  1607. data/doc/ri/OpenStruct/new-c.yaml +18 -0
  1608. data/doc/ri/OpenStruct/ostruct_delegate-i.yaml +12 -0
  1609. data/doc/ri/OpenStruct/ostruct_merge-i.yaml +14 -0
  1610. data/doc/ri/OpenStruct/ostruct_update-i.yaml +14 -0
  1611. data/doc/ri/OpenStruct/to_h-i.yaml +11 -0
  1612. data/doc/ri/PQueue/%3c%3c-i.yaml +12 -0
  1613. data/doc/ri/PQueue/%3d%3d-i.yaml +12 -0
  1614. data/doc/ri/PQueue/cdesc-PQueue.yaml +77 -0
  1615. data/doc/ri/PQueue/clear-i.yaml +12 -0
  1616. data/doc/ri/PQueue/downheap-i.yaml +14 -0
  1617. data/doc/ri/PQueue/each_pop-i.yaml +12 -0
  1618. data/doc/ri/PQueue/empty%3f-i.yaml +12 -0
  1619. data/doc/ri/PQueue/heapify-i.yaml +12 -0
  1620. data/doc/ri/PQueue/include%3f-i.yaml +12 -0
  1621. data/doc/ri/PQueue/initialize_copy-i.yaml +10 -0
  1622. data/doc/ri/PQueue/inspect-i.yaml +12 -0
  1623. data/doc/ri/PQueue/merge-i.yaml +12 -0
  1624. data/doc/ri/PQueue/new-c.yaml +18 -0
  1625. data/doc/ri/PQueue/pop-i.yaml +18 -0
  1626. data/doc/ri/PQueue/pop_array-i.yaml +12 -0
  1627. data/doc/ri/PQueue/push-i.yaml +15 -0
  1628. data/doc/ri/PQueue/push_all-i.yaml +15 -0
  1629. data/doc/ri/PQueue/replace-i.yaml +14 -0
  1630. data/doc/ri/PQueue/replace_top-i.yaml +14 -0
  1631. data/doc/ri/PQueue/sort-i.yaml +12 -0
  1632. data/doc/ri/PQueue/to_a-i.yaml +13 -0
  1633. data/doc/ri/PQueue/top-i.yaml +12 -0
  1634. data/doc/ri/PQueue/upheap-i.yaml +14 -0
  1635. data/doc/ri/Paramix/Delegator/%5b%5d-i.yaml +10 -0
  1636. data/doc/ri/Paramix/Delegator/append_features-i.yaml +11 -0
  1637. data/doc/ri/Paramix/Delegator/cdesc-Delegator.yaml +33 -0
  1638. data/doc/ri/Paramix/Delegator/extend_object-i.yaml +11 -0
  1639. data/doc/ri/Paramix/Delegator/new-c.yaml +11 -0
  1640. data/doc/ri/Paramix/append_features-c.yaml +10 -0
  1641. data/doc/ri/Paramix/cdesc-Paramix.yaml +41 -0
  1642. data/doc/ri/Paramix/new-c.yaml +12 -0
  1643. data/doc/ri/PathList/Finder/cdesc-Finder.yaml +21 -0
  1644. data/doc/ri/PathList/Finder/find-i.yaml +11 -0
  1645. data/doc/ri/PathList/Finder/include%3f-i.yaml +12 -0
  1646. data/doc/ri/PathList/cdesc-PathList.yaml +28 -0
  1647. data/doc/ri/PathList/new-c.yaml +10 -0
  1648. data/doc/ri/PathList/to_s-i.yaml +10 -0
  1649. data/doc/ri/Pathname/%2f-c.yaml +14 -0
  1650. data/doc/ri/Pathname/%5b%5d-c.yaml +14 -0
  1651. data/doc/ri/Pathname/cdesc-Pathname.yaml +27 -0
  1652. data/doc/ri/Pathname/home-c.yaml +14 -0
  1653. data/doc/ri/Pathname/null-c.yaml +12 -0
  1654. data/doc/ri/Pathname/root-c.yaml +12 -0
  1655. data/doc/ri/Pathname/rootname-i.yaml +11 -0
  1656. data/doc/ri/Pathname/work-c.yaml +12 -0
  1657. data/doc/ri/Platform/%3d%3d%3d-i.yaml +10 -0
  1658. data/doc/ri/Platform/%3d%3d-i.yaml +10 -0
  1659. data/doc/ri/Platform/%3d%7e-i.yaml +10 -0
  1660. data/doc/ri/Platform/cdesc-Platform.yaml +65 -0
  1661. data/doc/ri/Platform/const_missing-c.yaml +10 -0
  1662. data/doc/ri/Platform/inspect-i.yaml +10 -0
  1663. data/doc/ri/Platform/local-c.yaml +10 -0
  1664. data/doc/ri/Platform/match-c.yaml +10 -0
  1665. data/doc/ri/Platform/new-c.yaml +10 -0
  1666. data/doc/ri/Platform/supported-c.yaml +12 -0
  1667. data/doc/ri/Platform/to_a-i.yaml +10 -0
  1668. data/doc/ri/Platform/to_s-i.yaml +10 -0
  1669. data/doc/ri/Pool/cdesc-Pool.yaml +27 -0
  1670. data/doc/ri/Pool/new-c.yaml +10 -0
  1671. data/doc/ri/Pool/obtain-i.yaml +12 -0
  1672. data/doc/ri/Pool/pop-i.yaml +12 -0
  1673. data/doc/ri/Pool/push-i.yaml +12 -0
  1674. data/doc/ri/Proc/%2a-i.yaml +14 -0
  1675. data/doc/ri/Proc/bind-i.yaml +16 -0
  1676. data/doc/ri/Proc/cdesc-Proc.yaml +28 -0
  1677. data/doc/ri/Proc/compose-i.yaml +14 -0
  1678. data/doc/ri/Proc/curry-i.yaml +14 -0
  1679. data/doc/ri/Proc/partial-i.yaml +20 -0
  1680. data/doc/ri/Proc/to_method-i.yaml +14 -0
  1681. data/doc/ri/Proc/to_openobject-i.yaml +16 -0
  1682. data/doc/ri/ProgressBar/bar-i.yaml +10 -0
  1683. data/doc/ri/ProgressBar/bar_mark%3d-i.yaml +10 -0
  1684. data/doc/ri/ProgressBar/bytes-i.yaml +10 -0
  1685. data/doc/ri/ProgressBar/cdesc-ProgressBar.yaml +76 -0
  1686. data/doc/ri/ProgressBar/convert_bytes-i.yaml +10 -0
  1687. data/doc/ri/ProgressBar/elapsed-i.yaml +10 -0
  1688. data/doc/ri/ProgressBar/eol-i.yaml +10 -0
  1689. data/doc/ri/ProgressBar/eta-i.yaml +12 -0
  1690. data/doc/ri/ProgressBar/file_transfer_mode-i.yaml +10 -0
  1691. data/doc/ri/ProgressBar/finish-i.yaml +10 -0
  1692. data/doc/ri/ProgressBar/flush-i.yaml +10 -0
  1693. data/doc/ri/ProgressBar/format%3d-i.yaml +10 -0
  1694. data/doc/ri/ProgressBar/format_arguments%3d-i.yaml +10 -0
  1695. data/doc/ri/ProgressBar/format_time-i.yaml +10 -0
  1696. data/doc/ri/ProgressBar/get_width-i.yaml +10 -0
  1697. data/doc/ri/ProgressBar/halt-i.yaml +10 -0
  1698. data/doc/ri/ProgressBar/inc-i.yaml +10 -0
  1699. data/doc/ri/ProgressBar/inspect-i.yaml +10 -0
  1700. data/doc/ri/ProgressBar/new-c.yaml +10 -0
  1701. data/doc/ri/ProgressBar/percentage-i.yaml +10 -0
  1702. data/doc/ri/ProgressBar/set-i.yaml +10 -0
  1703. data/doc/ri/ProgressBar/show-i.yaml +10 -0
  1704. data/doc/ri/ProgressBar/show_progress-i.yaml +10 -0
  1705. data/doc/ri/ProgressBar/stat-i.yaml +10 -0
  1706. data/doc/ri/ProgressBar/stat_for_file_transfer-i.yaml +10 -0
  1707. data/doc/ri/ProgressBar/title%3d-i.yaml +10 -0
  1708. data/doc/ri/ProgressBar/title-i.yaml +10 -0
  1709. data/doc/ri/ProgressBar/total_overflow%3d-i.yaml +10 -0
  1710. data/doc/ri/ProgressBar/transfer_rate-i.yaml +10 -0
  1711. data/doc/ri/Prototype/cdesc-Prototype.yaml +30 -0
  1712. data/doc/ri/Prototype/fn-i.yaml +10 -0
  1713. data/doc/ri/Prototype/meta-i.yaml +10 -0
  1714. data/doc/ri/Prototype/method_missing-i.yaml +10 -0
  1715. data/doc/ri/Prototype/new-c.yaml +12 -0
  1716. data/doc/ri/Prototype/new-i.yaml +10 -0
  1717. data/doc/ri/Prototype/trait-i.yaml +10 -0
  1718. data/doc/ri/Prototype/traits-i.yaml +10 -0
  1719. data/doc/ri/RWDelegator/%3d%3d-i.yaml +10 -0
  1720. data/doc/ri/RWDelegator/cdesc-RWDelegator.yaml +28 -0
  1721. data/doc/ri/RWDelegator/inspect-i.yaml +10 -0
  1722. data/doc/ri/RWDelegator/method_missing-i.yaml +10 -0
  1723. data/doc/ri/RWDelegator/new-c.yaml +10 -0
  1724. data/doc/ri/Random/Array/at_rand%21-i.yaml +14 -0
  1725. data/doc/ri/Random/Array/at_rand-i.yaml +14 -0
  1726. data/doc/ri/Random/Array/cdesc-Array.yaml +31 -0
  1727. data/doc/ri/Random/Array/pick%21-i.yaml +12 -0
  1728. data/doc/ri/Random/Array/pick-i.yaml +12 -0
  1729. data/doc/ri/Random/Array/rand_index-i.yaml +12 -0
  1730. data/doc/ri/Random/Array/rand_subset-i.yaml +18 -0
  1731. data/doc/ri/Random/Array/shuffle%21-i.yaml +16 -0
  1732. data/doc/ri/Random/Array/shuffle-i.yaml +14 -0
  1733. data/doc/ri/Random/Hash/at_rand%21-i.yaml +12 -0
  1734. data/doc/ri/Random/Hash/at_rand-i.yaml +12 -0
  1735. data/doc/ri/Random/Hash/cdesc-Hash.yaml +41 -0
  1736. data/doc/ri/Random/Hash/pick-i.yaml +12 -0
  1737. data/doc/ri/Random/Hash/pick_key-i.yaml +12 -0
  1738. data/doc/ri/Random/Hash/pick_pair-i.yaml +12 -0
  1739. data/doc/ri/Random/Hash/rand_key%21-i.yaml +15 -0
  1740. data/doc/ri/Random/Hash/rand_key-i.yaml +14 -0
  1741. data/doc/ri/Random/Hash/rand_pair%21-i.yaml +15 -0
  1742. data/doc/ri/Random/Hash/rand_pair-i.yaml +14 -0
  1743. data/doc/ri/Random/Hash/rand_value%21-i.yaml +17 -0
  1744. data/doc/ri/Random/Hash/rand_value-i.yaml +15 -0
  1745. data/doc/ri/Random/Hash/shuffle%21-i.yaml +14 -0
  1746. data/doc/ri/Random/Hash/shuffle-i.yaml +14 -0
  1747. data/doc/ri/Random/Object/cdesc-Object.yaml +16 -0
  1748. data/doc/ri/Random/Object/maybe-i.yaml +14 -0
  1749. data/doc/ri/Random/String/Self/cdesc-Self.yaml +20 -0
  1750. data/doc/ri/Random/String/Self/rand_letter-i.yaml +14 -0
  1751. data/doc/ri/Random/String/Self/random-i.yaml +12 -0
  1752. data/doc/ri/Random/String/at_rand%21-i.yaml +14 -0
  1753. data/doc/ri/Random/String/at_rand-i.yaml +14 -0
  1754. data/doc/ri/Random/String/cdesc-String.yaml +30 -0
  1755. data/doc/ri/Random/String/included-c.yaml +10 -0
  1756. data/doc/ri/Random/String/rand_byte%21-i.yaml +14 -0
  1757. data/doc/ri/Random/String/rand_byte-i.yaml +14 -0
  1758. data/doc/ri/Random/String/rand_index-i.yaml +14 -0
  1759. data/doc/ri/Random/String/shuffle%21-i.yaml +12 -0
  1760. data/doc/ri/Random/String/shuffle-i.yaml +14 -0
  1761. data/doc/ri/Random/append_features-c.yaml +11 -0
  1762. data/doc/ri/Random/cdesc-Random.yaml +31 -0
  1763. data/doc/ri/Random/number-c.yaml +11 -0
  1764. data/doc/ri/Range/cdesc-Range.yaml +27 -0
  1765. data/doc/ri/Range/combine-c.yaml +14 -0
  1766. data/doc/ri/Range/combine-i.yaml +14 -0
  1767. data/doc/ri/Range/overlap%3f-i.yaml +14 -0
  1768. data/doc/ri/Range/to_r-i.yaml +14 -0
  1769. data/doc/ri/Range/to_range-i.yaml +16 -0
  1770. data/doc/ri/Range/umbrella-i.yaml +20 -0
  1771. data/doc/ri/Range/within%3f-i.yaml +14 -0
  1772. data/doc/ri/Recorder/__call__-i.yaml +10 -0
  1773. data/doc/ri/Recorder/cdesc-Recorder.yaml +34 -0
  1774. data/doc/ri/Recorder/inspect-i.yaml +10 -0
  1775. data/doc/ri/Recorder/method_missing-i.yaml +10 -0
  1776. data/doc/ri/Recorder/new-c.yaml +11 -0
  1777. data/doc/ri/RecursiveDependency/cdesc-RecursiveDependency.yaml +15 -0
  1778. data/doc/ri/Reference/__value__-i.yaml +11 -0
  1779. data/doc/ri/Reference/become-i.yaml +10 -0
  1780. data/doc/ri/Reference/cdesc-Reference.yaml +30 -0
  1781. data/doc/ri/Reference/instance_delegate-i.yaml +12 -0
  1782. data/doc/ri/Reference/method_missing-i.yaml +10 -0
  1783. data/doc/ri/Reference/new-c.yaml +10 -0
  1784. data/doc/ri/Regexp/arity-i.yaml +18 -0
  1785. data/doc/ri/Regexp/cdesc-Regexp.yaml +20 -0
  1786. data/doc/ri/Regexp/to_re-i.yaml +16 -0
  1787. data/doc/ri/Regexp/to_regexp-i.yaml +16 -0
  1788. data/doc/ri/Registerable/cdesc-Registerable.yaml +23 -0
  1789. data/doc/ri/Registerable/register-i.yaml +12 -0
  1790. data/doc/ri/Registerable/registry-i.yaml +12 -0
  1791. data/doc/ri/Registerable/registry_invalid%3f-i.yaml +11 -0
  1792. data/doc/ri/Semaphore/cdesc-Semaphore.yaml +36 -0
  1793. data/doc/ri/Semaphore/down-i.yaml +12 -0
  1794. data/doc/ri/Semaphore/exclusive-i.yaml +11 -0
  1795. data/doc/ri/Semaphore/new-c.yaml +10 -0
  1796. data/doc/ri/Semaphore/p-i.yaml +12 -0
  1797. data/doc/ri/Semaphore/signal-i.yaml +13 -0
  1798. data/doc/ri/Semaphore/synchronize-i.yaml +12 -0
  1799. data/doc/ri/Semaphore/up-i.yaml +12 -0
  1800. data/doc/ri/Semaphore/v-i.yaml +12 -0
  1801. data/doc/ri/Semaphore/wait-i.yaml +13 -0
  1802. data/doc/ri/Set/cdesc-Set.yaml +16 -0
  1803. data/doc/ri/Set/power_set-i.yaml +10 -0
  1804. data/doc/ri/Settings/Setting/cdesc-Setting.yaml +42 -0
  1805. data/doc/ri/Settings/Setting/new-c.yaml +10 -0
  1806. data/doc/ri/Settings/Setting/to_s-i.yaml +12 -0
  1807. data/doc/ri/Settings/Setting/update-i.yaml +12 -0
  1808. data/doc/ri/Settings/SettingCollection/cdesc-SettingCollection.yaml +23 -0
  1809. data/doc/ri/Settings/SettingCollection/method_missing-i.yaml +12 -0
  1810. data/doc/ri/Settings/add_setting-c.yaml +17 -0
  1811. data/doc/ri/Settings/cdesc-Settings.yaml +33 -0
  1812. data/doc/ri/Settings/load-c.yaml +12 -0
  1813. data/doc/ri/Settings/method_missing-c.yaml +10 -0
  1814. data/doc/ri/Settings/parse-c.yaml +12 -0
  1815. data/doc/ri/Settings/settings-c.yaml +12 -0
  1816. data/doc/ri/Settings/setup-c.yaml +15 -0
  1817. data/doc/ri/Shellwords/cdesc-Shellwords.yaml +16 -0
  1818. data/doc/ri/Shellwords/escape-i.yaml +12 -0
  1819. data/doc/ri/SimpleStringIO/cdesc-SimpleStringIO.yaml +20 -0
  1820. data/doc/ri/SimpleStringIO/new-c.yaml +10 -0
  1821. data/doc/ri/SimpleStringIO/write-i.yaml +10 -0
  1822. data/doc/ri/Snapshot/ValueHolder/cdesc-ValueHolder.yaml +24 -0
  1823. data/doc/ri/Snapshot/ValueHolder/new-c.yaml +10 -0
  1824. data/doc/ri/Snapshot/ValueHolder/restore_snapshot-i.yaml +10 -0
  1825. data/doc/ri/Snapshot/ValueHolder/take_snapshot-i.yaml +10 -0
  1826. data/doc/ri/Snapshot/add-i.yaml +10 -0
  1827. data/doc/ri/Snapshot/cdesc-Snapshot.yaml +36 -0
  1828. data/doc/ri/Snapshot/new-c.yaml +10 -0
  1829. data/doc/ri/Snapshot/restore-i.yaml +10 -0
  1830. data/doc/ri/Stackable/cdesc-Stackable.yaml +33 -0
  1831. data/doc/ri/Stackable/peek-i.yaml +14 -0
  1832. data/doc/ri/Stackable/poke-i.yaml +15 -0
  1833. data/doc/ri/Stackable/pop-i.yaml +14 -0
  1834. data/doc/ri/Stackable/pull-i.yaml +15 -0
  1835. data/doc/ri/Stackable/push-i.yaml +14 -0
  1836. data/doc/ri/Stackable/shift-i.yaml +12 -0
  1837. data/doc/ri/Stackable/unshift-i.yaml +12 -0
  1838. data/doc/ri/String/Style/camelize-c.yaml +18 -0
  1839. data/doc/ri/String/Style/capitalize-c.yaml +12 -0
  1840. data/doc/ri/String/Style/cdesc-Style.yaml +69 -0
  1841. data/doc/ri/String/Style/classify-c.yaml +20 -0
  1842. data/doc/ri/String/Style/dasherize-c.yaml +16 -0
  1843. data/doc/ri/String/Style/demodulize-c.yaml +16 -0
  1844. data/doc/ri/String/Style/downcase-c.yaml +12 -0
  1845. data/doc/ri/String/Style/foreign_key-c.yaml +16 -0
  1846. data/doc/ri/String/Style/humanize-c.yaml +16 -0
  1847. data/doc/ri/String/Style/lowercamel-c.yaml +10 -0
  1848. data/doc/ri/String/Style/lowercase-c.yaml +12 -0
  1849. data/doc/ri/String/Style/methodize-c.yaml +18 -0
  1850. data/doc/ri/String/Style/modulize-c.yaml +18 -0
  1851. data/doc/ri/String/Style/ordinalize-c.yaml +16 -0
  1852. data/doc/ri/String/Style/pathize-c.yaml +22 -0
  1853. data/doc/ri/String/Style/snakecase-c.yaml +18 -0
  1854. data/doc/ri/String/Style/tableize-c.yaml +16 -0
  1855. data/doc/ri/String/Style/titlecase-c.yaml +14 -0
  1856. data/doc/ri/String/Style/titleize-c.yaml +18 -0
  1857. data/doc/ri/String/Style/underscore-c.yaml +18 -0
  1858. data/doc/ri/String/Style/upcase-c.yaml +12 -0
  1859. data/doc/ri/String/Style/uppercamel-c.yaml +10 -0
  1860. data/doc/ri/String/Style/uppercase-c.yaml +12 -0
  1861. data/doc/ri/String/Words/brief-i.yaml +14 -0
  1862. data/doc/ri/String/Words/cdesc-Words.yaml +28 -0
  1863. data/doc/ri/String/Words/each_word-i.yaml +14 -0
  1864. data/doc/ri/String/Words/word_filter%21-i.yaml +14 -0
  1865. data/doc/ri/String/Words/word_filter-i.yaml +14 -0
  1866. data/doc/ri/String/Words/word_wrap%21-i.yaml +14 -0
  1867. data/doc/ri/String/Words/word_wrap-i.yaml +18 -0
  1868. data/doc/ri/String/Words/words-i.yaml +14 -0
  1869. data/doc/ri/String/cdesc-String.yaml +17 -0
  1870. data/doc/ri/Struct/cdesc-Struct.yaml +18 -0
  1871. data/doc/ri/Struct/restore_snapshot-i.yaml +10 -0
  1872. data/doc/ri/Struct/take_snapshot-i.yaml +10 -0
  1873. data/doc/ri/Symbol/cdesc-Symbol.yaml +15 -0
  1874. data/doc/ri/SyncArray/cdesc-SyncArray.yaml +19 -0
  1875. data/doc/ri/SyncArray/new-c.yaml +12 -0
  1876. data/doc/ri/SyncHash/Delegator/%5b%5d%3d-i.yaml +10 -0
  1877. data/doc/ri/SyncHash/Delegator/%5b%5d-i.yaml +10 -0
  1878. data/doc/ri/SyncHash/Delegator/cdesc-Delegator.yaml +30 -0
  1879. data/doc/ri/SyncHash/Delegator/clear-i.yaml +10 -0
  1880. data/doc/ri/SyncHash/Delegator/delete-i.yaml +10 -0
  1881. data/doc/ri/SyncHash/Delegator/keys-i.yaml +10 -0
  1882. data/doc/ri/SyncHash/Delegator/size-i.yaml +10 -0
  1883. data/doc/ri/SyncHash/Delegator/values-i.yaml +10 -0
  1884. data/doc/ri/SyncHash/Inheritor/%5b%5d%3d-i.yaml +10 -0
  1885. data/doc/ri/SyncHash/Inheritor/%5b%5d-i.yaml +10 -0
  1886. data/doc/ri/SyncHash/Inheritor/cdesc-Inheritor.yaml +30 -0
  1887. data/doc/ri/SyncHash/Inheritor/clear-i.yaml +10 -0
  1888. data/doc/ri/SyncHash/Inheritor/delete-i.yaml +10 -0
  1889. data/doc/ri/SyncHash/Inheritor/keys-i.yaml +10 -0
  1890. data/doc/ri/SyncHash/Inheritor/size-i.yaml +10 -0
  1891. data/doc/ri/SyncHash/Inheritor/values-i.yaml +10 -0
  1892. data/doc/ri/SyncHash/cdesc-SyncHash.yaml +38 -0
  1893. data/doc/ri/SyncHash/new-c.yaml +10 -0
  1894. data/doc/ri/System/argf-i.yaml +12 -0
  1895. data/doc/ri/System/argv-i.yaml +11 -0
  1896. data/doc/ri/System/cdesc-System.yaml +145 -0
  1897. data/doc/ri/System/child_status-i.yaml +11 -0
  1898. data/doc/ri/System/coding%3d-i.yaml +10 -0
  1899. data/doc/ri/System/coding-i.yaml +10 -0
  1900. data/doc/ri/System/current_platform-i.yaml +12 -0
  1901. data/doc/ri/System/data-i.yaml +12 -0
  1902. data/doc/ri/System/debug-i.yaml +10 -0
  1903. data/doc/ri/System/default_input-i.yaml +13 -0
  1904. data/doc/ri/System/default_output%3d-i.yaml +11 -0
  1905. data/doc/ri/System/default_output-i.yaml +11 -0
  1906. data/doc/ri/System/defin-i.yaml +12 -0
  1907. data/doc/ri/System/defout%3d-i.yaml +12 -0
  1908. data/doc/ri/System/defout-i.yaml +12 -0
  1909. data/doc/ri/System/env-i.yaml +10 -0
  1910. data/doc/ri/System/environment-i.yaml +10 -0
  1911. data/doc/ri/System/error_info-i.yaml +10 -0
  1912. data/doc/ri/System/error_position-i.yaml +10 -0
  1913. data/doc/ri/System/exit_status-i.yaml +12 -0
  1914. data/doc/ri/System/extentions-i.yaml +10 -0
  1915. data/doc/ri/System/fs%3d-i.yaml +12 -0
  1916. data/doc/ri/System/fs-i.yaml +12 -0
  1917. data/doc/ri/System/input_field_separator%3d-i.yaml +11 -0
  1918. data/doc/ri/System/input_field_separator-i.yaml +11 -0
  1919. data/doc/ri/System/input_line_number-i.yaml +11 -0
  1920. data/doc/ri/System/input_lineno-i.yaml +12 -0
  1921. data/doc/ri/System/input_record_separator%3d-i.yaml +11 -0
  1922. data/doc/ri/System/input_record_separator-i.yaml +11 -0
  1923. data/doc/ri/System/line_end_processing-i.yaml +10 -0
  1924. data/doc/ri/System/load_path-i.yaml +12 -0
  1925. data/doc/ri/System/loaded_features-i.yaml +11 -0
  1926. data/doc/ri/System/match_platform-i.yaml +11 -0
  1927. data/doc/ri/System/ofs%3d-i.yaml +12 -0
  1928. data/doc/ri/System/ofs-i.yaml +12 -0
  1929. data/doc/ri/System/options-i.yaml +12 -0
  1930. data/doc/ri/System/ors%3d-i.yaml +12 -0
  1931. data/doc/ri/System/ors-i.yaml +12 -0
  1932. data/doc/ri/System/output_field_separator%3d-i.yaml +11 -0
  1933. data/doc/ri/System/output_field_separator-i.yaml +11 -0
  1934. data/doc/ri/System/output_record_separator%3d-i.yaml +11 -0
  1935. data/doc/ri/System/output_record_separator-i.yaml +11 -0
  1936. data/doc/ri/System/pid-i.yaml +12 -0
  1937. data/doc/ri/System/platform-i.yaml +10 -0
  1938. data/doc/ri/System/process_id-i.yaml +15 -0
  1939. data/doc/ri/System/program_loop-i.yaml +10 -0
  1940. data/doc/ri/System/program_name%3d-i.yaml +10 -0
  1941. data/doc/ri/System/program_name-i.yaml +12 -0
  1942. data/doc/ri/System/release-i.yaml +10 -0
  1943. data/doc/ri/System/required-i.yaml +12 -0
  1944. data/doc/ri/System/rs%3d-i.yaml +12 -0
  1945. data/doc/ri/System/rs-i.yaml +12 -0
  1946. data/doc/ri/System/rubylibdir-i.yaml +10 -0
  1947. data/doc/ri/System/rubypath-i.yaml +10 -0
  1948. data/doc/ri/System/safe-i.yaml +10 -0
  1949. data/doc/ri/System/stderr%3d-i.yaml +10 -0
  1950. data/doc/ri/System/stderr-i.yaml +10 -0
  1951. data/doc/ri/System/stdin%3d-i.yaml +10 -0
  1952. data/doc/ri/System/stdin-i.yaml +12 -0
  1953. data/doc/ri/System/stdout%3d-i.yaml +10 -0
  1954. data/doc/ri/System/stdout-i.yaml +10 -0
  1955. data/doc/ri/System/verbose%3d-i.yaml +10 -0
  1956. data/doc/ri/System/verbose-i.yaml +10 -0
  1957. data/doc/ri/System/version-i.yaml +10 -0
  1958. data/doc/ri/Time/cdesc-Time.yaml +17 -0
  1959. data/doc/ri/Timer/Dummy/cdesc-Dummy.yaml +20 -0
  1960. data/doc/ri/Timer/Dummy/start-i.yaml +10 -0
  1961. data/doc/ri/Timer/Dummy/stop-i.yaml +10 -0
  1962. data/doc/ri/Timer/cdesc-Timer.yaml +57 -0
  1963. data/doc/ri/Timer/defuse-i.yaml +12 -0
  1964. data/doc/ri/Timer/limit-i.yaml +12 -0
  1965. data/doc/ri/Timer/new-c.yaml +10 -0
  1966. data/doc/ri/Timer/on_timeout-i.yaml +10 -0
  1967. data/doc/ri/Timer/reset-i.yaml +12 -0
  1968. data/doc/ri/Timer/reset_limit-i.yaml +14 -0
  1969. data/doc/ri/Timer/running%3f-i.yaml +12 -0
  1970. data/doc/ri/Timer/start-i.yaml +12 -0
  1971. data/doc/ri/Timer/stop-i.yaml +12 -0
  1972. data/doc/ri/Timer/stopped%3f-i.yaml +12 -0
  1973. data/doc/ri/Timer/total_time-i.yaml +12 -0
  1974. data/doc/ri/TracePoint/%3d%3d%3d-i.yaml +12 -0
  1975. data/doc/ri/TracePoint/active%3d-c.yaml +10 -0
  1976. data/doc/ri/TracePoint/active-c.yaml +10 -0
  1977. data/doc/ri/TracePoint/back-i.yaml +12 -0
  1978. data/doc/ri/TracePoint/bind-i.yaml +12 -0
  1979. data/doc/ri/TracePoint/called-i.yaml +13 -0
  1980. data/doc/ri/TracePoint/callee-i.yaml +13 -0
  1981. data/doc/ri/TracePoint/cdesc-TracePoint.yaml +82 -0
  1982. data/doc/ri/TracePoint/event%3f-i.yaml +12 -0
  1983. data/doc/ri/TracePoint/event_map-i.yaml +10 -0
  1984. data/doc/ri/TracePoint/eventless%3f-i.yaml +10 -0
  1985. data/doc/ri/TracePoint/method_name-i.yaml +12 -0
  1986. data/doc/ri/TracePoint/new-c.yaml +12 -0
  1987. data/doc/ri/TracePoint/self-i.yaml +12 -0
  1988. data/doc/ri/TracePoint/trace-c.yaml +12 -0
  1989. data/doc/ri/TrueClass/cdesc-TrueClass.yaml +15 -0
  1990. data/doc/ri/Tuple/%3c%3c-i.yaml +12 -0
  1991. data/doc/ri/Tuple/%3c%3d%3e-i.yaml +10 -0
  1992. data/doc/ri/Tuple/%3d%7e-i.yaml +12 -0
  1993. data/doc/ri/Tuple/%5b%5d%3d-i.yaml +10 -0
  1994. data/doc/ri/Tuple/%5b%5d-c.yaml +10 -0
  1995. data/doc/ri/Tuple/%5b%5d-i.yaml +10 -0
  1996. data/doc/ri/Tuple/cast_from_array-c.yaml +11 -0
  1997. data/doc/ri/Tuple/cast_from_string-c.yaml +20 -0
  1998. data/doc/ri/Tuple/cdesc-Tuple.yaml +113 -0
  1999. data/doc/ri/Tuple/constraint_to_lambda-c.yaml +12 -0
  2000. data/doc/ri/Tuple/divider-i.yaml +10 -0
  2001. data/doc/ri/Tuple/each-i.yaml +10 -0
  2002. data/doc/ri/Tuple/each_index-i.yaml +10 -0
  2003. data/doc/ri/Tuple/empty%3f-i.yaml +10 -0
  2004. data/doc/ri/Tuple/eql%3f-i.yaml +12 -0
  2005. data/doc/ri/Tuple/first-i.yaml +10 -0
  2006. data/doc/ri/Tuple/hash-i.yaml +12 -0
  2007. data/doc/ri/Tuple/index-i.yaml +10 -0
  2008. data/doc/ri/Tuple/inspect-i.yaml +10 -0
  2009. data/doc/ri/Tuple/last-i.yaml +10 -0
  2010. data/doc/ri/Tuple/length-i.yaml +10 -0
  2011. data/doc/ri/Tuple/major-i.yaml +12 -0
  2012. data/doc/ri/Tuple/minor-i.yaml +10 -0
  2013. data/doc/ri/Tuple/multiton_id-c.yaml +10 -0
  2014. data/doc/ri/Tuple/new-c.yaml +10 -0
  2015. data/doc/ri/Tuple/parse_constraint-c.yaml +10 -0
  2016. data/doc/ri/Tuple/pop-i.yaml +10 -0
  2017. data/doc/ri/Tuple/pot-i.yaml +13 -0
  2018. data/doc/ri/Tuple/pull-i.yaml +13 -0
  2019. data/doc/ri/Tuple/push-i.yaml +10 -0
  2020. data/doc/ri/Tuple/rindex-i.yaml +10 -0
  2021. data/doc/ri/Tuple/shift-i.yaml +12 -0
  2022. data/doc/ri/Tuple/size-i.yaml +10 -0
  2023. data/doc/ri/Tuple/teeny-i.yaml +10 -0
  2024. data/doc/ri/Tuple/to_a-i.yaml +10 -0
  2025. data/doc/ri/Tuple/to_ary-i.yaml +10 -0
  2026. data/doc/ri/Tuple/to_s-i.yaml +10 -0
  2027. data/doc/ri/Tuple/to_t-i.yaml +10 -0
  2028. data/doc/ri/Tuple/to_tuple-i.yaml +10 -0
  2029. data/doc/ri/Tuple/unshift-i.yaml +12 -0
  2030. data/doc/ri/Tuple/values-i.yaml +10 -0
  2031. data/doc/ri/TypeCast/Class/cast_from-i.yaml +14 -0
  2032. data/doc/ri/TypeCast/Class/cdesc-Class.yaml +18 -0
  2033. data/doc/ri/TypeCast/Object/cast_to-i.yaml +14 -0
  2034. data/doc/ri/TypeCast/Object/cdesc-Object.yaml +18 -0
  2035. data/doc/ri/TypeCast/cdesc-TypeCast.yaml +52 -0
  2036. data/doc/ri/TypeCastException/cdesc-TypeCastException.yaml +17 -0
  2037. data/doc/ri/URI/Hash/cdesc-Hash.yaml +16 -0
  2038. data/doc/ri/URI/Hash/to_uri-i.yaml +11 -0
  2039. data/doc/ri/URI/Kernel/cdesc-Kernel.yaml +18 -0
  2040. data/doc/ri/URI/Kernel/unuri-i.yaml +11 -0
  2041. data/doc/ri/URI/Kernel/uri-i.yaml +11 -0
  2042. data/doc/ri/URI/cdesc-URI.yaml +38 -0
  2043. data/doc/ri/URI/cgi_escape-i.yaml +12 -0
  2044. data/doc/ri/URI/cgi_parse-i.yaml +11 -0
  2045. data/doc/ri/URI/cgi_unescape-i.yaml +11 -0
  2046. data/doc/ri/URI/chomp_query_string-i.yaml +16 -0
  2047. data/doc/ri/URI/decode-i.yaml +12 -0
  2048. data/doc/ri/URI/get_query_string-i.yaml +16 -0
  2049. data/doc/ri/URI/hash_to_query-i.yaml +15 -0
  2050. data/doc/ri/URI/hash_to_query_string-i.yaml +12 -0
  2051. data/doc/ri/URI/query_string_to_hash-i.yaml +12 -0
  2052. data/doc/ri/URI/query_to_hash-i.yaml +17 -0
  2053. data/doc/ri/URI/update_query_string-i.yaml +18 -0
  2054. data/doc/ri/URI/update_request_uri-i.yaml +12 -0
  2055. data/doc/ri/UnboundMethod/arguments-i.yaml +18 -0
  2056. data/doc/ri/UnboundMethod/cdesc-UnboundMethod.yaml +18 -0
  2057. data/doc/ri/UnboundMethod/name-i.yaml +14 -0
  2058. data/doc/ri/Uninheritable/cdesc-Uninheritable.yaml +21 -0
  2059. data/doc/ri/Uninheritable/inherited-i.yaml +12 -0
  2060. data/doc/ri/UploadUtils/cdesc-UploadUtils.yaml +47 -0
  2061. data/doc/ri/UploadUtils/files-i.yaml +12 -0
  2062. data/doc/ri/UploadUtils/ftp-i.yaml +12 -0
  2063. data/doc/ri/UploadUtils/rsync-i.yaml +12 -0
  2064. data/doc/ri/UploadUtils/sftp-i.yaml +12 -0
  2065. data/doc/ri/UploadUtils/stage_linkdir-i.yaml +12 -0
  2066. data/doc/ri/UploadUtils/stage_transfer-i.yaml +20 -0
  2067. data/doc/ri/UploadUtils/upload-i.yaml +12 -0
  2068. data/doc/ri/UploadUtils/upload_parameters-i.yaml +12 -0
  2069. data/doc/ri/VersionNumber/%3c%3d%3e-i.yaml +12 -0
  2070. data/doc/ri/VersionNumber/%3d%7e-i.yaml +12 -0
  2071. data/doc/ri/VersionNumber/%5b%5d-i.yaml +10 -0
  2072. data/doc/ri/VersionNumber/cdesc-VersionNumber.yaml +45 -0
  2073. data/doc/ri/VersionNumber/constraint_lambda-c.yaml +12 -0
  2074. data/doc/ri/VersionNumber/inspect-i.yaml +10 -0
  2075. data/doc/ri/VersionNumber/major-i.yaml +12 -0
  2076. data/doc/ri/VersionNumber/method_missing-i.yaml +12 -0
  2077. data/doc/ri/VersionNumber/minor-i.yaml +12 -0
  2078. data/doc/ri/VersionNumber/new-c.yaml +10 -0
  2079. data/doc/ri/VersionNumber/parse_constraint-c.yaml +10 -0
  2080. data/doc/ri/VersionNumber/teeny-i.yaml +12 -0
  2081. data/doc/ri/VersionNumber/to_s-i.yaml +10 -0
  2082. data/doc/ri/VersionNumber/to_str-i.yaml +12 -0
  2083. data/doc/ri/Weekdays/after-i.yaml +12 -0
  2084. data/doc/ri/Weekdays/ago-i.yaml +13 -0
  2085. data/doc/ri/Weekdays/before-i.yaml +12 -0
  2086. data/doc/ri/Weekdays/cdesc-Weekdays.yaml +38 -0
  2087. data/doc/ri/Weekdays/from_now-i.yaml +12 -0
  2088. data/doc/ri/Weekdays/new-c.yaml +10 -0
  2089. data/doc/ri/Weekdays/since-i.yaml +13 -0
  2090. data/doc/ri/Weekdays/step-i.yaml +10 -0
  2091. data/doc/ri/Weekdays/until-i.yaml +12 -0
  2092. data/doc/ri/XOXO/Parser/cdesc-Parser.yaml +15 -0
  2093. data/doc/ri/XOXO/cdesc-XOXO.yaml +25 -0
  2094. data/doc/ri/XOXO/dump-c.yaml +35 -0
  2095. data/doc/ri/XOXO/load-c.yaml +12 -0
  2096. data/doc/ri/XOXO/make_xoxo-c.yaml +10 -0
  2097. data/doc/ri/ZipUtils/DryRun/cdesc-DryRun.yaml +32 -0
  2098. data/doc/ri/ZipUtils/DryRun/compress-i.yaml +10 -0
  2099. data/doc/ri/ZipUtils/DryRun/tar_bzip2-i.yaml +10 -0
  2100. data/doc/ri/ZipUtils/DryRun/tar_gzip-i.yaml +10 -0
  2101. data/doc/ri/ZipUtils/DryRun/untar_bzip2-i.yaml +10 -0
  2102. data/doc/ri/ZipUtils/DryRun/untar_gzip-i.yaml +10 -0
  2103. data/doc/ri/ZipUtils/DryRun/unzip-i.yaml +10 -0
  2104. data/doc/ri/ZipUtils/DryRun/zip-i.yaml +10 -0
  2105. data/doc/ri/ZipUtils/NoWrite/cdesc-NoWrite.yaml +32 -0
  2106. data/doc/ri/ZipUtils/NoWrite/compress-i.yaml +10 -0
  2107. data/doc/ri/ZipUtils/NoWrite/tar_bzip2-i.yaml +10 -0
  2108. data/doc/ri/ZipUtils/NoWrite/tar_gzip-i.yaml +10 -0
  2109. data/doc/ri/ZipUtils/NoWrite/untar_bzip2-i.yaml +10 -0
  2110. data/doc/ri/ZipUtils/NoWrite/untar_gzip-i.yaml +10 -0
  2111. data/doc/ri/ZipUtils/NoWrite/unzip-i.yaml +10 -0
  2112. data/doc/ri/ZipUtils/NoWrite/zip-i.yaml +10 -0
  2113. data/doc/ri/ZipUtils/Verbose/cdesc-Verbose.yaml +32 -0
  2114. data/doc/ri/ZipUtils/Verbose/compress-i.yaml +10 -0
  2115. data/doc/ri/ZipUtils/Verbose/tar_bzip2-i.yaml +10 -0
  2116. data/doc/ri/ZipUtils/Verbose/tar_gzip-i.yaml +10 -0
  2117. data/doc/ri/ZipUtils/Verbose/untar_bzip2-i.yaml +10 -0
  2118. data/doc/ri/ZipUtils/Verbose/untar_gzip-i.yaml +10 -0
  2119. data/doc/ri/ZipUtils/Verbose/unzip-i.yaml +10 -0
  2120. data/doc/ri/ZipUtils/Verbose/zip-i.yaml +10 -0
  2121. data/doc/ri/ZipUtils/cdesc-ZipUtils.yaml +50 -0
  2122. data/doc/ri/ZipUtils/compress-i.yaml +27 -0
  2123. data/doc/ri/ZipUtils/tar_bzip-i.yaml +12 -0
  2124. data/doc/ri/ZipUtils/tar_bzip2-i.yaml +15 -0
  2125. data/doc/ri/ZipUtils/tar_gzip-i.yaml +13 -0
  2126. data/doc/ri/ZipUtils/tar_j-i.yaml +12 -0
  2127. data/doc/ri/ZipUtils/tar_z-i.yaml +12 -0
  2128. data/doc/ri/ZipUtils/tgz-i.yaml +11 -0
  2129. data/doc/ri/ZipUtils/untar_bzip-i.yaml +12 -0
  2130. data/doc/ri/ZipUtils/untar_bzip2-i.yaml +15 -0
  2131. data/doc/ri/ZipUtils/untar_gzip-i.yaml +13 -0
  2132. data/doc/ri/ZipUtils/untar_j-i.yaml +12 -0
  2133. data/doc/ri/ZipUtils/untar_z-i.yaml +12 -0
  2134. data/doc/ri/ZipUtils/unzip-i.yaml +12 -0
  2135. data/doc/ri/ZipUtils/zip-i.yaml +12 -0
  2136. data/doc/ri/created.rid +1 -0
  2137. data/lib/core/facets-live.rb +17 -0
  2138. data/lib/core/facets.rb +11 -0
  2139. data/lib/core/facets/array.rb +23 -0
  2140. data/lib/core/facets/array/combination.rb +60 -0
  2141. data/lib/{facets → core/facets}/array/conjoin.rb +0 -0
  2142. data/lib/{facets → core/facets}/array/delete.rb +0 -0
  2143. data/lib/{facets → core/facets}/array/indexable.rb +0 -0
  2144. data/lib/{facets → core/facets}/array/merge.rb +0 -0
  2145. data/lib/{facets → core/facets}/array/not_empty.rb +0 -0
  2146. data/lib/{facets → core/facets}/array/only.rb +0 -0
  2147. data/lib/{facets → core/facets}/array/pad.rb +0 -0
  2148. data/lib/core/facets/array/permutation.rb +30 -0
  2149. data/lib/core/facets/array/product.rb +57 -0
  2150. data/lib/core/facets/array/recursively.rb +30 -0
  2151. data/lib/{facets → core/facets}/array/rotate.rb +0 -0
  2152. data/lib/{facets → core/facets}/array/select.rb +0 -0
  2153. data/lib/{facets → core/facets}/array/splice.rb +0 -0
  2154. data/lib/{facets → core/facets}/array/stackable.rb +0 -0
  2155. data/lib/{facets → core/facets}/array/traverse.rb +0 -0
  2156. data/lib/core/facets/binding.rb +8 -0
  2157. data/lib/core/facets/binding/caller.rb +54 -0
  2158. data/lib/core/facets/binding/defined.rb +13 -0
  2159. data/lib/core/facets/binding/eval.rb +18 -0
  2160. data/lib/core/facets/binding/local_variables.rb +15 -0
  2161. data/lib/core/facets/binding/opvars.rb +24 -0
  2162. data/lib/core/facets/binding/self.rb +12 -0
  2163. data/lib/{facets → core/facets}/bitmask.rb +0 -0
  2164. data/lib/{facets → core/facets}/blank.rb +0 -0
  2165. data/lib/{facets → core/facets}/boolean.rb +0 -0
  2166. data/lib/{facets → core/facets}/callstack.rb +0 -0
  2167. data/lib/core/facets/class.rb +7 -0
  2168. data/lib/{facets → core/facets}/class/descendents.rb +0 -0
  2169. data/lib/{facets → core/facets}/class/prepend.rb +0 -0
  2170. data/lib/{facets → core/facets}/class/subclasses.rb +0 -0
  2171. data/lib/core/facets/class/to_methodname.rb +11 -0
  2172. data/lib/core/facets/class/to_pathname.rb +12 -0
  2173. data/lib/core/facets/class/to_proc.rb +42 -0
  2174. data/lib/core/facets/comparable.rb +4 -0
  2175. data/lib/{facets → core/facets}/comparable/bound.rb +0 -0
  2176. data/lib/{facets → core/facets}/comparable/cmp.rb +0 -0
  2177. data/lib/{facets → core/facets}/comparable/comparable.rb +0 -0
  2178. data/lib/core/facets/dir.rb +7 -0
  2179. data/lib/{facets → core/facets}/dir/ascend.rb +0 -0
  2180. data/lib/{facets → core/facets}/dir/descend.rb +0 -0
  2181. data/lib/{facets → core/facets}/dir/multiglob.rb +0 -0
  2182. data/lib/{facets → core/facets}/dir/parent.rb +0 -0
  2183. data/lib/{facets → core/facets}/dir/recurse.rb +0 -0
  2184. data/lib/core/facets/enumerable.rb +21 -0
  2185. data/lib/{facets → core/facets}/enumerable/accumulate.rb +0 -0
  2186. data/lib/core/facets/enumerable/cluster_by.rb +21 -0
  2187. data/lib/{facets → core/facets}/enumerable/collect.rb +0 -0
  2188. data/lib/core/facets/enumerable/count.rb +26 -0
  2189. data/lib/{facets → core/facets}/enumerable/divide.rb +0 -0
  2190. data/lib/{facets → core/facets}/enumerable/duplicates.rb +0 -0
  2191. data/lib/{facets → core/facets}/enumerable/each_by.rb +0 -0
  2192. data/lib/core/facets/enumerable/group_by.rb +27 -0
  2193. data/lib/{facets → core/facets}/enumerable/inject.rb +0 -0
  2194. data/lib/{facets → core/facets}/enumerable/map_send.rb +0 -0
  2195. data/lib/{facets → core/facets}/enumerable/mash.rb +0 -0
  2196. data/lib/{facets → core/facets}/enumerable/mode.rb +0 -0
  2197. data/lib/{facets → core/facets}/enumerable/modulate.rb +0 -0
  2198. data/lib/core/facets/enumerable/none.rb +31 -0
  2199. data/lib/{facets → core/facets}/enumerable/occur.rb +0 -0
  2200. data/lib/core/facets/enumerable/one.rb +38 -0
  2201. data/lib/{facets → core/facets}/enumerable/probability.rb +0 -0
  2202. data/lib/{facets → core/facets}/enumerable/split.rb +0 -0
  2203. data/lib/{facets → core/facets}/enumerable/sum.rb +0 -0
  2204. data/lib/{facets → core/facets}/enumerable/uniq_by.rb +0 -0
  2205. data/lib/{facets → core/facets}/exception.rb +0 -0
  2206. data/lib/{facets → core/facets}/exception/detail.rb +0 -0
  2207. data/lib/{facets → core/facets}/exception/suppress.rb +0 -0
  2208. data/lib/core/facets/file.rb +6 -0
  2209. data/lib/{facets → core/facets}/file/null.rb +0 -0
  2210. data/lib/{facets → core/facets}/file/read.rb +0 -0
  2211. data/lib/core/facets/file/rewrite.rb +88 -0
  2212. data/lib/core/facets/file/rootname.rb +33 -0
  2213. data/lib/{facets → core/facets}/file/write.rb +0 -0
  2214. data/lib/core/facets/filetest.rb +1 -0
  2215. data/lib/{facets → core/facets}/filetest/root.rb +0 -0
  2216. data/lib/core/facets/float.rb +1 -0
  2217. data/lib/{facets → core/facets}/float/round.rb +0 -0
  2218. data/lib/{facets → core/facets}/functor.rb +0 -0
  2219. data/lib/core/facets/hash.rb +23 -0
  2220. data/lib/{facets → core/facets}/hash/alias.rb +0 -0
  2221. data/lib/{facets → core/facets}/hash/argumentize.rb +0 -0
  2222. data/lib/{facets → core/facets}/hash/at.rb +0 -0
  2223. data/lib/{facets → core/facets}/hash/autonew.rb +0 -0
  2224. data/lib/{facets → core/facets}/hash/collate.rb +0 -0
  2225. data/lib/{facets → core/facets}/hash/delete.rb +0 -0
  2226. data/lib/{facets → core/facets}/hash/diff.rb +0 -0
  2227. data/lib/{facets → core/facets}/hash/except.rb +0 -0
  2228. data/lib/{facets → core/facets}/hash/insert.rb +0 -0
  2229. data/lib/{facets → core/facets}/hash/inverse.rb +0 -0
  2230. data/lib/{facets → core/facets}/hash/join.rb +0 -0
  2231. data/lib/{facets → core/facets}/hash/keys.rb +0 -0
  2232. data/lib/{facets → core/facets}/hash/mash.rb +0 -0
  2233. data/lib/core/facets/hash/merge.rb +30 -0
  2234. data/lib/{facets → core/facets}/hash/op.rb +0 -0
  2235. data/lib/core/facets/hash/recursive_merge.rb +33 -0
  2236. data/lib/core/facets/hash/recursively.rb +29 -0
  2237. data/lib/core/facets/hash/rekey.rb +59 -0
  2238. data/lib/{facets → core/facets}/hash/select.rb +0 -0
  2239. data/lib/core/facets/hash/slice.rb +25 -0
  2240. data/lib/{facets → core/facets}/hash/stringify_keys.rb +0 -0
  2241. data/lib/{facets → core/facets}/hash/swap.rb +0 -0
  2242. data/lib/{facets → core/facets}/hash/symbolize_keys.rb +0 -0
  2243. data/lib/{facets → core/facets}/hash/to_h.rb +0 -0
  2244. data/lib/{facets → core/facets}/hash/to_proc.rb +0 -0
  2245. data/lib/{facets → core/facets}/hash/to_struct.rb +0 -0
  2246. data/lib/{facets → core/facets}/hash/traverse.rb +0 -0
  2247. data/lib/core/facets/hash/update.rb +75 -0
  2248. data/lib/{facets → core/facets}/hash/weave.rb +0 -0
  2249. data/lib/{facets → core/facets}/hash/zipnew.rb +0 -0
  2250. data/lib/core/facets/integer.rb +8 -0
  2251. data/lib/core/facets/integer/even.rb +1 -0
  2252. data/lib/{facets → core/facets}/integer/factorial.rb +0 -0
  2253. data/lib/{facets → core/facets}/integer/multiple.rb +0 -0
  2254. data/lib/core/facets/integer/odd.rb +33 -0
  2255. data/lib/{facets → core/facets}/integer/of.rb +0 -0
  2256. data/lib/{facets → core/facets}/integer/ordinal.rb +0 -0
  2257. data/lib/core/facets/kernel.rb +31 -0
  2258. data/lib/core/facets/kernel/__callee__.rb +1 -0
  2259. data/lib/{facets → core/facets}/kernel/__class__.rb +0 -0
  2260. data/lib/{facets → core/facets}/kernel/__dir__.rb +0 -0
  2261. data/lib/{facets → core/facets}/kernel/__get__.rb +0 -0
  2262. data/lib/core/facets/kernel/__method__.rb +36 -0
  2263. data/lib/{facets → core/facets}/kernel/__set__.rb +0 -0
  2264. data/lib/{facets → core/facets}/kernel/as.rb +0 -0
  2265. data/lib/core/facets/kernel/ask.rb +27 -0
  2266. data/lib/{facets → core/facets}/kernel/attr_singleton.rb +0 -0
  2267. data/lib/{facets → core/facets}/kernel/complete.rb +0 -0
  2268. data/lib/{facets → core/facets}/kernel/constant.rb +0 -0
  2269. data/lib/{facets → core/facets}/kernel/d.rb +0 -0
  2270. data/lib/{facets → core/facets}/kernel/deep_copy.rb +0 -0
  2271. data/lib/{facets → core/facets}/kernel/demo.rb +0 -0
  2272. data/lib/{facets → core/facets}/kernel/ergo.rb +0 -0
  2273. data/lib/{facets → core/facets}/kernel/here.rb +0 -0
  2274. data/lib/{facets → core/facets}/kernel/in.rb +0 -0
  2275. data/lib/core/facets/kernel/instance.rb +19 -0
  2276. data/lib/{facets → core/facets}/kernel/instance_assign.rb +0 -0
  2277. data/lib/{facets → core/facets}/kernel/instance_class.rb +0 -0
  2278. data/lib/{facets → core/facets}/kernel/instance_exec.rb +0 -0
  2279. data/lib/{facets → core/facets}/kernel/instance_send.rb +0 -0
  2280. data/lib/{facets → core/facets}/kernel/instance_variables.rb +0 -0
  2281. data/lib/{facets → core/facets}/kernel/load.rb +0 -0
  2282. data/lib/{facets → core/facets}/kernel/maybe.rb +0 -0
  2283. data/lib/{facets → core/facets}/kernel/not_nil.rb +0 -0
  2284. data/lib/{facets → core/facets}/kernel/object_class.rb +0 -0
  2285. data/lib/{facets → core/facets}/kernel/object_hexid.rb +0 -0
  2286. data/lib/{facets → core/facets}/kernel/object_send.rb +0 -0
  2287. data/lib/{facets → core/facets}/kernel/p.rb +0 -0
  2288. data/lib/{facets → core/facets}/kernel/populate.rb +0 -0
  2289. data/lib/{facets → core/facets}/kernel/resc.rb +0 -0
  2290. data/lib/{facets → core/facets}/kernel/respond.rb +0 -0
  2291. data/lib/{facets → core/facets}/kernel/returning.rb +0 -0
  2292. data/lib/{facets → core/facets}/kernel/silence.rb +0 -0
  2293. data/lib/{facets → core/facets}/kernel/singleton_class.rb +0 -0
  2294. data/lib/{facets → core/facets}/kernel/suppress.rb +0 -0
  2295. data/lib/core/facets/kernel/tap.rb +32 -0
  2296. data/lib/{facets → core/facets}/kernel/try.rb +0 -0
  2297. data/lib/{facets → core/facets}/kernel/val.rb +0 -0
  2298. data/lib/{facets → core/facets}/kernel/with.rb +0 -0
  2299. data/lib/{facets → core/facets}/lazy.rb +0 -0
  2300. data/lib/core/facets/matchdata.rb +4 -0
  2301. data/lib/{facets → core/facets}/matchdata/match.rb +0 -0
  2302. data/lib/{facets → core/facets}/matchdata/matchset.rb +0 -0
  2303. data/lib/{facets → core/facets}/metaid.rb +0 -0
  2304. data/lib/core/facets/module.rb +20 -0
  2305. data/lib/{facets → core/facets}/module/abstract.rb +0 -0
  2306. data/lib/{facets → core/facets}/module/alias.rb +0 -0
  2307. data/lib/{facets → core/facets}/module/ancestor.rb +0 -0
  2308. data/lib/{facets → core/facets}/module/basename.rb +0 -0
  2309. data/lib/{facets → core/facets}/module/can.rb +0 -0
  2310. data/lib/{facets → core/facets}/module/class.rb +0 -0
  2311. data/lib/{facets → core/facets}/module/clone.rb +0 -0
  2312. data/lib/core/facets/module/conflict.rb +56 -0
  2313. data/lib/{facets → core/facets}/module/include_function_module.rb +0 -0
  2314. data/lib/{facets → core/facets}/module/instance_methods.rb +0 -0
  2315. data/lib/{facets → core/facets}/module/is.rb +0 -0
  2316. data/lib/{facets → core/facets}/module/modspace.rb +0 -0
  2317. data/lib/{facets → core/facets}/module/module_load.rb +0 -0
  2318. data/lib/{facets → core/facets}/module/nesting.rb +0 -0
  2319. data/lib/{facets → core/facets}/module/op.rb +0 -0
  2320. data/lib/{facets → core/facets}/module/pathize.rb +0 -0
  2321. data/lib/{facets → core/facets}/module/prepend.rb +0 -0
  2322. data/lib/{facets → core/facets}/module/revise.rb +0 -0
  2323. data/lib/{facets → core/facets}/module/spacename.rb +0 -0
  2324. data/lib/core/facets/nilclass.rb +3 -0
  2325. data/lib/core/facets/nilclass/to_f.rb +17 -0
  2326. data/lib/core/facets/numeric.rb +4 -0
  2327. data/lib/{facets → core/facets}/numeric/approx.rb +0 -0
  2328. data/lib/{facets → core/facets}/numeric/distance.rb +0 -0
  2329. data/lib/{facets → core/facets}/numeric/round.rb +0 -0
  2330. data/lib/core/facets/proc.rb +7 -0
  2331. data/lib/{facets → core/facets}/proc/bind.rb +0 -0
  2332. data/lib/{facets → core/facets}/proc/compose.rb +0 -0
  2333. data/lib/{facets → core/facets}/proc/curry.rb +0 -0
  2334. data/lib/{facets → core/facets}/proc/partial.rb +0 -0
  2335. data/lib/{facets → core/facets}/proc/to_method.rb +0 -0
  2336. data/lib/{facets → core/facets}/proc/update.rb +0 -0
  2337. data/lib/core/facets/range.rb +6 -0
  2338. data/lib/{facets → core/facets}/range/combine.rb +0 -0
  2339. data/lib/{facets → core/facets}/range/overlap.rb +0 -0
  2340. data/lib/{facets → core/facets}/range/to_r.rb +0 -0
  2341. data/lib/{facets → core/facets}/range/umbrella.rb +0 -0
  2342. data/lib/{facets → core/facets}/range/within.rb +0 -0
  2343. data/lib/core/facets/regexp.rb +3 -0
  2344. data/lib/{facets → core/facets}/regexp/arity.rb +0 -0
  2345. data/lib/{facets → core/facets}/regexp/to_re.rb +0 -0
  2346. data/lib/core/facets/string.rb +35 -0
  2347. data/lib/{facets → core/facets}/string/align.rb +0 -0
  2348. data/lib/{facets → core/facets}/string/bracket.rb +0 -0
  2349. data/lib/core/facets/string/bytes.rb +15 -0
  2350. data/lib/{facets → core/facets}/string/camelcase.rb +0 -0
  2351. data/lib/{facets → core/facets}/string/capitalized.rb +0 -0
  2352. data/lib/core/facets/string/chars.rb +16 -0
  2353. data/lib/{facets → core/facets}/string/chomp.rb +0 -0
  2354. data/lib/{facets → core/facets}/string/cleave.rb +0 -0
  2355. data/lib/{facets → core/facets}/string/divide.rb +0 -0
  2356. data/lib/core/facets/string/each_char.rb +20 -0
  2357. data/lib/core/facets/string/end_with.rb +1 -0
  2358. data/lib/{facets → core/facets}/string/fold.rb +0 -0
  2359. data/lib/{facets → core/facets}/string/interpolate.rb +0 -0
  2360. data/lib/{facets → core/facets}/string/line_wrap.rb +0 -0
  2361. data/lib/core/facets/string/lines.rb +16 -0
  2362. data/lib/{facets → core/facets}/string/mscan.rb +0 -0
  2363. data/lib/{facets → core/facets}/string/natcmp.rb +0 -0
  2364. data/lib/{facets → core/facets}/string/nchar.rb +0 -0
  2365. data/lib/{facets → core/facets}/string/range.rb +0 -0
  2366. data/lib/{facets → core/facets}/string/rewrite.rb +0 -0
  2367. data/lib/{facets → core/facets}/string/shatter.rb +0 -0
  2368. data/lib/{facets → core/facets}/string/snakecase.rb +0 -0
  2369. data/lib/{facets → core/facets}/string/splice.rb +0 -0
  2370. data/lib/core/facets/string/start_with.rb +32 -0
  2371. data/lib/{facets → core/facets}/string/subtract.rb +0 -0
  2372. data/lib/{facets → core/facets}/string/tab.rb +0 -0
  2373. data/lib/{facets → core/facets}/string/titlecase.rb +0 -0
  2374. data/lib/{facets → core/facets}/string/to_re.rb +0 -0
  2375. data/lib/core/facets/string/to_time.rb +15 -0
  2376. data/lib/{facets → core/facets}/string/words.rb +0 -0
  2377. data/lib/{facets → core/facets}/string/xor.rb +0 -0
  2378. data/lib/core/facets/symbol.rb +5 -0
  2379. data/lib/{facets → core/facets}/symbol/chomp.rb +0 -0
  2380. data/lib/{facets → core/facets}/symbol/generate.rb +0 -0
  2381. data/lib/{facets → core/facets}/symbol/not.rb +0 -0
  2382. data/lib/core/facets/symbol/succ.rb +19 -0
  2383. data/lib/core/facets/symbol/to_proc.rb +38 -0
  2384. data/lib/core/facets/time.rb +13 -0
  2385. data/lib/{facets → core/facets}/time/ago.rb +0 -0
  2386. data/lib/core/facets/time/change.rb +47 -0
  2387. data/lib/{facets → core/facets}/time/elapse.rb +0 -0
  2388. data/lib/core/facets/time/hence.rb +61 -0
  2389. data/lib/core/facets/time/round.rb +17 -0
  2390. data/lib/{facets → core/facets}/time/set.rb +0 -0
  2391. data/lib/{facets → core/facets}/time/stamp.rb +0 -0
  2392. data/lib/core/facets/time/to_date.rb +26 -0
  2393. data/lib/core/facets/time/to_time.rb +15 -0
  2394. data/lib/core/facets/time/trunc.rb +15 -0
  2395. data/lib/{facets → core/facets}/to_hash.rb +0 -0
  2396. data/lib/core/facets/unboundmethod.rb +3 -0
  2397. data/lib/{facets → core/facets}/unboundmethod/arguments.rb +0 -0
  2398. data/lib/core/facets/unboundmethod/name.rb +25 -0
  2399. data/lib/{facets → lore/facets}/basicobject.rb +0 -0
  2400. data/lib/{facets → lore/facets}/cgi.rb +0 -0
  2401. data/lib/{facets → lore/facets}/continuation.rb +0 -0
  2402. data/lib/{facets → lore/facets}/date.rb +0 -0
  2403. data/lib/{facets → lore/facets}/fileutils.rb +0 -0
  2404. data/lib/{facets → lore/facets}/fileutils/head.rb +0 -0
  2405. data/lib/{facets → lore/facets}/fileutils/safe_ln.rb +0 -0
  2406. data/lib/{facets → lore/facets}/fileutils/slice.rb +0 -0
  2407. data/lib/{facets → lore/facets}/fileutils/tail.rb +0 -0
  2408. data/lib/{facets → lore/facets}/fileutils/wc.rb +0 -0
  2409. data/lib/lore/facets/fileutils/whereis.rb +64 -0
  2410. data/lib/{facets → lore/facets}/fileutils/which.rb +0 -0
  2411. data/lib/{facets → lore/facets}/getoptlong.rb +0 -0
  2412. data/lib/{facets → lore/facets}/logger.rb +0 -0
  2413. data/lib/{facets → lore/facets}/ostruct.rb +0 -0
  2414. data/lib/lore/facets/pathname.rb +141 -0
  2415. data/lib/{facets → lore/facets}/rbconfig.rb +0 -0
  2416. data/lib/{facets → lore/facets}/set.rb +0 -0
  2417. data/lib/{facets → lore/facets}/shellwords.rb +0 -0
  2418. data/lib/{facets → lore/facets}/uri.rb +0 -0
  2419. data/lib/lore/facets/yaml.rb +75 -0
  2420. data/lib/{facets → more/facets}/1stclassmethod.rb +0 -0
  2421. data/lib/{facets → more/facets}/advisable.rb +0 -0
  2422. data/lib/{facets → more/facets}/annotations.rb +0 -0
  2423. data/lib/more/facets/ansicode.rb +320 -0
  2424. data/lib/more/facets/arguments.rb +363 -0
  2425. data/lib/{facets → more/facets}/association.rb +0 -0
  2426. data/lib/{facets → more/facets}/attr.rb +0 -0
  2427. data/lib/{facets → more/facets}/autoarray.rb +0 -0
  2428. data/lib/{facets → more/facets}/autoreload.rb +0 -0
  2429. data/lib/{facets → more/facets}/basex.rb +0 -0
  2430. data/lib/{facets → more/facets}/bbcode.rb +0 -0
  2431. data/lib/{facets → more/facets}/bicrypt.rb +0 -0
  2432. data/lib/{facets → more/facets}/binreadable.rb +0 -0
  2433. data/lib/{facets → more/facets}/buildable.rb +0 -0
  2434. data/lib/{facets → more/facets}/bytes.rb +0 -0
  2435. data/lib/{facets → more/facets}/cachedecorator.rb +0 -0
  2436. data/lib/{facets → more/facets}/capsule.rb +0 -0
  2437. data/lib/{facets → more/facets}/cattr.rb +0 -0
  2438. data/lib/{facets → more/facets}/chain.rb +0 -0
  2439. data/lib/{facets → more/facets}/class_extension.rb +0 -0
  2440. data/lib/{facets → more/facets}/classmethods.rb +0 -0
  2441. data/lib/{facets → more/facets}/cloneable.rb +0 -0
  2442. data/lib/more/facets/command.rb +436 -0
  2443. data/lib/{facets → more/facets}/consoleutils.rb +0 -0
  2444. data/lib/{facets → more/facets}/coroutine.rb +0 -0
  2445. data/lib/{facets → more/facets}/crypt.rb +0 -0
  2446. data/lib/{facets → more/facets}/cssfilter.rb +0 -0
  2447. data/lib/{facets → more/facets}/daemonize.rb +0 -0
  2448. data/lib/{facets → more/facets}/dependency.rb +0 -0
  2449. data/lib/more/facets/dictionary.rb +478 -0
  2450. data/lib/more/facets/dictionarymatcher.rb +136 -0
  2451. data/lib/{facets → more/facets}/downloader.rb +0 -0
  2452. data/lib/{facets → more/facets}/duplicable.rb +0 -0
  2453. data/lib/{facets → more/facets}/duration.rb +0 -0
  2454. data/lib/{facets → more/facets}/elementor.rb +0 -0
  2455. data/lib/{facets → more/facets}/elementwise.rb +0 -0
  2456. data/lib/{facets → more/facets}/enumerablepass.rb +0 -0
  2457. data/lib/{facets → more/facets}/equatable.rb +0 -0
  2458. data/lib/{facets → more/facets}/eventhook.rb +0 -0
  2459. data/lib/{facets → more/facets}/expirable.rb +0 -0
  2460. data/lib/{facets → more/facets}/fileable.rb +0 -0
  2461. data/lib/more/facets/filelist.rb +497 -0
  2462. data/lib/{facets → more/facets}/fileshell.rb +0 -0
  2463. data/lib/{facets → more/facets}/heap.rb +0 -0
  2464. data/lib/{facets → more/facets}/htmlfilter.rb +0 -0
  2465. data/lib/{facets → more/facets}/indexable.rb +0 -0
  2466. data/lib/{facets → more/facets}/infinity.rb +0 -0
  2467. data/lib/{facets → more/facets}/inheritor.rb +0 -0
  2468. data/lib/more/facets/ini.rb +264 -0
  2469. data/lib/{facets → more/facets}/instantiable.rb +0 -0
  2470. data/lib/{facets → more/facets}/instantise.rb +0 -0
  2471. data/lib/{facets → more/facets}/interval.rb +0 -0
  2472. data/lib/{facets → more/facets}/ioredirect.rb +0 -0
  2473. data/lib/{facets → more/facets}/iteration.rb +0 -0
  2474. data/lib/more/facets/kernel/meta.rb +32 -0
  2475. data/lib/{facets → more/facets}/linkedlist.rb +0 -0
  2476. data/lib/{facets → more/facets}/lrucache.rb +0 -0
  2477. data/lib/{facets → more/facets}/main.rb +0 -0
  2478. data/lib/{facets → more/facets}/memoize.rb +0 -0
  2479. data/lib/{facets → more/facets}/methodspace.rb +0 -0
  2480. data/lib/{facets → more/facets}/minitar.rb +0 -0
  2481. data/lib/{facets → more/facets}/multipliers.rb +0 -0
  2482. data/lib/{facets → more/facets}/multiton.rb +0 -0
  2483. data/lib/{facets → more/facets}/nackclass.rb +0 -0
  2484. data/lib/{facets → more/facets}/net/smtp_tls.rb +0 -0
  2485. data/lib/{facets → more/facets}/nilstatus.rb +0 -0
  2486. data/lib/{facets → more/facets}/nullclass.rb +0 -0
  2487. data/lib/{facets → more/facets}/opencascade.rb +0 -0
  2488. data/lib/{facets → more/facets}/opencollection.rb +0 -0
  2489. data/lib/{facets → more/facets}/openhash.rb +0 -0
  2490. data/lib/{facets → more/facets}/openobject.rb +0 -0
  2491. data/lib/{facets → more/facets}/opesc.rb +0 -0
  2492. data/lib/{facets → more/facets}/orderedhash.rb +0 -0
  2493. data/lib/more/facets/overload.rb +94 -0
  2494. data/lib/more/facets/paramix.rb +202 -0
  2495. data/lib/{facets → more/facets}/pathlist.rb +0 -0
  2496. data/lib/{facets → more/facets}/platform.rb +0 -0
  2497. data/lib/{facets → more/facets}/pool.rb +0 -0
  2498. data/lib/{facets → more/facets}/pqueue.rb +0 -0
  2499. data/lib/{facets → more/facets}/progressbar.rb +0 -0
  2500. data/lib/{facets → more/facets}/prototype.rb +0 -0
  2501. data/lib/{facets → more/facets}/random.rb +0 -0
  2502. data/lib/{facets → more/facets}/rbsystem.rb +0 -0
  2503. data/lib/{facets → more/facets}/recorder.rb +0 -0
  2504. data/lib/{facets → more/facets}/reference.rb +0 -0
  2505. data/lib/more/facets/reflection.rb +145 -0
  2506. data/lib/{facets → more/facets}/registerable.rb +0 -0
  2507. data/lib/{facets → more/facets}/rwdelegator.rb +0 -0
  2508. data/lib/{facets → more/facets}/semaphore.rb +0 -0
  2509. data/lib/{facets → more/facets}/settings.rb +0 -0
  2510. data/lib/{facets → more/facets}/snapshot.rb +0 -0
  2511. data/lib/{facets → more/facets}/stackable.rb +0 -0
  2512. data/lib/{facets → more/facets}/style.rb +0 -0
  2513. data/lib/{facets → more/facets}/succ.rb +0 -0
  2514. data/lib/{facets → more/facets}/syncarray.rb +0 -0
  2515. data/lib/{facets → more/facets}/synchash.rb +0 -0
  2516. data/lib/{facets → more/facets}/thread.rb +0 -0
  2517. data/lib/{facets → more/facets}/timer.rb +0 -0
  2518. data/lib/{facets → more/facets}/times.rb +0 -0
  2519. data/lib/{facets → more/facets}/tracepoint.rb +0 -0
  2520. data/lib/{facets → more/facets}/tuple.rb +0 -0
  2521. data/lib/{facets → more/facets}/typecast.rb +0 -0
  2522. data/lib/{facets → more/facets}/uninheritable.rb +0 -0
  2523. data/lib/{facets → more/facets}/uploadutils.rb +0 -0
  2524. data/lib/{facets → more/facets}/version.rb +0 -0
  2525. data/lib/{facets → more/facets}/xmlhash.rb +0 -0
  2526. data/lib/{facets → more/facets}/xoxo.rb +0 -0
  2527. data/lib/{facets → more/facets}/ziputils.rb +0 -0
  2528. data/test/core/array/test_combination.rb +29 -0
  2529. data/test/{array → core/array}/test_delete.rb +0 -0
  2530. data/test/{array → core/array}/test_indexable.rb +0 -0
  2531. data/test/{array → core/array}/test_merge.rb +0 -0
  2532. data/test/{array → core/array}/test_only.rb +0 -0
  2533. data/test/{array → core/array}/test_pad.rb +0 -0
  2534. data/test/core/array/test_permutation.rb +14 -0
  2535. data/test/core/array/test_product.rb +58 -0
  2536. data/test/{array → core/array}/test_rotate.rb +0 -0
  2537. data/test/{array → core/array}/test_select.rb +0 -0
  2538. data/test/{array → core/array}/test_stackable.rb +0 -0
  2539. data/test/{binding → core/binding}/test_caller.rb +0 -0
  2540. data/test/{binding → core/binding}/test_defined.rb +0 -0
  2541. data/test/core/binding/test_eval.rb +16 -0
  2542. data/test/{binding → core/binding}/test_local_variables.rb +0 -0
  2543. data/test/{binding → core/binding}/test_opvars.rb +0 -0
  2544. data/test/{binding → core/binding}/test_self.rb +0 -0
  2545. data/test/{class → core/class}/test_descendents.rb +0 -0
  2546. data/test/{comparable → core/comparable}/test_bound.rb +0 -0
  2547. data/test/{comparable → core/comparable}/test_cmp.rb +0 -0
  2548. data/test/{comparable → core/comparable}/test_comparable.rb +0 -0
  2549. data/test/{dir → core/dir}/test_ascend.rb +0 -0
  2550. data/test/{dir → core/dir}/test_descend.rb +0 -0
  2551. data/test/{dir → core/dir}/test_multiglob.rb +0 -0
  2552. data/test/{dir → core/dir}/test_parent.rb +0 -0
  2553. data/test/{dir → core/dir}/test_recurse.rb +0 -0
  2554. data/test/{enumerable → core/enumerable}/test_cluster_by.rb +0 -0
  2555. data/test/{enumerable → core/enumerable}/test_collect.rb +0 -0
  2556. data/test/core/enumerable/test_count.rb +22 -0
  2557. data/test/{enumerable → core/enumerable}/test_each_by.rb +0 -0
  2558. data/test/core/enumerable/test_group_by.rb +26 -0
  2559. data/test/{enumerable → core/enumerable}/test_inject.rb +0 -0
  2560. data/test/{enumerable → core/enumerable}/test_mash.rb +0 -0
  2561. data/test/core/enumerable/test_modulate.rb +14 -0
  2562. data/test/core/enumerable/test_none.rb +17 -0
  2563. data/test/{enumerable → core/enumerable}/test_occur.rb +0 -0
  2564. data/test/core/enumerable/test_one.rb +19 -0
  2565. data/test/{enumerable → core/enumerable}/test_probability.rb +0 -0
  2566. data/test/{enumerable → core/enumerable}/test_uniq_by.rb +0 -0
  2567. data/test/{exception → core/exception}/test_exception.rb +0 -0
  2568. data/test/{file → core/file}/test_file.rb +0 -0
  2569. data/test/{filetest → core/filetest}/test_filetest.rb +0 -0
  2570. data/test/{hash → core/hash}/test_alias.rb +0 -0
  2571. data/test/{hash → core/hash}/test_at.rb +0 -0
  2572. data/test/{hash → core/hash}/test_autonew.rb +0 -0
  2573. data/test/{hash → core/hash}/test_collate.rb +0 -0
  2574. data/test/{hash → core/hash}/test_delete.rb +0 -0
  2575. data/test/{hash → core/hash}/test_insert.rb +0 -0
  2576. data/test/{hash → core/hash}/test_inverse.rb +0 -0
  2577. data/test/{hash → core/hash}/test_keys.rb +0 -0
  2578. data/test/{hash → core/hash}/test_mash.rb +0 -0
  2579. data/test/{hash → core/hash}/test_merge.rb +0 -0
  2580. data/test/{hash → core/hash}/test_op.rb +0 -0
  2581. data/test/core/hash/test_rekey.rb +73 -0
  2582. data/test/{hash → core/hash}/test_select.rb +0 -0
  2583. data/test/{hash → core/hash}/test_stringify_keys.rb +0 -0
  2584. data/test/{hash → core/hash}/test_swap.rb +0 -0
  2585. data/test/{hash → core/hash}/test_symbolize_keys.rb +0 -0
  2586. data/test/{hash → core/hash}/test_traverse.rb +0 -0
  2587. data/test/core/hash/test_update.rb +46 -0
  2588. data/test/{hash → core/hash}/test_weave.rb +0 -0
  2589. data/test/{hash → core/hash}/test_zipnew.rb +0 -0
  2590. data/test/{integer → core/integer}/test_bitmask.rb +0 -0
  2591. data/test/core/integer/test_even.rb +25 -0
  2592. data/test/{integer → core/integer}/test_factorial.rb +0 -0
  2593. data/test/{integer → core/integer}/test_multiple.rb +0 -0
  2594. data/test/{integer → core/integer}/test_of.rb +0 -0
  2595. data/test/{integer → core/integer}/test_ordinal.rb +0 -0
  2596. data/test/{kernel → core/kernel}/test_as.rb +0 -0
  2597. data/test/{kernel → core/kernel}/test_attr_singleton.rb +0 -0
  2598. data/test/{kernel → core/kernel}/test_callstack.rb +0 -0
  2599. data/test/{kernel → core/kernel}/test_constant.rb +0 -0
  2600. data/test/{kernel → core/kernel}/test_deepcopy.rb +0 -0
  2601. data/test/{kernel → core/kernel}/test_here.rb +0 -0
  2602. data/test/{kernel → core/kernel}/test_in.rb +0 -0
  2603. data/test/{kernel → core/kernel}/test_instance_assign.rb +0 -0
  2604. data/test/{kernel → core/kernel}/test_instance_class.rb +0 -0
  2605. data/test/{kernel → core/kernel}/test_not_nil.rb +0 -0
  2606. data/test/{kernel → core/kernel}/test_object_class.rb +0 -0
  2607. data/test/{kernel → core/kernel}/test_object_hexid.rb +0 -0
  2608. data/test/{kernel → core/kernel}/test_populate.rb +0 -0
  2609. data/test/{kernel → core/kernel}/test_resc.rb +0 -0
  2610. data/test/{kernel → core/kernel}/test_returning.rb +0 -0
  2611. data/test/{kernel → core/kernel}/test_silence.rb +0 -0
  2612. data/test/core/kernel/test_tap.rb +19 -0
  2613. data/test/{kernel → core/kernel}/test_val.rb +0 -0
  2614. data/test/{matchdata → core/matchdata}/test_match.rb +0 -0
  2615. data/test/{matchdata → core/matchdata}/test_matchset.rb +0 -0
  2616. data/test/{module → core/module}/test_abstract.rb +0 -0
  2617. data/test/{module → core/module}/test_alias.rb +0 -0
  2618. data/test/{module → core/module}/test_ancestor.rb +0 -0
  2619. data/test/{module → core/module}/test_basename.rb +0 -0
  2620. data/test/{module → core/module}/test_clone.rb +0 -0
  2621. data/test/{module → core/module}/test_modspace.rb +0 -0
  2622. data/test/{module → core/module}/test_nesting.rb +0 -0
  2623. data/test/{module → core/module}/test_op.rb +0 -0
  2624. data/test/{module → core/module}/test_pathize.rb +0 -0
  2625. data/test/{module → core/module}/test_revise.rb +0 -0
  2626. data/test/{module → core/module}/test_spacename.rb +0 -0
  2627. data/test/core/nilclass/test_to_f.rb +11 -0
  2628. data/test/{numeric → core/numeric}/test_approx.rb +0 -0
  2629. data/test/{numeric → core/numeric}/test_distance.rb +0 -0
  2630. data/test/{numeric → core/numeric}/test_round.rb +0 -0
  2631. data/test/{proc → core/proc}/test_bind.rb +0 -0
  2632. data/test/{proc → core/proc}/test_compose.rb +0 -0
  2633. data/test/{proc → core/proc}/test_curry.rb +0 -0
  2634. data/test/{proc → core/proc}/test_partial.rb +0 -0
  2635. data/test/{proc → core/proc}/test_to_method.rb +0 -0
  2636. data/test/{range → core/range}/test_combine.rb +0 -0
  2637. data/test/{range → core/range}/test_overlap.rb +0 -0
  2638. data/test/{range → core/range}/test_to_r.rb +0 -0
  2639. data/test/{range → core/range}/test_within.rb +0 -0
  2640. data/test/{regexp → core/regexp}/test_arity.rb +0 -0
  2641. data/test/{regexp → core/regexp}/test_to_re.rb +0 -0
  2642. data/test/{string → core/string}/test_align.rb +0 -0
  2643. data/test/{string → core/string}/test_bracket.rb +0 -0
  2644. data/test/core/string/test_bytes.rb +12 -0
  2645. data/test/{string → core/string}/test_camelcase.rb +0 -0
  2646. data/test/{string → core/string}/test_capitalized.rb +0 -0
  2647. data/test/core/string/test_chars.rb +12 -0
  2648. data/test/{string → core/string}/test_cleave.rb +0 -0
  2649. data/test/{string → core/string}/test_divide.rb +0 -0
  2650. data/test/core/string/test_each_char.rb +14 -0
  2651. data/test/{string → core/string}/test_fold.rb +0 -0
  2652. data/test/{string → core/string}/test_interpolate.rb +0 -0
  2653. data/test/{string → core/string}/test_line_wrap.rb +0 -0
  2654. data/test/core/string/test_lines.rb +11 -0
  2655. data/test/{string → core/string}/test_mscan.rb +0 -0
  2656. data/test/{string → core/string}/test_natcmp.rb +0 -0
  2657. data/test/{string → core/string}/test_nchar.rb +0 -0
  2658. data/test/{string → core/string}/test_range.rb +0 -0
  2659. data/test/{string → core/string}/test_shatter.rb +0 -0
  2660. data/test/{string → core/string}/test_snakecase.rb +0 -0
  2661. data/test/{string → core/string}/test_subtract.rb +0 -0
  2662. data/test/{string → core/string}/test_tab.rb +0 -0
  2663. data/test/{string → core/string}/test_titlecase.rb +0 -0
  2664. data/test/{string → core/string}/test_to_re.rb +0 -0
  2665. data/test/core/string/test_to_time.rb +15 -0
  2666. data/test/{string → core/string}/test_words.rb +0 -0
  2667. data/test/{string → core/string}/test_xor.rb +0 -0
  2668. data/test/{symbol → core/symbol}/test_chomp.rb +0 -0
  2669. data/test/{symbol → core/symbol}/test_generate.rb +0 -0
  2670. data/test/{symbol → core/symbol}/test_not.rb +0 -0
  2671. data/test/core/symbol/test_succ.rb +13 -0
  2672. data/test/core/symbol/test_to_proc.rb +32 -0
  2673. data/test/{time → core/time}/test_change.rb +0 -0
  2674. data/test/{time → core/time}/test_elapse.rb +0 -0
  2675. data/test/core/time/test_hence.rb +13 -0
  2676. data/test/core/time/test_round.rb +31 -0
  2677. data/test/{time → core/time}/test_stamp.rb +0 -0
  2678. data/test/core/time/test_to_date.rb +12 -0
  2679. data/test/core/time/test_to_time.rb +12 -0
  2680. data/test/core/time/test_trunc.rb +31 -0
  2681. data/test/{test_basicobject.rb → lore/test_basicobject.rb} +0 -0
  2682. data/test/{test_continuation.rb → lore/test_continuation.rb} +0 -0
  2683. data/test/{test_date.rb → lore/test_date.rb} +0 -0
  2684. data/test/{test_ostruct.rb → lore/test_ostruct.rb} +0 -0
  2685. data/test/{test_1stclassmethod.rb → more/test_1stclassmethod.rb} +0 -0
  2686. data/test/{test_advisable.rb → more/test_advisable.rb} +0 -0
  2687. data/test/{test_annotations.rb → more/test_annotations.rb} +0 -0
  2688. data/test/more/test_ansicode.rb +20 -0
  2689. data/test/{test_arguments.rb → more/test_arguments.rb} +0 -0
  2690. data/test/{test_association.rb → more/test_association.rb} +0 -0
  2691. data/test/{test_autoarray.rb → more/test_autoarray.rb} +0 -0
  2692. data/test/{test_bbcode.rb → more/test_bbcode.rb} +0 -0
  2693. data/test/{test_binreadable.rb → more/test_binreadable.rb} +0 -0
  2694. data/test/{test_blank.rb → more/test_blank.rb} +0 -0
  2695. data/test/{test_boolean.rb → more/test_boolean.rb} +0 -0
  2696. data/test/{test_buildable.rb → more/test_buildable.rb} +0 -0
  2697. data/test/{test_bytes.rb → more/test_bytes.rb} +0 -0
  2698. data/test/{test_cattr.rb → more/test_cattr.rb} +0 -0
  2699. data/test/{test_class_extension.rb → more/test_class_extension.rb} +0 -0
  2700. data/test/{test_classmethods.rb → more/test_classmethods.rb} +0 -0
  2701. data/test/{test_cloneable.rb → more/test_cloneable.rb} +0 -0
  2702. data/test/{test_command.rb → more/test_command.rb} +0 -0
  2703. data/test/{test_coroutine.rb → more/test_coroutine.rb} +0 -0
  2704. data/test/{test_crypt.rb → more/test_crypt.rb} +0 -0
  2705. data/test/{test_dependency.rb → more/test_dependency.rb} +0 -0
  2706. data/test/more/test_dictionary.rb +145 -0
  2707. data/test/{test_elementor.rb → more/test_elementor.rb} +0 -0
  2708. data/test/{test_elementwise.rb → more/test_elementwise.rb} +0 -0
  2709. data/test/{test_enumerablepass.rb → more/test_enumerablepass.rb} +0 -0
  2710. data/test/{test_equatable.rb → more/test_equatable.rb} +0 -0
  2711. data/test/{test_functor.rb → more/test_functor.rb} +0 -0
  2712. data/test/{test_getoptlong.rb → more/test_getoptlong.rb} +0 -0
  2713. data/test/{test_infinity.rb → more/test_infinity.rb} +0 -0
  2714. data/test/{test_inheritor.rb → more/test_inheritor.rb} +0 -0
  2715. data/test/{test_instantiable.rb → more/test_instantiable.rb} +0 -0
  2716. data/test/{test_instantise.rb → more/test_instantise.rb} +0 -0
  2717. data/test/{test_interval.rb → more/test_interval.rb} +0 -0
  2718. data/test/{test_linkedlist.rb → more/test_linkedlist.rb} +0 -0
  2719. data/test/{test_lrucache.rb → more/test_lrucache.rb} +0 -0
  2720. data/test/{test_memoize.rb → more/test_memoize.rb} +0 -0
  2721. data/test/{test_metaid.rb → more/test_metaid.rb} +0 -0
  2722. data/test/{test_methodspace.rb → more/test_methodspace.rb} +0 -0
  2723. data/test/{test_multipliers.rb → more/test_multipliers.rb} +0 -0
  2724. data/test/{test_multiton.rb → more/test_multiton.rb} +0 -0
  2725. data/test/{test_opencascade.rb → more/test_opencascade.rb} +0 -0
  2726. data/test/{test_openobject.rb → more/test_openobject.rb} +0 -0
  2727. data/test/more/test_overload.rb +160 -0
  2728. data/test/more/test_paramix.rb +167 -0
  2729. data/test/{test_prototype.rb → more/test_prototype.rb} +0 -0
  2730. data/test/{test_random.rb → more/test_random.rb} +0 -0
  2731. data/test/{test_recorder.rb → more/test_recorder.rb} +0 -0
  2732. data/test/{test_snapshot.rb → more/test_snapshot.rb} +0 -0
  2733. data/test/{test_style.rb → more/test_style.rb} +0 -0
  2734. data/test/{test_succ.rb → more/test_succ.rb} +0 -0
  2735. data/test/{test_syncarray.rb → more/test_syncarray.rb} +0 -0
  2736. data/test/{test_synchash.rb → more/test_synchash.rb} +0 -0
  2737. data/test/{test_thread.rb → more/test_thread.rb} +0 -0
  2738. data/test/{test_timer.rb → more/test_timer.rb} +0 -0
  2739. data/test/{test_times.rb → more/test_times.rb} +0 -0
  2740. data/test/{test_to_hash.rb → more/test_to_hash.rb} +0 -0
  2741. data/test/{test_tuple.rb → more/test_tuple.rb} +0 -0
  2742. data/test/{test_typecast.rb → more/test_typecast.rb} +0 -0
  2743. data/test/{test_uninheritable.rb → more/test_uninheritable.rb} +0 -0
  2744. data/test/{test_uri.rb → more/test_uri.rb} +0 -0
  2745. data/test/{test_xoxo.rb → more/test_xoxo.rb} +0 -0
  2746. metadata +3354 -1528
  2747. data/NOTES +0 -58
  2748. data/doc/html/api.css +0 -79
  2749. data/doc/html/api/core/classes/Array.html +0 -894
  2750. data/doc/html/api/core/classes/Binding.html +0 -419
  2751. data/doc/html/api/core/classes/Class.html +0 -218
  2752. data/doc/html/api/core/classes/Comparable.html +0 -261
  2753. data/doc/html/api/core/classes/Dir.html +0 -397
  2754. data/doc/html/api/core/classes/Enumerable.html +0 -1124
  2755. data/doc/html/api/core/classes/Exception.html +0 -130
  2756. data/doc/html/api/core/classes/File.html +0 -456
  2757. data/doc/html/api/core/classes/FileTest.html +0 -118
  2758. data/doc/html/api/core/classes/Float.html +0 -133
  2759. data/doc/html/api/core/classes/Functor.html +0 -173
  2760. data/doc/html/api/core/classes/Hash.html +0 -1992
  2761. data/doc/html/api/core/classes/Indexable.html +0 -606
  2762. data/doc/html/api/core/classes/Integer.html +0 -577
  2763. data/doc/html/api/core/classes/Kernel.html +0 -2135
  2764. data/doc/html/api/core/classes/MatchData.html +0 -203
  2765. data/doc/html/api/core/classes/MissingArgument.html +0 -97
  2766. data/doc/html/api/core/classes/Module.html +0 -1605
  2767. data/doc/html/api/core/classes/Module/CloneExtensions.html +0 -188
  2768. data/doc/html/api/core/classes/Object.html +0 -147
  2769. data/doc/html/api/core/classes/Proc.html +0 -346
  2770. data/doc/html/api/core/classes/Range.html +0 -360
  2771. data/doc/html/api/core/classes/Regexp.html +0 -193
  2772. data/doc/html/api/core/classes/Stackable.html +0 -264
  2773. data/doc/html/api/core/classes/String.html +0 -2297
  2774. data/doc/html/api/core/classes/String/Words.html +0 -330
  2775. data/doc/html/api/core/classes/Time.html +0 -521
  2776. data/doc/html/api/core/classes/UnboundMethod.html +0 -196
  2777. data/doc/html/api/core/created.rid +0 -1
  2778. data/doc/html/api/core/files/AUTHORS.html +0 -256
  2779. data/doc/html/api/core/files/CHANGES.html +0 -275
  2780. data/doc/html/api/core/files/COPYING.html +0 -462
  2781. data/doc/html/api/core/files/MANIFEST.html +0 -597
  2782. data/doc/html/api/core/files/NOTES.html +0 -164
  2783. data/doc/html/api/core/files/README.html +0 -412
  2784. data/doc/html/api/core/files/lib/facets/array/conjoin_rb.html +0 -92
  2785. data/doc/html/api/core/files/lib/facets/array/delete_rb.html +0 -92
  2786. data/doc/html/api/core/files/lib/facets/array/indexable_rb.html +0 -97
  2787. data/doc/html/api/core/files/lib/facets/array/merge_rb.html +0 -92
  2788. data/doc/html/api/core/files/lib/facets/array/not_empty_rb.html +0 -92
  2789. data/doc/html/api/core/files/lib/facets/array/only_rb.html +0 -92
  2790. data/doc/html/api/core/files/lib/facets/array/pad_rb.html +0 -92
  2791. data/doc/html/api/core/files/lib/facets/array/product_rb.html +0 -96
  2792. data/doc/html/api/core/files/lib/facets/array/rotate_rb.html +0 -92
  2793. data/doc/html/api/core/files/lib/facets/array/select_rb.html +0 -92
  2794. data/doc/html/api/core/files/lib/facets/array/splice_rb.html +0 -92
  2795. data/doc/html/api/core/files/lib/facets/array/stackable_rb.html +0 -97
  2796. data/doc/html/api/core/files/lib/facets/array/traverse_rb.html +0 -92
  2797. data/doc/html/api/core/files/lib/facets/array_rb.html +0 -129
  2798. data/doc/html/api/core/files/lib/facets/binding/caller_rb.html +0 -97
  2799. data/doc/html/api/core/files/lib/facets/binding/defined_rb.html +0 -96
  2800. data/doc/html/api/core/files/lib/facets/binding/local_variables_rb.html +0 -96
  2801. data/doc/html/api/core/files/lib/facets/binding/opvars_rb.html +0 -96
  2802. data/doc/html/api/core/files/lib/facets/binding/self_rb.html +0 -96
  2803. data/doc/html/api/core/files/lib/facets/binding_rb.html +0 -99
  2804. data/doc/html/api/core/files/lib/facets/bitmask_rb.html +0 -92
  2805. data/doc/html/api/core/files/lib/facets/blank_rb.html +0 -97
  2806. data/doc/html/api/core/files/lib/facets/boolean_rb.html +0 -126
  2807. data/doc/html/api/core/files/lib/facets/callstack_rb.html +0 -92
  2808. data/doc/html/api/core/files/lib/facets/class/descendents_rb.html +0 -92
  2809. data/doc/html/api/core/files/lib/facets/class/prepend_rb.html +0 -92
  2810. data/doc/html/api/core/files/lib/facets/class/subclasses_rb.html +0 -96
  2811. data/doc/html/api/core/files/lib/facets/class_rb.html +0 -97
  2812. data/doc/html/api/core/files/lib/facets/comparable/bound_rb.html +0 -92
  2813. data/doc/html/api/core/files/lib/facets/comparable/cmp_rb.html +0 -92
  2814. data/doc/html/api/core/files/lib/facets/comparable/comparable_rb.html +0 -109
  2815. data/doc/html/api/core/files/lib/facets/comparable_rb.html +0 -99
  2816. data/doc/html/api/core/files/lib/facets/dir/ascend_rb.html +0 -92
  2817. data/doc/html/api/core/files/lib/facets/dir/descend_rb.html +0 -96
  2818. data/doc/html/api/core/files/lib/facets/dir/multiglob_rb.html +0 -92
  2819. data/doc/html/api/core/files/lib/facets/dir/parent_rb.html +0 -92
  2820. data/doc/html/api/core/files/lib/facets/dir/recurse_rb.html +0 -92
  2821. data/doc/html/api/core/files/lib/facets/dir_rb.html +0 -102
  2822. data/doc/html/api/core/files/lib/facets/duplicable_rb.html +0 -100
  2823. data/doc/html/api/core/files/lib/facets/enumerable/accumulate_rb.html +0 -96
  2824. data/doc/html/api/core/files/lib/facets/enumerable/cluster_by_rb.html +0 -96
  2825. data/doc/html/api/core/files/lib/facets/enumerable/collect_rb.html +0 -92
  2826. data/doc/html/api/core/files/lib/facets/enumerable/divide_rb.html +0 -92
  2827. data/doc/html/api/core/files/lib/facets/enumerable/duplicates_rb.html +0 -92
  2828. data/doc/html/api/core/files/lib/facets/enumerable/each_by_rb.html +0 -96
  2829. data/doc/html/api/core/files/lib/facets/enumerable/inject_rb.html +0 -92
  2830. data/doc/html/api/core/files/lib/facets/enumerable/map_send_rb.html +0 -92
  2831. data/doc/html/api/core/files/lib/facets/enumerable/mash_rb.html +0 -92
  2832. data/doc/html/api/core/files/lib/facets/enumerable/mode_rb.html +0 -92
  2833. data/doc/html/api/core/files/lib/facets/enumerable/modulate_rb.html +0 -92
  2834. data/doc/html/api/core/files/lib/facets/enumerable/occur_rb.html +0 -92
  2835. data/doc/html/api/core/files/lib/facets/enumerable/probability_rb.html +0 -92
  2836. data/doc/html/api/core/files/lib/facets/enumerable/split_rb.html +0 -92
  2837. data/doc/html/api/core/files/lib/facets/enumerable/sum_rb.html +0 -92
  2838. data/doc/html/api/core/files/lib/facets/enumerable/uniq_by_rb.html +0 -92
  2839. data/doc/html/api/core/files/lib/facets/enumerable_rb.html +0 -111
  2840. data/doc/html/api/core/files/lib/facets/exception/detail_rb.html +0 -92
  2841. data/doc/html/api/core/files/lib/facets/exception_rb.html +0 -96
  2842. data/doc/html/api/core/files/lib/facets/file/null_rb.html +0 -92
  2843. data/doc/html/api/core/files/lib/facets/file/read_rb.html +0 -92
  2844. data/doc/html/api/core/files/lib/facets/file/rewrite_rb.html +0 -92
  2845. data/doc/html/api/core/files/lib/facets/file/rootname_rb.html +0 -92
  2846. data/doc/html/api/core/files/lib/facets/file/write_rb.html +0 -92
  2847. data/doc/html/api/core/files/lib/facets/file_rb.html +0 -100
  2848. data/doc/html/api/core/files/lib/facets/filetest/root_rb.html +0 -92
  2849. data/doc/html/api/core/files/lib/facets/filetest_rb.html +0 -97
  2850. data/doc/html/api/core/files/lib/facets/functor_rb.html +0 -151
  2851. data/doc/html/api/core/files/lib/facets/hash/alias_rb.html +0 -92
  2852. data/doc/html/api/core/files/lib/facets/hash/argumentize_rb.html +0 -92
  2853. data/doc/html/api/core/files/lib/facets/hash/at_rb.html +0 -92
  2854. data/doc/html/api/core/files/lib/facets/hash/autonew_rb.html +0 -92
  2855. data/doc/html/api/core/files/lib/facets/hash/collate_rb.html +0 -92
  2856. data/doc/html/api/core/files/lib/facets/hash/delete_rb.html +0 -92
  2857. data/doc/html/api/core/files/lib/facets/hash/diff_rb.html +0 -92
  2858. data/doc/html/api/core/files/lib/facets/hash/except_rb.html +0 -92
  2859. data/doc/html/api/core/files/lib/facets/hash/insert_rb.html +0 -92
  2860. data/doc/html/api/core/files/lib/facets/hash/inverse_rb.html +0 -92
  2861. data/doc/html/api/core/files/lib/facets/hash/join_rb.html +0 -92
  2862. data/doc/html/api/core/files/lib/facets/hash/keys_rb.html +0 -92
  2863. data/doc/html/api/core/files/lib/facets/hash/mash_rb.html +0 -96
  2864. data/doc/html/api/core/files/lib/facets/hash/merge_rb.html +0 -92
  2865. data/doc/html/api/core/files/lib/facets/hash/op_rb.html +0 -92
  2866. data/doc/html/api/core/files/lib/facets/hash/rekey_rb.html +0 -96
  2867. data/doc/html/api/core/files/lib/facets/hash/select_rb.html +0 -92
  2868. data/doc/html/api/core/files/lib/facets/hash/slice_rb.html +0 -92
  2869. data/doc/html/api/core/files/lib/facets/hash/stringify_keys_rb.html +0 -96
  2870. data/doc/html/api/core/files/lib/facets/hash/swap_rb.html +0 -92
  2871. data/doc/html/api/core/files/lib/facets/hash/symbolize_keys_rb.html +0 -96
  2872. data/doc/html/api/core/files/lib/facets/hash/to_h_rb.html +0 -96
  2873. data/doc/html/api/core/files/lib/facets/hash/to_proc_rb.html +0 -92
  2874. data/doc/html/api/core/files/lib/facets/hash/to_struct_rb.html +0 -92
  2875. data/doc/html/api/core/files/lib/facets/hash/traverse_rb.html +0 -92
  2876. data/doc/html/api/core/files/lib/facets/hash/update_rb.html +0 -92
  2877. data/doc/html/api/core/files/lib/facets/hash/weave_rb.html +0 -92
  2878. data/doc/html/api/core/files/lib/facets/hash/zipnew_rb.html +0 -96
  2879. data/doc/html/api/core/files/lib/facets/hash_rb.html +0 -118
  2880. data/doc/html/api/core/files/lib/facets/indexable_rb.html +0 -113
  2881. data/doc/html/api/core/files/lib/facets/integer/factorial_rb.html +0 -92
  2882. data/doc/html/api/core/files/lib/facets/integer/multiple_rb.html +0 -92
  2883. data/doc/html/api/core/files/lib/facets/integer/of_rb.html +0 -92
  2884. data/doc/html/api/core/files/lib/facets/integer/ordinal_rb.html +0 -92
  2885. data/doc/html/api/core/files/lib/facets/integer_rb.html +0 -100
  2886. data/doc/html/api/core/files/lib/facets/kernel/__dir___rb.html +0 -92
  2887. data/doc/html/api/core/files/lib/facets/kernel/as_rb.html +0 -96
  2888. data/doc/html/api/core/files/lib/facets/kernel/ask_rb.html +0 -92
  2889. data/doc/html/api/core/files/lib/facets/kernel/attr_singleton_rb.html +0 -92
  2890. data/doc/html/api/core/files/lib/facets/kernel/complete_rb.html +0 -92
  2891. data/doc/html/api/core/files/lib/facets/kernel/constant_rb.html +0 -92
  2892. data/doc/html/api/core/files/lib/facets/kernel/d_rb.html +0 -92
  2893. data/doc/html/api/core/files/lib/facets/kernel/deep_copy_rb.html +0 -92
  2894. data/doc/html/api/core/files/lib/facets/kernel/demo_rb.html +0 -92
  2895. data/doc/html/api/core/files/lib/facets/kernel/ergo_rb.html +0 -96
  2896. data/doc/html/api/core/files/lib/facets/kernel/here_rb.html +0 -92
  2897. data/doc/html/api/core/files/lib/facets/kernel/in_rb.html +0 -92
  2898. data/doc/html/api/core/files/lib/facets/kernel/instance_exec_rb.html +0 -96
  2899. data/doc/html/api/core/files/lib/facets/kernel/instance_rb.html +0 -92
  2900. data/doc/html/api/core/files/lib/facets/kernel/load_rb.html +0 -92
  2901. data/doc/html/api/core/files/lib/facets/kernel/maybe_rb.html +0 -92
  2902. data/doc/html/api/core/files/lib/facets/kernel/not_nil_rb.html +0 -92
  2903. data/doc/html/api/core/files/lib/facets/kernel/object_rb.html +0 -92
  2904. data/doc/html/api/core/files/lib/facets/kernel/p_rb.html +0 -92
  2905. data/doc/html/api/core/files/lib/facets/kernel/populate_rb.html +0 -92
  2906. data/doc/html/api/core/files/lib/facets/kernel/resc_rb.html +0 -92
  2907. data/doc/html/api/core/files/lib/facets/kernel/respond_rb.html +0 -92
  2908. data/doc/html/api/core/files/lib/facets/kernel/returning_rb.html +0 -92
  2909. data/doc/html/api/core/files/lib/facets/kernel/silence_rb.html +0 -92
  2910. data/doc/html/api/core/files/lib/facets/kernel/singleton_class_rb.html +0 -92
  2911. data/doc/html/api/core/files/lib/facets/kernel/try_rb.html +0 -92
  2912. data/doc/html/api/core/files/lib/facets/kernel/val_rb.html +0 -92
  2913. data/doc/html/api/core/files/lib/facets/kernel/with_rb.html +0 -92
  2914. data/doc/html/api/core/files/lib/facets/kernel_rb.html +0 -115
  2915. data/doc/html/api/core/files/lib/facets/matchdata/match_rb.html +0 -92
  2916. data/doc/html/api/core/files/lib/facets/matchdata/matchset_rb.html +0 -92
  2917. data/doc/html/api/core/files/lib/facets/matchdata_rb.html +0 -98
  2918. data/doc/html/api/core/files/lib/facets/metaid_rb.html +0 -92
  2919. data/doc/html/api/core/files/lib/facets/module/abstract_rb.html +0 -92
  2920. data/doc/html/api/core/files/lib/facets/module/alias_rb.html +0 -92
  2921. data/doc/html/api/core/files/lib/facets/module/ancestor_rb.html +0 -92
  2922. data/doc/html/api/core/files/lib/facets/module/can_rb.html +0 -92
  2923. data/doc/html/api/core/files/lib/facets/module/class_rb.html +0 -92
  2924. data/doc/html/api/core/files/lib/facets/module/clone_rb.html +0 -92
  2925. data/doc/html/api/core/files/lib/facets/module/conflict_rb.html +0 -92
  2926. data/doc/html/api/core/files/lib/facets/module/include_function_module_rb.html +0 -92
  2927. data/doc/html/api/core/files/lib/facets/module/instance_methods_rb.html +0 -92
  2928. data/doc/html/api/core/files/lib/facets/module/is_rb.html +0 -92
  2929. data/doc/html/api/core/files/lib/facets/module/module_load_rb.html +0 -92
  2930. data/doc/html/api/core/files/lib/facets/module/nesting_rb.html +0 -92
  2931. data/doc/html/api/core/files/lib/facets/module/op_rb.html +0 -92
  2932. data/doc/html/api/core/files/lib/facets/module/pathize_rb.html +0 -92
  2933. data/doc/html/api/core/files/lib/facets/module/prepend_rb.html +0 -92
  2934. data/doc/html/api/core/files/lib/facets/module/revise_rb.html +0 -92
  2935. data/doc/html/api/core/files/lib/facets/module_rb.html +0 -109
  2936. data/doc/html/api/core/files/lib/facets/nilclass_rb.html +0 -96
  2937. data/doc/html/api/core/files/lib/facets/numeric/approx_rb.html +0 -92
  2938. data/doc/html/api/core/files/lib/facets/numeric/distance_rb.html +0 -92
  2939. data/doc/html/api/core/files/lib/facets/numeric/round_rb.html +0 -92
  2940. data/doc/html/api/core/files/lib/facets/numeric_rb.html +0 -98
  2941. data/doc/html/api/core/files/lib/facets/proc/bind_rb.html +0 -92
  2942. data/doc/html/api/core/files/lib/facets/proc/compose_rb.html +0 -92
  2943. data/doc/html/api/core/files/lib/facets/proc/curry_rb.html +0 -92
  2944. data/doc/html/api/core/files/lib/facets/proc/partial_rb.html +0 -125
  2945. data/doc/html/api/core/files/lib/facets/proc/to_method_rb.html +0 -96
  2946. data/doc/html/api/core/files/lib/facets/proc/update_rb.html +0 -92
  2947. data/doc/html/api/core/files/lib/facets/proc_rb.html +0 -99
  2948. data/doc/html/api/core/files/lib/facets/range/combine_rb.html +0 -92
  2949. data/doc/html/api/core/files/lib/facets/range/overlap_rb.html +0 -92
  2950. data/doc/html/api/core/files/lib/facets/range/to_r_rb.html +0 -92
  2951. data/doc/html/api/core/files/lib/facets/range/umbrella_rb.html +0 -96
  2952. data/doc/html/api/core/files/lib/facets/range/within_rb.html +0 -92
  2953. data/doc/html/api/core/files/lib/facets/range_rb.html +0 -99
  2954. data/doc/html/api/core/files/lib/facets/regexp/arity_rb.html +0 -92
  2955. data/doc/html/api/core/files/lib/facets/regexp/to_re_rb.html +0 -92
  2956. data/doc/html/api/core/files/lib/facets/regexp_rb.html +0 -98
  2957. data/doc/html/api/core/files/lib/facets/ruby_rb.html +0 -110
  2958. data/doc/html/api/core/files/lib/facets/stackable_rb.html +0 -120
  2959. data/doc/html/api/core/files/lib/facets/string/align_rb.html +0 -92
  2960. data/doc/html/api/core/files/lib/facets/string/bracket_rb.html +0 -92
  2961. data/doc/html/api/core/files/lib/facets/string/camelcase_rb.html +0 -92
  2962. data/doc/html/api/core/files/lib/facets/string/capitalized_rb.html +0 -92
  2963. data/doc/html/api/core/files/lib/facets/string/chomp_rb.html +0 -92
  2964. data/doc/html/api/core/files/lib/facets/string/cleave_rb.html +0 -92
  2965. data/doc/html/api/core/files/lib/facets/string/divide_rb.html +0 -92
  2966. data/doc/html/api/core/files/lib/facets/string/fold_rb.html +0 -92
  2967. data/doc/html/api/core/files/lib/facets/string/interpolate_rb.html +0 -92
  2968. data/doc/html/api/core/files/lib/facets/string/line_wrap_rb.html +0 -92
  2969. data/doc/html/api/core/files/lib/facets/string/mscan_rb.html +0 -92
  2970. data/doc/html/api/core/files/lib/facets/string/natcmp_rb.html +0 -92
  2971. data/doc/html/api/core/files/lib/facets/string/nchar_rb.html +0 -92
  2972. data/doc/html/api/core/files/lib/facets/string/range_rb.html +0 -92
  2973. data/doc/html/api/core/files/lib/facets/string/rewrite_rb.html +0 -92
  2974. data/doc/html/api/core/files/lib/facets/string/shatter_rb.html +0 -92
  2975. data/doc/html/api/core/files/lib/facets/string/snakecase_rb.html +0 -92
  2976. data/doc/html/api/core/files/lib/facets/string/splice_rb.html +0 -92
  2977. data/doc/html/api/core/files/lib/facets/string/stylize_rb.html +0 -92
  2978. data/doc/html/api/core/files/lib/facets/string/subtract_rb.html +0 -92
  2979. data/doc/html/api/core/files/lib/facets/string/tab_rb.html +0 -92
  2980. data/doc/html/api/core/files/lib/facets/string/titlecase_rb.html +0 -92
  2981. data/doc/html/api/core/files/lib/facets/string/to_re_rb.html +0 -92
  2982. data/doc/html/api/core/files/lib/facets/string/to_time_rb.html +0 -98
  2983. data/doc/html/api/core/files/lib/facets/string/underscore_rb.html +0 -92
  2984. data/doc/html/api/core/files/lib/facets/string/words_rb.html +0 -96
  2985. data/doc/html/api/core/files/lib/facets/string/xor_rb.html +0 -92
  2986. data/doc/html/api/core/files/lib/facets/string_rb.html +0 -109
  2987. data/doc/html/api/core/files/lib/facets/symbol/chomp_rb.html +0 -92
  2988. data/doc/html/api/core/files/lib/facets/symbol/generate_rb.html +0 -92
  2989. data/doc/html/api/core/files/lib/facets/symbol/not_rb.html +0 -92
  2990. data/doc/html/api/core/files/lib/facets/symbol_rb.html +0 -98
  2991. data/doc/html/api/core/files/lib/facets/time/ago_rb.html +0 -96
  2992. data/doc/html/api/core/files/lib/facets/time/change_rb.html +0 -92
  2993. data/doc/html/api/core/files/lib/facets/time/elapse_rb.html +0 -92
  2994. data/doc/html/api/core/files/lib/facets/time/hence_rb.html +0 -92
  2995. data/doc/html/api/core/files/lib/facets/time/set_rb.html +0 -96
  2996. data/doc/html/api/core/files/lib/facets/time/stamp_rb.html +0 -92
  2997. data/doc/html/api/core/files/lib/facets/time_rb.html +0 -99
  2998. data/doc/html/api/core/files/lib/facets/to_hash_rb.html +0 -92
  2999. data/doc/html/api/core/files/lib/facets/unboundmethod/arguments_rb.html +0 -92
  3000. data/doc/html/api/core/files/lib/facets/unboundmethod_rb.html +0 -97
  3001. data/doc/html/api/core/fr_class_index.html +0 -74
  3002. data/doc/html/api/core/fr_file_index.html +0 -269
  3003. data/doc/html/api/core/fr_method_index.html +0 -463
  3004. data/doc/html/api/core/index.html +0 -26
  3005. data/doc/html/api/more/classes/ANSICode.html +0 -495
  3006. data/doc/html/api/more/classes/Advisable.html +0 -271
  3007. data/doc/html/api/more/classes/Advisable/Method.html +0 -251
  3008. data/doc/html/api/more/classes/Archive.html +0 -89
  3009. data/doc/html/api/more/classes/Archive/Tar.html +0 -89
  3010. data/doc/html/api/more/classes/Archive/Tar/Minitar.html +0 -470
  3011. data/doc/html/api/more/classes/Archive/Tar/Minitar/Input.html +0 -380
  3012. data/doc/html/api/more/classes/Archive/Tar/Minitar/Output.html +0 -218
  3013. data/doc/html/api/more/classes/Archive/Tar/Minitar/Reader.html +0 -285
  3014. data/doc/html/api/more/classes/Archive/Tar/Minitar/Writer.html +0 -419
  3015. data/doc/html/api/more/classes/Association.html +0 -307
  3016. data/doc/html/api/more/classes/Association/Kernel.html +0 -134
  3017. data/doc/html/api/more/classes/Autoarray.html +0 -168
  3018. data/doc/html/api/more/classes/BBCode.html +0 -534
  3019. data/doc/html/api/more/classes/BasicObject.html +0 -260
  3020. data/doc/html/api/more/classes/Behavior.html +0 -145
  3021. data/doc/html/api/more/classes/BiCrypt.html +0 -543
  3022. data/doc/html/api/more/classes/BigDuration.html +0 -327
  3023. data/doc/html/api/more/classes/BinReadable.html +0 -536
  3024. data/doc/html/api/more/classes/BinReadable/ByteOrder.html +0 -225
  3025. data/doc/html/api/more/classes/Buildable.html +0 -154
  3026. data/doc/html/api/more/classes/BuildingBlock.html +0 -362
  3027. data/doc/html/api/more/classes/CGI.html +0 -187
  3028. data/doc/html/api/more/classes/CLI.html +0 -108
  3029. data/doc/html/api/more/classes/CLI/Arguments.html +0 -709
  3030. data/doc/html/api/more/classes/CLI/Command.html +0 -436
  3031. data/doc/html/api/more/classes/CLI/Command/UniversalOptions.html +0 -91
  3032. data/doc/html/api/more/classes/CLI/NoCommandError.html +0 -113
  3033. data/doc/html/api/more/classes/CLI/NoOptionError.html +0 -120
  3034. data/doc/html/api/more/classes/CacheDecorator.html +0 -224
  3035. data/doc/html/api/more/classes/Capsule.html +0 -410
  3036. data/doc/html/api/more/classes/Capsule/MissingFile.html +0 -96
  3037. data/doc/html/api/more/classes/Chain.html +0 -208
  3038. data/doc/html/api/more/classes/Cloneable.html +0 -131
  3039. data/doc/html/api/more/classes/Config.html +0 -137
  3040. data/doc/html/api/more/classes/ConsoleUtils.html +0 -240
  3041. data/doc/html/api/more/classes/Continuation.html +0 -115
  3042. data/doc/html/api/more/classes/Coroutine.html +0 -286
  3043. data/doc/html/api/more/classes/Crypt.html +0 -277
  3044. data/doc/html/api/more/classes/CssFilter.html +0 -473
  3045. data/doc/html/api/more/classes/CssTree.html +0 -149
  3046. data/doc/html/api/more/classes/Date.html +0 -252
  3047. data/doc/html/api/more/classes/Dictionary.html +0 -1247
  3048. data/doc/html/api/more/classes/Downloader.html +0 -514
  3049. data/doc/html/api/more/classes/Duration.html +0 -769
  3050. data/doc/html/api/more/classes/Enumerable.html +0 -340
  3051. data/doc/html/api/more/classes/Enumerable/Elementor.html +0 -172
  3052. data/doc/html/api/more/classes/Enumerable/Enumerator.html +0 -118
  3053. data/doc/html/api/more/classes/EnumerablePass.html +0 -216
  3054. data/doc/html/api/more/classes/Equatable.html +0 -190
  3055. data/doc/html/api/more/classes/EventHook.html +0 -176
  3056. data/doc/html/api/more/classes/Expirable.html +0 -197
  3057. data/doc/html/api/more/classes/File.html +0 -130
  3058. data/doc/html/api/more/classes/FileList.html +0 -982
  3059. data/doc/html/api/more/classes/FileShell.html +0 -774
  3060. data/doc/html/api/more/classes/FileUtils.html +0 -454
  3061. data/doc/html/api/more/classes/Fileable.html +0 -181
  3062. data/doc/html/api/more/classes/Fileable/DSL.html +0 -306
  3063. data/doc/html/api/more/classes/GetoptLong.html +0 -120
  3064. data/doc/html/api/more/classes/GetoptLong/DSL.html +0 -210
  3065. data/doc/html/api/more/classes/Hash2Xml.html +0 -177
  3066. data/doc/html/api/more/classes/HtmlFilter.html +0 -850
  3067. data/doc/html/api/more/classes/IORedirect.html +0 -222
  3068. data/doc/html/api/more/classes/InfinityClass.html +0 -452
  3069. data/doc/html/api/more/classes/InfinityClass/Numeric.html +0 -197
  3070. data/doc/html/api/more/classes/InstanceReflection.html +0 -129
  3071. data/doc/html/api/more/classes/Instantiable.html +0 -142
  3072. data/doc/html/api/more/classes/Instantise.html +0 -162
  3073. data/doc/html/api/more/classes/Interval.html +0 -879
  3074. data/doc/html/api/more/classes/It.html +0 -207
  3075. data/doc/html/api/more/classes/LRUCache.html +0 -464
  3076. data/doc/html/api/more/classes/LRUCache/Item.html +0 -114
  3077. data/doc/html/api/more/classes/LRUCache/Sentinel.html +0 -100
  3078. data/doc/html/api/more/classes/Lazy.html +0 -96
  3079. data/doc/html/api/more/classes/Lazy/Future.html +0 -100
  3080. data/doc/html/api/more/classes/Lazy/Promise.html +0 -112
  3081. data/doc/html/api/more/classes/Lazy/PromiseSafe.html +0 -99
  3082. data/doc/html/api/more/classes/LinkedList.html +0 -494
  3083. data/doc/html/api/more/classes/LinkedList/Node.html +0 -151
  3084. data/doc/html/api/more/classes/Logger.html +0 -231
  3085. data/doc/html/api/more/classes/Logger/Ansicolor.html +0 -279
  3086. data/doc/html/api/more/classes/Logger/LogDevice.html +0 -123
  3087. data/doc/html/api/more/classes/Module.html +0 -1410
  3088. data/doc/html/api/more/classes/Multiton.html +0 -207
  3089. data/doc/html/api/more/classes/Multiton/Inclusive.html +0 -128
  3090. data/doc/html/api/more/classes/Multiton/MetaMethods.html +0 -270
  3091. data/doc/html/api/more/classes/NackClass.html +0 -99
  3092. data/doc/html/api/more/classes/Net/SMTP.html +0 -259
  3093. data/doc/html/api/more/classes/NilClass.html +0 -227
  3094. data/doc/html/api/more/classes/NullClass.html +0 -204
  3095. data/doc/html/api/more/classes/Numeric.html +0 -1188
  3096. data/doc/html/api/more/classes/ObjectReflection.html +0 -145
  3097. data/doc/html/api/more/classes/OpEsc.html +0 -138
  3098. data/doc/html/api/more/classes/OpenCascade.html +0 -144
  3099. data/doc/html/api/more/classes/OpenCollection.html +0 -140
  3100. data/doc/html/api/more/classes/OpenHash.html +0 -158
  3101. data/doc/html/api/more/classes/OpenObject.html +0 -604
  3102. data/doc/html/api/more/classes/OpenStruct.html +0 -413
  3103. data/doc/html/api/more/classes/PQueue.html +0 -734
  3104. data/doc/html/api/more/classes/PathList.html +0 -161
  3105. data/doc/html/api/more/classes/PathList/Finder.html +0 -137
  3106. data/doc/html/api/more/classes/Pathname.html +0 -178
  3107. data/doc/html/api/more/classes/Pool.html +0 -206
  3108. data/doc/html/api/more/classes/Proc.html +0 -138
  3109. data/doc/html/api/more/classes/ProgressBar.html +0 -683
  3110. data/doc/html/api/more/classes/Prototype.html +0 -245
  3111. data/doc/html/api/more/classes/RWDelegator.html +0 -196
  3112. data/doc/html/api/more/classes/Random.html +0 -164
  3113. data/doc/html/api/more/classes/Random/Array.html +0 -341
  3114. data/doc/html/api/more/classes/Random/Hash.html +0 -380
  3115. data/doc/html/api/more/classes/Random/Object.html +0 -121
  3116. data/doc/html/api/more/classes/Random/String.html +0 -301
  3117. data/doc/html/api/more/classes/Random/String/Self.html +0 -155
  3118. data/doc/html/api/more/classes/Recorder.html +0 -205
  3119. data/doc/html/api/more/classes/RecursiveDependency.html +0 -92
  3120. data/doc/html/api/more/classes/Reference.html +0 -198
  3121. data/doc/html/api/more/classes/Registerable.html +0 -159
  3122. data/doc/html/api/more/classes/Semaphore.html +0 -262
  3123. data/doc/html/api/more/classes/Set.html +0 -119
  3124. data/doc/html/api/more/classes/Settings.html +0 -290
  3125. data/doc/html/api/more/classes/Settings/Setting.html +0 -225
  3126. data/doc/html/api/more/classes/Settings/SettingCollection.html +0 -144
  3127. data/doc/html/api/more/classes/Shellwords.html +0 -113
  3128. data/doc/html/api/more/classes/SimpleStringIO.html +0 -137
  3129. data/doc/html/api/more/classes/Snapshot.html +0 -196
  3130. data/doc/html/api/more/classes/Snapshot/ValueHolder.html +0 -165
  3131. data/doc/html/api/more/classes/String/Style.html +0 -695
  3132. data/doc/html/api/more/classes/Struct.html +0 -132
  3133. data/doc/html/api/more/classes/SyncArray.html +0 -129
  3134. data/doc/html/api/more/classes/SyncHash.html +0 -158
  3135. data/doc/html/api/more/classes/SyncHash/Delegator.html +0 -213
  3136. data/doc/html/api/more/classes/SyncHash/Inheritor.html +0 -213
  3137. data/doc/html/api/more/classes/System.html +0 -1119
  3138. data/doc/html/api/more/classes/Timer.html +0 -466
  3139. data/doc/html/api/more/classes/Timer/Dummy.html +0 -141
  3140. data/doc/html/api/more/classes/TracePoint.html +0 -455
  3141. data/doc/html/api/more/classes/Tuple.html +0 -902
  3142. data/doc/html/api/more/classes/TypeCast.html +0 -158
  3143. data/doc/html/api/more/classes/TypeCast/Class.html +0 -129
  3144. data/doc/html/api/more/classes/TypeCast/Object.html +0 -119
  3145. data/doc/html/api/more/classes/TypeCastException.html +0 -96
  3146. data/doc/html/api/more/classes/URI.html +0 -455
  3147. data/doc/html/api/more/classes/URI/Hash.html +0 -107
  3148. data/doc/html/api/more/classes/URI/Kernel.html +0 -124
  3149. data/doc/html/api/more/classes/Uninheritable.html +0 -122
  3150. data/doc/html/api/more/classes/UploadUtils.html +0 -499
  3151. data/doc/html/api/more/classes/VersionNumber.html +0 -384
  3152. data/doc/html/api/more/classes/Weekdays.html +0 -248
  3153. data/doc/html/api/more/classes/XOXO.html +0 -252
  3154. data/doc/html/api/more/classes/ZipUtils.html +0 -437
  3155. data/doc/html/api/more/classes/ZipUtils/DryRun.html +0 -225
  3156. data/doc/html/api/more/classes/ZipUtils/NoWrite.html +0 -225
  3157. data/doc/html/api/more/classes/ZipUtils/Verbose.html +0 -225
  3158. data/doc/html/api/more/created.rid +0 -1
  3159. data/doc/html/api/more/files/AUTHORS.html +0 -257
  3160. data/doc/html/api/more/files/CHANGES.html +0 -274
  3161. data/doc/html/api/more/files/COPYING.html +0 -462
  3162. data/doc/html/api/more/files/MANIFEST.html +0 -597
  3163. data/doc/html/api/more/files/NOTES.html +0 -166
  3164. data/doc/html/api/more/files/README.html +0 -411
  3165. data/doc/html/api/more/files/lib/facets/1stclassmethod_rb.html +0 -181
  3166. data/doc/html/api/more/files/lib/facets/advisable_rb.html +0 -124
  3167. data/doc/html/api/more/files/lib/facets/annotations_rb.html +0 -179
  3168. data/doc/html/api/more/files/lib/facets/ansicode_rb.html +0 -199
  3169. data/doc/html/api/more/files/lib/facets/arguments_rb.html +0 -142
  3170. data/doc/html/api/more/files/lib/facets/association_rb.html +0 -158
  3171. data/doc/html/api/more/files/lib/facets/attr_rb.html +0 -92
  3172. data/doc/html/api/more/files/lib/facets/autoarray_rb.html +0 -125
  3173. data/doc/html/api/more/files/lib/facets/autoreload_rb.html +0 -134
  3174. data/doc/html/api/more/files/lib/facets/basicobject_rb.html +0 -190
  3175. data/doc/html/api/more/files/lib/facets/bbcode_rb.html +0 -138
  3176. data/doc/html/api/more/files/lib/facets/behavior_rb.html +0 -125
  3177. data/doc/html/api/more/files/lib/facets/bicrypt_rb.html +0 -124
  3178. data/doc/html/api/more/files/lib/facets/binreadable_rb.html +0 -141
  3179. data/doc/html/api/more/files/lib/facets/buildable_rb.html +0 -228
  3180. data/doc/html/api/more/files/lib/facets/bytes_rb.html +0 -170
  3181. data/doc/html/api/more/files/lib/facets/cachedecorator_rb.html +0 -178
  3182. data/doc/html/api/more/files/lib/facets/capsule_rb.html +0 -143
  3183. data/doc/html/api/more/files/lib/facets/cattr_rb.html +0 -125
  3184. data/doc/html/api/more/files/lib/facets/cgi_rb.html +0 -111
  3185. data/doc/html/api/more/files/lib/facets/chain_rb.html +0 -114
  3186. data/doc/html/api/more/files/lib/facets/class_extension_rb.html +0 -155
  3187. data/doc/html/api/more/files/lib/facets/classmethods_rb.html +0 -213
  3188. data/doc/html/api/more/files/lib/facets/cloneable_rb.html +0 -134
  3189. data/doc/html/api/more/files/lib/facets/command_rb.html +0 -170
  3190. data/doc/html/api/more/files/lib/facets/consoleutils_rb.html +0 -109
  3191. data/doc/html/api/more/files/lib/facets/continuation_rb.html +0 -145
  3192. data/doc/html/api/more/files/lib/facets/core_rb.html +0 -133
  3193. data/doc/html/api/more/files/lib/facets/coroutine_rb.html +0 -163
  3194. data/doc/html/api/more/files/lib/facets/crypt_rb.html +0 -141
  3195. data/doc/html/api/more/files/lib/facets/cssfilter_rb.html +0 -120
  3196. data/doc/html/api/more/files/lib/facets/daemonize_rb.html +0 -118
  3197. data/doc/html/api/more/files/lib/facets/date_rb.html +0 -121
  3198. data/doc/html/api/more/files/lib/facets/dependency_rb.html +0 -158
  3199. data/doc/html/api/more/files/lib/facets/dictionary_rb.html +0 -198
  3200. data/doc/html/api/more/files/lib/facets/downloader_rb.html +0 -137
  3201. data/doc/html/api/more/files/lib/facets/duration_rb.html +0 -132
  3202. data/doc/html/api/more/files/lib/facets/elementor_rb.html +0 -148
  3203. data/doc/html/api/more/files/lib/facets/elementwise_rb.html +0 -96
  3204. data/doc/html/api/more/files/lib/facets/enumerablepass_rb.html +0 -153
  3205. data/doc/html/api/more/files/lib/facets/equatable_rb.html +0 -145
  3206. data/doc/html/api/more/files/lib/facets/eventhook_rb.html +0 -141
  3207. data/doc/html/api/more/files/lib/facets/expirable_rb.html +0 -116
  3208. data/doc/html/api/more/files/lib/facets/fileable_rb.html +0 -138
  3209. data/doc/html/api/more/files/lib/facets/filelist_rb.html +0 -164
  3210. data/doc/html/api/more/files/lib/facets/fileshell_rb.html +0 -124
  3211. data/doc/html/api/more/files/lib/facets/fileutils/head_rb.html +0 -96
  3212. data/doc/html/api/more/files/lib/facets/fileutils/safe_ln_rb.html +0 -96
  3213. data/doc/html/api/more/files/lib/facets/fileutils/slice_rb.html +0 -96
  3214. data/doc/html/api/more/files/lib/facets/fileutils/tail_rb.html +0 -96
  3215. data/doc/html/api/more/files/lib/facets/fileutils/wc_rb.html +0 -96
  3216. data/doc/html/api/more/files/lib/facets/fileutils/whereis_rb.html +0 -96
  3217. data/doc/html/api/more/files/lib/facets/fileutils/which_rb.html +0 -96
  3218. data/doc/html/api/more/files/lib/facets/fileutils_rb.html +0 -131
  3219. data/doc/html/api/more/files/lib/facets/float/round_rb.html +0 -96
  3220. data/doc/html/api/more/files/lib/facets/getoptlong_rb.html +0 -135
  3221. data/doc/html/api/more/files/lib/facets/heap_rb.html +0 -132
  3222. data/doc/html/api/more/files/lib/facets/htmlfilter_rb.html +0 -153
  3223. data/doc/html/api/more/files/lib/facets/infinity_rb.html +0 -153
  3224. data/doc/html/api/more/files/lib/facets/inheritor_rb.html +0 -149
  3225. data/doc/html/api/more/files/lib/facets/instantiable_rb.html +0 -119
  3226. data/doc/html/api/more/files/lib/facets/instantise_rb.html +0 -145
  3227. data/doc/html/api/more/files/lib/facets/interval_rb.html +0 -163
  3228. data/doc/html/api/more/files/lib/facets/ioredirect_rb.html +0 -133
  3229. data/doc/html/api/more/files/lib/facets/iteration_rb.html +0 -94
  3230. data/doc/html/api/more/files/lib/facets/lazy_rb.html +0 -120
  3231. data/doc/html/api/more/files/lib/facets/linkedlist_rb.html +0 -159
  3232. data/doc/html/api/more/files/lib/facets/logger_rb.html +0 -142
  3233. data/doc/html/api/more/files/lib/facets/lrucache_rb.html +0 -129
  3234. data/doc/html/api/more/files/lib/facets/main_rb.html +0 -126
  3235. data/doc/html/api/more/files/lib/facets/memoize_rb.html +0 -163
  3236. data/doc/html/api/more/files/lib/facets/meta_rb.html +0 -96
  3237. data/doc/html/api/more/files/lib/facets/methodspace_rb.html +0 -138
  3238. data/doc/html/api/more/files/lib/facets/minitar_rb.html +0 -203
  3239. data/doc/html/api/more/files/lib/facets/multipliers_rb.html +0 -149
  3240. data/doc/html/api/more/files/lib/facets/multiton_rb.html +0 -187
  3241. data/doc/html/api/more/files/lib/facets/nackclass_rb.html +0 -121
  3242. data/doc/html/api/more/files/lib/facets/net/smtp_tls_rb.html +0 -143
  3243. data/doc/html/api/more/files/lib/facets/nilstatus_rb.html +0 -92
  3244. data/doc/html/api/more/files/lib/facets/nullclass_rb.html +0 -122
  3245. data/doc/html/api/more/files/lib/facets/opencascade_rb.html +0 -156
  3246. data/doc/html/api/more/files/lib/facets/opencollection_rb.html +0 -123
  3247. data/doc/html/api/more/files/lib/facets/openhash_rb.html +0 -107
  3248. data/doc/html/api/more/files/lib/facets/openobject_rb.html +0 -167
  3249. data/doc/html/api/more/files/lib/facets/opesc_rb.html +0 -94
  3250. data/doc/html/api/more/files/lib/facets/orderedhash_rb.html +0 -142
  3251. data/doc/html/api/more/files/lib/facets/ostruct_rb.html +0 -135
  3252. data/doc/html/api/more/files/lib/facets/overload_rb.html +0 -119
  3253. data/doc/html/api/more/files/lib/facets/pathlist_rb.html +0 -133
  3254. data/doc/html/api/more/files/lib/facets/pathname_rb.html +0 -155
  3255. data/doc/html/api/more/files/lib/facets/pool_rb.html +0 -131
  3256. data/doc/html/api/more/files/lib/facets/pqueue_rb.html +0 -129
  3257. data/doc/html/api/more/files/lib/facets/progressbar_rb.html +0 -126
  3258. data/doc/html/api/more/files/lib/facets/prototype_rb.html +0 -102
  3259. data/doc/html/api/more/files/lib/facets/random_rb.html +0 -148
  3260. data/doc/html/api/more/files/lib/facets/rbconfig_rb.html +0 -124
  3261. data/doc/html/api/more/files/lib/facets/rbsystem_rb.html +0 -143
  3262. data/doc/html/api/more/files/lib/facets/recorder_rb.html +0 -154
  3263. data/doc/html/api/more/files/lib/facets/reference_rb.html +0 -130
  3264. data/doc/html/api/more/files/lib/facets/reflection_rb.html +0 -119
  3265. data/doc/html/api/more/files/lib/facets/registerable_rb.html +0 -98
  3266. data/doc/html/api/more/files/lib/facets/rwdelegator_rb.html +0 -122
  3267. data/doc/html/api/more/files/lib/facets/semaphore_rb.html +0 -120
  3268. data/doc/html/api/more/files/lib/facets/set_rb.html +0 -96
  3269. data/doc/html/api/more/files/lib/facets/settings_rb.html +0 -141
  3270. data/doc/html/api/more/files/lib/facets/shellwords_rb.html +0 -124
  3271. data/doc/html/api/more/files/lib/facets/snapshot_rb.html +0 -177
  3272. data/doc/html/api/more/files/lib/facets/style_rb.html +0 -96
  3273. data/doc/html/api/more/files/lib/facets/succ_rb.html +0 -92
  3274. data/doc/html/api/more/files/lib/facets/syncarray_rb.html +0 -125
  3275. data/doc/html/api/more/files/lib/facets/synchash_rb.html +0 -138
  3276. data/doc/html/api/more/files/lib/facets/thread_rb.html +0 -132
  3277. data/doc/html/api/more/files/lib/facets/timer_rb.html +0 -174
  3278. data/doc/html/api/more/files/lib/facets/times_rb.html +0 -163
  3279. data/doc/html/api/more/files/lib/facets/tracepoint_rb.html +0 -167
  3280. data/doc/html/api/more/files/lib/facets/tuple_rb.html +0 -160
  3281. data/doc/html/api/more/files/lib/facets/typecast_rb.html +0 -214
  3282. data/doc/html/api/more/files/lib/facets/uninheritable_rb.html +0 -129
  3283. data/doc/html/api/more/files/lib/facets/uploadutils_rb.html +0 -176
  3284. data/doc/html/api/more/files/lib/facets/uri_rb.html +0 -125
  3285. data/doc/html/api/more/files/lib/facets/version_rb.html +0 -132
  3286. data/doc/html/api/more/files/lib/facets/xmlhash_rb.html +0 -97
  3287. data/doc/html/api/more/files/lib/facets/xoxo_rb.html +0 -136
  3288. data/doc/html/api/more/files/lib/facets/yaml_rb.html +0 -145
  3289. data/doc/html/api/more/files/lib/facets/ziputils_rb.html +0 -133
  3290. data/doc/html/api/more/fr_class_index.html +0 -200
  3291. data/doc/html/api/more/fr_file_index.html +0 -177
  3292. data/doc/html/api/more/fr_method_index.html +0 -1181
  3293. data/doc/html/api/more/index.html +0 -26
  3294. data/doc/html/authors.html +0 -178
  3295. data/doc/html/changes.html +0 -193
  3296. data/doc/html/copying.html +0 -384
  3297. data/doc/html/img/APIdocs.png +0 -0
  3298. data/doc/html/img/RubyFacets.png +0 -0
  3299. data/doc/html/img/bomb.gif +0 -0
  3300. data/doc/html/img/develop.gif +0 -0
  3301. data/doc/html/img/email.gif +0 -0
  3302. data/doc/html/img/fade_blue_down.gif +0 -0
  3303. data/doc/html/img/fade_red_down.png +0 -0
  3304. data/doc/html/img/folder.gif +0 -0
  3305. data/doc/html/img/home.gif +0 -0
  3306. data/doc/html/img/menu_bkg.png +0 -0
  3307. data/doc/html/img/quill.gif +0 -0
  3308. data/doc/html/img/ruby-h.png +0 -0
  3309. data/doc/html/img/ruby.gif +0 -0
  3310. data/doc/html/img/ruby.png +0 -0
  3311. data/doc/html/img/source.gif +0 -0
  3312. data/doc/html/index.html +0 -16
  3313. data/doc/html/js/doclist.js +0 -20
  3314. data/doc/html/js/jquery.js +0 -3408
  3315. data/doc/html/list.json +0 -1
  3316. data/doc/html/manifest.html +0 -519
  3317. data/doc/html/menu.html +0 -70
  3318. data/doc/html/notes.html +0 -86
  3319. data/doc/html/rakefile.html +0 -45
  3320. data/doc/html/readme.html +0 -327
  3321. data/doc/html/style-rdoc.css +0 -208
  3322. data/lib/facets.rb +0 -2
  3323. data/lib/facets/ansicode.rb +0 -320
  3324. data/lib/facets/arguments.rb +0 -349
  3325. data/lib/facets/array.rb +0 -24
  3326. data/lib/facets/array/product.rb +0 -15
  3327. data/lib/facets/binding.rb +0 -6
  3328. data/lib/facets/binding/caller.rb +0 -54
  3329. data/lib/facets/binding/defined.rb +0 -13
  3330. data/lib/facets/binding/local_variables.rb +0 -15
  3331. data/lib/facets/binding/opvars.rb +0 -24
  3332. data/lib/facets/binding/self.rb +0 -12
  3333. data/lib/facets/class.rb +0 -4
  3334. data/lib/facets/command.rb +0 -422
  3335. data/lib/facets/comparable.rb +0 -6
  3336. data/lib/facets/core.rb +0 -50
  3337. data/lib/facets/dictionary.rb +0 -474
  3338. data/lib/facets/dir.rb +0 -9
  3339. data/lib/facets/enumerable.rb +0 -19
  3340. data/lib/facets/enumerable/cluster_by.rb +0 -21
  3341. data/lib/facets/file.rb +0 -7
  3342. data/lib/facets/file/rewrite.rb +0 -54
  3343. data/lib/facets/file/rootname.rb +0 -23
  3344. data/lib/facets/filelist.rb +0 -499
  3345. data/lib/facets/filetest.rb +0 -3
  3346. data/lib/facets/fileutils/whereis.rb +0 -63
  3347. data/lib/facets/hash.rb +0 -25
  3348. data/lib/facets/hash/merge.rb +0 -74
  3349. data/lib/facets/hash/rekey.rb +0 -59
  3350. data/lib/facets/hash/slice.rb +0 -23
  3351. data/lib/facets/hash/update.rb +0 -75
  3352. data/lib/facets/integer.rb +0 -7
  3353. data/lib/facets/kernel.rb +0 -29
  3354. data/lib/facets/kernel/ask.rb +0 -27
  3355. data/lib/facets/matchdata.rb +0 -6
  3356. data/lib/facets/meta.rb +0 -23
  3357. data/lib/facets/module.rb +0 -22
  3358. data/lib/facets/module/conflict.rb +0 -56
  3359. data/lib/facets/nilclass.rb +0 -3
  3360. data/lib/facets/numeric.rb +0 -5
  3361. data/lib/facets/overload.rb +0 -94
  3362. data/lib/facets/paramix.rb +0 -187
  3363. data/lib/facets/pathname.rb +0 -112
  3364. data/lib/facets/proc.rb +0 -6
  3365. data/lib/facets/range.rb +0 -6
  3366. data/lib/facets/reflection.rb +0 -98
  3367. data/lib/facets/regexp.rb +0 -5
  3368. data/lib/facets/ruby.rb +0 -485
  3369. data/lib/facets/string.rb +0 -28
  3370. data/lib/facets/string/to_time.rb +0 -1
  3371. data/lib/facets/symbol.rb +0 -5
  3372. data/lib/facets/time.rb +0 -11
  3373. data/lib/facets/time/change.rb +0 -99
  3374. data/lib/facets/time/hence.rb +0 -56
  3375. data/lib/facets/time/to_time.rb +0 -14
  3376. data/lib/facets/unboundmethod.rb +0 -4
  3377. data/lib/facets/yaml.rb +0 -66
  3378. data/log/changelog-0.rdoc +0 -239
  3379. data/log/changelog-1.rdoc +0 -450
  3380. data/log/changelog.rdoc +0 -1173
  3381. data/log/fixme.rdoc +0 -12
  3382. data/log/testlog.txt +0 -645
  3383. data/log/todo.rdoc +0 -237
  3384. data/meta/authors +0 -48
  3385. data/meta/contact +0 -1
  3386. data/meta/created +0 -1
  3387. data/meta/description +0 -8
  3388. data/meta/download +0 -1
  3389. data/meta/homepage +0 -1
  3390. data/meta/mailinglist +0 -1
  3391. data/meta/project.yaml +0 -31
  3392. data/meta/slogan +0 -1
  3393. data/meta/unixname +0 -1
  3394. data/meta/version +0 -1
  3395. data/script/conflicts +0 -63
  3396. data/script/document +0 -231
  3397. data/script/methods +0 -49
  3398. data/script/test +0 -37
  3399. data/setup.rb +0 -1478
  3400. data/test/array/test_product.rb +0 -25
  3401. data/test/hash/test_rekey.rb +0 -41
  3402. data/test/hash/test_rekey2.rb +0 -37
  3403. data/test/hash/test_update.rb +0 -40
  3404. data/test/test_ansicode.rb +0 -20
  3405. data/test/test_dictionary.rb +0 -122
  3406. data/test/test_overload.rb +0 -120
  3407. data/test/test_ruby.rb +0 -198
  3408. data/test/test_ruby/array/test_combination.rb +0 -29
  3409. data/test/test_ruby/array/test_permutation.rb +0 -14
  3410. data/test/test_ruby/array/test_product.rb +0 -23
  3411. data/test/test_ruby/kernel/test_tap.rb +0 -19
  3412. data/test/test_ruby/symbol/test_succ.rb +0 -13
  3413. data/test/time/test_to_time.rb +0 -16
@@ -0,0 +1,173 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html>
6
+ <head>
7
+ <title>Class: Functor</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
+
11
+ <script language="JavaScript" type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function toggleSource( id )
15
+ {
16
+ var elem
17
+ var link
18
+
19
+ if( document.getElementById )
20
+ {
21
+ elem = document.getElementById( id )
22
+ link = document.getElementById( "l_" + id )
23
+ }
24
+ else if ( document.all )
25
+ {
26
+ elem = eval( "document.all." + id )
27
+ link = eval( "document.all.l_" + id )
28
+ }
29
+ else
30
+ return false;
31
+
32
+ if( elem.style.display == "block" )
33
+ {
34
+ elem.style.display = "none"
35
+ link.innerHTML = "show source"
36
+ }
37
+ else
38
+ {
39
+ elem.style.display = "block"
40
+ link.innerHTML = "hide source"
41
+ }
42
+ }
43
+
44
+ function openCode( url )
45
+ {
46
+ window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
+ }
48
+ // ]]>
49
+ </script>
50
+ </head>
51
+
52
+ <body>
53
+ <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
+ <td class="file-title"><span class="file-title-prefix">Class</span><br />Functor</td>
55
+ <td align="right">
56
+ <table cellspacing="0" cellpadding="2">
57
+ <tr valign="top">
58
+ <td>In:</td>
59
+ <td>
60
+ <a href="../files/lib/core/facets/functor_rb.html">lib/core/facets/functor.rb</a>
61
+ </td>
62
+ </tr>
63
+ <tr>
64
+ <td>Parent:</td>
65
+ <td>
66
+ <a href="Object.html">
67
+ Object
68
+ </a>
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </td>
73
+ </tr>
74
+ </table>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+ <div id="content">
79
+
80
+ <div class="description"><p>
81
+ By definition a <a href="Functor.html">Functor</a> is simply a first class
82
+ method, but these are common in the form of Method and <a
83
+ href="Proc.html">Proc</a>. So for Ruby a <a href="Functor.html">Functor</a>
84
+ is a more specialized as a Higher-order function or Metafunction.
85
+ Essentally, a <a href="Functor.html">Functor</a> can vary its behavior
86
+ accorrding to the operation applied to it.
87
+ </p>
88
+ <pre>
89
+ f = Functor.new { |op, x| x.send(op, x) }
90
+ f + 1 #=&gt; 2
91
+ f + 2 #=&gt; 4
92
+ f + 3 #=&gt; 6
93
+ f * 1 #=&gt; 1
94
+ f * 2 #=&gt; 4
95
+ f * 3 #=&gt; 9
96
+ </pre>
97
+ </div>
98
+
99
+
100
+
101
+ <div class="sectiontitle">Methods</div>
102
+ <ul>
103
+ <li><a href="#M000424">method_missing</a></li>
104
+ <li><a href="#M000422">new</a></li>
105
+ <li><a href="#M000423">to_proc</a></li>
106
+ </ul>
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <div class="sectiontitle">Public Class methods</div>
114
+ <div class="method">
115
+ <div class="title">
116
+ <a name="M000422"></a><b>new</b>(&amp;function)
117
+ </div>
118
+ <div class="sourcecode">
119
+ <p class="source-link">[ <a href="javascript:toggleSource('M000422_source')" id="l_M000422_source">show source</a> ]</p>
120
+ <div id="M000422_source" class="dyn-source">
121
+ <pre>
122
+ <span class="ruby-comment cmt"># File lib/core/facets/functor.rb, line 63</span>
123
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">function</span>)
124
+ <span class="ruby-ivar">@function</span> = <span class="ruby-identifier">function</span>
125
+ <span class="ruby-keyword kw">end</span>
126
+ </pre>
127
+ </div>
128
+ </div>
129
+ </div>
130
+ <div class="sectiontitle">Public Instance methods</div>
131
+ <div class="method">
132
+ <div class="title">
133
+ <a name="M000424"></a><b>method_missing</b>(op, *args, &amp;blk)
134
+ </div>
135
+ <div class="description">
136
+ <p>
137
+ Any action against the functor is processesd by the function.
138
+ </p>
139
+ </div>
140
+ <div class="sourcecode">
141
+ <p class="source-link">[ <a href="javascript:toggleSource('M000424_source')" id="l_M000424_source">show source</a> ]</p>
142
+ <div id="M000424_source" class="dyn-source">
143
+ <pre>
144
+ <span class="ruby-comment cmt"># File lib/core/facets/functor.rb, line 72</span>
145
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
146
+ <span class="ruby-ivar">@function</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
147
+ <span class="ruby-keyword kw">end</span>
148
+ </pre>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ <div class="method">
153
+ <div class="title">
154
+ <a name="M000423"></a><b>to_proc</b>()
155
+ </div>
156
+ <div class="sourcecode">
157
+ <p class="source-link">[ <a href="javascript:toggleSource('M000423_source')" id="l_M000423_source">show source</a> ]</p>
158
+ <div id="M000423_source" class="dyn-source">
159
+ <pre>
160
+ <span class="ruby-comment cmt"># File lib/core/facets/functor.rb, line 67</span>
161
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
162
+ <span class="ruby-ivar">@function</span>
163
+ <span class="ruby-keyword kw">end</span>
164
+ </pre>
165
+ </div>
166
+ </div>
167
+ </div>
168
+ </div>
169
+
170
+ </div>
171
+
172
+ </body>
173
+ </html>
@@ -0,0 +1,3864 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html>
6
+ <head>
7
+ <title>Class: Hash</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
+
11
+ <script language="JavaScript" type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function toggleSource( id )
15
+ {
16
+ var elem
17
+ var link
18
+
19
+ if( document.getElementById )
20
+ {
21
+ elem = document.getElementById( id )
22
+ link = document.getElementById( "l_" + id )
23
+ }
24
+ else if ( document.all )
25
+ {
26
+ elem = eval( "document.all." + id )
27
+ link = eval( "document.all.l_" + id )
28
+ }
29
+ else
30
+ return false;
31
+
32
+ if( elem.style.display == "block" )
33
+ {
34
+ elem.style.display = "none"
35
+ link.innerHTML = "show source"
36
+ }
37
+ else
38
+ {
39
+ elem.style.display = "block"
40
+ link.innerHTML = "hide source"
41
+ }
42
+ }
43
+
44
+ function openCode( url )
45
+ {
46
+ window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
47
+ }
48
+ // ]]>
49
+ </script>
50
+ </head>
51
+
52
+ <body>
53
+ <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
+ <td class="file-title"><span class="file-title-prefix">Class</span><br />Hash</td>
55
+ <td align="right">
56
+ <table cellspacing="0" cellpadding="2">
57
+ <tr valign="top">
58
+ <td>In:</td>
59
+ <td>
60
+ <a href="../files/lib/core/facets/to_hash_rb.html">lib/core/facets/to_hash.rb</a>
61
+ <a href="../files/lib/core/facets/hash/alias_rb.html">lib/core/facets/hash/alias.rb</a>
62
+ <a href="../files/lib/core/facets/hash/update_rb.html">lib/core/facets/hash/update.rb</a>
63
+ <a href="../files/lib/core/facets/hash/autonew_rb.html">lib/core/facets/hash/autonew.rb</a>
64
+ <a href="../files/lib/core/facets/hash/recursively_rb.html">lib/core/facets/hash/recursively.rb</a>
65
+ <a href="../files/lib/core/facets/hash/except_rb.html">lib/core/facets/hash/except.rb</a>
66
+ <a href="../files/lib/core/facets/hash/keys_rb.html">lib/core/facets/hash/keys.rb</a>
67
+ <a href="../files/lib/core/facets/hash/merge_rb.html">lib/core/facets/hash/merge.rb</a>
68
+ <a href="../files/lib/core/facets/hash/traverse_rb.html">lib/core/facets/hash/traverse.rb</a>
69
+ <a href="../files/lib/core/facets/hash/op_rb.html">lib/core/facets/hash/op.rb</a>
70
+ <a href="../files/lib/core/facets/hash/inverse_rb.html">lib/core/facets/hash/inverse.rb</a>
71
+ <a href="../files/lib/core/facets/hash/recursive_merge_rb.html">lib/core/facets/hash/recursive_merge.rb</a>
72
+ <a href="../files/lib/core/facets/hash/to_proc_rb.html">lib/core/facets/hash/to_proc.rb</a>
73
+ <a href="../files/lib/core/facets/hash/insert_rb.html">lib/core/facets/hash/insert.rb</a>
74
+ <a href="../files/lib/core/facets/hash/select_rb.html">lib/core/facets/hash/select.rb</a>
75
+ <a href="../files/lib/core/facets/hash/diff_rb.html">lib/core/facets/hash/diff.rb</a>
76
+ <a href="../files/lib/core/facets/hash/mash_rb.html">lib/core/facets/hash/mash.rb</a>
77
+ <a href="../files/lib/core/facets/hash/collate_rb.html">lib/core/facets/hash/collate.rb</a>
78
+ <a href="../files/lib/core/facets/hash/delete_rb.html">lib/core/facets/hash/delete.rb</a>
79
+ <a href="../files/lib/core/facets/hash/weave_rb.html">lib/core/facets/hash/weave.rb</a>
80
+ <a href="../files/lib/core/facets/hash/swap_rb.html">lib/core/facets/hash/swap.rb</a>
81
+ <a href="../files/lib/core/facets/hash/to_struct_rb.html">lib/core/facets/hash/to_struct.rb</a>
82
+ <a href="../files/lib/core/facets/hash/symbolize_keys_rb.html">lib/core/facets/hash/symbolize_keys.rb</a>
83
+ <a href="../files/lib/core/facets/hash/join_rb.html">lib/core/facets/hash/join.rb</a>
84
+ <a href="../files/lib/core/facets/hash/slice_rb.html">lib/core/facets/hash/slice.rb</a>
85
+ <a href="../files/lib/core/facets/hash/rekey_rb.html">lib/core/facets/hash/rekey.rb</a>
86
+ <a href="../files/lib/core/facets/hash/argumentize_rb.html">lib/core/facets/hash/argumentize.rb</a>
87
+ <a href="../files/lib/core/facets/hash/at_rb.html">lib/core/facets/hash/at.rb</a>
88
+ <a href="../files/lib/core/facets/hash/alias_rb.html">lib/core/facets/hash/alias.rb</a>
89
+ <a href="../files/lib/core/facets/hash/update_rb.html">lib/core/facets/hash/update.rb</a>
90
+ <a href="../files/lib/core/facets/hash/autonew_rb.html">lib/core/facets/hash/autonew.rb</a>
91
+ <a href="../files/lib/core/facets/hash/recursively_rb.html">lib/core/facets/hash/recursively.rb</a>
92
+ <a href="../files/lib/core/facets/hash/except_rb.html">lib/core/facets/hash/except.rb</a>
93
+ <a href="../files/lib/core/facets/hash/keys_rb.html">lib/core/facets/hash/keys.rb</a>
94
+ <a href="../files/lib/core/facets/hash/merge_rb.html">lib/core/facets/hash/merge.rb</a>
95
+ <a href="../files/lib/core/facets/hash/traverse_rb.html">lib/core/facets/hash/traverse.rb</a>
96
+ <a href="../files/lib/core/facets/hash/op_rb.html">lib/core/facets/hash/op.rb</a>
97
+ <a href="../files/lib/core/facets/hash/inverse_rb.html">lib/core/facets/hash/inverse.rb</a>
98
+ <a href="../files/lib/core/facets/hash/recursive_merge_rb.html">lib/core/facets/hash/recursive_merge.rb</a>
99
+ <a href="../files/lib/core/facets/hash/to_proc_rb.html">lib/core/facets/hash/to_proc.rb</a>
100
+ <a href="../files/lib/core/facets/hash/insert_rb.html">lib/core/facets/hash/insert.rb</a>
101
+ <a href="../files/lib/core/facets/hash/select_rb.html">lib/core/facets/hash/select.rb</a>
102
+ <a href="../files/lib/core/facets/hash/diff_rb.html">lib/core/facets/hash/diff.rb</a>
103
+ <a href="../files/lib/core/facets/hash/mash_rb.html">lib/core/facets/hash/mash.rb</a>
104
+ <a href="../files/lib/core/facets/hash/collate_rb.html">lib/core/facets/hash/collate.rb</a>
105
+ <a href="../files/lib/core/facets/hash/delete_rb.html">lib/core/facets/hash/delete.rb</a>
106
+ <a href="../files/lib/core/facets/hash/weave_rb.html">lib/core/facets/hash/weave.rb</a>
107
+ <a href="../files/lib/core/facets/hash/swap_rb.html">lib/core/facets/hash/swap.rb</a>
108
+ <a href="../files/lib/core/facets/hash/to_struct_rb.html">lib/core/facets/hash/to_struct.rb</a>
109
+ <a href="../files/lib/core/facets/hash/symbolize_keys_rb.html">lib/core/facets/hash/symbolize_keys.rb</a>
110
+ <a href="../files/lib/core/facets/hash/join_rb.html">lib/core/facets/hash/join.rb</a>
111
+ <a href="../files/lib/core/facets/hash/slice_rb.html">lib/core/facets/hash/slice.rb</a>
112
+ <a href="../files/lib/core/facets/hash/rekey_rb.html">lib/core/facets/hash/rekey.rb</a>
113
+ <a href="../files/lib/core/facets/hash/argumentize_rb.html">lib/core/facets/hash/argumentize.rb</a>
114
+ <a href="../files/lib/core/facets/hash/at_rb.html">lib/core/facets/hash/at.rb</a>
115
+ <a href="../files/lib/core/facets/blank_rb.html">lib/core/facets/blank.rb</a>
116
+ </td>
117
+ </tr>
118
+ <tr>
119
+ <td>Parent:</td>
120
+ <td>
121
+ <a href="Object.html">
122
+ Object
123
+ </a>
124
+ </td>
125
+ </tr>
126
+ </table>
127
+ </td>
128
+ </tr>
129
+ </table>
130
+ <!-- banner header -->
131
+
132
+ <div id="bodyContent">
133
+ <div id="content">
134
+
135
+
136
+
137
+
138
+ <div class="sectiontitle">Methods</div>
139
+ <ul>
140
+ <li><a href="#M000154">&amp;</a></li>
141
+ <li><a href="#M000213">&amp;</a></li>
142
+ <li><a href="#M000158">*</a></li>
143
+ <li><a href="#M000217">*</a></li>
144
+ <li><a href="#M000156">+</a></li>
145
+ <li><a href="#M000215">+</a></li>
146
+ <li><a href="#M000157">-</a></li>
147
+ <li><a href="#M000216">-</a></li>
148
+ <li><a href="#M000192">&lt;&lt;</a></li>
149
+ <li><a href="#M000133">&lt;&lt;</a></li>
150
+ <li><a href="#M000191">alias!</a></li>
151
+ <li><a href="#M000132">alias!</a></li>
152
+ <li><a href="#M000190">argumentize</a></li>
153
+ <li><a href="#M000249">argumentize</a></li>
154
+ <li><a href="#M000197">autonew</a></li>
155
+ <li><a href="#M000138">autonew</a></li>
156
+ <li><a href="#M000169">collate</a></li>
157
+ <li><a href="#M000228">collate</a></li>
158
+ <li><a href="#M000170">collate!</a></li>
159
+ <li><a href="#M000229">collate!</a></li>
160
+ <li><a href="#M000171">delete_unless</a></li>
161
+ <li><a href="#M000230">delete_unless</a></li>
162
+ <li><a href="#M000172">delete_values</a></li>
163
+ <li><a href="#M000231">delete_values</a></li>
164
+ <li><a href="#M000173">delete_values_at</a></li>
165
+ <li><a href="#M000232">delete_values_at</a></li>
166
+ <li><a href="#M000166">diff</a></li>
167
+ <li><a href="#M000225">diff</a></li>
168
+ <li><a href="#M000148">each_with_key</a></li>
169
+ <li><a href="#M000207">each_with_key</a></li>
170
+ <li><a href="#M000201">except</a></li>
171
+ <li><a href="#M000142">except</a></li>
172
+ <li><a href="#M000143">except!</a></li>
173
+ <li><a href="#M000202">except!</a></li>
174
+ <li><a href="#M000168">graph!</a></li>
175
+ <li><a href="#M000227">graph!</a></li>
176
+ <li><a href="#M000203">has_keys?</a></li>
177
+ <li><a href="#M000144">has_keys?</a></li>
178
+ <li><a href="#M000205">has_only_keys?</a></li>
179
+ <li><a href="#M000146">has_only_keys?</a></li>
180
+ <li><a href="#M000223">insert</a></li>
181
+ <li><a href="#M000164">insert</a></li>
182
+ <li><a href="#M000218">inverse</a></li>
183
+ <li><a href="#M000159">inverse</a></li>
184
+ <li><a href="#M000185">join</a></li>
185
+ <li><a href="#M000244">join</a></li>
186
+ <li><a href="#M000204">keys?</a></li>
187
+ <li><a href="#M000145">keys?</a></li>
188
+ <li><a href="#M000241">keys_to_s</a></li>
189
+ <li><a href="#M000182">keys_to_s</a></li>
190
+ <li><a href="#M000184">keys_to_s!</a></li>
191
+ <li><a href="#M000243">keys_to_s!</a></li>
192
+ <li><a href="#M000178">keys_to_sym</a></li>
193
+ <li><a href="#M000237">keys_to_sym</a></li>
194
+ <li><a href="#M000180">keys_to_sym!</a></li>
195
+ <li><a href="#M000239">keys_to_sym!</a></li>
196
+ <li><a href="#M000226">mash!</a></li>
197
+ <li><a href="#M000167">mash!</a></li>
198
+ <li><a href="#M000147">only_keys?</a></li>
199
+ <li><a href="#M000206">only_keys?</a></li>
200
+ <li><a href="#M000160">recursive_merge</a></li>
201
+ <li><a href="#M000219">recursive_merge</a></li>
202
+ <li><a href="#M000220">recursive_merge!</a></li>
203
+ <li><a href="#M000161">recursive_merge!</a></li>
204
+ <li><a href="#M000199">recursively</a></li>
205
+ <li><a href="#M000140">recursively</a></li>
206
+ <li><a href="#M000200">recursively!</a></li>
207
+ <li><a href="#M000141">recursively!</a></li>
208
+ <li><a href="#M000247">rekey</a></li>
209
+ <li><a href="#M000188">rekey</a></li>
210
+ <li><a href="#M000189">rekey!</a></li>
211
+ <li><a href="#M000248">rekey!</a></li>
212
+ <li><a href="#M000196">replace_each</a></li>
213
+ <li><a href="#M000137">replace_each</a></li>
214
+ <li><a href="#M000208">reverse_merge</a></li>
215
+ <li><a href="#M000149">reverse_merge</a></li>
216
+ <li><a href="#M000150">reverse_merge!</a></li>
217
+ <li><a href="#M000209">reverse_merge!</a></li>
218
+ <li><a href="#M000210">reverse_update</a></li>
219
+ <li><a href="#M000151">reverse_update</a></li>
220
+ <li><a href="#M000224">select!</a></li>
221
+ <li><a href="#M000165">select!</a></li>
222
+ <li><a href="#M000186">slice</a></li>
223
+ <li><a href="#M000245">slice</a></li>
224
+ <li><a href="#M000187">slice!</a></li>
225
+ <li><a href="#M000246">slice!</a></li>
226
+ <li><a href="#M000240">stringify_keys</a></li>
227
+ <li><a href="#M000181">stringify_keys</a></li>
228
+ <li><a href="#M000183">stringify_keys!</a></li>
229
+ <li><a href="#M000242">stringify_keys!</a></li>
230
+ <li><a href="#M000175">swap!</a></li>
231
+ <li><a href="#M000234">swap!</a></li>
232
+ <li><a href="#M000236">symbolize_keys</a></li>
233
+ <li><a href="#M000177">symbolize_keys</a></li>
234
+ <li><a href="#M000179">symbolize_keys!</a></li>
235
+ <li><a href="#M000238">symbolize_keys!</a></li>
236
+ <li><a href="#M000131">to_h</a></li>
237
+ <li><a href="#M000162">to_proc</a></li>
238
+ <li><a href="#M000221">to_proc</a></li>
239
+ <li><a href="#M000222">to_proc_with_reponse</a></li>
240
+ <li><a href="#M000163">to_proc_with_reponse</a></li>
241
+ <li><a href="#M000235">to_struct</a></li>
242
+ <li><a href="#M000176">to_struct</a></li>
243
+ <li><a href="#M000152">traverse</a></li>
244
+ <li><a href="#M000211">traverse</a></li>
245
+ <li><a href="#M000212">traverse!</a></li>
246
+ <li><a href="#M000153">traverse!</a></li>
247
+ <li><a href="#M000134">update_each</a></li>
248
+ <li><a href="#M000193">update_each</a></li>
249
+ <li><a href="#M000135">update_keys</a></li>
250
+ <li><a href="#M000194">update_keys</a></li>
251
+ <li><a href="#M000136">update_values</a></li>
252
+ <li><a href="#M000195">update_values</a></li>
253
+ <li><a href="#M000233">weave</a></li>
254
+ <li><a href="#M000174">weave</a></li>
255
+ <li><a href="#M000198">zipnew</a></li>
256
+ <li><a href="#M000139">zipnew</a></li>
257
+ <li><a href="#M000214">|</a></li>
258
+ <li><a href="#M000155">|</a></li>
259
+ </ul>
260
+
261
+
262
+
263
+
264
+
265
+
266
+ <div class="sectiontitle">Public Class methods</div>
267
+ <div class="method">
268
+ <div class="title">
269
+ <a name="M000197"></a><b>autonew</b>(*args)
270
+ </div>
271
+ <div class="description">
272
+ <p>
273
+ <a href="Hash.html">Hash</a> which auto initializes it&#8216;s children.
274
+ </p>
275
+ <pre>
276
+ ah = Hash.autonew
277
+ ah['section one']['param one'] = 4
278
+ ah['section one']['param two'] = 5
279
+ ah['section one']['param three'] = 2
280
+ ah['section one']['param four'] = 3
281
+
282
+ p ah
283
+ # {&quot;section one&quot;=&gt;{&quot;param one&quot;=&gt;4, &quot;param four&quot;=&gt;3, &quot;param three&quot;=&gt;2, &quot;param two&quot;=&gt;5}}
284
+
285
+ p ah['section one'].keys
286
+ # [&quot;param one&quot;, &quot;param four&quot;, &quot;param three&quot;, &quot;param two&quot;]
287
+ </pre>
288
+ <p>
289
+ CREDIT: Trans CREDIT: Jan Molic
290
+ </p>
291
+ </div>
292
+ <div class="sourcecode">
293
+ <p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">show source</a> ]</p>
294
+ <div id="M000197_source" class="dyn-source">
295
+ <pre>
296
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 20</span>
297
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">autonew</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
298
+ <span class="ruby-comment cmt">#new(*args){|a,k| a[k] = self.class::new(*args)}</span>
299
+ <span class="ruby-identifier">leet</span> = <span class="ruby-identifier">lambda</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">hsh</span>, <span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">new</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">leet</span> ) }
300
+ <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">leet</span>)
301
+ <span class="ruby-keyword kw">end</span>
302
+ </pre>
303
+ </div>
304
+ </div>
305
+ </div>
306
+ <div class="method">
307
+ <div class="title">
308
+ <a name="M000138"></a><b>autonew</b>(*args)
309
+ </div>
310
+ <div class="description">
311
+ <p>
312
+ <a href="Hash.html">Hash</a> which auto initializes it&#8216;s children.
313
+ </p>
314
+ <pre>
315
+ ah = Hash.autonew
316
+ ah['section one']['param one'] = 4
317
+ ah['section one']['param two'] = 5
318
+ ah['section one']['param three'] = 2
319
+ ah['section one']['param four'] = 3
320
+
321
+ p ah
322
+ # {&quot;section one&quot;=&gt;{&quot;param one&quot;=&gt;4, &quot;param four&quot;=&gt;3, &quot;param three&quot;=&gt;2, &quot;param two&quot;=&gt;5}}
323
+
324
+ p ah['section one'].keys
325
+ # [&quot;param one&quot;, &quot;param four&quot;, &quot;param three&quot;, &quot;param two&quot;]
326
+ </pre>
327
+ <p>
328
+ CREDIT: Trans CREDIT: Jan Molic
329
+ </p>
330
+ </div>
331
+ <div class="sourcecode">
332
+ <p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show source</a> ]</p>
333
+ <div id="M000138_source" class="dyn-source">
334
+ <pre>
335
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 20</span>
336
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">autonew</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
337
+ <span class="ruby-comment cmt">#new(*args){|a,k| a[k] = self.class::new(*args)}</span>
338
+ <span class="ruby-identifier">leet</span> = <span class="ruby-identifier">lambda</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">hsh</span>, <span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">new</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">leet</span> ) }
339
+ <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">leet</span>)
340
+ <span class="ruby-keyword kw">end</span>
341
+ </pre>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ <div class="method">
346
+ <div class="title">
347
+ <a name="M000198"></a><b>zipnew</b>(keys,values)
348
+ </div>
349
+ <div class="description">
350
+ <p>
351
+ Creates a new hash from two arrays &#8212;a keys array and a values array.
352
+ </p>
353
+ <pre>
354
+ Hash.zipnew([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;], [1,2,3])
355
+ #=&gt; { &quot;a&quot;=&gt;1, &quot;b&quot;=&gt;2, &quot;c&quot;=&gt;3 }
356
+
357
+ CREDIT: Trans
358
+ CREDIT: Ara T. Howard
359
+ </pre>
360
+ </div>
361
+ <div class="sourcecode">
362
+ <p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">show source</a> ]</p>
363
+ <div id="M000198_source" class="dyn-source">
364
+ <pre>
365
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 35</span>
366
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">zipnew</span>(<span class="ruby-identifier">keys</span>,<span class="ruby-identifier">values</span>) <span class="ruby-comment cmt"># or some better name</span>
367
+ <span class="ruby-identifier">h</span> = {}
368
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">size</span>.<span class="ruby-identifier">times</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">h</span>[ <span class="ruby-identifier">keys</span>[<span class="ruby-identifier">i</span>] ] = <span class="ruby-identifier">values</span>[<span class="ruby-identifier">i</span>] }
369
+ <span class="ruby-identifier">h</span>
370
+ <span class="ruby-keyword kw">end</span>
371
+ </pre>
372
+ </div>
373
+ </div>
374
+ </div>
375
+ <div class="method">
376
+ <div class="title">
377
+ <a name="M000139"></a><b>zipnew</b>(keys,values)
378
+ </div>
379
+ <div class="description">
380
+ <p>
381
+ Creates a new hash from two arrays &#8212;a keys array and a values array.
382
+ </p>
383
+ <pre>
384
+ Hash.zipnew([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;], [1,2,3])
385
+ #=&gt; { &quot;a&quot;=&gt;1, &quot;b&quot;=&gt;2, &quot;c&quot;=&gt;3 }
386
+
387
+ CREDIT: Trans
388
+ CREDIT: Ara T. Howard
389
+ </pre>
390
+ </div>
391
+ <div class="sourcecode">
392
+ <p class="source-link">[ <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show source</a> ]</p>
393
+ <div id="M000139_source" class="dyn-source">
394
+ <pre>
395
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 35</span>
396
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">zipnew</span>(<span class="ruby-identifier">keys</span>,<span class="ruby-identifier">values</span>) <span class="ruby-comment cmt"># or some better name</span>
397
+ <span class="ruby-identifier">h</span> = {}
398
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">size</span>.<span class="ruby-identifier">times</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">h</span>[ <span class="ruby-identifier">keys</span>[<span class="ruby-identifier">i</span>] ] = <span class="ruby-identifier">values</span>[<span class="ruby-identifier">i</span>] }
399
+ <span class="ruby-identifier">h</span>
400
+ <span class="ruby-keyword kw">end</span>
401
+ </pre>
402
+ </div>
403
+ </div>
404
+ </div>
405
+ <div class="sectiontitle">Public Instance methods</div>
406
+ <div class="method">
407
+ <div class="title">
408
+ <a name="M000154"></a><b>&amp;</b>(other)
409
+ </div>
410
+ <div class="description">
411
+ <p>
412
+ <a href="Hash.html">Hash</a> intersection. Two hashes intersect when their
413
+ pairs are equal.
414
+ </p>
415
+ <pre>
416
+ {:a=&gt;1,:b=&gt;2} &amp; {:a=&gt;1,:c=&gt;3} #=&gt; {:a=&gt;1}
417
+ </pre>
418
+ <p>
419
+ A hash can also be intersected with an array to intersect keys only.
420
+ </p>
421
+ <pre>
422
+ {:a=&gt;1,:b=&gt;2} &amp; [:a,:c] #=&gt; {:a=&gt;1}
423
+ </pre>
424
+ <p>
425
+ The later form is similar to pairs_at. The differ only in that pairs_at
426
+ will return a nil value for a key not in the hash, but #&amp; will not.
427
+ </p>
428
+ <pre>
429
+ CREDIT: Trans
430
+ </pre>
431
+ </div>
432
+ <div class="sourcecode">
433
+ <p class="source-link">[ <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">show source</a> ]</p>
434
+ <div id="M000154_source" class="dyn-source">
435
+ <pre>
436
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 19</span>
437
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&amp;</span>(<span class="ruby-identifier">other</span>)
438
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">other</span>
439
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>
440
+ <span class="ruby-identifier">k</span> = (<span class="ruby-identifier">keys</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">other</span>)
441
+ <span class="ruby-constant">Hash</span>[<span class="ruby-operator">*</span>(<span class="ruby-identifier">k</span>.<span class="ruby-identifier">zip</span>(<span class="ruby-identifier">values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">k</span>)).<span class="ruby-identifier">flatten</span>)]
442
+ <span class="ruby-keyword kw">else</span>
443
+ <span class="ruby-identifier">x</span> = (<span class="ruby-identifier">to_a</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_a</span>).<span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">kv</span><span class="ruby-operator">|</span>
444
+ <span class="ruby-identifier">a</span>.<span class="ruby-identifier">concat</span> <span class="ruby-identifier">kv</span>; <span class="ruby-identifier">a</span>
445
+ <span class="ruby-keyword kw">end</span>
446
+ <span class="ruby-constant">Hash</span>[<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>]
447
+ <span class="ruby-keyword kw">end</span>
448
+ <span class="ruby-keyword kw">end</span>
449
+ </pre>
450
+ </div>
451
+ </div>
452
+ </div>
453
+ <div class="method">
454
+ <div class="title">
455
+ <a name="M000213"></a><b>&amp;</b>(other)
456
+ </div>
457
+ <div class="description">
458
+ <p>
459
+ <a href="Hash.html">Hash</a> intersection. Two hashes intersect when their
460
+ pairs are equal.
461
+ </p>
462
+ <pre>
463
+ {:a=&gt;1,:b=&gt;2} &amp; {:a=&gt;1,:c=&gt;3} #=&gt; {:a=&gt;1}
464
+ </pre>
465
+ <p>
466
+ A hash can also be intersected with an array to intersect keys only.
467
+ </p>
468
+ <pre>
469
+ {:a=&gt;1,:b=&gt;2} &amp; [:a,:c] #=&gt; {:a=&gt;1}
470
+ </pre>
471
+ <p>
472
+ The later form is similar to pairs_at. The differ only in that pairs_at
473
+ will return a nil value for a key not in the hash, but #&amp; will not.
474
+ </p>
475
+ <pre>
476
+ CREDIT: Trans
477
+ </pre>
478
+ </div>
479
+ <div class="sourcecode">
480
+ <p class="source-link">[ <a href="javascript:toggleSource('M000213_source')" id="l_M000213_source">show source</a> ]</p>
481
+ <div id="M000213_source" class="dyn-source">
482
+ <pre>
483
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 19</span>
484
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&amp;</span>(<span class="ruby-identifier">other</span>)
485
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">other</span>
486
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>
487
+ <span class="ruby-identifier">k</span> = (<span class="ruby-identifier">keys</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">other</span>)
488
+ <span class="ruby-constant">Hash</span>[<span class="ruby-operator">*</span>(<span class="ruby-identifier">k</span>.<span class="ruby-identifier">zip</span>(<span class="ruby-identifier">values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">k</span>)).<span class="ruby-identifier">flatten</span>)]
489
+ <span class="ruby-keyword kw">else</span>
490
+ <span class="ruby-identifier">x</span> = (<span class="ruby-identifier">to_a</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_a</span>).<span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">kv</span><span class="ruby-operator">|</span>
491
+ <span class="ruby-identifier">a</span>.<span class="ruby-identifier">concat</span> <span class="ruby-identifier">kv</span>; <span class="ruby-identifier">a</span>
492
+ <span class="ruby-keyword kw">end</span>
493
+ <span class="ruby-constant">Hash</span>[<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>]
494
+ <span class="ruby-keyword kw">end</span>
495
+ <span class="ruby-keyword kw">end</span>
496
+ </pre>
497
+ </div>
498
+ </div>
499
+ </div>
500
+ <div class="method">
501
+ <div class="title">
502
+ <a name="M000158"></a><b>*</b>(other)
503
+ </div>
504
+ <div class="description">
505
+ <p>
506
+ Like merge operator &#8217;+&#8217; but merges in reverse order.
507
+ </p>
508
+ <pre>
509
+ h1 = { :a=&gt;1 }
510
+ h2 = { :a=&gt;2, :b=&gt;3 }
511
+
512
+ h1 + h2 #=&gt; { :a=&gt;2, :b=&gt;3 }
513
+ h1 * h2 #=&gt; { :a=&gt;1, :b=&gt;3 }
514
+
515
+ CREDIT: Trans
516
+ </pre>
517
+ </div>
518
+ <div class="sourcecode">
519
+ <p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">show source</a> ]</p>
520
+ <div id="M000158_source" class="dyn-source">
521
+ <pre>
522
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 80</span>
523
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">other</span>)
524
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
525
+ <span class="ruby-keyword kw">end</span>
526
+ </pre>
527
+ </div>
528
+ </div>
529
+ </div>
530
+ <div class="method">
531
+ <div class="title">
532
+ <a name="M000217"></a><b>*</b>(other)
533
+ </div>
534
+ <div class="description">
535
+ <p>
536
+ Like merge operator &#8217;+&#8217; but merges in reverse order.
537
+ </p>
538
+ <pre>
539
+ h1 = { :a=&gt;1 }
540
+ h2 = { :a=&gt;2, :b=&gt;3 }
541
+
542
+ h1 + h2 #=&gt; { :a=&gt;2, :b=&gt;3 }
543
+ h1 * h2 #=&gt; { :a=&gt;1, :b=&gt;3 }
544
+
545
+ CREDIT: Trans
546
+ </pre>
547
+ </div>
548
+ <div class="sourcecode">
549
+ <p class="source-link">[ <a href="javascript:toggleSource('M000217_source')" id="l_M000217_source">show source</a> ]</p>
550
+ <div id="M000217_source" class="dyn-source">
551
+ <pre>
552
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 80</span>
553
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">other</span>)
554
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
555
+ <span class="ruby-keyword kw">end</span>
556
+ </pre>
557
+ </div>
558
+ </div>
559
+ </div>
560
+ <div class="method">
561
+ <div class="title">
562
+ <a name="M000156"></a><b>+</b>(other)
563
+ </div>
564
+ <div class="description">
565
+ <p>
566
+ Operator for merge.
567
+ </p>
568
+ <pre>
569
+ CREDIT: Trans
570
+ </pre>
571
+ </div>
572
+ <div class="sourcecode">
573
+ <p class="source-link">[ <a href="javascript:toggleSource('M000156_source')" id="l_M000156_source">show source</a> ]</p>
574
+ <div id="M000156_source" class="dyn-source">
575
+ <pre>
576
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 44</span>
577
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
578
+ <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">other</span>)
579
+ <span class="ruby-keyword kw">end</span>
580
+ </pre>
581
+ </div>
582
+ </div>
583
+ </div>
584
+ <div class="method">
585
+ <div class="title">
586
+ <a name="M000215"></a><b>+</b>(other)
587
+ </div>
588
+ <div class="description">
589
+ <p>
590
+ Operator for merge.
591
+ </p>
592
+ <pre>
593
+ CREDIT: Trans
594
+ </pre>
595
+ </div>
596
+ <div class="sourcecode">
597
+ <p class="source-link">[ <a href="javascript:toggleSource('M000215_source')" id="l_M000215_source">show source</a> ]</p>
598
+ <div id="M000215_source" class="dyn-source">
599
+ <pre>
600
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 44</span>
601
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
602
+ <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">other</span>)
603
+ <span class="ruby-keyword kw">end</span>
604
+ </pre>
605
+ </div>
606
+ </div>
607
+ </div>
608
+ <div class="method">
609
+ <div class="title">
610
+ <a name="M000157"></a><b>-</b>(other)
611
+ </div>
612
+ <div class="description">
613
+ <p>
614
+ Operator for remove hash paris. If another hash is given the pairs are only
615
+ removed if both key and value are equal. If an array is given then matching
616
+ keys are removed.
617
+ </p>
618
+ <pre>
619
+ CREDIT: Trans
620
+ </pre>
621
+ </div>
622
+ <div class="sourcecode">
623
+ <p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">show source</a> ]</p>
624
+ <div id="M000157_source" class="dyn-source">
625
+ <pre>
626
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 54</span>
627
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
628
+ <span class="ruby-identifier">h</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
629
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_ary</span>)
630
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_ary</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
631
+ <span class="ruby-identifier">h</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
632
+ <span class="ruby-keyword kw">end</span>
633
+ <span class="ruby-keyword kw">else</span>
634
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
635
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">k</span>)
636
+ <span class="ruby-identifier">h</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">h</span>[<span class="ruby-identifier">k</span>]
637
+ <span class="ruby-keyword kw">end</span>
638
+ <span class="ruby-keyword kw">end</span>
639
+ <span class="ruby-keyword kw">end</span>
640
+ <span class="ruby-identifier">h</span>
641
+ <span class="ruby-keyword kw">end</span>
642
+ </pre>
643
+ </div>
644
+ </div>
645
+ </div>
646
+ <div class="method">
647
+ <div class="title">
648
+ <a name="M000216"></a><b>-</b>(other)
649
+ </div>
650
+ <div class="description">
651
+ <p>
652
+ Operator for remove hash paris. If another hash is given the pairs are only
653
+ removed if both key and value are equal. If an array is given then matching
654
+ keys are removed.
655
+ </p>
656
+ <pre>
657
+ CREDIT: Trans
658
+ </pre>
659
+ </div>
660
+ <div class="sourcecode">
661
+ <p class="source-link">[ <a href="javascript:toggleSource('M000216_source')" id="l_M000216_source">show source</a> ]</p>
662
+ <div id="M000216_source" class="dyn-source">
663
+ <pre>
664
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 54</span>
665
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
666
+ <span class="ruby-identifier">h</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
667
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_ary</span>)
668
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_ary</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
669
+ <span class="ruby-identifier">h</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
670
+ <span class="ruby-keyword kw">end</span>
671
+ <span class="ruby-keyword kw">else</span>
672
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
673
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">k</span>)
674
+ <span class="ruby-identifier">h</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">h</span>[<span class="ruby-identifier">k</span>]
675
+ <span class="ruby-keyword kw">end</span>
676
+ <span class="ruby-keyword kw">end</span>
677
+ <span class="ruby-keyword kw">end</span>
678
+ <span class="ruby-identifier">h</span>
679
+ <span class="ruby-keyword kw">end</span>
680
+ </pre>
681
+ </div>
682
+ </div>
683
+ </div>
684
+ <div class="method">
685
+ <div class="title">
686
+ <a name="M000192"></a><b>&lt;&lt;</b>(other)
687
+ </div>
688
+ <div class="description">
689
+ <p>
690
+ Can be used like update, or passed as two-element [key,value] array.
691
+ </p>
692
+ <pre>
693
+ CREDIT: Trans
694
+ </pre>
695
+ </div>
696
+ <div class="sourcecode">
697
+ <p class="source-link">[ <a href="javascript:toggleSource('M000192_source')" id="l_M000192_source">show source</a> ]</p>
698
+ <div id="M000192_source" class="dyn-source">
699
+ <pre>
700
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 8</span>
701
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">other</span>)
702
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_ary</span>)
703
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">other</span>)
704
+ <span class="ruby-keyword kw">else</span>
705
+ <span class="ruby-identifier">update</span>(<span class="ruby-identifier">other</span>)
706
+ <span class="ruby-keyword kw">end</span>
707
+ <span class="ruby-keyword kw">end</span>
708
+ </pre>
709
+ </div>
710
+ </div>
711
+ </div>
712
+ <div class="method">
713
+ <div class="title">
714
+ <a name="M000133"></a><b>&lt;&lt;</b>(other)
715
+ </div>
716
+ <div class="description">
717
+ <p>
718
+ Can be used like update, or passed as two-element [key,value] array.
719
+ </p>
720
+ <pre>
721
+ CREDIT: Trans
722
+ </pre>
723
+ </div>
724
+ <div class="sourcecode">
725
+ <p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show source</a> ]</p>
726
+ <div id="M000133_source" class="dyn-source">
727
+ <pre>
728
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 8</span>
729
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">other</span>)
730
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_ary</span>)
731
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">other</span>)
732
+ <span class="ruby-keyword kw">else</span>
733
+ <span class="ruby-identifier">update</span>(<span class="ruby-identifier">other</span>)
734
+ <span class="ruby-keyword kw">end</span>
735
+ <span class="ruby-keyword kw">end</span>
736
+ </pre>
737
+ </div>
738
+ </div>
739
+ </div>
740
+ <div class="method">
741
+ <div class="title">
742
+ <a name="M000191"></a><b>alias!</b>(newkey, oldkey)
743
+ </div>
744
+ <div class="description">
745
+ <p>
746
+ Modifies the receiving <a href="Hash.html">Hash</a> so that the value
747
+ previously referred to by <em>oldkey</em> is also referenced by
748
+ <em>newkey</em>; <em>oldkey</em> is retained in the <a
749
+ href="Hash.html">Hash</a>. If <em>oldkey</em> does not exist as a key in
750
+ the <a href="Hash.html">Hash</a>, no change is effected.
751
+ </p>
752
+ <p>
753
+ Returns a reference to the <a href="Hash.html">Hash</a>.
754
+ </p>
755
+ <pre>
756
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
757
+ foo.alias!('name',:name) =&gt; { :name=&gt;'Gavin', 'name'=&gt;'Gavin', 'wife'=&gt;:Lisa }
758
+
759
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
760
+ foo.alias!('spouse','wife') =&gt; { :name=&gt;'Gavin', 'wife'=&gt;:Lisa, 'spouse'=&gt;:Lisa }
761
+
762
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
763
+ foo.alias!('bar','foo') =&gt; { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
764
+ </pre>
765
+ <p>
766
+ Note that if the <em>oldkey</em> is reassigned, the reference will no
767
+ longer exist, and the <em>newkey</em> will remain as it was.
768
+ </p>
769
+ <pre>
770
+ CREDIT: Gavin Sinclair
771
+ </pre>
772
+ <p>
773
+ TODO: Rename to aliaskey or something else.
774
+ </p>
775
+ </div>
776
+ <div class="sourcecode">
777
+ <p class="source-link">[ <a href="javascript:toggleSource('M000191_source')" id="l_M000191_source">show source</a> ]</p>
778
+ <div id="M000191_source" class="dyn-source">
779
+ <pre>
780
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/alias.rb, line 25</span>
781
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias!</span>(<span class="ruby-identifier">newkey</span>, <span class="ruby-identifier">oldkey</span>)
782
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">newkey</span>] = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">oldkey</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">oldkey</span>)
783
+ <span class="ruby-keyword kw">self</span>
784
+ <span class="ruby-keyword kw">end</span>
785
+ </pre>
786
+ </div>
787
+ </div>
788
+ </div>
789
+ <div class="method">
790
+ <div class="title">
791
+ <a name="M000132"></a><b>alias!</b>(newkey, oldkey)
792
+ </div>
793
+ <div class="description">
794
+ <p>
795
+ Modifies the receiving <a href="Hash.html">Hash</a> so that the value
796
+ previously referred to by <em>oldkey</em> is also referenced by
797
+ <em>newkey</em>; <em>oldkey</em> is retained in the <a
798
+ href="Hash.html">Hash</a>. If <em>oldkey</em> does not exist as a key in
799
+ the <a href="Hash.html">Hash</a>, no change is effected.
800
+ </p>
801
+ <p>
802
+ Returns a reference to the <a href="Hash.html">Hash</a>.
803
+ </p>
804
+ <pre>
805
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
806
+ foo.alias!('name',:name) =&gt; { :name=&gt;'Gavin', 'name'=&gt;'Gavin', 'wife'=&gt;:Lisa }
807
+
808
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
809
+ foo.alias!('spouse','wife') =&gt; { :name=&gt;'Gavin', 'wife'=&gt;:Lisa, 'spouse'=&gt;:Lisa }
810
+
811
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
812
+ foo.alias!('bar','foo') =&gt; { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
813
+ </pre>
814
+ <p>
815
+ Note that if the <em>oldkey</em> is reassigned, the reference will no
816
+ longer exist, and the <em>newkey</em> will remain as it was.
817
+ </p>
818
+ <pre>
819
+ CREDIT: Gavin Sinclair
820
+ </pre>
821
+ <p>
822
+ TODO: Rename to aliaskey or something else.
823
+ </p>
824
+ </div>
825
+ <div class="sourcecode">
826
+ <p class="source-link">[ <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show source</a> ]</p>
827
+ <div id="M000132_source" class="dyn-source">
828
+ <pre>
829
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/alias.rb, line 25</span>
830
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias!</span>(<span class="ruby-identifier">newkey</span>, <span class="ruby-identifier">oldkey</span>)
831
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">newkey</span>] = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">oldkey</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">oldkey</span>)
832
+ <span class="ruby-keyword kw">self</span>
833
+ <span class="ruby-keyword kw">end</span>
834
+ </pre>
835
+ </div>
836
+ </div>
837
+ </div>
838
+ <div class="method">
839
+ <div class="title">
840
+ <a name="M000190"></a><b>argumentize</b>(args_field=nil)
841
+ </div>
842
+ <div class="description">
843
+ <p>
844
+ Turn a hash into arguments.
845
+ </p>
846
+ <pre>
847
+ h = { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; }
848
+ h.argumentize #=&gt; [ [], { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; } ]
849
+ h.argumentize(:list) #=&gt; [ [1,2], { :base =&gt; &quot;HI&quot; } ]
850
+ h.argumentize(:base) #=&gt; [ [&quot;HI&quot;], { :list =&gt; [1,2] } ]
851
+ </pre>
852
+ </div>
853
+ <div class="sourcecode">
854
+ <p class="source-link">[ <a href="javascript:toggleSource('M000190_source')" id="l_M000190_source">show source</a> ]</p>
855
+ <div id="M000190_source" class="dyn-source">
856
+ <pre>
857
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/argumentize.rb, line 10</span>
858
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">argumentize</span>(<span class="ruby-identifier">args_field</span>=<span class="ruby-keyword kw">nil</span>)
859
+ <span class="ruby-identifier">config</span> = <span class="ruby-identifier">dup</span>
860
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args_field</span>
861
+ <span class="ruby-identifier">args</span> = [<span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">args_field</span>)].<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>
862
+ <span class="ruby-keyword kw">else</span>
863
+ <span class="ruby-identifier">args</span> = []
864
+ <span class="ruby-keyword kw">end</span>
865
+ <span class="ruby-identifier">args</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">config</span>
866
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">args</span>
867
+ <span class="ruby-keyword kw">end</span>
868
+ </pre>
869
+ </div>
870
+ </div>
871
+ </div>
872
+ <div class="method">
873
+ <div class="title">
874
+ <a name="M000249"></a><b>argumentize</b>(args_field=nil)
875
+ </div>
876
+ <div class="description">
877
+ <p>
878
+ Turn a hash into arguments.
879
+ </p>
880
+ <pre>
881
+ h = { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; }
882
+ h.argumentize #=&gt; [ [], { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; } ]
883
+ h.argumentize(:list) #=&gt; [ [1,2], { :base =&gt; &quot;HI&quot; } ]
884
+ h.argumentize(:base) #=&gt; [ [&quot;HI&quot;], { :list =&gt; [1,2] } ]
885
+ </pre>
886
+ </div>
887
+ <div class="sourcecode">
888
+ <p class="source-link">[ <a href="javascript:toggleSource('M000249_source')" id="l_M000249_source">show source</a> ]</p>
889
+ <div id="M000249_source" class="dyn-source">
890
+ <pre>
891
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/argumentize.rb, line 10</span>
892
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">argumentize</span>(<span class="ruby-identifier">args_field</span>=<span class="ruby-keyword kw">nil</span>)
893
+ <span class="ruby-identifier">config</span> = <span class="ruby-identifier">dup</span>
894
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args_field</span>
895
+ <span class="ruby-identifier">args</span> = [<span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">args_field</span>)].<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>
896
+ <span class="ruby-keyword kw">else</span>
897
+ <span class="ruby-identifier">args</span> = []
898
+ <span class="ruby-keyword kw">end</span>
899
+ <span class="ruby-identifier">args</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">config</span>
900
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">args</span>
901
+ <span class="ruby-keyword kw">end</span>
902
+ </pre>
903
+ </div>
904
+ </div>
905
+ </div>
906
+ <div class="method">
907
+ <div class="title">
908
+ <a name="M000169"></a><b>collate</b>(other_hash)
909
+ </div>
910
+ <div class="description">
911
+ <p>
912
+ Merge the values of this hash with those from another, setting all values
913
+ to be arrays representing the values from both hashes.
914
+ </p>
915
+ <pre>
916
+ { :a=&gt;1, :b=&gt;2 }.collate :a=&gt;3, :b=&gt;4, :c=&gt;5
917
+ #=&gt; { :a=&gt;[1,3], :b=&gt;[2,4], :c=&gt;[5] }
918
+
919
+ CREDIT: Gavin Kistner (Phrogz)
920
+ </pre>
921
+ </div>
922
+ <div class="sourcecode">
923
+ <p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">show source</a> ]</p>
924
+ <div id="M000169_source" class="dyn-source">
925
+ <pre>
926
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 11</span>
927
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate</span>(<span class="ruby-identifier">other_hash</span>)
928
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
929
+ <span class="ruby-keyword kw">end</span>
930
+ </pre>
931
+ </div>
932
+ </div>
933
+ </div>
934
+ <div class="method">
935
+ <div class="title">
936
+ <a name="M000228"></a><b>collate</b>(other_hash)
937
+ </div>
938
+ <div class="description">
939
+ <p>
940
+ Merge the values of this hash with those from another, setting all values
941
+ to be arrays representing the values from both hashes.
942
+ </p>
943
+ <pre>
944
+ { :a=&gt;1, :b=&gt;2 }.collate :a=&gt;3, :b=&gt;4, :c=&gt;5
945
+ #=&gt; { :a=&gt;[1,3], :b=&gt;[2,4], :c=&gt;[5] }
946
+
947
+ CREDIT: Gavin Kistner (Phrogz)
948
+ </pre>
949
+ </div>
950
+ <div class="sourcecode">
951
+ <p class="source-link">[ <a href="javascript:toggleSource('M000228_source')" id="l_M000228_source">show source</a> ]</p>
952
+ <div id="M000228_source" class="dyn-source">
953
+ <pre>
954
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 11</span>
955
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate</span>(<span class="ruby-identifier">other_hash</span>)
956
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
957
+ <span class="ruby-keyword kw">end</span>
958
+ </pre>
959
+ </div>
960
+ </div>
961
+ </div>
962
+ <div class="method">
963
+ <div class="title">
964
+ <a name="M000170"></a><b>collate!</b>(other_hash)
965
+ </div>
966
+ <div class="description">
967
+ <p>
968
+ The same as <a href="Hash.html#M000169">collate</a>, but modifies the
969
+ receiver in place.
970
+ </p>
971
+ </div>
972
+ <div class="sourcecode">
973
+ <p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">show source</a> ]</p>
974
+ <div id="M000170_source" class="dyn-source">
975
+ <pre>
976
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 17</span>
977
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
978
+ <span class="ruby-comment cmt"># Prepare, ensuring every existing key is already an Array</span>
979
+ <span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
980
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
981
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
982
+ <span class="ruby-keyword kw">else</span>
983
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = [<span class="ruby-identifier">value</span>]
984
+ <span class="ruby-keyword kw">end</span>
985
+ <span class="ruby-keyword kw">end</span>
986
+ <span class="ruby-comment cmt"># Collate with values from other_hash</span>
987
+ <span class="ruby-identifier">other_hash</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
988
+ <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
989
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
990
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>].<span class="ruby-identifier">concat</span>( <span class="ruby-identifier">value</span> )
991
+ <span class="ruby-keyword kw">else</span>
992
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">value</span>
993
+ <span class="ruby-keyword kw">end</span>
994
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
995
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
996
+ <span class="ruby-keyword kw">else</span>
997
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = [<span class="ruby-identifier">value</span>]
998
+ <span class="ruby-keyword kw">end</span>
999
+ <span class="ruby-keyword kw">end</span>
1000
+ <span class="ruby-comment cmt">#each{ |key, value| value.uniq! } if options[ :uniq ]</span>
1001
+ <span class="ruby-keyword kw">self</span>
1002
+ <span class="ruby-keyword kw">end</span>
1003
+ </pre>
1004
+ </div>
1005
+ </div>
1006
+ </div>
1007
+ <div class="method">
1008
+ <div class="title">
1009
+ <a name="M000229"></a><b>collate!</b>(other_hash)
1010
+ </div>
1011
+ <div class="description">
1012
+ <p>
1013
+ The same as <a href="Hash.html#M000169">collate</a>, but modifies the
1014
+ receiver in place.
1015
+ </p>
1016
+ </div>
1017
+ <div class="sourcecode">
1018
+ <p class="source-link">[ <a href="javascript:toggleSource('M000229_source')" id="l_M000229_source">show source</a> ]</p>
1019
+ <div id="M000229_source" class="dyn-source">
1020
+ <pre>
1021
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 17</span>
1022
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
1023
+ <span class="ruby-comment cmt"># Prepare, ensuring every existing key is already an Array</span>
1024
+ <span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
1025
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
1026
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1027
+ <span class="ruby-keyword kw">else</span>
1028
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = [<span class="ruby-identifier">value</span>]
1029
+ <span class="ruby-keyword kw">end</span>
1030
+ <span class="ruby-keyword kw">end</span>
1031
+ <span class="ruby-comment cmt"># Collate with values from other_hash</span>
1032
+ <span class="ruby-identifier">other_hash</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
1033
+ <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
1034
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
1035
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>].<span class="ruby-identifier">concat</span>( <span class="ruby-identifier">value</span> )
1036
+ <span class="ruby-keyword kw">else</span>
1037
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">value</span>
1038
+ <span class="ruby-keyword kw">end</span>
1039
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
1040
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1041
+ <span class="ruby-keyword kw">else</span>
1042
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = [<span class="ruby-identifier">value</span>]
1043
+ <span class="ruby-keyword kw">end</span>
1044
+ <span class="ruby-keyword kw">end</span>
1045
+ <span class="ruby-comment cmt">#each{ |key, value| value.uniq! } if options[ :uniq ]</span>
1046
+ <span class="ruby-keyword kw">self</span>
1047
+ <span class="ruby-keyword kw">end</span>
1048
+ </pre>
1049
+ </div>
1050
+ </div>
1051
+ </div>
1052
+ <div class="method">
1053
+ <div class="title">
1054
+ <a name="M000171"></a><b>delete_unless</b>( {|| ...}
1055
+ </div>
1056
+ <div class="description">
1057
+ <p>
1058
+ Inverse of delete_if.
1059
+ </p>
1060
+ <pre>
1061
+ CREDIT: Daniel Schierbeck
1062
+ </pre>
1063
+ </div>
1064
+ <div class="sourcecode">
1065
+ <p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show source</a> ]</p>
1066
+ <div id="M000171_source" class="dyn-source">
1067
+ <pre>
1068
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 11</span>
1069
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_unless</span> <span class="ruby-comment cmt">#:yield:</span>
1070
+ <span class="ruby-identifier">delete_if</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span> <span class="ruby-operator">!</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>) }
1071
+ <span class="ruby-keyword kw">end</span>
1072
+ </pre>
1073
+ </div>
1074
+ </div>
1075
+ </div>
1076
+ <div class="method">
1077
+ <div class="title">
1078
+ <a name="M000230"></a><b>delete_unless</b>( {|| ...}
1079
+ </div>
1080
+ <div class="description">
1081
+ <p>
1082
+ Inverse of delete_if.
1083
+ </p>
1084
+ <pre>
1085
+ CREDIT: Daniel Schierbeck
1086
+ </pre>
1087
+ </div>
1088
+ <div class="sourcecode">
1089
+ <p class="source-link">[ <a href="javascript:toggleSource('M000230_source')" id="l_M000230_source">show source</a> ]</p>
1090
+ <div id="M000230_source" class="dyn-source">
1091
+ <pre>
1092
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 11</span>
1093
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_unless</span> <span class="ruby-comment cmt">#:yield:</span>
1094
+ <span class="ruby-identifier">delete_if</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span> <span class="ruby-operator">!</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>) }
1095
+ <span class="ruby-keyword kw">end</span>
1096
+ </pre>
1097
+ </div>
1098
+ </div>
1099
+ </div>
1100
+ <div class="method">
1101
+ <div class="title">
1102
+ <a name="M000172"></a><b>delete_values</b>(*values)
1103
+ </div>
1104
+ <div class="description">
1105
+ <p>
1106
+ Minor modification to Ruby&#8216;s Hash#delete method allowing it to take
1107
+ multiple keys.
1108
+ </p>
1109
+ <pre>
1110
+ hsh = { :a =&gt; 1, :b =&gt; 2 }
1111
+ hsh.delete_values(1)
1112
+ hsh #=&gt; { :b =&gt; 2 }
1113
+
1114
+ CREDIT: Daniel Schierbeck
1115
+ </pre>
1116
+ </div>
1117
+ <div class="sourcecode">
1118
+ <p class="source-link">[ <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">show source</a> ]</p>
1119
+ <div id="M000172_source" class="dyn-source">
1120
+ <pre>
1121
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 24</span>
1122
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
1123
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">values</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)) }
1124
+ <span class="ruby-keyword kw">end</span>
1125
+ </pre>
1126
+ </div>
1127
+ </div>
1128
+ </div>
1129
+ <div class="method">
1130
+ <div class="title">
1131
+ <a name="M000231"></a><b>delete_values</b>(*values)
1132
+ </div>
1133
+ <div class="description">
1134
+ <p>
1135
+ Minor modification to Ruby&#8216;s Hash#delete method allowing it to take
1136
+ multiple keys.
1137
+ </p>
1138
+ <pre>
1139
+ hsh = { :a =&gt; 1, :b =&gt; 2 }
1140
+ hsh.delete_values(1)
1141
+ hsh #=&gt; { :b =&gt; 2 }
1142
+
1143
+ CREDIT: Daniel Schierbeck
1144
+ </pre>
1145
+ </div>
1146
+ <div class="sourcecode">
1147
+ <p class="source-link">[ <a href="javascript:toggleSource('M000231_source')" id="l_M000231_source">show source</a> ]</p>
1148
+ <div id="M000231_source" class="dyn-source">
1149
+ <pre>
1150
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 24</span>
1151
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
1152
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">values</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)) }
1153
+ <span class="ruby-keyword kw">end</span>
1154
+ </pre>
1155
+ </div>
1156
+ </div>
1157
+ </div>
1158
+ <div class="method">
1159
+ <div class="title">
1160
+ <a name="M000173"></a><b>delete_values_at</b>(*keys, &amp;yld)
1161
+ </div>
1162
+ <div class="description">
1163
+ <p>
1164
+ Minor modification to Ruby&#8216;s Hash#delete method allowing it to take
1165
+ multiple keys.
1166
+ </p>
1167
+ <p>
1168
+ This works niely with hash#[] and <a href="Hash.html">Hash</a>#[]= facets.
1169
+ </p>
1170
+ <pre>
1171
+ hsh[:a, :b, :c] = 1, 2, 3
1172
+
1173
+ a, b, c = hsh.delete_values_at(:a, :b, :c)
1174
+
1175
+ [a, b, c] #=&gt; [1, 2, 3]
1176
+ hsh #=&gt; {}
1177
+
1178
+ CREDIT: Daniel Schierbeck
1179
+ </pre>
1180
+ </div>
1181
+ <div class="sourcecode">
1182
+ <p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">show source</a> ]</p>
1183
+ <div id="M000173_source" class="dyn-source">
1184
+ <pre>
1185
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 42</span>
1186
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keys</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>)
1187
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>) }
1188
+ <span class="ruby-keyword kw">end</span>
1189
+ </pre>
1190
+ </div>
1191
+ </div>
1192
+ </div>
1193
+ <div class="method">
1194
+ <div class="title">
1195
+ <a name="M000232"></a><b>delete_values_at</b>(*keys, &amp;yld)
1196
+ </div>
1197
+ <div class="description">
1198
+ <p>
1199
+ Minor modification to Ruby&#8216;s Hash#delete method allowing it to take
1200
+ multiple keys.
1201
+ </p>
1202
+ <p>
1203
+ This works niely with hash#[] and <a href="Hash.html">Hash</a>#[]= facets.
1204
+ </p>
1205
+ <pre>
1206
+ hsh[:a, :b, :c] = 1, 2, 3
1207
+
1208
+ a, b, c = hsh.delete_values_at(:a, :b, :c)
1209
+
1210
+ [a, b, c] #=&gt; [1, 2, 3]
1211
+ hsh #=&gt; {}
1212
+
1213
+ CREDIT: Daniel Schierbeck
1214
+ </pre>
1215
+ </div>
1216
+ <div class="sourcecode">
1217
+ <p class="source-link">[ <a href="javascript:toggleSource('M000232_source')" id="l_M000232_source">show source</a> ]</p>
1218
+ <div id="M000232_source" class="dyn-source">
1219
+ <pre>
1220
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 42</span>
1221
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keys</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>)
1222
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">map</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>) }
1223
+ <span class="ruby-keyword kw">end</span>
1224
+ </pre>
1225
+ </div>
1226
+ </div>
1227
+ </div>
1228
+ <div class="method">
1229
+ <div class="title">
1230
+ <a name="M000166"></a><b>diff</b>(hash)
1231
+ </div>
1232
+ <div class="description">
1233
+ <p>
1234
+ Difference comparison of two hashes.
1235
+ </p>
1236
+ </div>
1237
+ <div class="sourcecode">
1238
+ <p class="source-link">[ <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">show source</a> ]</p>
1239
+ <div id="M000166_source" class="dyn-source">
1240
+ <pre>
1241
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/diff.rb, line 5</span>
1242
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff</span>(<span class="ruby-identifier">hash</span>)
1243
+ <span class="ruby-identifier">h1</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">delete_if</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">v</span> }
1244
+ <span class="ruby-identifier">h2</span> = <span class="ruby-identifier">hash</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">delete_if</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">k</span>) }
1245
+ <span class="ruby-identifier">h1</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">h2</span>)
1246
+ <span class="ruby-keyword kw">end</span>
1247
+ </pre>
1248
+ </div>
1249
+ </div>
1250
+ </div>
1251
+ <div class="method">
1252
+ <div class="title">
1253
+ <a name="M000225"></a><b>diff</b>(hash)
1254
+ </div>
1255
+ <div class="description">
1256
+ <p>
1257
+ Difference comparison of two hashes.
1258
+ </p>
1259
+ </div>
1260
+ <div class="sourcecode">
1261
+ <p class="source-link">[ <a href="javascript:toggleSource('M000225_source')" id="l_M000225_source">show source</a> ]</p>
1262
+ <div id="M000225_source" class="dyn-source">
1263
+ <pre>
1264
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/diff.rb, line 5</span>
1265
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff</span>(<span class="ruby-identifier">hash</span>)
1266
+ <span class="ruby-identifier">h1</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">delete_if</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">v</span> }
1267
+ <span class="ruby-identifier">h2</span> = <span class="ruby-identifier">hash</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">delete_if</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">k</span>) }
1268
+ <span class="ruby-identifier">h1</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">h2</span>)
1269
+ <span class="ruby-keyword kw">end</span>
1270
+ </pre>
1271
+ </div>
1272
+ </div>
1273
+ </div>
1274
+ <div class="method">
1275
+ <div class="title">
1276
+ <a name="M000148"></a><b>each_with_key</b>( &amp;yld )
1277
+ </div>
1278
+ <div class="description">
1279
+ <p>
1280
+ Each with key is like each_pair but reverses the order the parameters to
1281
+ [value,key] instead of [key,value].
1282
+ </p>
1283
+ <pre>
1284
+ CREDIT: Trans
1285
+ </pre>
1286
+ </div>
1287
+ <div class="sourcecode">
1288
+ <p class="source-link">[ <a href="javascript:toggleSource('M000148_source')" id="l_M000148_source">show source</a> ]</p>
1289
+ <div id="M000148_source" class="dyn-source">
1290
+ <pre>
1291
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 40</span>
1292
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_with_key</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span> )
1293
+ <span class="ruby-identifier">each_pair</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">yld</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">v</span>,<span class="ruby-identifier">k</span>) }
1294
+ <span class="ruby-keyword kw">end</span>
1295
+ </pre>
1296
+ </div>
1297
+ </div>
1298
+ </div>
1299
+ <div class="method">
1300
+ <div class="title">
1301
+ <a name="M000207"></a><b>each_with_key</b>( &amp;yld )
1302
+ </div>
1303
+ <div class="description">
1304
+ <p>
1305
+ Each with key is like each_pair but reverses the order the parameters to
1306
+ [value,key] instead of [key,value].
1307
+ </p>
1308
+ <pre>
1309
+ CREDIT: Trans
1310
+ </pre>
1311
+ </div>
1312
+ <div class="sourcecode">
1313
+ <p class="source-link">[ <a href="javascript:toggleSource('M000207_source')" id="l_M000207_source">show source</a> ]</p>
1314
+ <div id="M000207_source" class="dyn-source">
1315
+ <pre>
1316
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 40</span>
1317
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_with_key</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span> )
1318
+ <span class="ruby-identifier">each_pair</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">yld</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">v</span>,<span class="ruby-identifier">k</span>) }
1319
+ <span class="ruby-keyword kw">end</span>
1320
+ </pre>
1321
+ </div>
1322
+ </div>
1323
+ </div>
1324
+ <div class="method">
1325
+ <div class="title">
1326
+ <a name="M000201"></a><b>except</b>(*less_keys)
1327
+ </div>
1328
+ <div class="description">
1329
+ <p>
1330
+ Returns a new hash less the given keys.
1331
+ </p>
1332
+ </div>
1333
+ <div class="sourcecode">
1334
+ <p class="source-link">[ <a href="javascript:toggleSource('M000201_source')" id="l_M000201_source">show source</a> ]</p>
1335
+ <div id="M000201_source" class="dyn-source">
1336
+ <pre>
1337
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 5</span>
1338
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1339
+ <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keys</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">less_keys</span>)
1340
+ <span class="ruby-keyword kw">end</span>
1341
+ </pre>
1342
+ </div>
1343
+ </div>
1344
+ </div>
1345
+ <div class="method">
1346
+ <div class="title">
1347
+ <a name="M000142"></a><b>except</b>(*less_keys)
1348
+ </div>
1349
+ <div class="description">
1350
+ <p>
1351
+ Returns a new hash less the given keys.
1352
+ </p>
1353
+ </div>
1354
+ <div class="sourcecode">
1355
+ <p class="source-link">[ <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">show source</a> ]</p>
1356
+ <div id="M000142_source" class="dyn-source">
1357
+ <pre>
1358
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 5</span>
1359
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1360
+ <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keys</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">less_keys</span>)
1361
+ <span class="ruby-keyword kw">end</span>
1362
+ </pre>
1363
+ </div>
1364
+ </div>
1365
+ </div>
1366
+ <div class="method">
1367
+ <div class="title">
1368
+ <a name="M000143"></a><b>except!</b>(*less_keys)
1369
+ </div>
1370
+ <div class="description">
1371
+ <p>
1372
+ Replaces hash with new hash less the given keys. This returns the hash of
1373
+ keys removed.
1374
+ </p>
1375
+ <pre>
1376
+ h = {:a=&gt;1, :b=&gt;2, :c=&gt;3}
1377
+ h.except!(:a) #=&gt; {:a=&gt;1}
1378
+ h #=&gt; {:b=&gt;2,:c=&gt;3}
1379
+ </pre>
1380
+ </div>
1381
+ <div class="sourcecode">
1382
+ <p class="source-link">[ <a href="javascript:toggleSource('M000143_source')" id="l_M000143_source">show source</a> ]</p>
1383
+ <div id="M000143_source" class="dyn-source">
1384
+ <pre>
1385
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 16</span>
1386
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">except!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1387
+ <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1388
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>))
1389
+ <span class="ruby-identifier">removed</span>
1390
+ <span class="ruby-keyword kw">end</span>
1391
+ </pre>
1392
+ </div>
1393
+ </div>
1394
+ </div>
1395
+ <div class="method">
1396
+ <div class="title">
1397
+ <a name="M000202"></a><b>except!</b>(*less_keys)
1398
+ </div>
1399
+ <div class="description">
1400
+ <p>
1401
+ Replaces hash with new hash less the given keys. This returns the hash of
1402
+ keys removed.
1403
+ </p>
1404
+ <pre>
1405
+ h = {:a=&gt;1, :b=&gt;2, :c=&gt;3}
1406
+ h.except!(:a) #=&gt; {:a=&gt;1}
1407
+ h #=&gt; {:b=&gt;2,:c=&gt;3}
1408
+ </pre>
1409
+ </div>
1410
+ <div class="sourcecode">
1411
+ <p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">show source</a> ]</p>
1412
+ <div id="M000202_source" class="dyn-source">
1413
+ <pre>
1414
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 16</span>
1415
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">except!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1416
+ <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1417
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>))
1418
+ <span class="ruby-identifier">removed</span>
1419
+ <span class="ruby-keyword kw">end</span>
1420
+ </pre>
1421
+ </div>
1422
+ </div>
1423
+ </div>
1424
+ <div class="method">
1425
+ <div class="title">
1426
+ <a name="M000168"></a><b>graph!</b>(&amp;yld)
1427
+ </div>
1428
+ <div class="description">
1429
+ <p>
1430
+ Alias for mash!
1431
+ </p>
1432
+ </div>
1433
+ </div>
1434
+ <div class="method">
1435
+ <div class="title">
1436
+ <a name="M000227"></a><b>graph!</b>(&amp;yld)
1437
+ </div>
1438
+ <div class="description">
1439
+ <p>
1440
+ Alias for mash!
1441
+ </p>
1442
+ </div>
1443
+ </div>
1444
+ <div class="method">
1445
+ <div class="title">
1446
+ <a name="M000203"></a><b>has_keys?</b>(*check_keys)
1447
+ </div>
1448
+ <div class="description">
1449
+ <p>
1450
+ Returns true or false whether the hash contains the given keys.
1451
+ </p>
1452
+ <pre>
1453
+ h = { :a =&gt; 1, :b =&gt; 2 }
1454
+ h.has_keys?( :a ) #=&gt; true
1455
+ h.has_keys?( :c ) #=&gt; false
1456
+
1457
+ CREDIT: Trans
1458
+ </pre>
1459
+ </div>
1460
+ <div class="sourcecode">
1461
+ <p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">show source</a> ]</p>
1462
+ <div id="M000203_source" class="dyn-source">
1463
+ <pre>
1464
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 12</span>
1465
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_keys?</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">check_keys</span>)
1466
+ <span class="ruby-identifier">unknown_keys</span> = <span class="ruby-identifier">check_keys</span> <span class="ruby-operator">-</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">keys</span>
1467
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">unknown_keys</span>.<span class="ruby-identifier">empty?</span>
1468
+ <span class="ruby-keyword kw">end</span>
1469
+ </pre>
1470
+ </div>
1471
+ </div>
1472
+ </div>
1473
+ <div class="method">
1474
+ <div class="title">
1475
+ <a name="M000144"></a><b>has_keys?</b>(*check_keys)
1476
+ </div>
1477
+ <div class="description">
1478
+ <p>
1479
+ Returns true or false whether the hash contains the given keys.
1480
+ </p>
1481
+ <pre>
1482
+ h = { :a =&gt; 1, :b =&gt; 2 }
1483
+ h.has_keys?( :a ) #=&gt; true
1484
+ h.has_keys?( :c ) #=&gt; false
1485
+
1486
+ CREDIT: Trans
1487
+ </pre>
1488
+ </div>
1489
+ <div class="aka">
1490
+ This method is also aliased as
1491
+ <a href="Hash.html#M000145">keys?</a>
1492
+ <a href="Hash.html#M000204">keys?</a>
1493
+ </div>
1494
+ <div class="sourcecode">
1495
+ <p class="source-link">[ <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">show source</a> ]</p>
1496
+ <div id="M000144_source" class="dyn-source">
1497
+ <pre>
1498
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 12</span>
1499
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_keys?</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">check_keys</span>)
1500
+ <span class="ruby-identifier">unknown_keys</span> = <span class="ruby-identifier">check_keys</span> <span class="ruby-operator">-</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">keys</span>
1501
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">unknown_keys</span>.<span class="ruby-identifier">empty?</span>
1502
+ <span class="ruby-keyword kw">end</span>
1503
+ </pre>
1504
+ </div>
1505
+ </div>
1506
+ </div>
1507
+ <div class="method">
1508
+ <div class="title">
1509
+ <a name="M000205"></a><b>has_only_keys?</b>(*check_keys)
1510
+ </div>
1511
+ <div class="description">
1512
+ <p>
1513
+ Returns true if the hash contains <em>only</em> the given keys, otherwise
1514
+ false.
1515
+ </p>
1516
+ <pre>
1517
+ h = { :a =&gt; 1, :b =&gt; 2 }
1518
+ h.has_only_keys?( :a, :b ) #=&gt; true
1519
+ h.has_only_keys?( :a ) #=&gt; false
1520
+
1521
+ CREDIT: Trans
1522
+ </pre>
1523
+ </div>
1524
+ <div class="sourcecode">
1525
+ <p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">show source</a> ]</p>
1526
+ <div id="M000205_source" class="dyn-source">
1527
+ <pre>
1528
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 28</span>
1529
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_only_keys?</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">check_keys</span>)
1530
+ <span class="ruby-identifier">unknown_keys</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">keys</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">check_keys</span>
1531
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">unknown_keys</span>.<span class="ruby-identifier">empty?</span>
1532
+ <span class="ruby-keyword kw">end</span>
1533
+ </pre>
1534
+ </div>
1535
+ </div>
1536
+ </div>
1537
+ <div class="method">
1538
+ <div class="title">
1539
+ <a name="M000146"></a><b>has_only_keys?</b>(*check_keys)
1540
+ </div>
1541
+ <div class="description">
1542
+ <p>
1543
+ Returns true if the hash contains <em>only</em> the given keys, otherwise
1544
+ false.
1545
+ </p>
1546
+ <pre>
1547
+ h = { :a =&gt; 1, :b =&gt; 2 }
1548
+ h.has_only_keys?( :a, :b ) #=&gt; true
1549
+ h.has_only_keys?( :a ) #=&gt; false
1550
+
1551
+ CREDIT: Trans
1552
+ </pre>
1553
+ </div>
1554
+ <div class="aka">
1555
+ This method is also aliased as
1556
+ <a href="Hash.html#M000147">only_keys?</a>
1557
+ <a href="Hash.html#M000206">only_keys?</a>
1558
+ </div>
1559
+ <div class="sourcecode">
1560
+ <p class="source-link">[ <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">show source</a> ]</p>
1561
+ <div id="M000146_source" class="dyn-source">
1562
+ <pre>
1563
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 28</span>
1564
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_only_keys?</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">check_keys</span>)
1565
+ <span class="ruby-identifier">unknown_keys</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">keys</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">check_keys</span>
1566
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">unknown_keys</span>.<span class="ruby-identifier">empty?</span>
1567
+ <span class="ruby-keyword kw">end</span>
1568
+ </pre>
1569
+ </div>
1570
+ </div>
1571
+ </div>
1572
+ <div class="method">
1573
+ <div class="title">
1574
+ <a name="M000223"></a><b>insert</b>(name, value)
1575
+ </div>
1576
+ <div class="description">
1577
+ <p>
1578
+ As with store but only if the key isn&#8216;t already in the hash.
1579
+ </p>
1580
+ <p>
1581
+ TODO: Would store? be a better name?
1582
+ </p>
1583
+ <pre>
1584
+ CREDIT: Trans
1585
+ </pre>
1586
+ </div>
1587
+ <div class="sourcecode">
1588
+ <p class="source-link">[ <a href="javascript:toggleSource('M000223_source')" id="l_M000223_source">show source</a> ]</p>
1589
+ <div id="M000223_source" class="dyn-source">
1590
+ <pre>
1591
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/insert.rb, line 10</span>
1592
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
1593
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key?</span>(<span class="ruby-identifier">name</span>)
1594
+ <span class="ruby-keyword kw">false</span>
1595
+ <span class="ruby-keyword kw">else</span>
1596
+ <span class="ruby-identifier">store</span>(<span class="ruby-identifier">name</span>,<span class="ruby-identifier">value</span>)
1597
+ <span class="ruby-keyword kw">true</span>
1598
+ <span class="ruby-keyword kw">end</span>
1599
+ <span class="ruby-keyword kw">end</span>
1600
+ </pre>
1601
+ </div>
1602
+ </div>
1603
+ </div>
1604
+ <div class="method">
1605
+ <div class="title">
1606
+ <a name="M000164"></a><b>insert</b>(name, value)
1607
+ </div>
1608
+ <div class="description">
1609
+ <p>
1610
+ As with store but only if the key isn&#8216;t already in the hash.
1611
+ </p>
1612
+ <p>
1613
+ TODO: Would store? be a better name?
1614
+ </p>
1615
+ <pre>
1616
+ CREDIT: Trans
1617
+ </pre>
1618
+ </div>
1619
+ <div class="sourcecode">
1620
+ <p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">show source</a> ]</p>
1621
+ <div id="M000164_source" class="dyn-source">
1622
+ <pre>
1623
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/insert.rb, line 10</span>
1624
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
1625
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key?</span>(<span class="ruby-identifier">name</span>)
1626
+ <span class="ruby-keyword kw">false</span>
1627
+ <span class="ruby-keyword kw">else</span>
1628
+ <span class="ruby-identifier">store</span>(<span class="ruby-identifier">name</span>,<span class="ruby-identifier">value</span>)
1629
+ <span class="ruby-keyword kw">true</span>
1630
+ <span class="ruby-keyword kw">end</span>
1631
+ <span class="ruby-keyword kw">end</span>
1632
+ </pre>
1633
+ </div>
1634
+ </div>
1635
+ </div>
1636
+ <div class="method">
1637
+ <div class="title">
1638
+ <a name="M000218"></a><b>inverse</b>()
1639
+ </div>
1640
+ <div class="description">
1641
+ <p>
1642
+ Create a &quot;true&quot; <a href="Hash.html#M000159">inverse</a> hash by
1643
+ storing mutliple values in Arrays.
1644
+ </p>
1645
+ <pre>
1646
+ h = {&quot;a&quot;=&gt;3, &quot;b&quot;=&gt;3, &quot;c&quot;=&gt;3, &quot;d&quot;=&gt;2, &quot;e&quot;=&gt;9, &quot;f&quot;=&gt;3, &quot;g&quot;=&gt;9}
1647
+
1648
+ h.invert #=&gt; {2=&gt;&quot;d&quot;, 3=&gt;&quot;f&quot;, 9=&gt;&quot;g&quot;}
1649
+ h.inverse #=&gt; {2=&gt;&quot;d&quot;, 3=&gt;[&quot;f&quot;, &quot;c&quot;, &quot;b&quot;, &quot;a&quot;], 9=&gt;[&quot;g&quot;, &quot;e&quot;]}
1650
+ h.inverse.inverse #=&gt; {&quot;a&quot;=&gt;3, &quot;b&quot;=&gt;3, &quot;c&quot;=&gt;3, &quot;d&quot;=&gt;2, &quot;e&quot;=&gt;9, &quot;f&quot;=&gt;3, &quot;g&quot;=&gt;9}
1651
+ h.inverse.inverse == h #=&gt; true
1652
+
1653
+ CREDIT: Tilo Sloboda
1654
+ </pre>
1655
+ </div>
1656
+ <div class="sourcecode">
1657
+ <p class="source-link">[ <a href="javascript:toggleSource('M000218_source')" id="l_M000218_source">show source</a> ]</p>
1658
+ <div id="M000218_source" class="dyn-source">
1659
+ <pre>
1660
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/inverse.rb, line 14</span>
1661
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inverse</span>
1662
+ <span class="ruby-identifier">i</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
1663
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each_pair</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
1664
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-constant">Array</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">v</span>)
1665
+ <span class="ruby-identifier">v</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>[<span class="ruby-identifier">x</span>] = ( <span class="ruby-identifier">i</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">x</span>) <span class="ruby-operator">?</span> [<span class="ruby-identifier">k</span>,<span class="ruby-identifier">i</span>[<span class="ruby-identifier">x</span>]].<span class="ruby-identifier">flatten</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">k</span> ) }
1666
+ <span class="ruby-keyword kw">else</span>
1667
+ <span class="ruby-identifier">i</span>[<span class="ruby-identifier">v</span>] = ( <span class="ruby-identifier">i</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">v</span>) <span class="ruby-operator">?</span> [<span class="ruby-identifier">k</span>,<span class="ruby-identifier">i</span>[<span class="ruby-identifier">v</span>]].<span class="ruby-identifier">flatten</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">k</span> )
1668
+ <span class="ruby-keyword kw">end</span>
1669
+ }
1670
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">i</span>
1671
+ <span class="ruby-keyword kw">end</span>
1672
+ </pre>
1673
+ </div>
1674
+ </div>
1675
+ </div>
1676
+ <div class="method">
1677
+ <div class="title">
1678
+ <a name="M000159"></a><b>inverse</b>()
1679
+ </div>
1680
+ <div class="description">
1681
+ <p>
1682
+ Create a &quot;true&quot; <a href="Hash.html#M000159">inverse</a> hash by
1683
+ storing mutliple values in Arrays.
1684
+ </p>
1685
+ <pre>
1686
+ h = {&quot;a&quot;=&gt;3, &quot;b&quot;=&gt;3, &quot;c&quot;=&gt;3, &quot;d&quot;=&gt;2, &quot;e&quot;=&gt;9, &quot;f&quot;=&gt;3, &quot;g&quot;=&gt;9}
1687
+
1688
+ h.invert #=&gt; {2=&gt;&quot;d&quot;, 3=&gt;&quot;f&quot;, 9=&gt;&quot;g&quot;}
1689
+ h.inverse #=&gt; {2=&gt;&quot;d&quot;, 3=&gt;[&quot;f&quot;, &quot;c&quot;, &quot;b&quot;, &quot;a&quot;], 9=&gt;[&quot;g&quot;, &quot;e&quot;]}
1690
+ h.inverse.inverse #=&gt; {&quot;a&quot;=&gt;3, &quot;b&quot;=&gt;3, &quot;c&quot;=&gt;3, &quot;d&quot;=&gt;2, &quot;e&quot;=&gt;9, &quot;f&quot;=&gt;3, &quot;g&quot;=&gt;9}
1691
+ h.inverse.inverse == h #=&gt; true
1692
+
1693
+ CREDIT: Tilo Sloboda
1694
+ </pre>
1695
+ </div>
1696
+ <div class="sourcecode">
1697
+ <p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">show source</a> ]</p>
1698
+ <div id="M000159_source" class="dyn-source">
1699
+ <pre>
1700
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/inverse.rb, line 14</span>
1701
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inverse</span>
1702
+ <span class="ruby-identifier">i</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
1703
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each_pair</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
1704
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-constant">Array</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">v</span>)
1705
+ <span class="ruby-identifier">v</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>[<span class="ruby-identifier">x</span>] = ( <span class="ruby-identifier">i</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">x</span>) <span class="ruby-operator">?</span> [<span class="ruby-identifier">k</span>,<span class="ruby-identifier">i</span>[<span class="ruby-identifier">x</span>]].<span class="ruby-identifier">flatten</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">k</span> ) }
1706
+ <span class="ruby-keyword kw">else</span>
1707
+ <span class="ruby-identifier">i</span>[<span class="ruby-identifier">v</span>] = ( <span class="ruby-identifier">i</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">v</span>) <span class="ruby-operator">?</span> [<span class="ruby-identifier">k</span>,<span class="ruby-identifier">i</span>[<span class="ruby-identifier">v</span>]].<span class="ruby-identifier">flatten</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">k</span> )
1708
+ <span class="ruby-keyword kw">end</span>
1709
+ }
1710
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">i</span>
1711
+ <span class="ruby-keyword kw">end</span>
1712
+ </pre>
1713
+ </div>
1714
+ </div>
1715
+ </div>
1716
+ <div class="method">
1717
+ <div class="title">
1718
+ <a name="M000185"></a><b>join</b>(pair_divider='', elem_divider='')
1719
+ </div>
1720
+ <div class="description">
1721
+ <p>
1722
+ Like Array#join but specialized to <a href="Hash.html">Hash</a>.
1723
+ </p>
1724
+ <pre>
1725
+ CREDIT: Mauricio Fernandez
1726
+ </pre>
1727
+ </div>
1728
+ <div class="sourcecode">
1729
+ <p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">show source</a> ]</p>
1730
+ <div id="M000185_source" class="dyn-source">
1731
+ <pre>
1732
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/join.rb, line 7</span>
1733
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">join</span>(<span class="ruby-identifier">pair_divider</span>=<span class="ruby-value str">''</span>, <span class="ruby-identifier">elem_divider</span>=<span class="ruby-value str">''</span>)
1734
+ <span class="ruby-identifier">s</span> = []
1735
+ <span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{k}#{pair_divider}#{v}&quot;</span> }
1736
+ <span class="ruby-identifier">s</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">elem_divider</span>)
1737
+ <span class="ruby-keyword kw">end</span>
1738
+ </pre>
1739
+ </div>
1740
+ </div>
1741
+ </div>
1742
+ <div class="method">
1743
+ <div class="title">
1744
+ <a name="M000244"></a><b>join</b>(pair_divider='', elem_divider='')
1745
+ </div>
1746
+ <div class="description">
1747
+ <p>
1748
+ Like Array#join but specialized to <a href="Hash.html">Hash</a>.
1749
+ </p>
1750
+ <pre>
1751
+ CREDIT: Mauricio Fernandez
1752
+ </pre>
1753
+ </div>
1754
+ <div class="sourcecode">
1755
+ <p class="source-link">[ <a href="javascript:toggleSource('M000244_source')" id="l_M000244_source">show source</a> ]</p>
1756
+ <div id="M000244_source" class="dyn-source">
1757
+ <pre>
1758
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/join.rb, line 7</span>
1759
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">join</span>(<span class="ruby-identifier">pair_divider</span>=<span class="ruby-value str">''</span>, <span class="ruby-identifier">elem_divider</span>=<span class="ruby-value str">''</span>)
1760
+ <span class="ruby-identifier">s</span> = []
1761
+ <span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{k}#{pair_divider}#{v}&quot;</span> }
1762
+ <span class="ruby-identifier">s</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">elem_divider</span>)
1763
+ <span class="ruby-keyword kw">end</span>
1764
+ </pre>
1765
+ </div>
1766
+ </div>
1767
+ </div>
1768
+ <div class="method">
1769
+ <div class="title">
1770
+ <a name="M000204"></a><b>keys?</b>(*check_keys)
1771
+ </div>
1772
+ <div class="description">
1773
+ <p>
1774
+ Alias for has_keys?
1775
+ </p>
1776
+ </div>
1777
+ </div>
1778
+ <div class="method">
1779
+ <div class="title">
1780
+ <a name="M000145"></a><b>keys?</b>(*check_keys)
1781
+ </div>
1782
+ <div class="description">
1783
+ <p>
1784
+ Alias for has_keys?
1785
+ </p>
1786
+ </div>
1787
+ </div>
1788
+ <div class="method">
1789
+ <div class="title">
1790
+ <a name="M000241"></a><b>keys_to_s</b>(&amp;filter)
1791
+ </div>
1792
+ <div class="description">
1793
+ <p>
1794
+ Alias for <a href="Hash.html#M000181">stringify_keys</a>
1795
+ </p>
1796
+ </div>
1797
+ </div>
1798
+ <div class="method">
1799
+ <div class="title">
1800
+ <a name="M000182"></a><b>keys_to_s</b>(&amp;filter)
1801
+ </div>
1802
+ <div class="description">
1803
+ <p>
1804
+ Alias for <a href="Hash.html#M000181">stringify_keys</a>
1805
+ </p>
1806
+ </div>
1807
+ </div>
1808
+ <div class="method">
1809
+ <div class="title">
1810
+ <a name="M000184"></a><b>keys_to_s!</b>(&amp;filter)
1811
+ </div>
1812
+ <div class="description">
1813
+ <p>
1814
+ Alias for <a href="Hash.html#M000181">stringify_keys</a>!
1815
+ </p>
1816
+ </div>
1817
+ </div>
1818
+ <div class="method">
1819
+ <div class="title">
1820
+ <a name="M000243"></a><b>keys_to_s!</b>(&amp;filter)
1821
+ </div>
1822
+ <div class="description">
1823
+ <p>
1824
+ Alias for <a href="Hash.html#M000181">stringify_keys</a>!
1825
+ </p>
1826
+ </div>
1827
+ </div>
1828
+ <div class="method">
1829
+ <div class="title">
1830
+ <a name="M000178"></a><b>keys_to_sym</b>(&amp;filter)
1831
+ </div>
1832
+ <div class="description">
1833
+ <p>
1834
+ Alias for <a href="Hash.html#M000177">symbolize_keys</a>
1835
+ </p>
1836
+ </div>
1837
+ </div>
1838
+ <div class="method">
1839
+ <div class="title">
1840
+ <a name="M000237"></a><b>keys_to_sym</b>(&amp;filter)
1841
+ </div>
1842
+ <div class="description">
1843
+ <p>
1844
+ Alias for <a href="Hash.html#M000177">symbolize_keys</a>
1845
+ </p>
1846
+ </div>
1847
+ </div>
1848
+ <div class="method">
1849
+ <div class="title">
1850
+ <a name="M000180"></a><b>keys_to_sym!</b>(&amp;filter)
1851
+ </div>
1852
+ <div class="description">
1853
+ <p>
1854
+ Alias for <a href="Hash.html#M000177">symbolize_keys</a>!
1855
+ </p>
1856
+ </div>
1857
+ </div>
1858
+ <div class="method">
1859
+ <div class="title">
1860
+ <a name="M000239"></a><b>keys_to_sym!</b>(&amp;filter)
1861
+ </div>
1862
+ <div class="description">
1863
+ <p>
1864
+ Alias for <a href="Hash.html#M000177">symbolize_keys</a>!
1865
+ </p>
1866
+ </div>
1867
+ </div>
1868
+ <div class="method">
1869
+ <div class="title">
1870
+ <a name="M000226"></a><b>mash!</b>(&amp;yld)
1871
+ </div>
1872
+ <div class="description">
1873
+ <p>
1874
+ In place version of mash.
1875
+ </p>
1876
+ <pre>
1877
+ NOTE: Hash#mash! is only useful for Hash. It is not generally
1878
+ applicable to Enumerable.
1879
+ </pre>
1880
+ </div>
1881
+ <div class="sourcecode">
1882
+ <p class="source-link">[ <a href="javascript:toggleSource('M000226_source')" id="l_M000226_source">show source</a> ]</p>
1883
+ <div id="M000226_source" class="dyn-source">
1884
+ <pre>
1885
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/mash.rb, line 10</span>
1886
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mash!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>)
1887
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">mash</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>))
1888
+ <span class="ruby-keyword kw">end</span>
1889
+ </pre>
1890
+ </div>
1891
+ </div>
1892
+ </div>
1893
+ <div class="method">
1894
+ <div class="title">
1895
+ <a name="M000167"></a><b>mash!</b>(&amp;yld)
1896
+ </div>
1897
+ <div class="description">
1898
+ <p>
1899
+ In place version of mash.
1900
+ </p>
1901
+ <pre>
1902
+ NOTE: Hash#mash! is only useful for Hash. It is not generally
1903
+ applicable to Enumerable.
1904
+ </pre>
1905
+ </div>
1906
+ <div class="aka">
1907
+ This method is also aliased as
1908
+ <a href="Hash.html#M000168">graph!</a>
1909
+ <a href="Hash.html#M000227">graph!</a>
1910
+ </div>
1911
+ <div class="sourcecode">
1912
+ <p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">show source</a> ]</p>
1913
+ <div id="M000167_source" class="dyn-source">
1914
+ <pre>
1915
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/mash.rb, line 10</span>
1916
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mash!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>)
1917
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">mash</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>))
1918
+ <span class="ruby-keyword kw">end</span>
1919
+ </pre>
1920
+ </div>
1921
+ </div>
1922
+ </div>
1923
+ <div class="method">
1924
+ <div class="title">
1925
+ <a name="M000147"></a><b>only_keys?</b>(*check_keys)
1926
+ </div>
1927
+ <div class="description">
1928
+ <p>
1929
+ Alias for has_only_keys?
1930
+ </p>
1931
+ </div>
1932
+ </div>
1933
+ <div class="method">
1934
+ <div class="title">
1935
+ <a name="M000206"></a><b>only_keys?</b>(*check_keys)
1936
+ </div>
1937
+ <div class="description">
1938
+ <p>
1939
+ Alias for has_only_keys?
1940
+ </p>
1941
+ </div>
1942
+ </div>
1943
+ <div class="method">
1944
+ <div class="title">
1945
+ <a name="M000160"></a><b>recursive_merge</b>(other)
1946
+ </div>
1947
+ <div class="description">
1948
+ <p>
1949
+ Same as Hash#merge but <a href="Hash.html#M000140">recursively</a> merges
1950
+ sub-hashes.
1951
+ </p>
1952
+ </div>
1953
+ <div class="sourcecode">
1954
+ <p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">show source</a> ]</p>
1955
+ <div id="M000160_source" class="dyn-source">
1956
+ <pre>
1957
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 5</span>
1958
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge</span>(<span class="ruby-identifier">other</span>)
1959
+ <span class="ruby-identifier">hash</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
1960
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
1961
+ <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
1962
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
1963
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge</span>(<span class="ruby-identifier">value</span>)
1964
+ <span class="ruby-keyword kw">else</span>
1965
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1966
+ <span class="ruby-keyword kw">end</span>
1967
+ <span class="ruby-keyword kw">end</span>
1968
+ <span class="ruby-identifier">hash</span>
1969
+ <span class="ruby-keyword kw">end</span>
1970
+ </pre>
1971
+ </div>
1972
+ </div>
1973
+ </div>
1974
+ <div class="method">
1975
+ <div class="title">
1976
+ <a name="M000219"></a><b>recursive_merge</b>(other)
1977
+ </div>
1978
+ <div class="description">
1979
+ <p>
1980
+ Same as Hash#merge but <a href="Hash.html#M000140">recursively</a> merges
1981
+ sub-hashes.
1982
+ </p>
1983
+ </div>
1984
+ <div class="sourcecode">
1985
+ <p class="source-link">[ <a href="javascript:toggleSource('M000219_source')" id="l_M000219_source">show source</a> ]</p>
1986
+ <div id="M000219_source" class="dyn-source">
1987
+ <pre>
1988
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 5</span>
1989
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge</span>(<span class="ruby-identifier">other</span>)
1990
+ <span class="ruby-identifier">hash</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
1991
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
1992
+ <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
1993
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
1994
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge</span>(<span class="ruby-identifier">value</span>)
1995
+ <span class="ruby-keyword kw">else</span>
1996
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1997
+ <span class="ruby-keyword kw">end</span>
1998
+ <span class="ruby-keyword kw">end</span>
1999
+ <span class="ruby-identifier">hash</span>
2000
+ <span class="ruby-keyword kw">end</span>
2001
+ </pre>
2002
+ </div>
2003
+ </div>
2004
+ </div>
2005
+ <div class="method">
2006
+ <div class="title">
2007
+ <a name="M000220"></a><b>recursive_merge!</b>(other)
2008
+ </div>
2009
+ <div class="description">
2010
+ <p>
2011
+ Same as Hash#merge! but <a href="Hash.html#M000140">recursively</a> merges
2012
+ sub-hashes.
2013
+ </p>
2014
+ </div>
2015
+ <div class="sourcecode">
2016
+ <p class="source-link">[ <a href="javascript:toggleSource('M000220_source')" id="l_M000220_source">show source</a> ]</p>
2017
+ <div id="M000220_source" class="dyn-source">
2018
+ <pre>
2019
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 20</span>
2020
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">other</span>)
2021
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
2022
+ <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
2023
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
2024
+ <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">value</span>)
2025
+ <span class="ruby-keyword kw">else</span>
2026
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
2027
+ <span class="ruby-keyword kw">end</span>
2028
+ <span class="ruby-keyword kw">end</span>
2029
+ <span class="ruby-keyword kw">self</span>
2030
+ <span class="ruby-keyword kw">end</span>
2031
+ </pre>
2032
+ </div>
2033
+ </div>
2034
+ </div>
2035
+ <div class="method">
2036
+ <div class="title">
2037
+ <a name="M000161"></a><b>recursive_merge!</b>(other)
2038
+ </div>
2039
+ <div class="description">
2040
+ <p>
2041
+ Same as Hash#merge! but <a href="Hash.html#M000140">recursively</a> merges
2042
+ sub-hashes.
2043
+ </p>
2044
+ </div>
2045
+ <div class="sourcecode">
2046
+ <p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">show source</a> ]</p>
2047
+ <div id="M000161_source" class="dyn-source">
2048
+ <pre>
2049
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 20</span>
2050
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">other</span>)
2051
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
2052
+ <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
2053
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
2054
+ <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">value</span>)
2055
+ <span class="ruby-keyword kw">else</span>
2056
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
2057
+ <span class="ruby-keyword kw">end</span>
2058
+ <span class="ruby-keyword kw">end</span>
2059
+ <span class="ruby-keyword kw">self</span>
2060
+ <span class="ruby-keyword kw">end</span>
2061
+ </pre>
2062
+ </div>
2063
+ </div>
2064
+ </div>
2065
+ <div class="method">
2066
+ <div class="title">
2067
+ <a name="M000199"></a><b>recursively</b>() {|h| ...}
2068
+ </div>
2069
+ <div class="description">
2070
+ <p>
2071
+ Apply a block to hash, and <a href="Hash.html#M000140">recursively</a>
2072
+ apply that block to each subhash.
2073
+ </p>
2074
+ <pre>
2075
+ h = {:a=&gt;1, :b=&gt;{:b1=&gt;1, :b2=&gt;2}}
2076
+ h.recursively{|h| h.rekey(&amp;:to_s) }
2077
+ =&gt; {&quot;a&quot;=&gt;1, &quot;b&quot;=&gt;{&quot;b1&quot;=&gt;1, &quot;b2&quot;=&gt;2}}
2078
+ </pre>
2079
+ </div>
2080
+ <div class="sourcecode">
2081
+ <p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">show source</a> ]</p>
2082
+ <div id="M000199_source" class="dyn-source">
2083
+ <pre>
2084
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 10</span>
2085
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2086
+ <span class="ruby-identifier">h</span> = <span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, (<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)<span class="ruby-operator">|</span>
2087
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
2088
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2089
+ <span class="ruby-keyword kw">else</span>
2090
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
2091
+ <span class="ruby-keyword kw">end</span>
2092
+ <span class="ruby-identifier">hash</span>
2093
+ <span class="ruby-keyword kw">end</span>
2094
+ <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">h</span>
2095
+ <span class="ruby-keyword kw">end</span>
2096
+ </pre>
2097
+ </div>
2098
+ </div>
2099
+ </div>
2100
+ <div class="method">
2101
+ <div class="title">
2102
+ <a name="M000140"></a><b>recursively</b>() {|h| ...}
2103
+ </div>
2104
+ <div class="description">
2105
+ <p>
2106
+ Apply a block to hash, and <a href="Hash.html#M000140">recursively</a>
2107
+ apply that block to each subhash.
2108
+ </p>
2109
+ <pre>
2110
+ h = {:a=&gt;1, :b=&gt;{:b1=&gt;1, :b2=&gt;2}}
2111
+ h.recursively{|h| h.rekey(&amp;:to_s) }
2112
+ =&gt; {&quot;a&quot;=&gt;1, &quot;b&quot;=&gt;{&quot;b1&quot;=&gt;1, &quot;b2&quot;=&gt;2}}
2113
+ </pre>
2114
+ </div>
2115
+ <div class="sourcecode">
2116
+ <p class="source-link">[ <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show source</a> ]</p>
2117
+ <div id="M000140_source" class="dyn-source">
2118
+ <pre>
2119
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 10</span>
2120
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2121
+ <span class="ruby-identifier">h</span> = <span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, (<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)<span class="ruby-operator">|</span>
2122
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
2123
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2124
+ <span class="ruby-keyword kw">else</span>
2125
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
2126
+ <span class="ruby-keyword kw">end</span>
2127
+ <span class="ruby-identifier">hash</span>
2128
+ <span class="ruby-keyword kw">end</span>
2129
+ <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">h</span>
2130
+ <span class="ruby-keyword kw">end</span>
2131
+ </pre>
2132
+ </div>
2133
+ </div>
2134
+ </div>
2135
+ <div class="method">
2136
+ <div class="title">
2137
+ <a name="M000200"></a><b>recursively!</b>(&amp;block)
2138
+ </div>
2139
+ <div class="sourcecode">
2140
+ <p class="source-link">[ <a href="javascript:toggleSource('M000200_source')" id="l_M000200_source">show source</a> ]</p>
2141
+ <div id="M000200_source" class="dyn-source">
2142
+ <pre>
2143
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 24</span>
2144
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2145
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>))
2146
+ <span class="ruby-keyword kw">end</span>
2147
+ </pre>
2148
+ </div>
2149
+ </div>
2150
+ </div>
2151
+ <div class="method">
2152
+ <div class="title">
2153
+ <a name="M000141"></a><b>recursively!</b>(&amp;block)
2154
+ </div>
2155
+ <div class="sourcecode">
2156
+ <p class="source-link">[ <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">show source</a> ]</p>
2157
+ <div id="M000141_source" class="dyn-source">
2158
+ <pre>
2159
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 24</span>
2160
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2161
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>))
2162
+ <span class="ruby-keyword kw">end</span>
2163
+ </pre>
2164
+ </div>
2165
+ </div>
2166
+ </div>
2167
+ <div class="method">
2168
+ <div class="title">
2169
+ <a name="M000247"></a><b>rekey</b>(*args, &amp;block)
2170
+ </div>
2171
+ <div class="description">
2172
+ <p>
2173
+ <a href="Hash.html#M000188">rekey</a>(to_key, from_key) <a
2174
+ href="Hash.html#M000188">rekey</a>{ |key| &#8230; }
2175
+ </p>
2176
+ <p>
2177
+ If two keys are given, then the second key is changed to the first.
2178
+ </p>
2179
+ <pre>
2180
+ foo = { :a=&gt;1, :b=&gt;2 }
2181
+ foo.rekey('a',:a) #=&gt; { 'a'=&gt;1, :b=&gt;2 }
2182
+ foo.rekey('b',:b) #=&gt; { 'a'=&gt;1, 'b'=&gt;2 }
2183
+ foo.rekey('foo','bar') #=&gt; { 'a'=&gt;1, 'b'=&gt;2 }
2184
+ </pre>
2185
+ <p>
2186
+ If a block is given, converts all keys in the <a href="Hash.html">Hash</a>
2187
+ accroding to the given block. If the block returns <tt>nil</tt> for given
2188
+ key, then that key will be left intact.
2189
+ </p>
2190
+ <pre>
2191
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2192
+ foo.rekey{ |k| k.to_s } #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2193
+ foo.inspect #=&gt; { :name =&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2194
+
2195
+ CREDIT: Trans
2196
+ CREDIT: Gavin Kistner
2197
+ </pre>
2198
+ </div>
2199
+ <div class="sourcecode">
2200
+ <p class="source-link">[ <a href="javascript:toggleSource('M000247_source')" id="l_M000247_source">show source</a> ]</p>
2201
+ <div id="M000247_source" class="dyn-source">
2202
+ <pre>
2203
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 27</span>
2204
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rekey</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2205
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">rekey!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2206
+ <span class="ruby-keyword kw">end</span>
2207
+ </pre>
2208
+ </div>
2209
+ </div>
2210
+ </div>
2211
+ <div class="method">
2212
+ <div class="title">
2213
+ <a name="M000188"></a><b>rekey</b>(*args, &amp;block)
2214
+ </div>
2215
+ <div class="description">
2216
+ <p>
2217
+ <a href="Hash.html#M000188">rekey</a>(to_key, from_key) <a
2218
+ href="Hash.html#M000188">rekey</a>{ |key| &#8230; }
2219
+ </p>
2220
+ <p>
2221
+ If two keys are given, then the second key is changed to the first.
2222
+ </p>
2223
+ <pre>
2224
+ foo = { :a=&gt;1, :b=&gt;2 }
2225
+ foo.rekey('a',:a) #=&gt; { 'a'=&gt;1, :b=&gt;2 }
2226
+ foo.rekey('b',:b) #=&gt; { 'a'=&gt;1, 'b'=&gt;2 }
2227
+ foo.rekey('foo','bar') #=&gt; { 'a'=&gt;1, 'b'=&gt;2 }
2228
+ </pre>
2229
+ <p>
2230
+ If a block is given, converts all keys in the <a href="Hash.html">Hash</a>
2231
+ accroding to the given block. If the block returns <tt>nil</tt> for given
2232
+ key, then that key will be left intact.
2233
+ </p>
2234
+ <pre>
2235
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2236
+ foo.rekey{ |k| k.to_s } #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2237
+ foo.inspect #=&gt; { :name =&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2238
+
2239
+ CREDIT: Trans
2240
+ CREDIT: Gavin Kistner
2241
+ </pre>
2242
+ </div>
2243
+ <div class="sourcecode">
2244
+ <p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">show source</a> ]</p>
2245
+ <div id="M000188_source" class="dyn-source">
2246
+ <pre>
2247
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 27</span>
2248
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rekey</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2249
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">rekey!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2250
+ <span class="ruby-keyword kw">end</span>
2251
+ </pre>
2252
+ </div>
2253
+ </div>
2254
+ </div>
2255
+ <div class="method">
2256
+ <div class="title">
2257
+ <a name="M000189"></a><b>rekey!</b>(*args, &amp;block)
2258
+ </div>
2259
+ <div class="description">
2260
+ <p>
2261
+ Synonym for <a href="Hash.html#M000188">Hash#rekey</a>, but modifies the
2262
+ receiver in place (and returns it).
2263
+ </p>
2264
+ <pre>
2265
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2266
+ foo.rekey!{ |k| k.to_s } #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2267
+ foo.inspect #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2268
+
2269
+ CREDIT: Trans
2270
+ CREDIT: Gavin Kistner
2271
+ </pre>
2272
+ </div>
2273
+ <div class="sourcecode">
2274
+ <p class="source-link">[ <a href="javascript:toggleSource('M000189_source')" id="l_M000189_source">show source</a> ]</p>
2275
+ <div id="M000189_source" class="dyn-source">
2276
+ <pre>
2277
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 40</span>
2278
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rekey!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2279
+ <span class="ruby-comment cmt"># for backward comptability (TODO: DEPRECATE).</span>
2280
+ <span class="ruby-identifier">block</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">pop</span>.<span class="ruby-identifier">to_sym</span>.<span class="ruby-identifier">to_proc</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
2281
+ <span class="ruby-comment cmt"># if no args use block.</span>
2282
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span>
2283
+ <span class="ruby-identifier">block</span> = <span class="ruby-identifier">lambda</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span>} <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block</span>
2284
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
2285
+ <span class="ruby-identifier">nk</span> = <span class="ruby-identifier">block</span>[<span class="ruby-identifier">k</span>]
2286
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">nk</span>]=<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">nk</span>
2287
+ <span class="ruby-keyword kw">end</span>
2288
+ <span class="ruby-keyword kw">else</span>
2289
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;3 for 2&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
2290
+ <span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
2291
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">to</span>] = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">from</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">from</span>)
2292
+ <span class="ruby-keyword kw">end</span>
2293
+ <span class="ruby-keyword kw">self</span>
2294
+ <span class="ruby-keyword kw">end</span>
2295
+ </pre>
2296
+ </div>
2297
+ </div>
2298
+ </div>
2299
+ <div class="method">
2300
+ <div class="title">
2301
+ <a name="M000248"></a><b>rekey!</b>(*args, &amp;block)
2302
+ </div>
2303
+ <div class="description">
2304
+ <p>
2305
+ Synonym for <a href="Hash.html#M000188">Hash#rekey</a>, but modifies the
2306
+ receiver in place (and returns it).
2307
+ </p>
2308
+ <pre>
2309
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2310
+ foo.rekey!{ |k| k.to_s } #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2311
+ foo.inspect #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2312
+
2313
+ CREDIT: Trans
2314
+ CREDIT: Gavin Kistner
2315
+ </pre>
2316
+ </div>
2317
+ <div class="sourcecode">
2318
+ <p class="source-link">[ <a href="javascript:toggleSource('M000248_source')" id="l_M000248_source">show source</a> ]</p>
2319
+ <div id="M000248_source" class="dyn-source">
2320
+ <pre>
2321
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 40</span>
2322
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rekey!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
2323
+ <span class="ruby-comment cmt"># for backward comptability (TODO: DEPRECATE).</span>
2324
+ <span class="ruby-identifier">block</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">pop</span>.<span class="ruby-identifier">to_sym</span>.<span class="ruby-identifier">to_proc</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
2325
+ <span class="ruby-comment cmt"># if no args use block.</span>
2326
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span>
2327
+ <span class="ruby-identifier">block</span> = <span class="ruby-identifier">lambda</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span>} <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block</span>
2328
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
2329
+ <span class="ruby-identifier">nk</span> = <span class="ruby-identifier">block</span>[<span class="ruby-identifier">k</span>]
2330
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">nk</span>]=<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">nk</span>
2331
+ <span class="ruby-keyword kw">end</span>
2332
+ <span class="ruby-keyword kw">else</span>
2333
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;3 for 2&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
2334
+ <span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
2335
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">to</span>] = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">from</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">from</span>)
2336
+ <span class="ruby-keyword kw">end</span>
2337
+ <span class="ruby-keyword kw">self</span>
2338
+ <span class="ruby-keyword kw">end</span>
2339
+ </pre>
2340
+ </div>
2341
+ </div>
2342
+ </div>
2343
+ <div class="method">
2344
+ <div class="title">
2345
+ <a name="M000196"></a><b>replace_each</b>( {|| ...}
2346
+ </div>
2347
+ <div class="description">
2348
+ <p>
2349
+ Same as <a href="Hash.html#M000134">update_each</a>, but deletes the key
2350
+ element first.
2351
+ </p>
2352
+ <pre>
2353
+ CREDIT: Trans
2354
+ </pre>
2355
+ </div>
2356
+ <div class="sourcecode">
2357
+ <p class="source-link">[ <a href="javascript:toggleSource('M000196_source')" id="l_M000196_source">show source</a> ]</p>
2358
+ <div id="M000196_source" class="dyn-source">
2359
+ <pre>
2360
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 66</span>
2361
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace_each</span> <span class="ruby-comment cmt"># :yield:</span>
2362
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
2363
+ <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
2364
+ <span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>))
2365
+ <span class="ruby-keyword kw">end</span>
2366
+ <span class="ruby-keyword kw">self</span>
2367
+ <span class="ruby-keyword kw">end</span>
2368
+ </pre>
2369
+ </div>
2370
+ </div>
2371
+ </div>
2372
+ <div class="method">
2373
+ <div class="title">
2374
+ <a name="M000137"></a><b>replace_each</b>( {|| ...}
2375
+ </div>
2376
+ <div class="description">
2377
+ <p>
2378
+ Same as <a href="Hash.html#M000134">update_each</a>, but deletes the key
2379
+ element first.
2380
+ </p>
2381
+ <pre>
2382
+ CREDIT: Trans
2383
+ </pre>
2384
+ </div>
2385
+ <div class="sourcecode">
2386
+ <p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show source</a> ]</p>
2387
+ <div id="M000137_source" class="dyn-source">
2388
+ <pre>
2389
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 66</span>
2390
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace_each</span> <span class="ruby-comment cmt"># :yield:</span>
2391
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
2392
+ <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
2393
+ <span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>))
2394
+ <span class="ruby-keyword kw">end</span>
2395
+ <span class="ruby-keyword kw">self</span>
2396
+ <span class="ruby-keyword kw">end</span>
2397
+ </pre>
2398
+ </div>
2399
+ </div>
2400
+ </div>
2401
+ <div class="method">
2402
+ <div class="title">
2403
+ <a name="M000208"></a><b>reverse_merge</b>(other)
2404
+ </div>
2405
+ <div class="description">
2406
+ <p>
2407
+ Allows for reverse merging where its the keys in the calling hash that wins
2408
+ over those in the <tt>other_hash</tt>. This is particularly useful for
2409
+ initializing an incoming option hash with default values:
2410
+ </p>
2411
+ <pre>
2412
+ def setup(options = {})
2413
+ options.reverse_merge! :size =&gt; 25, :velocity =&gt; 10
2414
+ end
2415
+ </pre>
2416
+ <p>
2417
+ The default :size and :velocity is only set if the <tt>options</tt> passed
2418
+ in doesn&#8216;t already have those keys set.
2419
+ </p>
2420
+ </div>
2421
+ <div class="sourcecode">
2422
+ <p class="source-link">[ <a href="javascript:toggleSource('M000208_source')" id="l_M000208_source">show source</a> ]</p>
2423
+ <div id="M000208_source" class="dyn-source">
2424
+ <pre>
2425
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 15</span>
2426
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>)
2427
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
2428
+ <span class="ruby-keyword kw">end</span>
2429
+ </pre>
2430
+ </div>
2431
+ </div>
2432
+ </div>
2433
+ <div class="method">
2434
+ <div class="title">
2435
+ <a name="M000149"></a><b>reverse_merge</b>(other)
2436
+ </div>
2437
+ <div class="description">
2438
+ <p>
2439
+ Allows for reverse merging where its the keys in the calling hash that wins
2440
+ over those in the <tt>other_hash</tt>. This is particularly useful for
2441
+ initializing an incoming option hash with default values:
2442
+ </p>
2443
+ <pre>
2444
+ def setup(options = {})
2445
+ options.reverse_merge! :size =&gt; 25, :velocity =&gt; 10
2446
+ end
2447
+ </pre>
2448
+ <p>
2449
+ The default :size and :velocity is only set if the <tt>options</tt> passed
2450
+ in doesn&#8216;t already have those keys set.
2451
+ </p>
2452
+ </div>
2453
+ <div class="sourcecode">
2454
+ <p class="source-link">[ <a href="javascript:toggleSource('M000149_source')" id="l_M000149_source">show source</a> ]</p>
2455
+ <div id="M000149_source" class="dyn-source">
2456
+ <pre>
2457
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 15</span>
2458
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>)
2459
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
2460
+ <span class="ruby-keyword kw">end</span>
2461
+ </pre>
2462
+ </div>
2463
+ </div>
2464
+ </div>
2465
+ <div class="method">
2466
+ <div class="title">
2467
+ <a name="M000150"></a><b>reverse_merge!</b>(other)
2468
+ </div>
2469
+ <div class="description">
2470
+ <p>
2471
+ Inplace form of <a href="Hash.html#M000149">reverse_merge</a>.
2472
+ </p>
2473
+ </div>
2474
+ <div class="aka">
2475
+ This method is also aliased as
2476
+ <a href="Hash.html#M000151">reverse_update</a>
2477
+ <a href="Hash.html#M000210">reverse_update</a>
2478
+ </div>
2479
+ <div class="sourcecode">
2480
+ <p class="source-link">[ <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">show source</a> ]</p>
2481
+ <div id="M000150_source" class="dyn-source">
2482
+ <pre>
2483
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 21</span>
2484
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge!</span>(<span class="ruby-identifier">other</span>)
2485
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>))
2486
+ <span class="ruby-keyword kw">end</span>
2487
+ </pre>
2488
+ </div>
2489
+ </div>
2490
+ </div>
2491
+ <div class="method">
2492
+ <div class="title">
2493
+ <a name="M000209"></a><b>reverse_merge!</b>(other)
2494
+ </div>
2495
+ <div class="description">
2496
+ <p>
2497
+ Inplace form of <a href="Hash.html#M000149">reverse_merge</a>.
2498
+ </p>
2499
+ </div>
2500
+ <div class="sourcecode">
2501
+ <p class="source-link">[ <a href="javascript:toggleSource('M000209_source')" id="l_M000209_source">show source</a> ]</p>
2502
+ <div id="M000209_source" class="dyn-source">
2503
+ <pre>
2504
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 21</span>
2505
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge!</span>(<span class="ruby-identifier">other</span>)
2506
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>))
2507
+ <span class="ruby-keyword kw">end</span>
2508
+ </pre>
2509
+ </div>
2510
+ </div>
2511
+ </div>
2512
+ <div class="method">
2513
+ <div class="title">
2514
+ <a name="M000210"></a><b>reverse_update</b>(other)
2515
+ </div>
2516
+ <div class="description">
2517
+ <p>
2518
+ Alias for <a href="Hash.html#M000149">reverse_merge</a>!
2519
+ </p>
2520
+ </div>
2521
+ </div>
2522
+ <div class="method">
2523
+ <div class="title">
2524
+ <a name="M000151"></a><b>reverse_update</b>(other)
2525
+ </div>
2526
+ <div class="description">
2527
+ <p>
2528
+ Alias for <a href="Hash.html#M000149">reverse_merge</a>!
2529
+ </p>
2530
+ </div>
2531
+ </div>
2532
+ <div class="method">
2533
+ <div class="title">
2534
+ <a name="M000224"></a><b>select!</b>() {|k,v| ...}
2535
+ </div>
2536
+ <div class="description">
2537
+ <p>
2538
+ In-place version of Hash#select. The opposite of the built-in Hash#reject!.
2539
+ </p>
2540
+ <pre>
2541
+ CREDIT Gavin Sinclair
2542
+ CREDIT Noah Gibbs
2543
+ </pre>
2544
+ </div>
2545
+ <div class="sourcecode">
2546
+ <p class="source-link">[ <a href="javascript:toggleSource('M000224_source')" id="l_M000224_source">show source</a> ]</p>
2547
+ <div id="M000224_source" class="dyn-source">
2548
+ <pre>
2549
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/select.rb, line 9</span>
2550
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select!</span>
2551
+ <span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">not</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>) }
2552
+ <span class="ruby-keyword kw">end</span>
2553
+ </pre>
2554
+ </div>
2555
+ </div>
2556
+ </div>
2557
+ <div class="method">
2558
+ <div class="title">
2559
+ <a name="M000165"></a><b>select!</b>() {|k,v| ...}
2560
+ </div>
2561
+ <div class="description">
2562
+ <p>
2563
+ In-place version of Hash#select. The opposite of the built-in Hash#reject!.
2564
+ </p>
2565
+ <pre>
2566
+ CREDIT Gavin Sinclair
2567
+ CREDIT Noah Gibbs
2568
+ </pre>
2569
+ </div>
2570
+ <div class="sourcecode">
2571
+ <p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">show source</a> ]</p>
2572
+ <div id="M000165_source" class="dyn-source">
2573
+ <pre>
2574
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/select.rb, line 9</span>
2575
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select!</span>
2576
+ <span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">not</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>) }
2577
+ <span class="ruby-keyword kw">end</span>
2578
+ </pre>
2579
+ </div>
2580
+ </div>
2581
+ </div>
2582
+ <div class="method">
2583
+ <div class="title">
2584
+ <a name="M000186"></a><b>slice</b>(*keep_keys)
2585
+ </div>
2586
+ <div class="description">
2587
+ <p>
2588
+ Returns a new hash with only the given keys.
2589
+ </p>
2590
+ </div>
2591
+ <div class="sourcecode">
2592
+ <p class="source-link">[ <a href="javascript:toggleSource('M000186_source')" id="l_M000186_source">show source</a> ]</p>
2593
+ <div id="M000186_source" class="dyn-source">
2594
+ <pre>
2595
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 7</span>
2596
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2597
+ <span class="ruby-identifier">h</span> = {}
2598
+ <span class="ruby-identifier">keep_keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span>
2599
+ <span class="ruby-identifier">h</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)
2600
+ <span class="ruby-keyword kw">end</span>
2601
+ <span class="ruby-identifier">h</span>
2602
+ <span class="ruby-keyword kw">end</span>
2603
+ </pre>
2604
+ </div>
2605
+ </div>
2606
+ </div>
2607
+ <div class="method">
2608
+ <div class="title">
2609
+ <a name="M000245"></a><b>slice</b>(*keep_keys)
2610
+ </div>
2611
+ <div class="description">
2612
+ <p>
2613
+ Returns a new hash with only the given keys.
2614
+ </p>
2615
+ </div>
2616
+ <div class="sourcecode">
2617
+ <p class="source-link">[ <a href="javascript:toggleSource('M000245_source')" id="l_M000245_source">show source</a> ]</p>
2618
+ <div id="M000245_source" class="dyn-source">
2619
+ <pre>
2620
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 7</span>
2621
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2622
+ <span class="ruby-identifier">h</span> = {}
2623
+ <span class="ruby-identifier">keep_keys</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span><span class="ruby-operator">|</span>
2624
+ <span class="ruby-identifier">h</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)
2625
+ <span class="ruby-keyword kw">end</span>
2626
+ <span class="ruby-identifier">h</span>
2627
+ <span class="ruby-keyword kw">end</span>
2628
+ </pre>
2629
+ </div>
2630
+ </div>
2631
+ </div>
2632
+ <div class="method">
2633
+ <div class="title">
2634
+ <a name="M000187"></a><b>slice!</b>(*keep_keys)
2635
+ </div>
2636
+ <div class="description">
2637
+ <p>
2638
+ Replaces hash with a new hash having only the given keys. This return the
2639
+ hash of keys removed.
2640
+ </p>
2641
+ </div>
2642
+ <div class="sourcecode">
2643
+ <p class="source-link">[ <a href="javascript:toggleSource('M000187_source')" id="l_M000187_source">show source</a> ]</p>
2644
+ <div id="M000187_source" class="dyn-source">
2645
+ <pre>
2646
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 18</span>
2647
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slice!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2648
+ <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2649
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>))
2650
+ <span class="ruby-identifier">removed</span>
2651
+ <span class="ruby-keyword kw">end</span>
2652
+ </pre>
2653
+ </div>
2654
+ </div>
2655
+ </div>
2656
+ <div class="method">
2657
+ <div class="title">
2658
+ <a name="M000246"></a><b>slice!</b>(*keep_keys)
2659
+ </div>
2660
+ <div class="description">
2661
+ <p>
2662
+ Replaces hash with a new hash having only the given keys. This return the
2663
+ hash of keys removed.
2664
+ </p>
2665
+ </div>
2666
+ <div class="sourcecode">
2667
+ <p class="source-link">[ <a href="javascript:toggleSource('M000246_source')" id="l_M000246_source">show source</a> ]</p>
2668
+ <div id="M000246_source" class="dyn-source">
2669
+ <pre>
2670
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 18</span>
2671
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">slice!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2672
+ <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2673
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>))
2674
+ <span class="ruby-identifier">removed</span>
2675
+ <span class="ruby-keyword kw">end</span>
2676
+ </pre>
2677
+ </div>
2678
+ </div>
2679
+ </div>
2680
+ <div class="method">
2681
+ <div class="title">
2682
+ <a name="M000240"></a><b>stringify_keys</b>(&amp;filter)
2683
+ </div>
2684
+ <div class="description">
2685
+ <p>
2686
+ Converts all keys in the <a href="Hash.html">Hash</a> to Strings, returning
2687
+ a new <a href="Hash.html">Hash</a>. With a <tt>filter</tt> parameter,
2688
+ limits conversion to only a certain selection of keys.
2689
+ </p>
2690
+ <pre>
2691
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2692
+ foo.stringify_keys #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2693
+ foo.inspect #=&gt; { :name =&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2694
+ </pre>
2695
+ <p>
2696
+ This method is considered archaic. Use <a
2697
+ href="Hash.html#M000188">rekey</a> instead.
2698
+ </p>
2699
+ </div>
2700
+ <div class="sourcecode">
2701
+ <p class="source-link">[ <a href="javascript:toggleSource('M000240_source')" id="l_M000240_source">show source</a> ]</p>
2702
+ <div id="M000240_source" class="dyn-source">
2703
+ <pre>
2704
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 59</span>
2705
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stringify_keys</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
2706
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
2707
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
2708
+ <span class="ruby-keyword kw">else</span>
2709
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> }
2710
+ <span class="ruby-keyword kw">end</span>
2711
+ <span class="ruby-keyword kw">end</span>
2712
+ </pre>
2713
+ </div>
2714
+ </div>
2715
+ </div>
2716
+ <div class="method">
2717
+ <div class="title">
2718
+ <a name="M000181"></a><b>stringify_keys</b>(&amp;filter)
2719
+ </div>
2720
+ <div class="description">
2721
+ <p>
2722
+ Converts all keys in the <a href="Hash.html">Hash</a> to Strings, returning
2723
+ a new <a href="Hash.html">Hash</a>. With a <tt>filter</tt> parameter,
2724
+ limits conversion to only a certain selection of keys.
2725
+ </p>
2726
+ <pre>
2727
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2728
+ foo.stringify_keys #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2729
+ foo.inspect #=&gt; { :name =&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2730
+ </pre>
2731
+ <p>
2732
+ This method is considered archaic. Use <a
2733
+ href="Hash.html#M000188">rekey</a> instead.
2734
+ </p>
2735
+ </div>
2736
+ <div class="aka">
2737
+ This method is also aliased as
2738
+ <a href="Hash.html#M000182">keys_to_s</a>
2739
+ <a href="Hash.html#M000241">keys_to_s</a>
2740
+ </div>
2741
+ <div class="sourcecode">
2742
+ <p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">show source</a> ]</p>
2743
+ <div id="M000181_source" class="dyn-source">
2744
+ <pre>
2745
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 59</span>
2746
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stringify_keys</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
2747
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
2748
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
2749
+ <span class="ruby-keyword kw">else</span>
2750
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> }
2751
+ <span class="ruby-keyword kw">end</span>
2752
+ <span class="ruby-keyword kw">end</span>
2753
+ </pre>
2754
+ </div>
2755
+ </div>
2756
+ </div>
2757
+ <div class="method">
2758
+ <div class="title">
2759
+ <a name="M000183"></a><b>stringify_keys!</b>(&amp;filter)
2760
+ </div>
2761
+ <div class="description">
2762
+ <p>
2763
+ Synonym for <a href="Hash.html#M000181">Hash#stringify_keys</a>, but
2764
+ modifies the receiver in place and returns it. With a <tt>filter</tt>
2765
+ parameter, limits conversion to only a certain selection of keys.
2766
+ </p>
2767
+ <pre>
2768
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2769
+ foo.stringify_keys! #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2770
+ foo.inspect #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2771
+ </pre>
2772
+ <p>
2773
+ This method is considered archaic. Use <a
2774
+ href="Hash.html#M000188">rekey</a> instead.
2775
+ </p>
2776
+ </div>
2777
+ <div class="aka">
2778
+ This method is also aliased as
2779
+ <a href="Hash.html#M000184">keys_to_s!</a>
2780
+ <a href="Hash.html#M000243">keys_to_s!</a>
2781
+ </div>
2782
+ <div class="sourcecode">
2783
+ <p class="source-link">[ <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">show source</a> ]</p>
2784
+ <div id="M000183_source" class="dyn-source">
2785
+ <pre>
2786
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 78</span>
2787
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stringify_keys!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
2788
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
2789
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
2790
+ <span class="ruby-keyword kw">else</span>
2791
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> }
2792
+ <span class="ruby-keyword kw">end</span>
2793
+ <span class="ruby-keyword kw">end</span>
2794
+ </pre>
2795
+ </div>
2796
+ </div>
2797
+ </div>
2798
+ <div class="method">
2799
+ <div class="title">
2800
+ <a name="M000242"></a><b>stringify_keys!</b>(&amp;filter)
2801
+ </div>
2802
+ <div class="description">
2803
+ <p>
2804
+ Synonym for <a href="Hash.html#M000181">Hash#stringify_keys</a>, but
2805
+ modifies the receiver in place and returns it. With a <tt>filter</tt>
2806
+ parameter, limits conversion to only a certain selection of keys.
2807
+ </p>
2808
+ <pre>
2809
+ foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2810
+ foo.stringify_keys! #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2811
+ foo.inspect #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2812
+ </pre>
2813
+ <p>
2814
+ This method is considered archaic. Use <a
2815
+ href="Hash.html#M000188">rekey</a> instead.
2816
+ </p>
2817
+ </div>
2818
+ <div class="sourcecode">
2819
+ <p class="source-link">[ <a href="javascript:toggleSource('M000242_source')" id="l_M000242_source">show source</a> ]</p>
2820
+ <div id="M000242_source" class="dyn-source">
2821
+ <pre>
2822
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 78</span>
2823
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stringify_keys!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
2824
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
2825
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
2826
+ <span class="ruby-keyword kw">else</span>
2827
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span> }
2828
+ <span class="ruby-keyword kw">end</span>
2829
+ <span class="ruby-keyword kw">end</span>
2830
+ </pre>
2831
+ </div>
2832
+ </div>
2833
+ </div>
2834
+ <div class="method">
2835
+ <div class="title">
2836
+ <a name="M000175"></a><b>swap!</b>(key1, key2)
2837
+ </div>
2838
+ <div class="description">
2839
+ <p>
2840
+ Swap the values of a pair of keys in place.
2841
+ </p>
2842
+ <pre>
2843
+ {:a=&gt;1,:b=&gt;2}.swap!(:a,:b) #=&gt; {:a=&gt;2,:b=&gt;1}
2844
+ </pre>
2845
+ <p>
2846
+ CREDIT: Gavin Sinclair
2847
+ </p>
2848
+ </div>
2849
+ <div class="sourcecode">
2850
+ <p class="source-link">[ <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show source</a> ]</p>
2851
+ <div id="M000175_source" class="dyn-source">
2852
+ <pre>
2853
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/swap.rb, line 9</span>
2854
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">swap!</span>(<span class="ruby-identifier">key1</span>, <span class="ruby-identifier">key2</span>)
2855
+ <span class="ruby-identifier">tmp</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key1</span>]
2856
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key1</span>] = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key2</span>]
2857
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key2</span>] = <span class="ruby-identifier">tmp</span>
2858
+ <span class="ruby-keyword kw">self</span>
2859
+ <span class="ruby-keyword kw">end</span>
2860
+ </pre>
2861
+ </div>
2862
+ </div>
2863
+ </div>
2864
+ <div class="method">
2865
+ <div class="title">
2866
+ <a name="M000234"></a><b>swap!</b>(key1, key2)
2867
+ </div>
2868
+ <div class="description">
2869
+ <p>
2870
+ Swap the values of a pair of keys in place.
2871
+ </p>
2872
+ <pre>
2873
+ {:a=&gt;1,:b=&gt;2}.swap!(:a,:b) #=&gt; {:a=&gt;2,:b=&gt;1}
2874
+ </pre>
2875
+ <p>
2876
+ CREDIT: Gavin Sinclair
2877
+ </p>
2878
+ </div>
2879
+ <div class="sourcecode">
2880
+ <p class="source-link">[ <a href="javascript:toggleSource('M000234_source')" id="l_M000234_source">show source</a> ]</p>
2881
+ <div id="M000234_source" class="dyn-source">
2882
+ <pre>
2883
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/swap.rb, line 9</span>
2884
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">swap!</span>(<span class="ruby-identifier">key1</span>, <span class="ruby-identifier">key2</span>)
2885
+ <span class="ruby-identifier">tmp</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key1</span>]
2886
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key1</span>] = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key2</span>]
2887
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key2</span>] = <span class="ruby-identifier">tmp</span>
2888
+ <span class="ruby-keyword kw">self</span>
2889
+ <span class="ruby-keyword kw">end</span>
2890
+ </pre>
2891
+ </div>
2892
+ </div>
2893
+ </div>
2894
+ <div class="method">
2895
+ <div class="title">
2896
+ <a name="M000236"></a><b>symbolize_keys</b>(&amp;filter)
2897
+ </div>
2898
+ <div class="description">
2899
+ <p>
2900
+ Converts all keys in the <a href="Hash.html">Hash</a> to Symbols, returning
2901
+ a new <a href="Hash.html">Hash</a>. With a <tt>filter</tt>, limits
2902
+ conversion to only a certain selection of keys.
2903
+ </p>
2904
+ <pre>
2905
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
2906
+ foo.symbolize_keys #=&gt; { :name=&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2907
+ foo.inspect #=&gt; { &quot;name&quot; =&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2908
+ </pre>
2909
+ <p>
2910
+ This method is considered archaic. Use <a
2911
+ href="Hash.html#M000188">rekey</a> instead.
2912
+ </p>
2913
+ </div>
2914
+ <div class="sourcecode">
2915
+ <p class="source-link">[ <a href="javascript:toggleSource('M000236_source')" id="l_M000236_source">show source</a> ]</p>
2916
+ <div id="M000236_source" class="dyn-source">
2917
+ <pre>
2918
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 14</span>
2919
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symbolize_keys</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
2920
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
2921
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
2922
+ <span class="ruby-keyword kw">else</span>
2923
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> }
2924
+ <span class="ruby-keyword kw">end</span>
2925
+ <span class="ruby-keyword kw">end</span>
2926
+ </pre>
2927
+ </div>
2928
+ </div>
2929
+ </div>
2930
+ <div class="method">
2931
+ <div class="title">
2932
+ <a name="M000177"></a><b>symbolize_keys</b>(&amp;filter)
2933
+ </div>
2934
+ <div class="description">
2935
+ <p>
2936
+ Converts all keys in the <a href="Hash.html">Hash</a> to Symbols, returning
2937
+ a new <a href="Hash.html">Hash</a>. With a <tt>filter</tt>, limits
2938
+ conversion to only a certain selection of keys.
2939
+ </p>
2940
+ <pre>
2941
+ foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
2942
+ foo.symbolize_keys #=&gt; { :name=&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2943
+ foo.inspect #=&gt; { &quot;name&quot; =&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2944
+ </pre>
2945
+ <p>
2946
+ This method is considered archaic. Use <a
2947
+ href="Hash.html#M000188">rekey</a> instead.
2948
+ </p>
2949
+ </div>
2950
+ <div class="aka">
2951
+ This method is also aliased as
2952
+ <a href="Hash.html#M000178">keys_to_sym</a>
2953
+ <a href="Hash.html#M000237">keys_to_sym</a>
2954
+ </div>
2955
+ <div class="sourcecode">
2956
+ <p class="source-link">[ <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">show source</a> ]</p>
2957
+ <div id="M000177_source" class="dyn-source">
2958
+ <pre>
2959
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 14</span>
2960
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symbolize_keys</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
2961
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
2962
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
2963
+ <span class="ruby-keyword kw">else</span>
2964
+ <span class="ruby-identifier">rekey</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> }
2965
+ <span class="ruby-keyword kw">end</span>
2966
+ <span class="ruby-keyword kw">end</span>
2967
+ </pre>
2968
+ </div>
2969
+ </div>
2970
+ </div>
2971
+ <div class="method">
2972
+ <div class="title">
2973
+ <a name="M000179"></a><b>symbolize_keys!</b>(&amp;filter)
2974
+ </div>
2975
+ <div class="description">
2976
+ <p>
2977
+ Synonym for <a href="Hash.html#M000177">Hash#symbolize_keys</a>, but
2978
+ modifies the receiver in place and returns it. With a <tt>filter</tt>
2979
+ parameter, limits conversion to only a certain selection of keys.
2980
+ </p>
2981
+ <pre>
2982
+ foo = { 'name'=&gt;'Gavin', 'wife'=&gt;:Lisa }
2983
+ foo.symbolize_keys! #=&gt; { :name=&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2984
+ foo.inspect #=&gt; { :name=&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2985
+ </pre>
2986
+ <p>
2987
+ This method is considered archaic. Use <a
2988
+ href="Hash.html#M000188">rekey</a> instead.
2989
+ </p>
2990
+ </div>
2991
+ <div class="aka">
2992
+ This method is also aliased as
2993
+ <a href="Hash.html#M000180">keys_to_sym!</a>
2994
+ <a href="Hash.html#M000239">keys_to_sym!</a>
2995
+ </div>
2996
+ <div class="sourcecode">
2997
+ <p class="source-link">[ <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">show source</a> ]</p>
2998
+ <div id="M000179_source" class="dyn-source">
2999
+ <pre>
3000
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 39</span>
3001
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symbolize_keys!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
3002
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
3003
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
3004
+ <span class="ruby-keyword kw">else</span>
3005
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> }
3006
+ <span class="ruby-keyword kw">end</span>
3007
+
3008
+ <span class="ruby-keyword kw">end</span>
3009
+ </pre>
3010
+ </div>
3011
+ </div>
3012
+ </div>
3013
+ <div class="method">
3014
+ <div class="title">
3015
+ <a name="M000238"></a><b>symbolize_keys!</b>(&amp;filter)
3016
+ </div>
3017
+ <div class="description">
3018
+ <p>
3019
+ Synonym for <a href="Hash.html#M000177">Hash#symbolize_keys</a>, but
3020
+ modifies the receiver in place and returns it. With a <tt>filter</tt>
3021
+ parameter, limits conversion to only a certain selection of keys.
3022
+ </p>
3023
+ <pre>
3024
+ foo = { 'name'=&gt;'Gavin', 'wife'=&gt;:Lisa }
3025
+ foo.symbolize_keys! #=&gt; { :name=&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
3026
+ foo.inspect #=&gt; { :name=&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
3027
+ </pre>
3028
+ <p>
3029
+ This method is considered archaic. Use <a
3030
+ href="Hash.html#M000188">rekey</a> instead.
3031
+ </p>
3032
+ </div>
3033
+ <div class="sourcecode">
3034
+ <p class="source-link">[ <a href="javascript:toggleSource('M000238_source')" id="l_M000238_source">show source</a> ]</p>
3035
+ <div id="M000238_source" class="dyn-source">
3036
+ <pre>
3037
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/symbolize_keys.rb, line 39</span>
3038
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symbolize_keys!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">filter</span>)
3039
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filter</span>
3040
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">filter</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span> }
3041
+ <span class="ruby-keyword kw">else</span>
3042
+ <span class="ruby-identifier">rekey!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span> }
3043
+ <span class="ruby-keyword kw">end</span>
3044
+
3045
+ <span class="ruby-keyword kw">end</span>
3046
+ </pre>
3047
+ </div>
3048
+ </div>
3049
+ </div>
3050
+ <div class="method">
3051
+ <div class="title">
3052
+ <a name="M000131"></a><b>to_h</b>()
3053
+ </div>
3054
+ <div class="description">
3055
+ <p>
3056
+ Return a rehashing of <em>self</em>.
3057
+ </p>
3058
+ <pre>
3059
+ {&quot;a&quot;=&gt;1,&quot;b&quot;=&gt;2}.to_h #=&gt; {&quot;b&quot;=&gt;2,&quot;a&quot;=&gt;1}
3060
+ </pre>
3061
+ <p>
3062
+ CREDIT: Forian Gross
3063
+ </p>
3064
+ </div>
3065
+ <div class="sourcecode">
3066
+ <p class="source-link">[ <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show source</a> ]</p>
3067
+ <div id="M000131_source" class="dyn-source">
3068
+ <pre>
3069
+ <span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 54</span>
3070
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>; <span class="ruby-identifier">rehash</span>; <span class="ruby-keyword kw">end</span>
3071
+ </pre>
3072
+ </div>
3073
+ </div>
3074
+ </div>
3075
+ <div class="method">
3076
+ <div class="title">
3077
+ <a name="M000162"></a><b>to_proc</b>()
3078
+ </div>
3079
+ <div class="description">
3080
+ <p>
3081
+ Constructs a <a href="Proc.html">Proc</a> object from a hash such that the
3082
+ parameter of the <a href="Proc.html">Proc</a> is assigned the hash keys as
3083
+ attributes.
3084
+ </p>
3085
+ <pre>
3086
+ h = { :a =&gt; 1 }
3087
+ p = h.to_proc
3088
+ o = OpenStruct.new
3089
+ p.call(o)
3090
+ o.a #=&gt; 1
3091
+ </pre>
3092
+ <p>
3093
+ CREDIT: Trans
3094
+ </p>
3095
+ </div>
3096
+ <div class="sourcecode">
3097
+ <p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">show source</a> ]</p>
3098
+ <div id="M000162_source" class="dyn-source">
3099
+ <pre>
3100
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 15</span>
3101
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
3102
+ <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span>
3103
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
3104
+ <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
3105
+ <span class="ruby-identifier">o</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">ke</span>, <span class="ruby-identifier">v</span>)
3106
+ <span class="ruby-keyword kw">end</span>
3107
+ <span class="ruby-keyword kw">end</span>
3108
+ <span class="ruby-keyword kw">end</span>
3109
+ </pre>
3110
+ </div>
3111
+ </div>
3112
+ </div>
3113
+ <div class="method">
3114
+ <div class="title">
3115
+ <a name="M000221"></a><b>to_proc</b>()
3116
+ </div>
3117
+ <div class="description">
3118
+ <p>
3119
+ Constructs a <a href="Proc.html">Proc</a> object from a hash such that the
3120
+ parameter of the <a href="Proc.html">Proc</a> is assigned the hash keys as
3121
+ attributes.
3122
+ </p>
3123
+ <pre>
3124
+ h = { :a =&gt; 1 }
3125
+ p = h.to_proc
3126
+ o = OpenStruct.new
3127
+ p.call(o)
3128
+ o.a #=&gt; 1
3129
+ </pre>
3130
+ <p>
3131
+ CREDIT: Trans
3132
+ </p>
3133
+ </div>
3134
+ <div class="sourcecode">
3135
+ <p class="source-link">[ <a href="javascript:toggleSource('M000221_source')" id="l_M000221_source">show source</a> ]</p>
3136
+ <div id="M000221_source" class="dyn-source">
3137
+ <pre>
3138
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 15</span>
3139
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
3140
+ <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span>
3141
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
3142
+ <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
3143
+ <span class="ruby-identifier">o</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">ke</span>, <span class="ruby-identifier">v</span>)
3144
+ <span class="ruby-keyword kw">end</span>
3145
+ <span class="ruby-keyword kw">end</span>
3146
+ <span class="ruby-keyword kw">end</span>
3147
+ </pre>
3148
+ </div>
3149
+ </div>
3150
+ </div>
3151
+ <div class="method">
3152
+ <div class="title">
3153
+ <a name="M000222"></a><b>to_proc_with_reponse</b>()
3154
+ </div>
3155
+ <div class="description">
3156
+ <p>
3157
+ A fault-tolerent version of <a href="Hash.html#M000162">to_proc</a>.
3158
+ </p>
3159
+ <p>
3160
+ It works just like <a href="Hash.html#M000162">to_proc</a>, but the block
3161
+ will make sure# the object responds to the assignment.
3162
+ </p>
3163
+ <p>
3164
+ CREDIT: Trans
3165
+ </p>
3166
+ </div>
3167
+ <div class="sourcecode">
3168
+ <p class="source-link">[ <a href="javascript:toggleSource('M000222_source')" id="l_M000222_source">show source</a> ]</p>
3169
+ <div id="M000222_source" class="dyn-source">
3170
+ <pre>
3171
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 31</span>
3172
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc_with_reponse</span>
3173
+ <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span>
3174
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
3175
+ <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
3176
+ <span class="ruby-identifier">o</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">ke</span>, <span class="ruby-identifier">v</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">ke</span>)
3177
+ <span class="ruby-keyword kw">end</span>
3178
+ <span class="ruby-keyword kw">end</span>
3179
+ <span class="ruby-keyword kw">end</span>
3180
+ </pre>
3181
+ </div>
3182
+ </div>
3183
+ </div>
3184
+ <div class="method">
3185
+ <div class="title">
3186
+ <a name="M000163"></a><b>to_proc_with_reponse</b>()
3187
+ </div>
3188
+ <div class="description">
3189
+ <p>
3190
+ A fault-tolerent version of <a href="Hash.html#M000162">to_proc</a>.
3191
+ </p>
3192
+ <p>
3193
+ It works just like <a href="Hash.html#M000162">to_proc</a>, but the block
3194
+ will make sure# the object responds to the assignment.
3195
+ </p>
3196
+ <p>
3197
+ CREDIT: Trans
3198
+ </p>
3199
+ </div>
3200
+ <div class="sourcecode">
3201
+ <p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">show source</a> ]</p>
3202
+ <div id="M000163_source" class="dyn-source">
3203
+ <pre>
3204
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 31</span>
3205
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc_with_reponse</span>
3206
+ <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span>
3207
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
3208
+ <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
3209
+ <span class="ruby-identifier">o</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">ke</span>, <span class="ruby-identifier">v</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">ke</span>)
3210
+ <span class="ruby-keyword kw">end</span>
3211
+ <span class="ruby-keyword kw">end</span>
3212
+ <span class="ruby-keyword kw">end</span>
3213
+ </pre>
3214
+ </div>
3215
+ </div>
3216
+ </div>
3217
+ <div class="method">
3218
+ <div class="title">
3219
+ <a name="M000235"></a><b>to_struct</b>(struct_name)
3220
+ </div>
3221
+ <div class="description">
3222
+ <p>
3223
+ A method to convert a <a href="Hash.html">Hash</a> into a Struct.
3224
+ </p>
3225
+ <pre>
3226
+ h = {:name=&gt;&quot;Dan&quot;,&quot;age&quot;=&gt;33,&quot;rank&quot;=&gt;&quot;SrA&quot;,&quot;grade&quot;=&gt;&quot;E4&quot;}
3227
+ s = h.to_struct(&quot;Foo&quot;)
3228
+ </pre>
3229
+ <p>
3230
+ TODO: Is this robust enough considerd hashes aren&#8216;t ordered?
3231
+ </p>
3232
+ <pre>
3233
+ CREDIT: Daniel Berger
3234
+ </pre>
3235
+ </div>
3236
+ <div class="sourcecode">
3237
+ <p class="source-link">[ <a href="javascript:toggleSource('M000235_source')" id="l_M000235_source">show source</a> ]</p>
3238
+ <div id="M000235_source" class="dyn-source">
3239
+ <pre>
3240
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_struct.rb, line 12</span>
3241
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_struct</span>(<span class="ruby-identifier">struct_name</span>)
3242
+ <span class="ruby-constant">Struct</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">struct_name</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">keys</span>).<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
3243
+ <span class="ruby-keyword kw">end</span>
3244
+ </pre>
3245
+ </div>
3246
+ </div>
3247
+ </div>
3248
+ <div class="method">
3249
+ <div class="title">
3250
+ <a name="M000176"></a><b>to_struct</b>(struct_name)
3251
+ </div>
3252
+ <div class="description">
3253
+ <p>
3254
+ A method to convert a <a href="Hash.html">Hash</a> into a Struct.
3255
+ </p>
3256
+ <pre>
3257
+ h = {:name=&gt;&quot;Dan&quot;,&quot;age&quot;=&gt;33,&quot;rank&quot;=&gt;&quot;SrA&quot;,&quot;grade&quot;=&gt;&quot;E4&quot;}
3258
+ s = h.to_struct(&quot;Foo&quot;)
3259
+ </pre>
3260
+ <p>
3261
+ TODO: Is this robust enough considerd hashes aren&#8216;t ordered?
3262
+ </p>
3263
+ <pre>
3264
+ CREDIT: Daniel Berger
3265
+ </pre>
3266
+ </div>
3267
+ <div class="sourcecode">
3268
+ <p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show source</a> ]</p>
3269
+ <div id="M000176_source" class="dyn-source">
3270
+ <pre>
3271
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_struct.rb, line 12</span>
3272
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_struct</span>(<span class="ruby-identifier">struct_name</span>)
3273
+ <span class="ruby-constant">Struct</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">struct_name</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">keys</span>).<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
3274
+ <span class="ruby-keyword kw">end</span>
3275
+ </pre>
3276
+ </div>
3277
+ </div>
3278
+ </div>
3279
+ <div class="method">
3280
+ <div class="title">
3281
+ <a name="M000152"></a><b>traverse</b>(&amp;b)
3282
+ </div>
3283
+ <div class="description">
3284
+ <p>
3285
+ Returns a new hash created by traversing the hash and its subhashes,
3286
+ executing the given block on the key and value. The block should return a
3287
+ 2-element array of the form +[key, value]+.
3288
+ </p>
3289
+ <pre>
3290
+ h = { &quot;A&quot;=&gt;&quot;A&quot;, &quot;B&quot;=&gt;&quot;B&quot; }
3291
+ g = h.traverse { |k,v| [k.downcase, v] }
3292
+ g #=&gt; { &quot;a&quot;=&gt;&quot;A&quot;, &quot;b&quot;=&gt;&quot;B&quot; }
3293
+ </pre>
3294
+ <p>
3295
+ TODO: Contrast these to recursibely &#8212;we may not need both.
3296
+ </p>
3297
+ <p>
3298
+ TODO: Testing value to see if it is a <a href="Hash.html">Hash</a> also
3299
+ catches subclasses of <a href="Hash.html">Hash</a>.
3300
+ </p>
3301
+ <pre>
3302
+ This is probably not the right thing to do and should catch Hashes only (?)
3303
+
3304
+ CREDIT: Trans
3305
+ </pre>
3306
+ </div>
3307
+ <div class="sourcecode">
3308
+ <p class="source-link">[ <a href="javascript:toggleSource('M000152_source')" id="l_M000152_source">show source</a> ]</p>
3309
+ <div id="M000152_source" class="dyn-source">
3310
+ <pre>
3311
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 18</span>
3312
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
3313
+ <span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span>,(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)<span class="ruby-operator">|</span>
3314
+ <span class="ruby-identifier">v</span> = ( <span class="ruby-constant">Hash</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">v</span> <span class="ruby-value">? </span><span class="ruby-identifier">v</span>.<span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">v</span> )
3315
+ <span class="ruby-identifier">nk</span>, <span class="ruby-identifier">nv</span> = <span class="ruby-identifier">b</span>[<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>]
3316
+ <span class="ruby-identifier">h</span>[<span class="ruby-identifier">nk</span>] = <span class="ruby-identifier">nv</span> <span class="ruby-comment cmt">#( Hash === v ? v.traverse(base,&amp;b) : nv )</span>
3317
+ <span class="ruby-identifier">h</span>
3318
+ <span class="ruby-keyword kw">end</span>
3319
+ <span class="ruby-keyword kw">end</span>
3320
+ </pre>
3321
+ </div>
3322
+ </div>
3323
+ </div>
3324
+ <div class="method">
3325
+ <div class="title">
3326
+ <a name="M000211"></a><b>traverse</b>(&amp;b)
3327
+ </div>
3328
+ <div class="description">
3329
+ <p>
3330
+ Returns a new hash created by traversing the hash and its subhashes,
3331
+ executing the given block on the key and value. The block should return a
3332
+ 2-element array of the form +[key, value]+.
3333
+ </p>
3334
+ <pre>
3335
+ h = { &quot;A&quot;=&gt;&quot;A&quot;, &quot;B&quot;=&gt;&quot;B&quot; }
3336
+ g = h.traverse { |k,v| [k.downcase, v] }
3337
+ g #=&gt; { &quot;a&quot;=&gt;&quot;A&quot;, &quot;b&quot;=&gt;&quot;B&quot; }
3338
+ </pre>
3339
+ <p>
3340
+ TODO: Contrast these to recursibely &#8212;we may not need both.
3341
+ </p>
3342
+ <p>
3343
+ TODO: Testing value to see if it is a <a href="Hash.html">Hash</a> also
3344
+ catches subclasses of <a href="Hash.html">Hash</a>.
3345
+ </p>
3346
+ <pre>
3347
+ This is probably not the right thing to do and should catch Hashes only (?)
3348
+
3349
+ CREDIT: Trans
3350
+ </pre>
3351
+ </div>
3352
+ <div class="sourcecode">
3353
+ <p class="source-link">[ <a href="javascript:toggleSource('M000211_source')" id="l_M000211_source">show source</a> ]</p>
3354
+ <div id="M000211_source" class="dyn-source">
3355
+ <pre>
3356
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 18</span>
3357
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
3358
+ <span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span>,(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)<span class="ruby-operator">|</span>
3359
+ <span class="ruby-identifier">v</span> = ( <span class="ruby-constant">Hash</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">v</span> <span class="ruby-value">? </span><span class="ruby-identifier">v</span>.<span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">v</span> )
3360
+ <span class="ruby-identifier">nk</span>, <span class="ruby-identifier">nv</span> = <span class="ruby-identifier">b</span>[<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>]
3361
+ <span class="ruby-identifier">h</span>[<span class="ruby-identifier">nk</span>] = <span class="ruby-identifier">nv</span> <span class="ruby-comment cmt">#( Hash === v ? v.traverse(base,&amp;b) : nv )</span>
3362
+ <span class="ruby-identifier">h</span>
3363
+ <span class="ruby-keyword kw">end</span>
3364
+ <span class="ruby-keyword kw">end</span>
3365
+ </pre>
3366
+ </div>
3367
+ </div>
3368
+ </div>
3369
+ <div class="method">
3370
+ <div class="title">
3371
+ <a name="M000212"></a><b>traverse!</b>(&amp;b)
3372
+ </div>
3373
+ <div class="description">
3374
+ <p>
3375
+ In place version of <a href="Hash.html#M000152">traverse</a>, which
3376
+ traverses the hash and its subhashes, executing the given block on the key
3377
+ and value.
3378
+ </p>
3379
+ <pre>
3380
+ h = { &quot;A&quot;=&gt;&quot;A&quot;, &quot;B&quot;=&gt;&quot;B&quot; }
3381
+ h.traverse! { |k,v| [k.downcase, v] }
3382
+ h #=&gt; { &quot;a&quot;=&gt;&quot;A&quot;, &quot;b&quot;=&gt;&quot;B&quot; }
3383
+
3384
+ CREDIT: Trans
3385
+ </pre>
3386
+ </div>
3387
+ <div class="sourcecode">
3388
+ <p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">show source</a> ]</p>
3389
+ <div id="M000212_source" class="dyn-source">
3390
+ <pre>
3391
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 36</span>
3392
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
3393
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">replace</span>( <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>) )
3394
+ <span class="ruby-keyword kw">end</span>
3395
+ </pre>
3396
+ </div>
3397
+ </div>
3398
+ </div>
3399
+ <div class="method">
3400
+ <div class="title">
3401
+ <a name="M000153"></a><b>traverse!</b>(&amp;b)
3402
+ </div>
3403
+ <div class="description">
3404
+ <p>
3405
+ In place version of <a href="Hash.html#M000152">traverse</a>, which
3406
+ traverses the hash and its subhashes, executing the given block on the key
3407
+ and value.
3408
+ </p>
3409
+ <pre>
3410
+ h = { &quot;A&quot;=&gt;&quot;A&quot;, &quot;B&quot;=&gt;&quot;B&quot; }
3411
+ h.traverse! { |k,v| [k.downcase, v] }
3412
+ h #=&gt; { &quot;a&quot;=&gt;&quot;A&quot;, &quot;b&quot;=&gt;&quot;B&quot; }
3413
+
3414
+ CREDIT: Trans
3415
+ </pre>
3416
+ </div>
3417
+ <div class="sourcecode">
3418
+ <p class="source-link">[ <a href="javascript:toggleSource('M000153_source')" id="l_M000153_source">show source</a> ]</p>
3419
+ <div id="M000153_source" class="dyn-source">
3420
+ <pre>
3421
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 36</span>
3422
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
3423
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">replace</span>( <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>) )
3424
+ <span class="ruby-keyword kw">end</span>
3425
+ </pre>
3426
+ </div>
3427
+ </div>
3428
+ </div>
3429
+ <div class="method">
3430
+ <div class="title">
3431
+ <a name="M000134"></a><b>update_each</b>( {|| ...}
3432
+ </div>
3433
+ <div class="description">
3434
+ <p>
3435
+ Iterates through each pair and updates a the hash in place. This is
3436
+ formally equivalent to mash! But does not use mash to accomplish the task.
3437
+ Hence <a href="Hash.html#M000134">update_each</a> is probably a touch
3438
+ faster.
3439
+ </p>
3440
+ <pre>
3441
+ CREDIT: Trans
3442
+ </pre>
3443
+ </div>
3444
+ <div class="sourcecode">
3445
+ <p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show source</a> ]</p>
3446
+ <div id="M000134_source" class="dyn-source">
3447
+ <pre>
3448
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 23</span>
3449
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_each</span> <span class="ruby-comment cmt"># :yield:</span>
3450
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
3451
+ <span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>))
3452
+ <span class="ruby-keyword kw">end</span>
3453
+ <span class="ruby-keyword kw">self</span>
3454
+ <span class="ruby-keyword kw">end</span>
3455
+ </pre>
3456
+ </div>
3457
+ </div>
3458
+ </div>
3459
+ <div class="method">
3460
+ <div class="title">
3461
+ <a name="M000193"></a><b>update_each</b>( {|| ...}
3462
+ </div>
3463
+ <div class="description">
3464
+ <p>
3465
+ Iterates through each pair and updates a the hash in place. This is
3466
+ formally equivalent to mash! But does not use mash to accomplish the task.
3467
+ Hence <a href="Hash.html#M000134">update_each</a> is probably a touch
3468
+ faster.
3469
+ </p>
3470
+ <pre>
3471
+ CREDIT: Trans
3472
+ </pre>
3473
+ </div>
3474
+ <div class="sourcecode">
3475
+ <p class="source-link">[ <a href="javascript:toggleSource('M000193_source')" id="l_M000193_source">show source</a> ]</p>
3476
+ <div id="M000193_source" class="dyn-source">
3477
+ <pre>
3478
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 23</span>
3479
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_each</span> <span class="ruby-comment cmt"># :yield:</span>
3480
+ <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
3481
+ <span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>))
3482
+ <span class="ruby-keyword kw">end</span>
3483
+ <span class="ruby-keyword kw">self</span>
3484
+ <span class="ruby-keyword kw">end</span>
3485
+ </pre>
3486
+ </div>
3487
+ </div>
3488
+ </div>
3489
+ <div class="method">
3490
+ <div class="title">
3491
+ <a name="M000135"></a><b>update_keys</b>( {|| ...}
3492
+ </div>
3493
+ <div class="description">
3494
+ <p>
3495
+ Iterate over hash updating just the keys.
3496
+ </p>
3497
+ <pre>
3498
+ h = {:a=&gt;1, :b=&gt;2}
3499
+ h.update_keys{ |k| &quot;#{k}!&quot; }
3500
+ h #=&gt; { &quot;a!&quot;=&gt;1, &quot;b!&quot;=&gt;2 }
3501
+
3502
+ CREDIT: Trans
3503
+ </pre>
3504
+ </div>
3505
+ <div class="sourcecode">
3506
+ <p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">show source</a> ]</p>
3507
+ <div id="M000135_source" class="dyn-source">
3508
+ <pre>
3509
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 38</span>
3510
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_keys</span> <span class="ruby-comment cmt">#:yield:</span>
3511
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3512
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">old_key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">store</span>(<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">old_key</span>), <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">old_key</span>)) }
3513
+ <span class="ruby-keyword kw">else</span>
3514
+ <span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:update_keys</span>)
3515
+ <span class="ruby-keyword kw">end</span>
3516
+ <span class="ruby-keyword kw">end</span>
3517
+ </pre>
3518
+ </div>
3519
+ </div>
3520
+ </div>
3521
+ <div class="method">
3522
+ <div class="title">
3523
+ <a name="M000194"></a><b>update_keys</b>( {|| ...}
3524
+ </div>
3525
+ <div class="description">
3526
+ <p>
3527
+ Iterate over hash updating just the keys.
3528
+ </p>
3529
+ <pre>
3530
+ h = {:a=&gt;1, :b=&gt;2}
3531
+ h.update_keys{ |k| &quot;#{k}!&quot; }
3532
+ h #=&gt; { &quot;a!&quot;=&gt;1, &quot;b!&quot;=&gt;2 }
3533
+
3534
+ CREDIT: Trans
3535
+ </pre>
3536
+ </div>
3537
+ <div class="sourcecode">
3538
+ <p class="source-link">[ <a href="javascript:toggleSource('M000194_source')" id="l_M000194_source">show source</a> ]</p>
3539
+ <div id="M000194_source" class="dyn-source">
3540
+ <pre>
3541
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 38</span>
3542
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_keys</span> <span class="ruby-comment cmt">#:yield:</span>
3543
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3544
+ <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">old_key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">store</span>(<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">old_key</span>), <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">old_key</span>)) }
3545
+ <span class="ruby-keyword kw">else</span>
3546
+ <span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:update_keys</span>)
3547
+ <span class="ruby-keyword kw">end</span>
3548
+ <span class="ruby-keyword kw">end</span>
3549
+ </pre>
3550
+ </div>
3551
+ </div>
3552
+ </div>
3553
+ <div class="method">
3554
+ <div class="title">
3555
+ <a name="M000136"></a><b>update_values</b>( {|| ...}
3556
+ </div>
3557
+ <div class="description">
3558
+ <p>
3559
+ Iterate over hash updating just the values.
3560
+ </p>
3561
+ <pre>
3562
+ h = {:a=&gt;1, :b=&gt;2}
3563
+ h.update_values{ |v| v+1 }
3564
+ h #=&gt; { a:=&gt;2, :b=&gt;3 }
3565
+
3566
+ CREDIT: Trans
3567
+ </pre>
3568
+ </div>
3569
+ <div class="sourcecode">
3570
+ <p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show source</a> ]</p>
3571
+ <div id="M000136_source" class="dyn-source">
3572
+ <pre>
3573
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 54</span>
3574
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_values</span> <span class="ruby-comment cmt">#:yield:</span>
3575
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3576
+ <span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">store</span>(<span class="ruby-identifier">k</span>, <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">v</span>)) }
3577
+ <span class="ruby-keyword kw">else</span>
3578
+ <span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:update_values</span>)
3579
+ <span class="ruby-keyword kw">end</span>
3580
+ <span class="ruby-keyword kw">end</span>
3581
+ </pre>
3582
+ </div>
3583
+ </div>
3584
+ </div>
3585
+ <div class="method">
3586
+ <div class="title">
3587
+ <a name="M000195"></a><b>update_values</b>( {|| ...}
3588
+ </div>
3589
+ <div class="description">
3590
+ <p>
3591
+ Iterate over hash updating just the values.
3592
+ </p>
3593
+ <pre>
3594
+ h = {:a=&gt;1, :b=&gt;2}
3595
+ h.update_values{ |v| v+1 }
3596
+ h #=&gt; { a:=&gt;2, :b=&gt;3 }
3597
+
3598
+ CREDIT: Trans
3599
+ </pre>
3600
+ </div>
3601
+ <div class="sourcecode">
3602
+ <p class="source-link">[ <a href="javascript:toggleSource('M000195_source')" id="l_M000195_source">show source</a> ]</p>
3603
+ <div id="M000195_source" class="dyn-source">
3604
+ <pre>
3605
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 54</span>
3606
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_values</span> <span class="ruby-comment cmt">#:yield:</span>
3607
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3608
+ <span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">store</span>(<span class="ruby-identifier">k</span>, <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">v</span>)) }
3609
+ <span class="ruby-keyword kw">else</span>
3610
+ <span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:update_values</span>)
3611
+ <span class="ruby-keyword kw">end</span>
3612
+ <span class="ruby-keyword kw">end</span>
3613
+ </pre>
3614
+ </div>
3615
+ </div>
3616
+ </div>
3617
+ <div class="method">
3618
+ <div class="title">
3619
+ <a name="M000233"></a><b>weave</b>(h)
3620
+ </div>
3621
+ <div class="description">
3622
+ <p>
3623
+ Weave is a very uniqe hash operator. I is designed to merge to complex
3624
+ hashes in according to sensible, regular pattern. The effect is akin to
3625
+ inheritance.
3626
+ </p>
3627
+ <p>
3628
+ Two hashes are weaved together to produce a new hash. The two hashes need
3629
+ to be compatible according to the following rules for each node:
3630
+ </p>
3631
+ <pre>
3632
+ &lt;tt&gt;
3633
+ hash, hash =&gt; hash (recursive +)
3634
+ hash, array =&gt; error
3635
+ hash, value =&gt; error
3636
+ array, hash =&gt; error
3637
+ array, array =&gt; array + array
3638
+ array, value =&gt; array &lt;&lt; value
3639
+ value, hash =&gt; error
3640
+ value, array =&gt; array.unshift(valueB)
3641
+ value1, value2 =&gt; value2
3642
+ &lt;/tt&gt;
3643
+ </pre>
3644
+ <p>
3645
+ Here is a basic example:
3646
+ </p>
3647
+ <pre>
3648
+ h1 = { :a =&gt; 1, :b =&gt; [ 1 ], :c =&gt; { :x =&gt; 1 } }
3649
+ =&gt; {:b=&gt;[1], :c=&gt;{:x=&gt;1}, :a=&gt;1}
3650
+
3651
+ h2 = { :a =&gt; 2, :b =&gt; [ 2 ], :c =&gt; { :x =&gt; 2 } }
3652
+ =&gt; {:b=&gt;[2], :c=&gt;{:x=&gt;2}, :a=&gt;2}
3653
+
3654
+ h1.weave(h2)
3655
+ =&gt; {:b=&gt;[1, 2], :c=&gt;{:x=&gt;2}, :a=&gt;2}
3656
+ </pre>
3657
+ <p>
3658
+ Weave follows the most expected pattern of unifying two complex hashes. It
3659
+ is especially useful for implementing overridable configuration schemes.
3660
+ </p>
3661
+ <pre>
3662
+ CREDIT: Thomas Sawyer
3663
+ </pre>
3664
+ </div>
3665
+ <div class="sourcecode">
3666
+ <p class="source-link">[ <a href="javascript:toggleSource('M000233_source')" id="l_M000233_source">show source</a> ]</p>
3667
+ <div id="M000233_source" class="dyn-source">
3668
+ <pre>
3669
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/weave.rb, line 40</span>
3670
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weave</span>(<span class="ruby-identifier">h</span>)
3671
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;Hash expected&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Hash</span>)
3672
+ <span class="ruby-identifier">s</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clone</span>
3673
+ <span class="ruby-identifier">h</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
3674
+ <span class="ruby-identifier">node_is_hash</span> = <span class="ruby-identifier">node</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Hash</span>)
3675
+ <span class="ruby-identifier">node_is_array</span> = <span class="ruby-identifier">node</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Array</span>)
3676
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">k</span>)
3677
+ <span class="ruby-identifier">self_node_is_hash</span> = <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Hash</span>)
3678
+ <span class="ruby-identifier">self_node_is_array</span> = <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Array</span>)
3679
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">self_node_is_hash</span>
3680
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3681
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">weave</span>(<span class="ruby-identifier">node</span>)
3682
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3683
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3684
+ <span class="ruby-keyword kw">else</span>
3685
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3686
+ <span class="ruby-keyword kw">end</span>
3687
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">self_node_is_array</span>
3688
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3689
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3690
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3691
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">node</span>
3692
+ <span class="ruby-keyword kw">else</span>
3693
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">node</span>
3694
+ <span class="ruby-keyword kw">end</span>
3695
+ <span class="ruby-keyword kw">else</span>
3696
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3697
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3698
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3699
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">unshift</span>( <span class="ruby-identifier">node</span> )
3700
+ <span class="ruby-keyword kw">else</span>
3701
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">node</span>
3702
+ <span class="ruby-keyword kw">end</span>
3703
+ <span class="ruby-keyword kw">end</span>
3704
+ <span class="ruby-keyword kw">else</span>
3705
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">node</span>
3706
+ <span class="ruby-keyword kw">end</span>
3707
+ }
3708
+ <span class="ruby-identifier">s</span>
3709
+ <span class="ruby-keyword kw">end</span>
3710
+ </pre>
3711
+ </div>
3712
+ </div>
3713
+ </div>
3714
+ <div class="method">
3715
+ <div class="title">
3716
+ <a name="M000174"></a><b>weave</b>(h)
3717
+ </div>
3718
+ <div class="description">
3719
+ <p>
3720
+ Weave is a very uniqe hash operator. I is designed to merge to complex
3721
+ hashes in according to sensible, regular pattern. The effect is akin to
3722
+ inheritance.
3723
+ </p>
3724
+ <p>
3725
+ Two hashes are weaved together to produce a new hash. The two hashes need
3726
+ to be compatible according to the following rules for each node:
3727
+ </p>
3728
+ <pre>
3729
+ &lt;tt&gt;
3730
+ hash, hash =&gt; hash (recursive +)
3731
+ hash, array =&gt; error
3732
+ hash, value =&gt; error
3733
+ array, hash =&gt; error
3734
+ array, array =&gt; array + array
3735
+ array, value =&gt; array &lt;&lt; value
3736
+ value, hash =&gt; error
3737
+ value, array =&gt; array.unshift(valueB)
3738
+ value1, value2 =&gt; value2
3739
+ &lt;/tt&gt;
3740
+ </pre>
3741
+ <p>
3742
+ Here is a basic example:
3743
+ </p>
3744
+ <pre>
3745
+ h1 = { :a =&gt; 1, :b =&gt; [ 1 ], :c =&gt; { :x =&gt; 1 } }
3746
+ =&gt; {:b=&gt;[1], :c=&gt;{:x=&gt;1}, :a=&gt;1}
3747
+
3748
+ h2 = { :a =&gt; 2, :b =&gt; [ 2 ], :c =&gt; { :x =&gt; 2 } }
3749
+ =&gt; {:b=&gt;[2], :c=&gt;{:x=&gt;2}, :a=&gt;2}
3750
+
3751
+ h1.weave(h2)
3752
+ =&gt; {:b=&gt;[1, 2], :c=&gt;{:x=&gt;2}, :a=&gt;2}
3753
+ </pre>
3754
+ <p>
3755
+ Weave follows the most expected pattern of unifying two complex hashes. It
3756
+ is especially useful for implementing overridable configuration schemes.
3757
+ </p>
3758
+ <pre>
3759
+ CREDIT: Thomas Sawyer
3760
+ </pre>
3761
+ </div>
3762
+ <div class="sourcecode">
3763
+ <p class="source-link">[ <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">show source</a> ]</p>
3764
+ <div id="M000174_source" class="dyn-source">
3765
+ <pre>
3766
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/weave.rb, line 40</span>
3767
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weave</span>(<span class="ruby-identifier">h</span>)
3768
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;Hash expected&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">h</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Hash</span>)
3769
+ <span class="ruby-identifier">s</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clone</span>
3770
+ <span class="ruby-identifier">h</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
3771
+ <span class="ruby-identifier">node_is_hash</span> = <span class="ruby-identifier">node</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Hash</span>)
3772
+ <span class="ruby-identifier">node_is_array</span> = <span class="ruby-identifier">node</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Array</span>)
3773
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">k</span>)
3774
+ <span class="ruby-identifier">self_node_is_hash</span> = <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Hash</span>)
3775
+ <span class="ruby-identifier">self_node_is_array</span> = <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Array</span>)
3776
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">self_node_is_hash</span>
3777
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3778
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">weave</span>(<span class="ruby-identifier">node</span>)
3779
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3780
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3781
+ <span class="ruby-keyword kw">else</span>
3782
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3783
+ <span class="ruby-keyword kw">end</span>
3784
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">self_node_is_array</span>
3785
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3786
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3787
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3788
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">node</span>
3789
+ <span class="ruby-keyword kw">else</span>
3790
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">node</span>
3791
+ <span class="ruby-keyword kw">end</span>
3792
+ <span class="ruby-keyword kw">else</span>
3793
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3794
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'Incompatible hash addition'</span> <span class="ruby-comment cmt">#self[k] = node</span>
3795
+ <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3796
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">unshift</span>( <span class="ruby-identifier">node</span> )
3797
+ <span class="ruby-keyword kw">else</span>
3798
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">node</span>
3799
+ <span class="ruby-keyword kw">end</span>
3800
+ <span class="ruby-keyword kw">end</span>
3801
+ <span class="ruby-keyword kw">else</span>
3802
+ <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">node</span>
3803
+ <span class="ruby-keyword kw">end</span>
3804
+ }
3805
+ <span class="ruby-identifier">s</span>
3806
+ <span class="ruby-keyword kw">end</span>
3807
+ </pre>
3808
+ </div>
3809
+ </div>
3810
+ </div>
3811
+ <div class="method">
3812
+ <div class="title">
3813
+ <a name="M000214"></a><b>|</b>(other)
3814
+ </div>
3815
+ <div class="description">
3816
+ <p>
3817
+ Operator for <a href="Hash.html#M000149">reverse_merge</a>.
3818
+ </p>
3819
+ <pre>
3820
+ CREDIT: Trans
3821
+ </pre>
3822
+ </div>
3823
+ <div class="sourcecode">
3824
+ <p class="source-link">[ <a href="javascript:toggleSource('M000214_source')" id="l_M000214_source">show source</a> ]</p>
3825
+ <div id="M000214_source" class="dyn-source">
3826
+ <pre>
3827
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 36</span>
3828
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">|</span>(<span class="ruby-identifier">other</span>)
3829
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
3830
+ <span class="ruby-keyword kw">end</span>
3831
+ </pre>
3832
+ </div>
3833
+ </div>
3834
+ </div>
3835
+ <div class="method">
3836
+ <div class="title">
3837
+ <a name="M000155"></a><b>|</b>(other)
3838
+ </div>
3839
+ <div class="description">
3840
+ <p>
3841
+ Operator for <a href="Hash.html#M000149">reverse_merge</a>.
3842
+ </p>
3843
+ <pre>
3844
+ CREDIT: Trans
3845
+ </pre>
3846
+ </div>
3847
+ <div class="sourcecode">
3848
+ <p class="source-link">[ <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">show source</a> ]</p>
3849
+ <div id="M000155_source" class="dyn-source">
3850
+ <pre>
3851
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 36</span>
3852
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">|</span>(<span class="ruby-identifier">other</span>)
3853
+ <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
3854
+ <span class="ruby-keyword kw">end</span>
3855
+ </pre>
3856
+ </div>
3857
+ </div>
3858
+ </div>
3859
+ </div>
3860
+
3861
+ </div>
3862
+
3863
+ </body>
3864
+ </html>