facets 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1943) hide show
  1. data/CHANGES +1584 -108
  2. data/MANIFEST +78 -1746
  3. data/METADATA +1 -1
  4. data/NEWS +37 -57
  5. data/demo/bench/bench_load.rb +56 -0
  6. data/{README.core → doc/README.core} +0 -0
  7. data/{README.lore → doc/README.lore} +0 -0
  8. data/{README.more → doc/README.more} +0 -0
  9. data/doc/{notes → book}/history.rdoc +0 -0
  10. data/doc/{notes → book}/notes.rdoc +0 -0
  11. data/doc/news/news-2.0.5 +8 -0
  12. data/doc/news/news-2.1.0 +9 -0
  13. data/doc/news/news-2.1.1 +5 -0
  14. data/doc/news/news-2.1.2 +6 -0
  15. data/doc/news/news-2.1.3 +5 -0
  16. data/doc/news/news-2.2.0 +14 -0
  17. data/doc/news/news-2.2.1 +4 -0
  18. data/doc/news/news-2.3.0 +6 -0
  19. data/doc/news/{NEWS-2.4.0 → news-2.4.0} +19 -1
  20. data/doc/news/news-2.4.1 +8 -0
  21. data/doc/news/news-2.4.2 +4 -0
  22. data/doc/news/news-2.4.3 +78 -0
  23. data/doc/rdoc/core/classes/Array.html +118 -850
  24. data/doc/rdoc/core/classes/Binding.html +45 -291
  25. data/doc/rdoc/core/classes/Class.html +20 -244
  26. data/doc/rdoc/core/classes/Comparable.html +26 -195
  27. data/doc/rdoc/core/classes/Dir.html +32 -332
  28. data/doc/rdoc/core/classes/Enumerable.html +152 -1154
  29. data/doc/rdoc/core/classes/Exception.html +8 -76
  30. data/doc/rdoc/core/classes/FalseClass.html +8 -8
  31. data/doc/rdoc/core/classes/File.html +59 -456
  32. data/doc/rdoc/core/classes/FileTest.html +4 -33
  33. data/doc/rdoc/core/classes/Float.html +10 -148
  34. data/doc/rdoc/core/classes/Friend.html +4 -43
  35. data/doc/rdoc/core/classes/Functor.html +12 -12
  36. data/doc/rdoc/core/classes/Hash.html +278 -1930
  37. data/doc/rdoc/core/classes/Indexable.html +97 -97
  38. data/doc/rdoc/core/classes/InstanceVariables.html +44 -251
  39. data/doc/rdoc/core/classes/Integer.html +90 -365
  40. data/doc/rdoc/core/classes/Kernel.html +365 -2062
  41. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  42. data/doc/rdoc/core/classes/MatchData.html +15 -121
  43. data/doc/rdoc/core/classes/Module.html +213 -1197
  44. data/doc/rdoc/core/classes/NilClass.html +22 -79
  45. data/doc/rdoc/core/classes/Numeric.html +27 -136
  46. data/doc/rdoc/core/classes/Object.html +52 -4
  47. data/doc/rdoc/core/classes/Proc.html +23 -228
  48. data/doc/rdoc/core/classes/Range.html +1 -263
  49. data/doc/rdoc/core/classes/Regexp.html +14 -110
  50. data/doc/rdoc/core/classes/Stackable.html +31 -31
  51. data/doc/rdoc/core/classes/String.html +401 -2464
  52. data/doc/rdoc/core/classes/Symbol.html +67 -245
  53. data/doc/rdoc/core/classes/Time.html +157 -459
  54. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  55. data/doc/rdoc/core/classes/UnboundMethod.html +11 -110
  56. data/doc/rdoc/core/created.rid +1 -1
  57. data/doc/rdoc/core/files/{README_core.html → doc/README_core.html} +7 -6
  58. data/doc/rdoc/core/files/lib/core/facets/{module/alias_rb.html → array/index_rb.html} +4 -4
  59. data/doc/rdoc/core/files/lib/core/facets/array_rb.html +1 -37
  60. data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -9
  61. data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +1 -1
  62. data/doc/rdoc/core/files/lib/core/facets/class_rb.html +1 -10
  63. data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +1 -7
  64. data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -11
  65. data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +1 -1
  66. data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +1 -27
  67. data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +1 -6
  68. data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +92 -0
  69. data/doc/rdoc/core/files/lib/core/facets/file_rb.html +1 -9
  70. data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +1 -5
  71. data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +5 -5
  72. data/doc/rdoc/core/files/lib/core/facets/float_rb.html +1 -5
  73. data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +1 -1
  74. data/doc/rdoc/core/files/lib/core/facets/{time/to_date_rb.html → hash/op_push_rb.html} +4 -4
  75. data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +1 -1
  76. data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +5 -1
  77. data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +1 -32
  78. data/doc/rdoc/core/files/lib/core/facets/indexable_rb.html +1 -1
  79. data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +1 -10
  80. data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +1 -5
  81. data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +92 -0
  82. data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +1 -1
  83. data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +1 -1
  84. data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +1 -46
  85. data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +1 -6
  86. data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +1 -1
  87. data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +92 -0
  88. data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +92 -0
  89. data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +92 -0
  90. data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +1 -1
  91. data/doc/rdoc/core/files/lib/core/facets/module_rb.html +1 -27
  92. data/doc/rdoc/core/files/lib/core/facets/nilclass/ergo_rb.html +96 -0
  93. data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +1 -1
  94. data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +1 -5
  95. data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +1 -1
  96. data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +1 -7
  97. data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +1 -1
  98. data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +1 -9
  99. data/doc/rdoc/core/files/lib/core/facets/range_rb.html +1 -9
  100. data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +1 -6
  101. data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +1 -1
  102. data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +5 -1
  103. data/doc/rdoc/core/files/lib/core/facets/{kernel/suppress_rb.html → string/op_sub_rb.html} +4 -4
  104. data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +9 -1
  105. data/doc/rdoc/core/files/lib/core/facets/string/variablize_rb.html +92 -0
  106. data/doc/rdoc/core/files/lib/core/facets/string_rb.html +1 -38
  107. data/doc/rdoc/core/files/lib/core/facets/symbol/plain_rb.html +92 -0
  108. data/doc/rdoc/core/files/lib/core/facets/symbol/query_rb.html +96 -0
  109. data/doc/rdoc/core/files/lib/core/facets/symbol/setter_rb.html +96 -0
  110. data/doc/rdoc/core/files/lib/core/facets/symbol/variablize_rb.html +92 -0
  111. data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +1 -9
  112. data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +92 -0
  113. data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +1 -1
  114. data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +1 -1
  115. data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +1 -1
  116. data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +1 -5
  117. data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +1 -1
  118. data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +1 -1
  119. data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +1 -1
  120. data/doc/rdoc/core/files/lib/core/facets/time_rb.html +1 -15
  121. data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +1 -6
  122. data/doc/rdoc/core/fr_file_index.html +16 -242
  123. data/doc/rdoc/core/fr_method_index.html +425 -780
  124. data/doc/rdoc/core/index.html +1 -1
  125. data/doc/rdoc/lore/classes/Array.html +16 -16
  126. data/doc/rdoc/lore/classes/CGI.html +25 -19
  127. data/doc/rdoc/lore/classes/Config.html +8 -8
  128. data/doc/rdoc/lore/classes/Continuation.html +4 -4
  129. data/doc/rdoc/lore/classes/Date.html +425 -47
  130. data/doc/rdoc/lore/classes/DateTime.html +585 -0
  131. data/doc/rdoc/lore/classes/File.html +4 -4
  132. data/doc/rdoc/lore/classes/FileUtils.html +32 -376
  133. data/doc/rdoc/lore/classes/GetoptLong.html +4 -4
  134. data/doc/rdoc/lore/classes/GetoptLong/DSL.html +24 -24
  135. data/doc/rdoc/lore/classes/Kernel.html +137 -0
  136. data/doc/rdoc/lore/classes/Logger.html +12 -12
  137. data/doc/rdoc/lore/classes/Logger/Ansicolor.html +40 -40
  138. data/doc/rdoc/lore/classes/Logger/LogDevice.html +4 -4
  139. data/doc/rdoc/lore/classes/NilClass.html +5 -5
  140. data/doc/rdoc/lore/classes/OpenStruct.html +47 -47
  141. data/doc/rdoc/lore/classes/Pathname.html +126 -40
  142. data/doc/rdoc/lore/classes/Shellwords.html +4 -4
  143. data/doc/rdoc/lore/classes/String.html +29 -8
  144. data/doc/rdoc/lore/classes/Time.html +156 -0
  145. data/doc/rdoc/lore/classes/URI.html +48 -48
  146. data/doc/rdoc/lore/classes/URI/Hash.html +4 -4
  147. data/doc/rdoc/lore/classes/URI/Kernel.html +8 -8
  148. data/doc/rdoc/lore/created.rid +1 -1
  149. data/doc/rdoc/lore/files/{README_lore.html → doc/README_lore.html} +4 -4
  150. data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +22 -94
  151. data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +1 -1
  152. data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +2 -2
  153. data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +2 -27
  154. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
  155. data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +1 -15
  156. data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +2 -1
  157. data/doc/rdoc/lore/fr_class_index.html +3 -1
  158. data/doc/rdoc/lore/fr_file_index.html +1 -8
  159. data/doc/rdoc/lore/fr_method_index.html +125 -93
  160. data/doc/rdoc/lore/index.html +1 -1
  161. data/doc/rdoc/more/classes/ANSICode.html +66 -66
  162. data/doc/rdoc/more/classes/Advisable.html +37 -37
  163. data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
  164. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
  165. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
  166. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
  167. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
  168. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
  169. data/doc/rdoc/more/classes/Argvector.html +489 -0
  170. data/doc/rdoc/more/classes/Association.html +28 -28
  171. data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
  172. data/doc/rdoc/more/classes/BBCode.html +34 -34
  173. data/doc/rdoc/more/classes/BaseX.html +16 -16
  174. data/doc/rdoc/more/classes/BiCrypt.html +67 -67
  175. data/doc/rdoc/more/classes/BigDuration.html +30 -30
  176. data/doc/rdoc/more/classes/BinReadable.html +85 -85
  177. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
  178. data/doc/rdoc/more/classes/Binding.html +8 -61
  179. data/doc/rdoc/more/classes/BlankSlate.html +131 -0
  180. data/doc/rdoc/more/classes/Buildable.html +4 -4
  181. data/doc/rdoc/more/classes/BuildingBlock.html +1 -1
  182. data/doc/rdoc/more/classes/CLI/Arguments.html +88 -88
  183. data/doc/rdoc/more/classes/CLI/Command.html +29 -28
  184. data/doc/rdoc/more/classes/CLI/NoCommandError.html +5 -5
  185. data/doc/rdoc/more/classes/CLI/NoOptionError.html +5 -5
  186. data/doc/rdoc/more/classes/CacheDecorator.html +21 -21
  187. data/doc/rdoc/more/classes/Capsule.html +41 -41
  188. data/doc/rdoc/more/classes/Chain.html +17 -17
  189. data/doc/rdoc/more/classes/Cloneable.html +4 -4
  190. data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
  191. data/doc/rdoc/more/classes/Coroutine.html +35 -34
  192. data/doc/rdoc/more/classes/Crypt.html +16 -16
  193. data/doc/rdoc/more/classes/CssTree.html +8 -8
  194. data/doc/rdoc/more/classes/Dictionary.html +232 -232
  195. data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
  196. data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
  197. data/doc/rdoc/more/classes/Duration.html +68 -68
  198. data/doc/rdoc/more/classes/Enumerable.html +44 -44
  199. data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
  200. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
  201. data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
  202. data/doc/rdoc/more/classes/Equatable.html +16 -16
  203. data/doc/rdoc/more/classes/EventHook.html +8 -8
  204. data/doc/rdoc/more/classes/Expirable.html +17 -17
  205. data/doc/rdoc/more/classes/FileShell.html +174 -174
  206. data/doc/rdoc/more/classes/Fileable.html +14 -14
  207. data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
  208. data/doc/rdoc/more/classes/Hash.html +35 -181
  209. data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
  210. data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
  211. data/doc/rdoc/more/classes/InfinityClass.html +36 -36
  212. data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
  213. data/doc/rdoc/more/classes/Ini.html +37 -37
  214. data/doc/rdoc/more/classes/Instantiable.html +9 -9
  215. data/doc/rdoc/more/classes/{Instantise.html → Instantize.html} +17 -17
  216. data/doc/rdoc/more/classes/Interval.html +189 -189
  217. data/doc/rdoc/more/classes/It.html +12 -12
  218. data/doc/rdoc/more/classes/LRUCache.html +38 -38
  219. data/doc/rdoc/more/classes/LinkedList.html +68 -68
  220. data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
  221. data/doc/rdoc/more/classes/Module.html +177 -177
  222. data/doc/rdoc/more/classes/Multiton.html +12 -12
  223. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
  224. data/doc/rdoc/more/classes/Net/SMTP.html +8 -69
  225. data/doc/rdoc/more/classes/NullClass.html +24 -24
  226. data/doc/rdoc/more/classes/OpEsc.html +5 -5
  227. data/doc/rdoc/more/classes/OpenCascade.html +4 -4
  228. data/doc/rdoc/more/classes/OpenCollection.html +8 -8
  229. data/doc/rdoc/more/classes/OpenHash.html +9 -9
  230. data/doc/rdoc/more/classes/OpenObject.html +117 -117
  231. data/doc/rdoc/more/classes/PQueue.html +84 -84
  232. data/doc/rdoc/more/classes/Paramix.html +11 -11
  233. data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
  234. data/doc/rdoc/more/classes/PathList.html +8 -8
  235. data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
  236. data/doc/rdoc/more/classes/Pool.html +18 -18
  237. data/doc/rdoc/more/classes/Proc.html +10 -10
  238. data/doc/rdoc/more/classes/ProgressBar.html +52 -52
  239. data/doc/rdoc/more/classes/Prototype.html +28 -28
  240. data/doc/rdoc/more/classes/RWDelegator.html +16 -16
  241. data/doc/rdoc/more/classes/Random.html +6 -23
  242. data/doc/rdoc/more/classes/Random/Array.html +52 -52
  243. data/doc/rdoc/more/classes/Random/Hash.html +64 -64
  244. data/doc/rdoc/more/classes/Random/Object.html +5 -5
  245. data/doc/rdoc/more/classes/Random/String.html +46 -46
  246. data/doc/rdoc/more/classes/Random/String/Self.html +13 -13
  247. data/doc/rdoc/more/classes/Recorder.html +16 -16
  248. data/doc/rdoc/more/classes/Reference.html +19 -19
  249. data/doc/rdoc/more/classes/Registerable.html +13 -13
  250. data/doc/rdoc/more/classes/Rope.html +434 -0
  251. data/doc/rdoc/more/classes/Semaphore.html +36 -36
  252. data/doc/rdoc/more/classes/Settings.html +28 -28
  253. data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
  254. data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
  255. data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
  256. data/doc/rdoc/more/classes/String/Mask.html +557 -0
  257. data/doc/rdoc/more/classes/String/Style.html +146 -147
  258. data/doc/rdoc/more/classes/String/Words.html +31 -272
  259. data/doc/rdoc/more/classes/System.html +253 -253
  260. data/doc/rdoc/more/classes/Timer.html +50 -50
  261. data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
  262. data/doc/rdoc/more/classes/TracePoint.html +58 -58
  263. data/doc/rdoc/more/classes/Tuple.html +170 -170
  264. data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
  265. data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
  266. data/doc/rdoc/more/classes/Uninheritable.html +6 -6
  267. data/doc/rdoc/more/classes/UploadUtils.html +49 -49
  268. data/doc/rdoc/more/classes/VersionNumber.html +82 -56
  269. data/doc/rdoc/more/classes/Weekdays.html +28 -28
  270. data/doc/rdoc/more/classes/XOXO.html +9 -9
  271. data/doc/rdoc/more/classes/ZipUtils.html +58 -58
  272. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +28 -28
  273. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +28 -28
  274. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +28 -28
  275. data/doc/rdoc/more/created.rid +1 -1
  276. data/doc/rdoc/more/files/{README_more.html → doc/README_more.html} +3 -3
  277. data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +1 -1
  278. data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +1 -1
  279. data/doc/rdoc/more/files/lib/more/facets/argvector_rb.html +142 -0
  280. data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +2 -2
  281. data/doc/rdoc/more/files/lib/more/facets/blankslate_rb.html +92 -0
  282. data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +1 -1
  283. data/doc/rdoc/more/files/lib/more/facets/bytes_rb.html +1 -78
  284. data/doc/rdoc/more/files/lib/more/facets/command_rb.html +1 -1
  285. data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +1 -1
  286. data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
  287. data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +1 -1
  288. data/doc/rdoc/more/files/lib/more/facets/fileshell_rb.html +1 -29
  289. data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +1 -1
  290. data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +5 -54
  291. data/doc/rdoc/more/files/lib/more/facets/instantize_rb.html +160 -0
  292. data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +1 -1
  293. data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +1 -1
  294. data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +1 -1
  295. data/doc/rdoc/more/files/lib/more/facets/random_rb.html +1 -1
  296. data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +1 -1
  297. data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +1 -2
  298. data/doc/rdoc/more/files/lib/more/facets/rope_rb.html +98 -0
  299. data/doc/rdoc/{core/files/lib/core/facets/string/to_time_rb.html → more/files/lib/more/facets/string/mask_rb.html} +5 -5
  300. data/doc/rdoc/more/files/lib/more/facets/{style_rb.html → string/style_rb.html} +4 -4
  301. data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +2 -2
  302. data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +2 -2
  303. data/doc/rdoc/more/files/lib/more/facets/version_rb.html +2 -3
  304. data/doc/rdoc/more/fr_class_index.html +5 -2
  305. data/doc/rdoc/more/fr_file_index.html +7 -8
  306. data/doc/rdoc/more/fr_method_index.html +940 -926
  307. data/doc/rdoc/more/index.html +1 -1
  308. data/lib/core/facets-load.rb +12 -0
  309. data/lib/core/facets.rb +1 -1
  310. data/lib/core/facets/array.rb +5 -25
  311. data/lib/core/facets/array/index.rb +23 -0
  312. data/lib/core/facets/binding.rb +5 -6
  313. data/lib/core/facets/class.rb +5 -6
  314. data/lib/core/facets/class/descendents.rb +10 -2
  315. data/lib/core/facets/comparable.rb +5 -3
  316. data/lib/core/facets/dir.rb +5 -6
  317. data/lib/core/facets/enumerable.rb +5 -23
  318. data/lib/core/facets/enumerable/group_by.rb +2 -2
  319. data/lib/core/facets/exception.rb +6 -2
  320. data/lib/core/facets/file.rb +5 -5
  321. data/lib/core/facets/file/split_root.rb +10 -0
  322. data/lib/core/facets/filetest.rb +6 -1
  323. data/lib/core/facets/float.rb +6 -1
  324. data/lib/core/facets/float/round.rb +1 -35
  325. data/lib/core/facets/hash.rb +5 -28
  326. data/lib/core/facets/hash/except.rb +15 -11
  327. data/lib/core/facets/hash/op_push.rb +17 -0
  328. data/lib/core/facets/hash/slice.rb +21 -13
  329. data/lib/core/facets/hash/update.rb +19 -13
  330. data/lib/core/facets/indexable.rb +1 -0
  331. data/lib/core/facets/integer.rb +5 -7
  332. data/lib/core/facets/kernel.rb +5 -44
  333. data/lib/core/facets/kernel/instance_exec.rb +29 -8
  334. data/lib/core/facets/kernel/qua_class.rb +19 -0
  335. data/lib/core/facets/kernel/singleton_class.rb +6 -1
  336. data/lib/core/facets/kernel/with.rb +1 -1
  337. data/lib/core/facets/matchdata.rb +5 -3
  338. data/lib/core/facets/metaid.rb +0 -51
  339. data/lib/core/facets/module.rb +5 -23
  340. data/lib/core/facets/module/alias_accessor.rb +45 -0
  341. data/lib/core/facets/module/{alias.rb → alias_method_chain.rb} +0 -65
  342. data/lib/core/facets/module/alias_module_function.rb +30 -0
  343. data/lib/core/facets/module/instance_methods.rb +2 -2
  344. data/lib/core/facets/nilclass.rb +5 -2
  345. data/lib/core/facets/nilclass/ergo.rb +1 -0
  346. data/lib/core/facets/nilclass/to_f.rb +2 -2
  347. data/lib/core/facets/numeric.rb +5 -3
  348. data/lib/core/facets/numeric/round.rb +21 -0
  349. data/lib/core/facets/proc.rb +5 -5
  350. data/lib/core/facets/range.rb +5 -5
  351. data/lib/core/facets/regexp.rb +5 -2
  352. data/lib/core/facets/string.rb +5 -36
  353. data/lib/core/facets/string/chars.rb +3 -3
  354. data/lib/core/facets/string/each_char.rb +15 -6
  355. data/lib/core/facets/string/op_sub.rb +14 -0
  356. data/lib/core/facets/string/subtract.rb +3 -13
  357. data/lib/core/facets/string/variablize.rb +12 -0
  358. data/lib/core/facets/symbol.rb +5 -5
  359. data/lib/core/facets/symbol/plain.rb +44 -0
  360. data/lib/core/facets/symbol/query.rb +1 -0
  361. data/lib/core/facets/symbol/setter.rb +1 -0
  362. data/lib/core/facets/symbol/variablize.rb +12 -0
  363. data/lib/core/facets/time.rb +5 -12
  364. data/lib/core/facets/time/advance.rb +17 -0
  365. data/lib/core/facets/time/change.rb +16 -22
  366. data/lib/core/facets/time/elapse.rb +2 -2
  367. data/lib/core/facets/time/hence.rb +83 -50
  368. data/lib/core/facets/time/set.rb +21 -1
  369. data/lib/core/facets/time/stamp.rb +2 -4
  370. data/lib/core/facets/time/to_time.rb +8 -2
  371. data/lib/core/facets/unboundmethod.rb +5 -2
  372. data/lib/lore/facets/basicobject.rb +8 -257
  373. data/lib/lore/facets/cgi.rb +1 -1
  374. data/lib/lore/facets/date.rb +349 -43
  375. data/lib/lore/facets/ostruct.rb +1 -1
  376. data/lib/lore/facets/pathname.rb +41 -10
  377. data/lib/more/facets/annotations.rb +2 -0
  378. data/lib/more/facets/arguments.rb +2 -0
  379. data/lib/more/facets/argvector.rb +353 -0
  380. data/lib/more/facets/bicrypt.rb +1 -1
  381. data/lib/more/facets/blankslate.rb +66 -0
  382. data/lib/more/facets/buildable.rb +1 -1
  383. data/lib/more/facets/bytes.rb +2 -0
  384. data/lib/more/facets/command.rb +4 -1
  385. data/lib/more/facets/coroutine.rb +1 -0
  386. data/lib/more/facets/dictionary.rb +4 -4
  387. data/lib/more/facets/elementor.rb +1 -1
  388. data/lib/more/facets/fileshell.rb +2 -0
  389. data/lib/more/facets/inheritor.rb +9 -5
  390. data/lib/more/facets/instantise.rb +1 -92
  391. data/lib/more/facets/instantize.rb +95 -0
  392. data/lib/more/facets/interval.rb +2 -2
  393. data/lib/more/facets/multipliers.rb +4 -4
  394. data/lib/more/facets/openobject.rb +6 -1
  395. data/lib/more/facets/random.rb +25 -22
  396. data/lib/more/facets/recorder.rb +1 -1
  397. data/lib/more/facets/rope.rb +131 -0
  398. data/lib/more/facets/string/mask.rb +278 -0
  399. data/lib/more/facets/{style.rb → string/style.rb} +7 -6
  400. data/lib/more/facets/typecast.rb +1 -1
  401. data/lib/more/facets/version.rb +14 -0
  402. data/test/core/binding/test_local_variables.rb +1 -1
  403. data/test/core/enumerable/test_group_by.rb +7 -2
  404. data/test/core/hash/test_slice.rb +20 -0
  405. data/test/core/kernel/test_tap.rb +1 -1
  406. data/test/core/module/test_alias.rb +2 -1
  407. data/test/core/module/test_revise.rb +2 -2
  408. data/test/lore/test_basicobject.rb +26 -26
  409. data/test/lore/test_date.rb +9 -0
  410. data/test/lore/test_ostruct.rb +5 -5
  411. data/test/more/test_class_extension.rb +1 -1
  412. data/test/more/test_classmethods.rb +5 -5
  413. data/test/more/test_dictionary.rb +1 -1
  414. data/test/more/test_instantise.rb +2 -4
  415. data/test/more/test_interval.rb +4 -4
  416. data/test/more/test_linkedlist.rb +1 -1
  417. data/test/more/test_multipliers.rb +1 -1
  418. data/test/more/test_multiton.rb +1 -1
  419. data/test/more/test_random.rb +1 -1
  420. data/test/more/test_style.rb +1 -1
  421. data/test/more/test_typecast.rb +1 -1
  422. data/test/test_facets.rb +9 -0
  423. metadata +82 -1753
  424. data/doc/rdoc/lore/classes/BasicObject.html +0 -259
  425. data/doc/rdoc/more/classes/Kernel.html +0 -641
  426. data/doc/ri/ANSICode/cdesc-ANSICode.yaml +0 -60
  427. data/doc/ri/ANSICode/clear_line-i.yaml +0 -13
  428. data/doc/ri/ANSICode/clear_screen-i.yaml +0 -13
  429. data/doc/ri/ANSICode/clr-i.yaml +0 -12
  430. data/doc/ri/ANSICode/cls-i.yaml +0 -12
  431. data/doc/ri/ANSICode/colors-i.yaml +0 -10
  432. data/doc/ri/ANSICode/define_ansicolor_method-c.yaml +0 -12
  433. data/doc/ri/ANSICode/display-i.yaml +0 -12
  434. data/doc/ri/ANSICode/down-i.yaml +0 -12
  435. data/doc/ri/ANSICode/left-i.yaml +0 -12
  436. data/doc/ri/ANSICode/move-i.yaml +0 -12
  437. data/doc/ri/ANSICode/restore-i.yaml +0 -12
  438. data/doc/ri/ANSICode/right-i.yaml +0 -12
  439. data/doc/ri/ANSICode/save-i.yaml +0 -12
  440. data/doc/ri/ANSICode/uncolored-i.yaml +0 -10
  441. data/doc/ri/ANSICode/up-i.yaml +0 -12
  442. data/doc/ri/Advisable/Method/advice_after%3d-i.yaml +0 -10
  443. data/doc/ri/Advisable/Method/advice_around%3d-i.yaml +0 -10
  444. data/doc/ri/Advisable/Method/advice_before%3d-i.yaml +0 -10
  445. data/doc/ri/Advisable/Method/advised%3f-i.yaml +0 -10
  446. data/doc/ri/Advisable/Method/call_with_advice-i.yaml +0 -12
  447. data/doc/ri/Advisable/Method/cdesc-Method.yaml +0 -43
  448. data/doc/ri/Advisable/Method/lambda_target-i.yaml +0 -12
  449. data/doc/ri/Advisable/advice_after-i.yaml +0 -10
  450. data/doc/ri/Advisable/advice_around-i.yaml +0 -10
  451. data/doc/ri/Advisable/advice_before-i.yaml +0 -10
  452. data/doc/ri/Advisable/advise-i.yaml +0 -12
  453. data/doc/ri/Advisable/after-i.yaml +0 -10
  454. data/doc/ri/Advisable/around-i.yaml +0 -10
  455. data/doc/ri/Advisable/before-i.yaml +0 -10
  456. data/doc/ri/Advisable/cdesc-Advisable.yaml +0 -35
  457. data/doc/ri/Advisable/method_added-i.yaml +0 -16
  458. data/doc/ri/Archive/Tar/Minitar/BlockRequired/cdesc-BlockRequired.yaml +0 -17
  459. data/doc/ri/Archive/Tar/Minitar/ClosedStream/cdesc-ClosedStream.yaml +0 -17
  460. data/doc/ri/Archive/Tar/Minitar/FileNameTooLong/cdesc-FileNameTooLong.yaml +0 -17
  461. data/doc/ri/Archive/Tar/Minitar/Input/cdesc-Input.yaml +0 -30
  462. data/doc/ri/Archive/Tar/Minitar/Input/close-i.yaml +0 -12
  463. data/doc/ri/Archive/Tar/Minitar/Input/each-i.yaml +0 -12
  464. data/doc/ri/Archive/Tar/Minitar/Input/extract_entry-i.yaml +0 -43
  465. data/doc/ri/Archive/Tar/Minitar/Input/fsync_dir-i.yaml +0 -10
  466. data/doc/ri/Archive/Tar/Minitar/Input/new-c.yaml +0 -12
  467. data/doc/ri/Archive/Tar/Minitar/Input/open-c.yaml +0 -12
  468. data/doc/ri/Archive/Tar/Minitar/Input/tar-i.yaml +0 -12
  469. data/doc/ri/Archive/Tar/Minitar/NonSeekableStream/cdesc-NonSeekableStream.yaml +0 -17
  470. data/doc/ri/Archive/Tar/Minitar/Output/cdesc-Output.yaml +0 -23
  471. data/doc/ri/Archive/Tar/Minitar/Output/close-i.yaml +0 -12
  472. data/doc/ri/Archive/Tar/Minitar/Output/new-c.yaml +0 -12
  473. data/doc/ri/Archive/Tar/Minitar/Output/open-c.yaml +0 -12
  474. data/doc/ri/Archive/Tar/Minitar/Output/tar-i.yaml +0 -12
  475. data/doc/ri/Archive/Tar/Minitar/Reader/EntryStream/cdesc-EntryStream.yaml +0 -17
  476. data/doc/ri/Archive/Tar/Minitar/Reader/InvalidEntryStream/cdesc-InvalidEntryStream.yaml +0 -17
  477. data/doc/ri/Archive/Tar/Minitar/Reader/cdesc-Reader.yaml +0 -27
  478. data/doc/ri/Archive/Tar/Minitar/Reader/close-i.yaml +0 -10
  479. data/doc/ri/Archive/Tar/Minitar/Reader/each-i.yaml +0 -12
  480. data/doc/ri/Archive/Tar/Minitar/Reader/each_entry-i.yaml +0 -12
  481. data/doc/ri/Archive/Tar/Minitar/Reader/new-c.yaml +0 -12
  482. data/doc/ri/Archive/Tar/Minitar/Reader/open-c.yaml +0 -12
  483. data/doc/ri/Archive/Tar/Minitar/Reader/rewind-i.yaml +0 -12
  484. data/doc/ri/Archive/Tar/Minitar/UnexpectedEOF/cdesc-UnexpectedEOF.yaml +0 -17
  485. data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/FileOverflow/cdesc-FileOverflow.yaml +0 -17
  486. data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/cdesc-BoundedStream.yaml +0 -17
  487. data/doc/ri/Archive/Tar/Minitar/Writer/RestrictedStream/cdesc-RestrictedStream.yaml +0 -17
  488. data/doc/ri/Archive/Tar/Minitar/Writer/add_file-i.yaml +0 -34
  489. data/doc/ri/Archive/Tar/Minitar/Writer/add_file_simple-i.yaml +0 -33
  490. data/doc/ri/Archive/Tar/Minitar/Writer/cdesc-Writer.yaml +0 -31
  491. data/doc/ri/Archive/Tar/Minitar/Writer/close-i.yaml +0 -12
  492. data/doc/ri/Archive/Tar/Minitar/Writer/flush-i.yaml +0 -12
  493. data/doc/ri/Archive/Tar/Minitar/Writer/mkdir-i.yaml +0 -12
  494. data/doc/ri/Archive/Tar/Minitar/Writer/new-c.yaml +0 -12
  495. data/doc/ri/Archive/Tar/Minitar/Writer/open-c.yaml +0 -12
  496. data/doc/ri/Archive/Tar/Minitar/Writer/split_name-i.yaml +0 -10
  497. data/doc/ri/Archive/Tar/Minitar/cdesc-Minitar.yaml +0 -68
  498. data/doc/ri/Archive/Tar/Minitar/dir%3f-c.yaml +0 -12
  499. data/doc/ri/Archive/Tar/Minitar/open-c.yaml +0 -12
  500. data/doc/ri/Archive/Tar/Minitar/pack-c.yaml +0 -14
  501. data/doc/ri/Archive/Tar/Minitar/pack_file-c.yaml +0 -75
  502. data/doc/ri/Archive/Tar/Minitar/unpack-c.yaml +0 -12
  503. data/doc/ri/Archive/Tar/PosixHeader/cdesc-PosixHeader.yaml +0 -53
  504. data/doc/ri/Archive/Tar/cdesc-Tar.yaml +0 -15
  505. data/doc/ri/Archive/cdesc-Archive.yaml +0 -16
  506. data/doc/ri/Array/cdesc-Array.yaml +0 -17
  507. data/doc/ri/As/cdesc-As.yaml +0 -19
  508. data/doc/ri/Association/%3c%3d%3e-i.yaml +0 -10
  509. data/doc/ri/Association/%5b%5d-c.yaml +0 -10
  510. data/doc/ri/Association/Kernel/%3e%3e-i.yaml +0 -12
  511. data/doc/ri/Association/Kernel/associations-i.yaml +0 -10
  512. data/doc/ri/Association/Kernel/cdesc-Kernel.yaml +0 -20
  513. data/doc/ri/Association/cdesc-Association.yaml +0 -67
  514. data/doc/ri/Association/inspect-i.yaml +0 -10
  515. data/doc/ri/Association/invert%21-i.yaml +0 -10
  516. data/doc/ri/Association/new-c.yaml +0 -10
  517. data/doc/ri/Association/to_ary-i.yaml +0 -10
  518. data/doc/ri/Association/to_s-i.yaml +0 -10
  519. data/doc/ri/Autoarray/%5b%5d%3d-i.yaml +0 -10
  520. data/doc/ri/Autoarray/%5b%5d-i.yaml +0 -10
  521. data/doc/ri/Autoarray/cdesc-Autoarray.yaml +0 -26
  522. data/doc/ri/Autoarray/new-c.yaml +0 -10
  523. data/doc/ri/BBCode/ansi-c.yaml +0 -12
  524. data/doc/ri/BBCode/ansi_to_bbcode-c.yaml +0 -12
  525. data/doc/ri/BBCode/ansi_to_html-c.yaml +0 -12
  526. data/doc/ri/BBCode/bbcode_to_ansi-c.yaml +0 -12
  527. data/doc/ri/BBCode/bbcode_to_html-c.yaml +0 -12
  528. data/doc/ri/BBCode/cdesc-BBCode.yaml +0 -59
  529. data/doc/ri/BBCode/html_to_ansi-c.yaml +0 -12
  530. data/doc/ri/BBCode/html_to_bbcode-c.yaml +0 -12
  531. data/doc/ri/BBCode/strip_bbcode-c.yaml +0 -12
  532. data/doc/ri/BaseX/cdesc-BaseX.yaml +0 -27
  533. data/doc/ri/BaseX/convert_base-i.yaml +0 -10
  534. data/doc/ri/BaseX/decode-i.yaml +0 -10
  535. data/doc/ri/BaseX/encode-i.yaml +0 -10
  536. data/doc/ri/BaseX/new-c.yaml +0 -10
  537. data/doc/ri/BasicObject/__self__-i.yaml +0 -12
  538. data/doc/ri/BasicObject/cdesc-BasicObject.yaml +0 -53
  539. data/doc/ri/BasicObject/hide-c.yaml +0 -12
  540. data/doc/ri/BasicObject/object_self-i.yaml +0 -13
  541. data/doc/ri/BiCrypt/block_size-i.yaml +0 -10
  542. data/doc/ri/BiCrypt/carefully_open_file-i.yaml +0 -10
  543. data/doc/ri/BiCrypt/cdesc-BiCrypt.yaml +0 -53
  544. data/doc/ri/BiCrypt/decrypt_block-i.yaml +0 -10
  545. data/doc/ri/BiCrypt/decrypt_file-i.yaml +0 -10
  546. data/doc/ri/BiCrypt/decrypt_pair-i.yaml +0 -10
  547. data/doc/ri/BiCrypt/decrypt_stream-i.yaml +0 -10
  548. data/doc/ri/BiCrypt/decrypt_string-i.yaml +0 -10
  549. data/doc/ri/BiCrypt/encrypt_block-i.yaml +0 -10
  550. data/doc/ri/BiCrypt/encrypt_file-i.yaml +0 -10
  551. data/doc/ri/BiCrypt/encrypt_pair-i.yaml +0 -10
  552. data/doc/ri/BiCrypt/encrypt_stream-i.yaml +0 -10
  553. data/doc/ri/BiCrypt/encrypt_string-i.yaml +0 -10
  554. data/doc/ri/BiCrypt/f-i.yaml +0 -10
  555. data/doc/ri/BiCrypt/generate_initialization_vector-i.yaml +0 -12
  556. data/doc/ri/BiCrypt/new-c.yaml +0 -10
  557. data/doc/ri/BiCrypt/precalculate_S_table-i.yaml +0 -10
  558. data/doc/ri/BigDuration/cdesc-BigDuration.yaml +0 -41
  559. data/doc/ri/BigDuration/each-i.yaml +0 -12
  560. data/doc/ri/BigDuration/months%3d-i.yaml +0 -12
  561. data/doc/ri/BigDuration/new-c.yaml +0 -12
  562. data/doc/ri/BigDuration/seconds-i.yaml +0 -12
  563. data/doc/ri/BigDuration/strftime-i.yaml +0 -16
  564. data/doc/ri/BigDuration/years%3d-i.yaml +0 -12
  565. data/doc/ri/BinReadable/ByteOrder/big%3f-i.yaml +0 -12
  566. data/doc/ri/BinReadable/ByteOrder/big_endian%3f-i.yaml +0 -13
  567. data/doc/ri/BinReadable/ByteOrder/byte_order-i.yaml +0 -13
  568. data/doc/ri/BinReadable/ByteOrder/byteorder-i.yaml +0 -12
  569. data/doc/ri/BinReadable/ByteOrder/cdesc-ByteOrder.yaml +0 -39
  570. data/doc/ri/BinReadable/ByteOrder/little%3f-i.yaml +0 -12
  571. data/doc/ri/BinReadable/ByteOrder/little_endian%3f-i.yaml +0 -11
  572. data/doc/ri/BinReadable/ByteOrder/network%3f-i.yaml +0 -12
  573. data/doc/ri/BinReadable/byte_order%3d-i.yaml +0 -11
  574. data/doc/ri/BinReadable/byte_order-i.yaml +0 -13
  575. data/doc/ri/BinReadable/byteorder%3d-i.yaml +0 -12
  576. data/doc/ri/BinReadable/byteorder-i.yaml +0 -12
  577. data/doc/ri/BinReadable/cdesc-BinReadable.yaml +0 -65
  578. data/doc/ri/BinReadable/read_cstring-i.yaml +0 -10
  579. data/doc/ri/BinReadable/read_int16_big-i.yaml +0 -10
  580. data/doc/ri/BinReadable/read_int16_little-i.yaml +0 -10
  581. data/doc/ri/BinReadable/read_int16_native-i.yaml +0 -13
  582. data/doc/ri/BinReadable/read_int32_big-i.yaml +0 -10
  583. data/doc/ri/BinReadable/read_int32_little-i.yaml +0 -10
  584. data/doc/ri/BinReadable/read_int32_native-i.yaml +0 -13
  585. data/doc/ri/BinReadable/read_int8-i.yaml +0 -10
  586. data/doc/ri/BinReadable/read_uint8-i.yaml +0 -12
  587. data/doc/ri/BinReadable/read_word16_big-i.yaml +0 -10
  588. data/doc/ri/BinReadable/read_word16_little-i.yaml +0 -10
  589. data/doc/ri/BinReadable/read_word16_native-i.yaml +0 -13
  590. data/doc/ri/BinReadable/read_word32_big-i.yaml +0 -10
  591. data/doc/ri/BinReadable/read_word32_little-i.yaml +0 -10
  592. data/doc/ri/BinReadable/read_word32_native-i.yaml +0 -13
  593. data/doc/ri/BinReadable/read_word8-i.yaml +0 -13
  594. data/doc/ri/BinReadable/readn-i.yaml +0 -12
  595. data/doc/ri/BinReadable/ru-i.yaml +0 -12
  596. data/doc/ri/BinReadable/ru_swap-i.yaml +0 -12
  597. data/doc/ri/Binding/%5b%5d%3d-i.yaml +0 -14
  598. data/doc/ri/Binding/%5b%5d-i.yaml +0 -14
  599. data/doc/ri/Binding/__DIR__-i.yaml +0 -12
  600. data/doc/ri/Binding/__FILE__-i.yaml +0 -12
  601. data/doc/ri/Binding/__LINE__-i.yaml +0 -12
  602. data/doc/ri/Binding/__callee__-i.yaml +0 -14
  603. data/doc/ri/Binding/__method__-i.yaml +0 -14
  604. data/doc/ri/Binding/caller-i.yaml +0 -12
  605. data/doc/ri/Binding/callstack-i.yaml +0 -12
  606. data/doc/ri/Binding/cdesc-Binding.yaml +0 -40
  607. data/doc/ri/Binding/defined%3f-i.yaml +0 -12
  608. data/doc/ri/Binding/eval-i.yaml +0 -12
  609. data/doc/ri/Binding/local_variables-i.yaml +0 -14
  610. data/doc/ri/Binding/self-i.yaml +0 -12
  611. data/doc/ri/Buildable/cdesc-Buildable.yaml +0 -29
  612. data/doc/ri/Buildable/included-c.yaml +0 -10
  613. data/doc/ri/BuildingBlock/%3c%3c-i.yaml +0 -12
  614. data/doc/ri/BuildingBlock/build%21-i.yaml +0 -11
  615. data/doc/ri/BuildingBlock/cdesc-BuildingBlock.yaml +0 -57
  616. data/doc/ri/BuildingBlock/inspect-i.yaml +0 -12
  617. data/doc/ri/BuildingBlock/method_missing-i.yaml +0 -11
  618. data/doc/ri/BuildingBlock/new-c.yaml +0 -11
  619. data/doc/ri/BuildingBlock/to_buffer-i.yaml +0 -12
  620. data/doc/ri/BuildingBlock/to_s-i.yaml +0 -12
  621. data/doc/ri/BuildingBlock/to_str-i.yaml +0 -10
  622. data/doc/ri/CGI/cdesc-CGI.yaml +0 -25
  623. data/doc/ri/CGI/esc-i.yaml +0 -12
  624. data/doc/ri/CGI/escformat-i.yaml +0 -12
  625. data/doc/ri/CGI/marshal_from_cgi-i.yaml +0 -12
  626. data/doc/ri/CGI/marshal_to_cgi-i.yaml +0 -12
  627. data/doc/ri/CLI/Arguments/arguments-i.yaml +0 -12
  628. data/doc/ri/CLI/Arguments/assoc_options-i.yaml +0 -14
  629. data/doc/ri/CLI/Arguments/cdesc-Arguments.yaml +0 -77
  630. data/doc/ri/CLI/Arguments/flags-i.yaml +0 -12
  631. data/doc/ri/CLI/Arguments/format_options-i.yaml +0 -12
  632. data/doc/ri/CLI/Arguments/multi_flag-i.yaml +0 -12
  633. data/doc/ri/CLI/Arguments/new-c.yaml +0 -12
  634. data/doc/ri/CLI/Arguments/operands-i.yaml +0 -13
  635. data/doc/ri/CLI/Arguments/options-i.yaml +0 -12
  636. data/doc/ri/CLI/Arguments/parameters-c.yaml +0 -10
  637. data/doc/ri/CLI/Arguments/parameters-i.yaml +0 -12
  638. data/doc/ri/CLI/Arguments/parameters_without_duplicates-i.yaml +0 -12
  639. data/doc/ri/CLI/Arguments/parse-i.yaml +0 -14
  640. data/doc/ri/CLI/Arguments/parse_arity-i.yaml +0 -12
  641. data/doc/ri/CLI/Arguments/parse_line-i.yaml +0 -12
  642. data/doc/ri/CLI/Arguments/parse_preoptions-i.yaml +0 -12
  643. data/doc/ri/CLI/Arguments/preflags-i.yaml +0 -12
  644. data/doc/ri/CLI/Arguments/preoptions-i.yaml +0 -14
  645. data/doc/ri/CLI/Arguments/subcommand-i.yaml +0 -12
  646. data/doc/ri/CLI/Arguments/subcommand_with_arguments-i.yaml +0 -14
  647. data/doc/ri/CLI/Arguments/subcommand_with_parameters-i.yaml +0 -13
  648. data/doc/ri/CLI/Arguments/subcommand_with_preoptions-i.yaml +0 -11
  649. data/doc/ri/CLI/Command/UniversalOptions/cdesc-UniversalOptions.yaml +0 -17
  650. data/doc/ri/CLI/Command/call-i.yaml +0 -12
  651. data/doc/ri/CLI/Command/cdesc-Command.yaml +0 -50
  652. data/doc/ri/CLI/Command/command_missing-i.yaml +0 -11
  653. data/doc/ri/CLI/Command/commands-i.yaml +0 -11
  654. data/doc/ri/CLI/Command/default-i.yaml +0 -12
  655. data/doc/ri/CLI/Command/initialize_arguments-i.yaml +0 -11
  656. data/doc/ri/CLI/Command/initialize_options-i.yaml +0 -11
  657. data/doc/ri/CLI/Command/new-c.yaml +0 -11
  658. data/doc/ri/CLI/Command/option_arity-c.yaml +0 -11
  659. data/doc/ri/CLI/Command/option_missing-i.yaml +0 -11
  660. data/doc/ri/CLI/Command/start-c.yaml +0 -11
  661. data/doc/ri/CLI/Command/subcommand-c.yaml +0 -12
  662. data/doc/ri/CLI/NoCommandError/cdesc-NoCommandError.yaml +0 -16
  663. data/doc/ri/CLI/NoCommandError/new-c.yaml +0 -10
  664. data/doc/ri/CLI/NoOptionError/cdesc-NoOptionError.yaml +0 -18
  665. data/doc/ri/CLI/NoOptionError/new-c.yaml +0 -10
  666. data/doc/ri/CLI/cdesc-CLI.yaml +0 -20
  667. data/doc/ri/CacheDecorator/cache-c.yaml +0 -10
  668. data/doc/ri/CacheDecorator/cdesc-CacheDecorator.yaml +0 -45
  669. data/doc/ri/CacheDecorator/method_missing-i.yaml +0 -10
  670. data/doc/ri/CacheDecorator/new-c.yaml +0 -10
  671. data/doc/ri/CacheDecorator/self-i.yaml +0 -10
  672. data/doc/ri/CacheDecorator/uncache-c.yaml +0 -10
  673. data/doc/ri/Capsule/MissingFile/cdesc-MissingFile.yaml +0 -17
  674. data/doc/ri/Capsule/cdesc-Capsule.yaml +0 -55
  675. data/doc/ri/Capsule/include-i.yaml +0 -11
  676. data/doc/ri/Capsule/include_script-i.yaml +0 -10
  677. data/doc/ri/Capsule/load-c.yaml +0 -12
  678. data/doc/ri/Capsule/load-i.yaml +0 -16
  679. data/doc/ri/Capsule/load_in_module-i.yaml +0 -12
  680. data/doc/ri/Capsule/load_path_lookup-i.yaml +0 -12
  681. data/doc/ri/Capsule/new-c.yaml +0 -12
  682. data/doc/ri/Capsule/require-i.yaml +0 -14
  683. data/doc/ri/Chain/%7e-i.yaml +0 -10
  684. data/doc/ri/Chain/cdesc-Chain.yaml +0 -36
  685. data/doc/ri/Chain/end-i.yaml +0 -16
  686. data/doc/ri/Chain/method_missing-i.yaml +0 -10
  687. data/doc/ri/Chain/new-c.yaml +0 -10
  688. data/doc/ri/Class/cdesc-Class.yaml +0 -17
  689. data/doc/ri/Cloneable/cdesc-Cloneable.yaml +0 -21
  690. data/doc/ri/Cloneable/initialize_copy-i.yaml +0 -10
  691. data/doc/ri/Comparable/at_least-i.yaml +0 -14
  692. data/doc/ri/Comparable/at_most-i.yaml +0 -14
  693. data/doc/ri/Comparable/bound-i.yaml +0 -15
  694. data/doc/ri/Comparable/cap-i.yaml +0 -14
  695. data/doc/ri/Comparable/cdesc-Comparable.yaml +0 -26
  696. data/doc/ri/Comparable/clip-i.yaml +0 -12
  697. data/doc/ri/Comparable/cmp-i.yaml +0 -18
  698. data/doc/ri/Config/cdesc-Config.yaml +0 -18
  699. data/doc/ri/Config/datadir-c.yaml +0 -16
  700. data/doc/ri/Config/inspect-c.yaml +0 -10
  701. data/doc/ri/Console/cdesc-Console.yaml +0 -17
  702. data/doc/ri/ConsoleUtils/ask-i.yaml +0 -12
  703. data/doc/ri/ConsoleUtils/cdesc-ConsoleUtils.yaml +0 -27
  704. data/doc/ri/ConsoleUtils/password-i.yaml +0 -12
  705. data/doc/ri/ConsoleUtils/print_justified-i.yaml +0 -14
  706. data/doc/ri/ConsoleUtils/screen_width-i.yaml +0 -14
  707. data/doc/ri/Continuation/cdesc-Continuation.yaml +0 -16
  708. data/doc/ri/Continuation/create-c.yaml +0 -10
  709. data/doc/ri/Coroutine/%5b%5d%3d-i.yaml +0 -10
  710. data/doc/ri/Coroutine/%5b%5d-i.yaml +0 -10
  711. data/doc/ri/Coroutine/cdesc-Coroutine.yaml +0 -42
  712. data/doc/ri/Coroutine/continue-i.yaml +0 -10
  713. data/doc/ri/Coroutine/new-c.yaml +0 -10
  714. data/doc/ri/Coroutine/resume-i.yaml +0 -10
  715. data/doc/ri/Coroutine/run-i.yaml +0 -10
  716. data/doc/ri/Coroutine/stop-i.yaml +0 -10
  717. data/doc/ri/Crypt/cdesc-Crypt.yaml +0 -28
  718. data/doc/ri/Crypt/check-c.yaml +0 -12
  719. data/doc/ri/Crypt/crypt-c.yaml +0 -20
  720. data/doc/ri/Crypt/generate_salt-c.yaml +0 -12
  721. data/doc/ri/CssFilter/accept_host-i.yaml +0 -11
  722. data/doc/ri/CssFilter/cdesc-CssFilter.yaml +0 -98
  723. data/doc/ri/CssFilter/clean_properties-i.yaml +0 -14
  724. data/doc/ri/CssFilter/clean_value-i.yaml +0 -11
  725. data/doc/ri/CssFilter/filter-i.yaml +0 -11
  726. data/doc/ri/CssFilter/new-c.yaml +0 -11
  727. data/doc/ri/CssFilter/parse-i.yaml +0 -14
  728. data/doc/ri/CssFilter/remove_blanklines-i.yaml +0 -11
  729. data/doc/ri/CssFilter/remove_comments-i.yaml +0 -11
  730. data/doc/ri/CssFilter/remove_nullvalues-i.yaml +0 -11
  731. data/doc/ri/CssFilter/remove_urls-i.yaml +0 -12
  732. data/doc/ri/CssFilter/remove_whitespace-i.yaml +0 -11
  733. data/doc/ri/CssTree/cdesc-CssTree.yaml +0 -19
  734. data/doc/ri/CssTree/new-c.yaml +0 -10
  735. data/doc/ri/CssTree/to_css-i.yaml +0 -12
  736. data/doc/ri/Date/cdesc-Date.yaml +0 -28
  737. data/doc/ri/Date/days_in_month-i.yaml +0 -14
  738. data/doc/ri/Date/days_of_month-i.yaml +0 -10
  739. data/doc/ri/Date/month_name-i.yaml +0 -14
  740. data/doc/ri/Date/stamp-i.yaml +0 -13
  741. data/doc/ri/Date/to_date-i.yaml +0 -12
  742. data/doc/ri/Date/to_s-i.yaml +0 -12
  743. data/doc/ri/Date/to_time-i.yaml +0 -12
  744. data/doc/ri/Dictionary/%3c%3c-i.yaml +0 -10
  745. data/doc/ri/Dictionary/%3d%3d-i.yaml +0 -16
  746. data/doc/ri/Dictionary/%5b%5d%3d-i.yaml +0 -18
  747. data/doc/ri/Dictionary/%5b%5d-c.yaml +0 -10
  748. data/doc/ri/Dictionary/%5b%5d-i.yaml +0 -10
  749. data/doc/ri/Dictionary/alpha-c.yaml +0 -18
  750. data/doc/ri/Dictionary/auto-c.yaml +0 -14
  751. data/doc/ri/Dictionary/cdesc-Dictionary.yaml +0 -150
  752. data/doc/ri/Dictionary/clear-i.yaml +0 -10
  753. data/doc/ri/Dictionary/delete-i.yaml +0 -10
  754. data/doc/ri/Dictionary/delete_if-i.yaml +0 -10
  755. data/doc/ri/Dictionary/dup-i.yaml +0 -10
  756. data/doc/ri/Dictionary/each-i.yaml +0 -11
  757. data/doc/ri/Dictionary/each_key-i.yaml +0 -10
  758. data/doc/ri/Dictionary/each_pair-i.yaml +0 -12
  759. data/doc/ri/Dictionary/each_value-i.yaml +0 -10
  760. data/doc/ri/Dictionary/empty%3f-i.yaml +0 -10
  761. data/doc/ri/Dictionary/fetch-i.yaml +0 -10
  762. data/doc/ri/Dictionary/first-i.yaml +0 -11
  763. data/doc/ri/Dictionary/has_key%3f-i.yaml +0 -10
  764. data/doc/ri/Dictionary/insert-i.yaml +0 -10
  765. data/doc/ri/Dictionary/inspect-i.yaml +0 -10
  766. data/doc/ri/Dictionary/invert-i.yaml +0 -10
  767. data/doc/ri/Dictionary/key%3f-i.yaml +0 -10
  768. data/doc/ri/Dictionary/keys-i.yaml +0 -10
  769. data/doc/ri/Dictionary/last-i.yaml +0 -11
  770. data/doc/ri/Dictionary/length-i.yaml +0 -11
  771. data/doc/ri/Dictionary/merge%21-i.yaml +0 -12
  772. data/doc/ri/Dictionary/merge-i.yaml +0 -10
  773. data/doc/ri/Dictionary/new-c.yaml +0 -12
  774. data/doc/ri/Dictionary/new_by-c.yaml +0 -12
  775. data/doc/ri/Dictionary/order-i.yaml +0 -10
  776. data/doc/ri/Dictionary/order_by-i.yaml +0 -12
  777. data/doc/ri/Dictionary/order_by_key-i.yaml +0 -20
  778. data/doc/ri/Dictionary/order_by_value-i.yaml +0 -18
  779. data/doc/ri/Dictionary/pop-i.yaml +0 -10
  780. data/doc/ri/Dictionary/push-i.yaml +0 -10
  781. data/doc/ri/Dictionary/reject%21-i.yaml +0 -10
  782. data/doc/ri/Dictionary/reject-i.yaml +0 -10
  783. data/doc/ri/Dictionary/reorder-i.yaml +0 -11
  784. data/doc/ri/Dictionary/replace-i.yaml +0 -10
  785. data/doc/ri/Dictionary/reverse%21-i.yaml +0 -10
  786. data/doc/ri/Dictionary/reverse-i.yaml +0 -10
  787. data/doc/ri/Dictionary/select-i.yaml +0 -10
  788. data/doc/ri/Dictionary/shift-i.yaml +0 -10
  789. data/doc/ri/Dictionary/size-i.yaml +0 -12
  790. data/doc/ri/Dictionary/store-i.yaml +0 -10
  791. data/doc/ri/Dictionary/to_a-i.yaml +0 -10
  792. data/doc/ri/Dictionary/to_h-i.yaml +0 -10
  793. data/doc/ri/Dictionary/to_hash-i.yaml +0 -10
  794. data/doc/ri/Dictionary/to_s-i.yaml +0 -10
  795. data/doc/ri/Dictionary/unshift-i.yaml +0 -10
  796. data/doc/ri/Dictionary/update-i.yaml +0 -11
  797. data/doc/ri/Dictionary/values-i.yaml +0 -10
  798. data/doc/ri/DictionaryMatcher/%3c%3c-i.yaml +0 -12
  799. data/doc/ri/DictionaryMatcher/%3d%3d%3d-i.yaml +0 -12
  800. data/doc/ri/DictionaryMatcher/%3d%7e-i.yaml +0 -13
  801. data/doc/ri/DictionaryMatcher/MatchData/cdesc-MatchData.yaml +0 -18
  802. data/doc/ri/DictionaryMatcher/MatchData/inspect-i.yaml +0 -10
  803. data/doc/ri/DictionaryMatcher/add-i.yaml +0 -13
  804. data/doc/ri/DictionaryMatcher/cdesc-DictionaryMatcher.yaml +0 -38
  805. data/doc/ri/DictionaryMatcher/compute_failure_function-i.yaml +0 -10
  806. data/doc/ri/DictionaryMatcher/include%3f-i.yaml +0 -12
  807. data/doc/ri/DictionaryMatcher/inspect-i.yaml +0 -10
  808. data/doc/ri/DictionaryMatcher/internal_match-i.yaml +0 -10
  809. data/doc/ri/DictionaryMatcher/match-i.yaml +0 -12
  810. data/doc/ri/DictionaryMatcher/new-c.yaml +0 -12
  811. data/doc/ri/DictionaryMatcher/scan-i.yaml +0 -12
  812. data/doc/ri/Dir/ascend-c.yaml +0 -18
  813. data/doc/ri/Dir/cdesc-Dir.yaml +0 -28
  814. data/doc/ri/Dir/descend-c.yaml +0 -18
  815. data/doc/ri/Dir/ls_r-c.yaml +0 -12
  816. data/doc/ri/Dir/multiglob-c.yaml +0 -30
  817. data/doc/ri/Dir/multiglob_r-c.yaml +0 -22
  818. data/doc/ri/Dir/parent%3f-c.yaml +0 -14
  819. data/doc/ri/Dir/recurse-c.yaml +0 -14
  820. data/doc/ri/Downloader/Checksum/cdesc-Checksum.yaml +0 -17
  821. data/doc/ri/Downloader/Mirror/cdesc-Mirror.yaml +0 -15
  822. data/doc/ri/Downloader/add_mirror-i.yaml +0 -10
  823. data/doc/ri/Downloader/add_mirrors-i.yaml +0 -10
  824. data/doc/ri/Downloader/cdesc-Downloader.yaml +0 -49
  825. data/doc/ri/Downloader/compute_checksum-i.yaml +0 -12
  826. data/doc/ri/Downloader/download-i.yaml +0 -14
  827. data/doc/ri/Downloader/extract-i.yaml +0 -12
  828. data/doc/ri/Downloader/fetch-i.yaml +0 -12
  829. data/doc/ri/Downloader/interface%3d-i.yaml +0 -10
  830. data/doc/ri/Downloader/interface-i.yaml +0 -12
  831. data/doc/ri/Downloader/mirrors-i.yaml +0 -10
  832. data/doc/ri/Downloader/monitored_download-i.yaml +0 -12
  833. data/doc/ri/Downloader/new-c.yaml +0 -10
  834. data/doc/ri/Downloader/prioritize_urls-i.yaml +0 -12
  835. data/doc/ri/Duration/%2a-i.yaml +0 -16
  836. data/doc/ri/Duration/%2b-i.yaml +0 -16
  837. data/doc/ri/Duration/%2d-i.yaml +0 -16
  838. data/doc/ri/Duration/%2f-i.yaml +0 -16
  839. data/doc/ri/Duration/%3c%3d%3e-i.yaml +0 -16
  840. data/doc/ri/Duration/cdesc-Duration.yaml +0 -93
  841. data/doc/ri/Duration/days%3d-i.yaml +0 -16
  842. data/doc/ri/Duration/each-i.yaml +0 -20
  843. data/doc/ri/Duration/hours%3d-i.yaml +0 -16
  844. data/doc/ri/Duration/inspect-i.yaml +0 -16
  845. data/doc/ri/Duration/minutes%3d-i.yaml +0 -16
  846. data/doc/ri/Duration/new-c.yaml +0 -16
  847. data/doc/ri/Duration/seconds%3d-i.yaml +0 -16
  848. data/doc/ri/Duration/seconds-i.yaml +0 -16
  849. data/doc/ri/Duration/strftime-i.yaml +0 -20
  850. data/doc/ri/Duration/to_s-i.yaml +0 -16
  851. data/doc/ri/Duration/weeks%3d-i.yaml +0 -16
  852. data/doc/ri/Enumerable/Elementor/cdesc-Elementor.yaml +0 -26
  853. data/doc/ri/Enumerable/Elementor/instance_delegate-i.yaml +0 -10
  854. data/doc/ri/Enumerable/Elementor/instance_operator-i.yaml +0 -10
  855. data/doc/ri/Enumerable/Elementor/method_missing-i.yaml +0 -10
  856. data/doc/ri/Enumerable/Elementor/new-c.yaml +0 -10
  857. data/doc/ri/Enumerable/Enumerator/cdesc-Enumerator.yaml +0 -16
  858. data/doc/ri/Enumerable/Enumerator/to_elem-i.yaml +0 -12
  859. data/doc/ri/Enumerable/accumulate-i.yaml +0 -18
  860. data/doc/ri/Enumerable/cdesc-Enumerable.yaml +0 -94
  861. data/doc/ri/Enumerable/cluster_by-i.yaml +0 -18
  862. data/doc/ri/Enumerable/collect_with_index-i.yaml +0 -15
  863. data/doc/ri/Enumerable/commonality-i.yaml +0 -14
  864. data/doc/ri/Enumerable/compact_collect-i.yaml +0 -12
  865. data/doc/ri/Enumerable/compact_map-i.yaml +0 -23
  866. data/doc/ri/Enumerable/count-i.yaml +0 -18
  867. data/doc/ri/Enumerable/divide-i.yaml +0 -14
  868. data/doc/ri/Enumerable/duplicates-i.yaml +0 -12
  869. data/doc/ri/Enumerable/each_by-i.yaml +0 -18
  870. data/doc/ri/Enumerable/elements%21-i.yaml +0 -12
  871. data/doc/ri/Enumerable/elements-i.yaml +0 -12
  872. data/doc/ri/Enumerable/elementwise-i.yaml +0 -15
  873. data/doc/ri/Enumerable/entropy-i.yaml +0 -14
  874. data/doc/ri/Enumerable/every%21-i.yaml +0 -13
  875. data/doc/ri/Enumerable/every-i.yaml +0 -15
  876. data/doc/ri/Enumerable/ewise-i.yaml +0 -12
  877. data/doc/ri/Enumerable/frequency-i.yaml +0 -14
  878. data/doc/ri/Enumerable/graph-i.yaml +0 -12
  879. data/doc/ri/Enumerable/group_by-i.yaml +0 -14
  880. data/doc/ri/Enumerable/ideal_entropy-i.yaml +0 -14
  881. data/doc/ri/Enumerable/inject%21-i.yaml +0 -20
  882. data/doc/ri/Enumerable/map_send-i.yaml +0 -14
  883. data/doc/ri/Enumerable/map_with_index-i.yaml +0 -12
  884. data/doc/ri/Enumerable/mash-i.yaml +0 -19
  885. data/doc/ri/Enumerable/mode-i.yaml +0 -14
  886. data/doc/ri/Enumerable/modulate-i.yaml +0 -18
  887. data/doc/ri/Enumerable/none%3f-i.yaml +0 -16
  888. data/doc/ri/Enumerable/nonuniq-i.yaml +0 -15
  889. data/doc/ri/Enumerable/occur-i.yaml +0 -14
  890. data/doc/ri/Enumerable/one%3f-i.yaml +0 -16
  891. data/doc/ri/Enumerable/per-i.yaml +0 -10
  892. data/doc/ri/Enumerable/probability-i.yaml +0 -14
  893. data/doc/ri/Enumerable/split-i.yaml +0 -16
  894. data/doc/ri/Enumerable/sum-i.yaml +0 -14
  895. data/doc/ri/Enumerable/threaded_map-i.yaml +0 -14
  896. data/doc/ri/Enumerable/threaded_map_send-i.yaml +0 -14
  897. data/doc/ri/Enumerable/to_elem-i.yaml +0 -12
  898. data/doc/ri/Enumerable/to_h-i.yaml +0 -14
  899. data/doc/ri/Enumerable/uniq_by-i.yaml +0 -18
  900. data/doc/ri/EnumerablePass/cdesc-EnumerablePass.yaml +0 -28
  901. data/doc/ri/EnumerablePass/detect-i.yaml +0 -12
  902. data/doc/ri/EnumerablePass/find-i.yaml +0 -15
  903. data/doc/ri/EnumerablePass/wrap_enumerable_method-c.yaml +0 -10
  904. data/doc/ri/Equatable/%3d%3d-i.yaml +0 -10
  905. data/doc/ri/Equatable/cdesc-Equatable.yaml +0 -34
  906. data/doc/ri/Equatable/eql%3f-i.yaml +0 -10
  907. data/doc/ri/Equatable/hash-i.yaml +0 -10
  908. data/doc/ri/Equatable/identify-c.yaml +0 -10
  909. data/doc/ri/EventHook/call-i.yaml +0 -10
  910. data/doc/ri/EventHook/cdesc-EventHook.yaml +0 -31
  911. data/doc/ri/EventHook/new-c.yaml +0 -10
  912. data/doc/ri/Exception/cdesc-Exception.yaml +0 -17
  913. data/doc/ri/Exception/detail-i.yaml +0 -18
  914. data/doc/ri/Exception/suppress-c.yaml +0 -14
  915. data/doc/ri/Expirable/cdesc-Expirable.yaml +0 -30
  916. data/doc/ri/Expirable/expired%3f-i.yaml +0 -12
  917. data/doc/ri/Expirable/expires_after-i.yaml +0 -12
  918. data/doc/ri/Expirable/expires_spread-i.yaml +0 -12
  919. data/doc/ri/Expirable/touch%21-i.yaml +0 -12
  920. data/doc/ri/FalseClass/cdesc-FalseClass.yaml +0 -15
  921. data/doc/ri/File/append-c.yaml +0 -14
  922. data/doc/ri/File/cdesc-File.yaml +0 -38
  923. data/doc/ri/File/create-c.yaml +0 -14
  924. data/doc/ri/File/null-c.yaml +0 -14
  925. data/doc/ri/File/read_binary-c.yaml +0 -14
  926. data/doc/ri/File/read_list-c.yaml +0 -14
  927. data/doc/ri/File/rewrite%21-c.yaml +0 -14
  928. data/doc/ri/File/rewrite-c.yaml +0 -24
  929. data/doc/ri/File/rootname-c.yaml +0 -14
  930. data/doc/ri/File/sanitize-c.yaml +0 -14
  931. data/doc/ri/File/write-c.yaml +0 -16
  932. data/doc/ri/File/writelines-c.yaml +0 -18
  933. data/doc/ri/File/yaml%3f-c.yaml +0 -14
  934. data/doc/ri/FileList/%2a-i.yaml +0 -12
  935. data/doc/ri/FileList/%3d%3d-i.yaml +0 -12
  936. data/doc/ri/FileList/%5b%5d-c.yaml +0 -14
  937. data/doc/ri/FileList/add-i.yaml +0 -12
  938. data/doc/ri/FileList/add_matching-i.yaml +0 -12
  939. data/doc/ri/FileList/calculate_exclude_regexp-i.yaml +0 -10
  940. data/doc/ri/FileList/cdesc-FileList.yaml +0 -111
  941. data/doc/ri/FileList/clear_exclude-i.yaml +0 -12
  942. data/doc/ri/FileList/clear_ignore_patterns-c.yaml +0 -12
  943. data/doc/ri/FileList/clone-i.yaml +0 -13
  944. data/doc/ri/FileList/dup-i.yaml +0 -12
  945. data/doc/ri/FileList/egrep-i.yaml +0 -12
  946. data/doc/ri/FileList/exclude%3f-i.yaml +0 -12
  947. data/doc/ri/FileList/exclude-i.yaml +0 -26
  948. data/doc/ri/FileList/ext-i.yaml +0 -18
  949. data/doc/ri/FileList/gsub%21-i.yaml +0 -12
  950. data/doc/ri/FileList/gsub-i.yaml +0 -16
  951. data/doc/ri/FileList/import-i.yaml +0 -10
  952. data/doc/ri/FileList/include-i.yaml +0 -17
  953. data/doc/ri/FileList/new-c.yaml +0 -16
  954. data/doc/ri/FileList/resolve-i.yaml +0 -12
  955. data/doc/ri/FileList/resolve_add-i.yaml +0 -10
  956. data/doc/ri/FileList/resolve_exclude-i.yaml +0 -10
  957. data/doc/ri/FileList/select_default_ignore_patterns-c.yaml +0 -35
  958. data/doc/ri/FileList/sub%21-i.yaml +0 -12
  959. data/doc/ri/FileList/sub-i.yaml +0 -16
  960. data/doc/ri/FileList/to_a-i.yaml +0 -12
  961. data/doc/ri/FileList/to_ary-i.yaml +0 -12
  962. data/doc/ri/FileList/to_s-i.yaml +0 -12
  963. data/doc/ri/FileShell/%5b%5d-i.yaml +0 -12
  964. data/doc/ri/FileShell/cd-i.yaml +0 -15
  965. data/doc/ri/FileShell/cdesc-FileShell.yaml +0 -83
  966. data/doc/ri/FileShell/chdir-i.yaml +0 -12
  967. data/doc/ri/FileShell/chmod-i.yaml +0 -12
  968. data/doc/ri/FileShell/chmod_R-i.yaml +0 -12
  969. data/doc/ri/FileShell/chown-i.yaml +0 -12
  970. data/doc/ri/FileShell/chown_R-i.yaml +0 -12
  971. data/doc/ri/FileShell/cp-i.yaml +0 -12
  972. data/doc/ri/FileShell/cp_r-i.yaml +0 -12
  973. data/doc/ri/FileShell/dryrun%3f-i.yaml +0 -10
  974. data/doc/ri/FileShell/fu-i.yaml +0 -11
  975. data/doc/ri/FileShell/install-i.yaml +0 -12
  976. data/doc/ri/FileShell/ln-i.yaml +0 -12
  977. data/doc/ri/FileShell/ln_s-i.yaml +0 -12
  978. data/doc/ri/FileShell/ln_sf-i.yaml +0 -12
  979. data/doc/ri/FileShell/ls-i.yaml +0 -12
  980. data/doc/ri/FileShell/mkdir-i.yaml +0 -12
  981. data/doc/ri/FileShell/mkdir_p-i.yaml +0 -12
  982. data/doc/ri/FileShell/move-i.yaml +0 -12
  983. data/doc/ri/FileShell/mv-i.yaml +0 -13
  984. data/doc/ri/FileShell/new-c.yaml +0 -10
  985. data/doc/ri/FileShell/pwd-i.yaml +0 -12
  986. data/doc/ri/FileShell/quiet%3f-i.yaml +0 -10
  987. data/doc/ri/FileShell/rm-i.yaml +0 -12
  988. data/doc/ri/FileShell/rm_r-i.yaml +0 -12
  989. data/doc/ri/FileShell/rm_rf-i.yaml +0 -12
  990. data/doc/ri/FileShell/rmdir-i.yaml +0 -12
  991. data/doc/ri/FileShell/root%3f-i.yaml +0 -12
  992. data/doc/ri/FileShell/touch-i.yaml +0 -12
  993. data/doc/ri/FileShell/verbose%3f-i.yaml +0 -10
  994. data/doc/ri/FileTest/cdesc-FileTest.yaml +0 -16
  995. data/doc/ri/FileTest/root%3f-i.yaml +0 -14
  996. data/doc/ri/FileUtils/cdesc-FileUtils.yaml +0 -39
  997. data/doc/ri/FileUtils/head-i.yaml +0 -14
  998. data/doc/ri/FileUtils/safe_ln-i.yaml +0 -14
  999. data/doc/ri/FileUtils/slice-i.yaml +0 -16
  1000. data/doc/ri/FileUtils/tail-i.yaml +0 -16
  1001. data/doc/ri/FileUtils/wc-i.yaml +0 -18
  1002. data/doc/ri/FileUtils/whereis-i.yaml +0 -10
  1003. data/doc/ri/FileUtils/which-i.yaml +0 -16
  1004. data/doc/ri/Fileable/DSL/cdesc-DSL.yaml +0 -31
  1005. data/doc/ri/Fileable/DSL/file-i.yaml +0 -12
  1006. data/doc/ri/Fileable/DSL/filename-i.yaml +0 -12
  1007. data/doc/ri/Fileable/DSL/included-i.yaml +0 -12
  1008. data/doc/ri/Fileable/DSL/load-i.yaml +0 -12
  1009. data/doc/ri/Fileable/DSL/load_cache-i.yaml +0 -12
  1010. data/doc/ri/Fileable/DSL/locate-i.yaml +0 -12
  1011. data/doc/ri/Fileable/DSL/lookup-i.yaml +0 -12
  1012. data/doc/ri/Fileable/DSL/open-i.yaml +0 -12
  1013. data/doc/ri/Fileable/cdesc-Fileable.yaml +0 -30
  1014. data/doc/ri/Fileable/included-c.yaml +0 -12
  1015. data/doc/ri/Fileable/new-c.yaml +0 -12
  1016. data/doc/ri/Fileable/read-i.yaml +0 -12
  1017. data/doc/ri/Float/cdesc-Float.yaml +0 -17
  1018. data/doc/ri/Friend/cdesc-Friend.yaml +0 -27
  1019. data/doc/ri/Friend/new-c.yaml +0 -10
  1020. data/doc/ri/Functor/cdesc-Functor.yaml +0 -23
  1021. data/doc/ri/Functor/method_missing-i.yaml +0 -12
  1022. data/doc/ri/Functor/new-c.yaml +0 -10
  1023. data/doc/ri/Functor/to_proc-i.yaml +0 -10
  1024. data/doc/ri/GetoptLong/DSL/cdesc-DSL.yaml +0 -30
  1025. data/doc/ri/GetoptLong/DSL/flag-i.yaml +0 -10
  1026. data/doc/ri/GetoptLong/DSL/new-c.yaml +0 -10
  1027. data/doc/ri/GetoptLong/DSL/optional-i.yaml +0 -11
  1028. data/doc/ri/GetoptLong/DSL/opts-i.yaml +0 -12
  1029. data/doc/ri/GetoptLong/DSL/reqs-i.yaml +0 -12
  1030. data/doc/ri/GetoptLong/DSL/required-i.yaml +0 -11
  1031. data/doc/ri/GetoptLong/cdesc-GetoptLong.yaml +0 -16
  1032. data/doc/ri/GetoptLong/new-c.yaml +0 -10
  1033. data/doc/ri/Hash/cdesc-Hash.yaml +0 -15
  1034. data/doc/ri/Hash2Xml/cdesc-Hash2Xml.yaml +0 -21
  1035. data/doc/ri/Hash2Xml/convert-i.yaml +0 -10
  1036. data/doc/ri/Hash2Xml/convert_body-i.yaml +0 -11
  1037. data/doc/ri/Hash2Xml/convert_tag-i.yaml +0 -11
  1038. data/doc/ri/HtmlFilter/balance_html-i.yaml +0 -11
  1039. data/doc/ri/HtmlFilter/cdesc-HtmlFilter.yaml +0 -149
  1040. data/doc/ri/HtmlFilter/check_entity-i.yaml +0 -11
  1041. data/doc/ri/HtmlFilter/check_tags-i.yaml +0 -11
  1042. data/doc/ri/HtmlFilter/decode_dec_entity-i.yaml +0 -11
  1043. data/doc/ri/HtmlFilter/decode_entities-i.yaml +0 -12
  1044. data/doc/ri/HtmlFilter/decode_hex_entity-i.yaml +0 -11
  1045. data/doc/ri/HtmlFilter/decode_num_entity-i.yaml +0 -11
  1046. data/doc/ri/HtmlFilter/escape_comments-i.yaml +0 -11
  1047. data/doc/ri/HtmlFilter/escape_special_chars-i.yaml +0 -12
  1048. data/doc/ri/HtmlFilter/filter-i.yaml +0 -12
  1049. data/doc/ri/HtmlFilter/fix_case-i.yaml +0 -11
  1050. data/doc/ri/HtmlFilter/fix_case_inner-i.yaml +0 -11
  1051. data/doc/ri/HtmlFilter/is_valid_entity-i.yaml +0 -11
  1052. data/doc/ri/HtmlFilter/new-c.yaml +0 -12
  1053. data/doc/ri/HtmlFilter/process_param_protocol-i.yaml +0 -11
  1054. data/doc/ri/HtmlFilter/process_remove_blanks-i.yaml +0 -11
  1055. data/doc/ri/HtmlFilter/process_tag-i.yaml +0 -11
  1056. data/doc/ri/HtmlFilter/strip_single-i.yaml +0 -11
  1057. data/doc/ri/HtmlFilter/validate_entities-i.yaml +0 -11
  1058. data/doc/ri/IORedirect/cdesc-IORedirect.yaml +0 -28
  1059. data/doc/ri/IORedirect/new-c.yaml +0 -12
  1060. data/doc/ri/IORedirect/redirect-c.yaml +0 -12
  1061. data/doc/ri/IORedirect/start-i.yaml +0 -12
  1062. data/doc/ri/IORedirect/stop-i.yaml +0 -12
  1063. data/doc/ri/Indexable/body-i.yaml +0 -14
  1064. data/doc/ri/Indexable/cdesc-Indexable.yaml +0 -55
  1065. data/doc/ri/Indexable/ends-i.yaml +0 -16
  1066. data/doc/ri/Indexable/first%21-i.yaml +0 -14
  1067. data/doc/ri/Indexable/first%3d-i.yaml +0 -14
  1068. data/doc/ri/Indexable/first-i.yaml +0 -14
  1069. data/doc/ri/Indexable/foot-i.yaml +0 -14
  1070. data/doc/ri/Indexable/head-i.yaml +0 -14
  1071. data/doc/ri/Indexable/index_of-i.yaml +0 -16
  1072. data/doc/ri/Indexable/last%21-i.yaml +0 -14
  1073. data/doc/ri/Indexable/last%3d-i.yaml +0 -14
  1074. data/doc/ri/Indexable/last-i.yaml +0 -14
  1075. data/doc/ri/Indexable/mid-i.yaml +0 -16
  1076. data/doc/ri/Indexable/middle-i.yaml +0 -16
  1077. data/doc/ri/Indexable/pos-i.yaml +0 -14
  1078. data/doc/ri/Indexable/range-i.yaml +0 -14
  1079. data/doc/ri/Indexable/tail-i.yaml +0 -14
  1080. data/doc/ri/Indexable/thru-i.yaml +0 -14
  1081. data/doc/ri/InfinityClass/%2b%40-i.yaml +0 -12
  1082. data/doc/ri/InfinityClass/%2d%40-i.yaml +0 -12
  1083. data/doc/ri/InfinityClass/%3c%3d%3e-i.yaml +0 -12
  1084. data/doc/ri/InfinityClass/%3d%3d-i.yaml +0 -12
  1085. data/doc/ri/InfinityClass/Numeric/cdesc-Numeric.yaml +0 -27
  1086. data/doc/ri/InfinityClass/Numeric/finite%3f-i.yaml +0 -10
  1087. data/doc/ri/InfinityClass/Numeric/inf%3f-i.yaml +0 -12
  1088. data/doc/ri/InfinityClass/Numeric/infinite%3f-i.yaml +0 -11
  1089. data/doc/ri/InfinityClass/Numeric/nan%3f-i.yaml +0 -10
  1090. data/doc/ri/InfinityClass/Numeric/neginf%3f-i.yaml +0 -10
  1091. data/doc/ri/InfinityClass/Numeric/posinf%3f-i.yaml +0 -10
  1092. data/doc/ri/InfinityClass/cdesc-InfinityClass.yaml +0 -75
  1093. data/doc/ri/InfinityClass/coerce-i.yaml +0 -12
  1094. data/doc/ri/InfinityClass/new-c.yaml +0 -10
  1095. data/doc/ri/InfinityClass/times-i.yaml +0 -12
  1096. data/doc/ri/InfinityClass/to_f-i.yaml +0 -12
  1097. data/doc/ri/InfinityClass/to_s-i.yaml +0 -11
  1098. data/doc/ri/Ini/%5b%5d%3d-i.yaml +0 -12
  1099. data/doc/ri/Ini/%5b%5d-i.yaml +0 -12
  1100. data/doc/ri/Ini/cdesc-Ini.yaml +0 -51
  1101. data/doc/ri/Ini/new-c.yaml +0 -16
  1102. data/doc/ri/Ini/read_comment_from_file-c.yaml +0 -16
  1103. data/doc/ri/Ini/read_from_file-c.yaml +0 -16
  1104. data/doc/ri/Ini/restore-i.yaml +0 -12
  1105. data/doc/ri/Ini/to_s-c.yaml +0 -16
  1106. data/doc/ri/Ini/update-i.yaml +0 -12
  1107. data/doc/ri/Ini/write_to_file-c.yaml +0 -16
  1108. data/doc/ri/InstanceVariables/%3c%3c-i.yaml +0 -10
  1109. data/doc/ri/InstanceVariables/%5b%5d%3d-i.yaml +0 -10
  1110. data/doc/ri/InstanceVariables/%5b%5d-i.yaml +0 -10
  1111. data/doc/ri/InstanceVariables/atize-i.yaml +0 -10
  1112. data/doc/ri/InstanceVariables/cdesc-InstanceVariables.yaml +0 -38
  1113. data/doc/ri/InstanceVariables/each-i.yaml +0 -10
  1114. data/doc/ri/InstanceVariables/instance_delegate-i.yaml +0 -10
  1115. data/doc/ri/InstanceVariables/keys-i.yaml +0 -10
  1116. data/doc/ri/InstanceVariables/names-i.yaml +0 -10
  1117. data/doc/ri/InstanceVariables/new-c.yaml +0 -10
  1118. data/doc/ri/InstanceVariables/to_hash-i.yaml +0 -10
  1119. data/doc/ri/InstanceVariables/update-i.yaml +0 -10
  1120. data/doc/ri/InstanceVariables/values-i.yaml +0 -10
  1121. data/doc/ri/Instantiable/append_features-c.yaml +0 -10
  1122. data/doc/ri/Instantiable/cdesc-Instantiable.yaml +0 -24
  1123. data/doc/ri/Instantiable/new-i.yaml +0 -12
  1124. data/doc/ri/Instantise/append_features-c.yaml +0 -10
  1125. data/doc/ri/Instantise/cdesc-Instantise.yaml +0 -29
  1126. data/doc/ri/Instantise/singleton_method_added-i.yaml +0 -10
  1127. data/doc/ri/Integer/cdesc-Integer.yaml +0 -15
  1128. data/doc/ri/Interval/%2b%40-i.yaml +0 -12
  1129. data/doc/ri/Interval/%2d%40-i.yaml +0 -10
  1130. data/doc/ri/Interval/%3d%3d%3d-i.yaml +0 -12
  1131. data/doc/ri/Interval/%5b%5d-c.yaml +0 -10
  1132. data/doc/ri/Interval/%7e-i.yaml +0 -10
  1133. data/doc/ri/Interval/begin-i.yaml +0 -12
  1134. data/doc/ri/Interval/cdesc-Interval.yaml +0 -97
  1135. data/doc/ri/Interval/closed-i.yaml +0 -12
  1136. data/doc/ri/Interval/degenerate%3f-i.yaml +0 -12
  1137. data/doc/ri/Interval/direction-i.yaml +0 -14
  1138. data/doc/ri/Interval/distance-i.yaml +0 -15
  1139. data/doc/ri/Interval/each-i.yaml +0 -15
  1140. data/doc/ri/Interval/end-i.yaml +0 -12
  1141. data/doc/ri/Interval/eql%3f-i.yaml +0 -12
  1142. data/doc/ri/Interval/exclude_begin%3f-i.yaml +0 -12
  1143. data/doc/ri/Interval/exclude_end%3f-i.yaml +0 -12
  1144. data/doc/ri/Interval/exclude_first%3f-i.yaml +0 -12
  1145. data/doc/ri/Interval/exclude_last%3f-i.yaml +0 -11
  1146. data/doc/ri/Interval/first-i.yaml +0 -13
  1147. data/doc/ri/Interval/first_closed-i.yaml +0 -12
  1148. data/doc/ri/Interval/first_opened-i.yaml +0 -10
  1149. data/doc/ri/Interval/half_closed-i.yaml +0 -12
  1150. data/doc/ri/Interval/include%3f-i.yaml +0 -15
  1151. data/doc/ri/Interval/last-i.yaml +0 -11
  1152. data/doc/ri/Interval/last_closed-i.yaml +0 -10
  1153. data/doc/ri/Interval/last_opened-i.yaml +0 -10
  1154. data/doc/ri/Interval/length-i.yaml +0 -12
  1155. data/doc/ri/Interval/max-i.yaml +0 -12
  1156. data/doc/ri/Interval/member%3f-i.yaml +0 -12
  1157. data/doc/ri/Interval/min-i.yaml +0 -12
  1158. data/doc/ri/Interval/new-c.yaml +0 -10
  1159. data/doc/ri/Interval/null%3f-i.yaml +0 -12
  1160. data/doc/ri/Interval/opened-i.yaml +0 -12
  1161. data/doc/ri/Interval/reversed-i.yaml +0 -14
  1162. data/doc/ri/Interval/sentinels-i.yaml +0 -14
  1163. data/doc/ri/Interval/size-i.yaml +0 -12
  1164. data/doc/ri/Interval/step-i.yaml +0 -12
  1165. data/doc/ri/It/cdesc-It.yaml +0 -39
  1166. data/doc/ri/It/first%3f-i.yaml +0 -10
  1167. data/doc/ri/It/last%3f-i.yaml +0 -10
  1168. data/doc/ri/It/new-c.yaml +0 -10
  1169. data/doc/ri/It/next_iteration-i.yaml +0 -10
  1170. data/doc/ri/Kernel/cdesc-Kernel.yaml +0 -16
  1171. data/doc/ri/LRUCache/%5b%5d%3d-i.yaml +0 -12
  1172. data/doc/ri/LRUCache/%5b%5d-i.yaml +0 -12
  1173. data/doc/ri/LRUCache/Item/cdesc-Item.yaml +0 -28
  1174. data/doc/ri/LRUCache/Sentinel/cdesc-Sentinel.yaml +0 -18
  1175. data/doc/ri/LRUCache/cdesc-LRUCache.yaml +0 -65
  1176. data/doc/ri/LRUCache/clear-i.yaml +0 -12
  1177. data/doc/ri/LRUCache/delete-i.yaml +0 -12
  1178. data/doc/ri/LRUCache/first-i.yaml +0 -12
  1179. data/doc/ri/LRUCache/last-i.yaml +0 -13
  1180. data/doc/ri/LRUCache/lru-i.yaml +0 -12
  1181. data/doc/ri/LRUCache/lru_append-i.yaml +0 -12
  1182. data/doc/ri/LRUCache/lru_clear-i.yaml +0 -12
  1183. data/doc/ri/LRUCache/lru_delete-i.yaml +0 -12
  1184. data/doc/ri/LRUCache/lru_insert-i.yaml +0 -12
  1185. data/doc/ri/LRUCache/lru_join-i.yaml +0 -12
  1186. data/doc/ri/LRUCache/lru_touch-i.yaml +0 -12
  1187. data/doc/ri/LRUCache/new-c.yaml +0 -10
  1188. data/doc/ri/Lazy/DivergenceError/cdesc-DivergenceError.yaml +0 -17
  1189. data/doc/ri/Lazy/Future/cdesc-Future.yaml +0 -20
  1190. data/doc/ri/Lazy/LazyException/cdesc-LazyException.yaml +0 -19
  1191. data/doc/ri/Lazy/Promise/cdesc-Promise.yaml +0 -25
  1192. data/doc/ri/Lazy/PromiseSafe/cdesc-PromiseSafe.yaml +0 -20
  1193. data/doc/ri/Lazy/cdesc-Lazy.yaml +0 -20
  1194. data/doc/ri/LinkedList/%5b%5d%3d-i.yaml +0 -10
  1195. data/doc/ri/LinkedList/%5b%5d-i.yaml +0 -10
  1196. data/doc/ri/LinkedList/Node/cdesc-Node.yaml +0 -33
  1197. data/doc/ri/LinkedList/Node/new-c.yaml +0 -10
  1198. data/doc/ri/LinkedList/cdesc-LinkedList.yaml +0 -57
  1199. data/doc/ri/LinkedList/delete-i.yaml +0 -10
  1200. data/doc/ri/LinkedList/each-i.yaml +0 -10
  1201. data/doc/ri/LinkedList/empty%3f-i.yaml +0 -10
  1202. data/doc/ri/LinkedList/first-i.yaml +0 -10
  1203. data/doc/ri/LinkedList/last-i.yaml +0 -10
  1204. data/doc/ri/LinkedList/length-i.yaml +0 -10
  1205. data/doc/ri/LinkedList/new-c.yaml +0 -10
  1206. data/doc/ri/LinkedList/node_delete-i.yaml +0 -10
  1207. data/doc/ri/LinkedList/node_join-i.yaml +0 -10
  1208. data/doc/ri/LinkedList/node_purge-i.yaml +0 -10
  1209. data/doc/ri/LinkedList/pop-i.yaml +0 -10
  1210. data/doc/ri/LinkedList/push-i.yaml +0 -10
  1211. data/doc/ri/LinkedList/queue-i.yaml +0 -10
  1212. data/doc/ri/LinkedList/shift-i.yaml +0 -10
  1213. data/doc/ri/LinkedList/to_a-i.yaml +0 -10
  1214. data/doc/ri/LinkedList/unshift-i.yaml +0 -10
  1215. data/doc/ri/Logger/Ansicolor/cdesc-Ansicolor.yaml +0 -36
  1216. data/doc/ri/Logger/Ansicolor/debug-i.yaml +0 -10
  1217. data/doc/ri/Logger/Ansicolor/debug_with_color-i.yaml +0 -10
  1218. data/doc/ri/Logger/Ansicolor/error-i.yaml +0 -10
  1219. data/doc/ri/Logger/Ansicolor/error_with_color-i.yaml +0 -10
  1220. data/doc/ri/Logger/Ansicolor/fatal-i.yaml +0 -10
  1221. data/doc/ri/Logger/Ansicolor/fatal_with_color-i.yaml +0 -10
  1222. data/doc/ri/Logger/Ansicolor/info-i.yaml +0 -10
  1223. data/doc/ri/Logger/Ansicolor/info_with_color-i.yaml +0 -10
  1224. data/doc/ri/Logger/Ansicolor/warn-i.yaml +0 -10
  1225. data/doc/ri/Logger/Ansicolor/warn_with_color-i.yaml +0 -10
  1226. data/doc/ri/Logger/LogDevice/ansicolor%3f-i.yaml +0 -10
  1227. data/doc/ri/Logger/LogDevice/cdesc-LogDevice.yaml +0 -19
  1228. data/doc/ri/Logger/ansicolor%3d-i.yaml +0 -10
  1229. data/doc/ri/Logger/cdesc-Logger.yaml +0 -44
  1230. data/doc/ri/Logger/format_procedure-i.yaml +0 -10
  1231. data/doc/ri/Logger/setup_format-i.yaml +0 -21
  1232. data/doc/ri/MatchData/cdesc-MatchData.yaml +0 -20
  1233. data/doc/ri/MatchData/match-i.yaml +0 -14
  1234. data/doc/ri/MatchData/matchset-i.yaml +0 -14
  1235. data/doc/ri/MatchData/matchtree-i.yaml +0 -14
  1236. data/doc/ri/Method/cdesc-Method.yaml +0 -15
  1237. data/doc/ri/MissingArgument/cdesc-MissingArgument.yaml +0 -17
  1238. data/doc/ri/Module/%2a-i.yaml +0 -14
  1239. data/doc/ri/Module/%2b-i.yaml +0 -22
  1240. data/doc/ri/Module/%2d-i.yaml +0 -14
  1241. data/doc/ri/Module/Comparable-i.yaml +0 -18
  1242. data/doc/ri/Module/Equatable-i.yaml +0 -18
  1243. data/doc/ri/Module/abstract-i.yaml +0 -14
  1244. data/doc/ri/Module/alias_accessor%21-i.yaml +0 -17
  1245. data/doc/ri/Module/alias_accessor-i.yaml +0 -14
  1246. data/doc/ri/Module/alias_method_chain-i.yaml +0 -32
  1247. data/doc/ri/Module/alias_module_function-i.yaml +0 -14
  1248. data/doc/ri/Module/alias_reader%21-i.yaml +0 -17
  1249. data/doc/ri/Module/alias_reader%3f-i.yaml +0 -12
  1250. data/doc/ri/Module/alias_reader-i.yaml +0 -12
  1251. data/doc/ri/Module/alias_setter-i.yaml +0 -14
  1252. data/doc/ri/Module/alias_switcher-i.yaml +0 -12
  1253. data/doc/ri/Module/alias_tester-i.yaml +0 -12
  1254. data/doc/ri/Module/alias_toggler-i.yaml +0 -12
  1255. data/doc/ri/Module/alias_validator-i.yaml +0 -12
  1256. data/doc/ri/Module/alias_writer%21-i.yaml +0 -14
  1257. data/doc/ri/Module/alias_writer-i.yaml +0 -12
  1258. data/doc/ri/Module/all_instance_methods-i.yaml +0 -18
  1259. data/doc/ri/Module/ancestor%3f-i.yaml +0 -14
  1260. data/doc/ri/Module/ann%21-i.yaml +0 -12
  1261. data/doc/ri/Module/ann-i.yaml +0 -12
  1262. data/doc/ri/Module/annotations-i.yaml +0 -10
  1263. data/doc/ri/Module/append_features-c.yaml +0 -10
  1264. data/doc/ri/Module/append_features-i.yaml +0 -11
  1265. data/doc/ri/Module/append_features_without_class_extension-i.yaml +0 -12
  1266. data/doc/ri/Module/attr-i.yaml +0 -10
  1267. data/doc/ri/Module/attr_accessor%21-i.yaml +0 -21
  1268. data/doc/ri/Module/attr_reader%21-i.yaml +0 -21
  1269. data/doc/ri/Module/attr_reader%3f-i.yaml +0 -12
  1270. data/doc/ri/Module/attr_setter-i.yaml +0 -18
  1271. data/doc/ri/Module/attr_switcher-i.yaml +0 -12
  1272. data/doc/ri/Module/attr_tester-i.yaml +0 -12
  1273. data/doc/ri/Module/attr_toggler-i.yaml +0 -12
  1274. data/doc/ri/Module/attr_validator-i.yaml +0 -14
  1275. data/doc/ri/Module/attr_writer%21-i.yaml +0 -18
  1276. data/doc/ri/Module/basename-i.yaml +0 -18
  1277. data/doc/ri/Module/cdesc-Module.yaml +0 -192
  1278. data/doc/ri/Module/class_def-i.yaml +0 -14
  1279. data/doc/ri/Module/class_extension-i.yaml +0 -17
  1280. data/doc/ri/Module/class_inherit-i.yaml +0 -12
  1281. data/doc/ri/Module/class_load-i.yaml +0 -12
  1282. data/doc/ri/Module/class_methods-i.yaml +0 -11
  1283. data/doc/ri/Module/class_require-i.yaml +0 -12
  1284. data/doc/ri/Module/classified_attributes-i.yaml +0 -14
  1285. data/doc/ri/Module/conflict%3f-i.yaml +0 -14
  1286. data/doc/ri/Module/define_dependency-i.yaml +0 -11
  1287. data/doc/ri/Module/depend-i.yaml +0 -11
  1288. data/doc/ri/Module/dependencies-i.yaml +0 -12
  1289. data/doc/ri/Module/heritage-i.yaml +0 -10
  1290. data/doc/ri/Module/include_as-i.yaml +0 -14
  1291. data/doc/ri/Module/include_function_module-i.yaml +0 -14
  1292. data/doc/ri/Module/instance_method%21-i.yaml +0 -16
  1293. data/doc/ri/Module/instance_method_defined%3f-i.yaml +0 -14
  1294. data/doc/ri/Module/integrate-i.yaml +0 -20
  1295. data/doc/ri/Module/is%3f-i.yaml +0 -14
  1296. data/doc/ri/Module/is-i.yaml +0 -12
  1297. data/doc/ri/Module/memoize-i.yaml +0 -14
  1298. data/doc/ri/Module/method_overloads-i.yaml +0 -10
  1299. data/doc/ri/Module/method_space-i.yaml +0 -14
  1300. data/doc/ri/Module/methodize-i.yaml +0 -14
  1301. data/doc/ri/Module/mixin_parameters-i.yaml +0 -17
  1302. data/doc/ri/Module/mixin_params-i.yaml +0 -12
  1303. data/doc/ri/Module/modspace-i.yaml +0 -18
  1304. data/doc/ri/Module/module_load-i.yaml +0 -15
  1305. data/doc/ri/Module/module_method_defined%3f-i.yaml +0 -12
  1306. data/doc/ri/Module/module_require-i.yaml +0 -15
  1307. data/doc/ri/Module/nesting-i.yaml +0 -14
  1308. data/doc/ri/Module/overload-i.yaml +0 -14
  1309. data/doc/ri/Module/pathize-i.yaml +0 -16
  1310. data/doc/ri/Module/prepend-i.yaml +0 -14
  1311. data/doc/ri/Module/private_conflict%3f-i.yaml +0 -12
  1312. data/doc/ri/Module/protected_conflict%3f-i.yaml +0 -12
  1313. data/doc/ri/Module/public_conflict%3f-i.yaml +0 -12
  1314. data/doc/ri/Module/redef-i.yaml +0 -12
  1315. data/doc/ri/Module/redefine_method-i.yaml +0 -17
  1316. data/doc/ri/Module/redirect-i.yaml +0 -12
  1317. data/doc/ri/Module/redirect_method-i.yaml +0 -21
  1318. data/doc/ri/Module/rename-i.yaml +0 -12
  1319. data/doc/ri/Module/rename_method-i.yaml +0 -15
  1320. data/doc/ri/Module/revisal-i.yaml +0 -12
  1321. data/doc/ri/Module/revise-i.yaml +0 -15
  1322. data/doc/ri/Module/setting-i.yaml +0 -21
  1323. data/doc/ri/Module/singleton_method_defined%3f-i.yaml +0 -15
  1324. data/doc/ri/Module/spacename-i.yaml +0 -20
  1325. data/doc/ri/Module/wrap-i.yaml +0 -12
  1326. data/doc/ri/Module/wrap_method-i.yaml +0 -19
  1327. data/doc/ri/Multiton/Inclusive/cdesc-Inclusive.yaml +0 -18
  1328. data/doc/ri/Multiton/Inclusive/included-i.yaml +0 -10
  1329. data/doc/ri/Multiton/InstanceMutex/cdesc-InstanceMutex.yaml +0 -17
  1330. data/doc/ri/Multiton/MetaMethods/_load-i.yaml +0 -10
  1331. data/doc/ri/Multiton/MetaMethods/cdesc-MetaMethods.yaml +0 -34
  1332. data/doc/ri/Multiton/MetaMethods/initialized%3f-i.yaml +0 -10
  1333. data/doc/ri/Multiton/MetaMethods/instance-i.yaml +0 -11
  1334. data/doc/ri/Multiton/MetaMethods/multiton_id-i.yaml +0 -12
  1335. data/doc/ri/Multiton/MetaMethods/multiton_instance-i.yaml +0 -10
  1336. data/doc/ri/Multiton/MetaMethods/multiton_mutex-i.yaml +0 -10
  1337. data/doc/ri/Multiton/MetaMethods/new-i.yaml +0 -12
  1338. data/doc/ri/Multiton/MetaMethods/reinitialize-i.yaml +0 -10
  1339. data/doc/ri/Multiton/MetaMethods/singleton_method_added-i.yaml +0 -10
  1340. data/doc/ri/Multiton/_dump-i.yaml +0 -12
  1341. data/doc/ri/Multiton/cdesc-Multiton.yaml +0 -40
  1342. data/doc/ri/Multiton/clone-i.yaml +0 -12
  1343. data/doc/ri/Multiton/dup-i.yaml +0 -10
  1344. data/doc/ri/NackClass/cdesc-NackClass.yaml +0 -20
  1345. data/doc/ri/Net/SMTP/cdesc-SMTP.yaml +0 -25
  1346. data/doc/ri/Net/SMTP/do_helo-i.yaml +0 -10
  1347. data/doc/ri/Net/SMTP/do_tls_start-i.yaml +0 -10
  1348. data/doc/ri/Net/SMTP/quit-i.yaml +0 -10
  1349. data/doc/ri/Net/SMTP/start-c.yaml +0 -10
  1350. data/doc/ri/Net/SMTP/start-i.yaml +0 -10
  1351. data/doc/ri/Net/SMTP/starttls-i.yaml +0 -10
  1352. data/doc/ri/Net/cdesc-Net.yaml +0 -15
  1353. data/doc/ri/NilClass/cdesc-NilClass.yaml +0 -17
  1354. data/doc/ri/NullClass/%5b%5d-i.yaml +0 -10
  1355. data/doc/ri/NullClass/cdesc-NullClass.yaml +0 -32
  1356. data/doc/ri/NullClass/inspect-i.yaml +0 -10
  1357. data/doc/ri/NullClass/method_missing-i.yaml +0 -10
  1358. data/doc/ri/NullClass/new-c.yaml +0 -10
  1359. data/doc/ri/NullClass/nil%3f-i.yaml +0 -10
  1360. data/doc/ri/NullClass/null%3f-i.yaml +0 -10
  1361. data/doc/ri/Numeric/cdesc-Numeric.yaml +0 -26
  1362. data/doc/ri/Object/cdesc-Object.yaml +0 -15
  1363. data/doc/ri/ObjectReflection/_bind_method-i.yaml +0 -10
  1364. data/doc/ri/ObjectReflection/cdesc-ObjectReflection.yaml +0 -28
  1365. data/doc/ri/ObjectReflection/id-i.yaml +0 -11
  1366. data/doc/ri/ObjectReflection/method_missing-i.yaml +0 -16
  1367. data/doc/ri/ObjectReflection/new-c.yaml +0 -11
  1368. data/doc/ri/OpEsc/cdesc-OpEsc.yaml +0 -30
  1369. data/doc/ri/OpEsc/escape-c.yaml +0 -14
  1370. data/doc/ri/OpenCascade/cdesc-OpenCascade.yaml +0 -25
  1371. data/doc/ri/OpenCascade/method_missing-i.yaml +0 -10
  1372. data/doc/ri/OpenCollection/cdesc-OpenCollection.yaml +0 -22
  1373. data/doc/ri/OpenCollection/method_missing-i.yaml +0 -10
  1374. data/doc/ri/OpenCollection/new-c.yaml +0 -10
  1375. data/doc/ri/OpenHash/cdesc-OpenHash.yaml +0 -22
  1376. data/doc/ri/OpenHash/method_missing-i.yaml +0 -12
  1377. data/doc/ri/OpenHash/new-c.yaml +0 -12
  1378. data/doc/ri/OpenObject/%3d%3d-i.yaml +0 -12
  1379. data/doc/ri/OpenObject/%5b%5d%3d-i.yaml +0 -10
  1380. data/doc/ri/OpenObject/%5b%5d-c.yaml +0 -10
  1381. data/doc/ri/OpenObject/%5b%5d-i.yaml +0 -10
  1382. data/doc/ri/OpenObject/as_hash%21-i.yaml +0 -12
  1383. data/doc/ri/OpenObject/cdesc-OpenObject.yaml +0 -77
  1384. data/doc/ri/OpenObject/default%21-i.yaml +0 -12
  1385. data/doc/ri/OpenObject/define_slot-i.yaml +0 -10
  1386. data/doc/ri/OpenObject/delete-i.yaml +0 -11
  1387. data/doc/ri/OpenObject/each-i.yaml +0 -12
  1388. data/doc/ri/OpenObject/fetch-i.yaml +0 -10
  1389. data/doc/ri/OpenObject/initialize_copy-i.yaml +0 -10
  1390. data/doc/ri/OpenObject/inspect-i.yaml +0 -12
  1391. data/doc/ri/OpenObject/merge-i.yaml +0 -12
  1392. data/doc/ri/OpenObject/method_missing-i.yaml +0 -10
  1393. data/doc/ri/OpenObject/new-c.yaml +0 -14
  1394. data/doc/ri/OpenObject/protect_slot-i.yaml +0 -10
  1395. data/doc/ri/OpenObject/store-i.yaml +0 -10
  1396. data/doc/ri/OpenObject/to_a-i.yaml +0 -12
  1397. data/doc/ri/OpenObject/to_h-i.yaml +0 -10
  1398. data/doc/ri/OpenObject/to_hash-i.yaml +0 -10
  1399. data/doc/ri/OpenObject/to_openobject-i.yaml +0 -10
  1400. data/doc/ri/OpenObject/to_proc-i.yaml +0 -10
  1401. data/doc/ri/OpenObject/update-i.yaml +0 -12
  1402. data/doc/ri/OpenStruct/%5b%5d%3d-i.yaml +0 -14
  1403. data/doc/ri/OpenStruct/%5b%5d-i.yaml +0 -14
  1404. data/doc/ri/OpenStruct/__merge__-i.yaml +0 -14
  1405. data/doc/ri/OpenStruct/__update__-i.yaml +0 -14
  1406. data/doc/ri/OpenStruct/cdesc-OpenStruct.yaml +0 -35
  1407. data/doc/ri/OpenStruct/each-i.yaml +0 -11
  1408. data/doc/ri/OpenStruct/instance_delegate-i.yaml +0 -19
  1409. data/doc/ri/OpenStruct/new-c.yaml +0 -18
  1410. data/doc/ri/OpenStruct/ostruct_delegate-i.yaml +0 -12
  1411. data/doc/ri/OpenStruct/ostruct_merge-i.yaml +0 -14
  1412. data/doc/ri/OpenStruct/ostruct_update-i.yaml +0 -14
  1413. data/doc/ri/OpenStruct/to_h-i.yaml +0 -11
  1414. data/doc/ri/PQueue/%3c%3c-i.yaml +0 -12
  1415. data/doc/ri/PQueue/%3d%3d-i.yaml +0 -12
  1416. data/doc/ri/PQueue/cdesc-PQueue.yaml +0 -77
  1417. data/doc/ri/PQueue/clear-i.yaml +0 -12
  1418. data/doc/ri/PQueue/downheap-i.yaml +0 -14
  1419. data/doc/ri/PQueue/each_pop-i.yaml +0 -12
  1420. data/doc/ri/PQueue/empty%3f-i.yaml +0 -12
  1421. data/doc/ri/PQueue/heapify-i.yaml +0 -12
  1422. data/doc/ri/PQueue/include%3f-i.yaml +0 -12
  1423. data/doc/ri/PQueue/initialize_copy-i.yaml +0 -10
  1424. data/doc/ri/PQueue/inspect-i.yaml +0 -12
  1425. data/doc/ri/PQueue/merge-i.yaml +0 -12
  1426. data/doc/ri/PQueue/new-c.yaml +0 -18
  1427. data/doc/ri/PQueue/pop-i.yaml +0 -18
  1428. data/doc/ri/PQueue/pop_array-i.yaml +0 -12
  1429. data/doc/ri/PQueue/push-i.yaml +0 -15
  1430. data/doc/ri/PQueue/push_all-i.yaml +0 -15
  1431. data/doc/ri/PQueue/replace-i.yaml +0 -14
  1432. data/doc/ri/PQueue/replace_top-i.yaml +0 -14
  1433. data/doc/ri/PQueue/sort-i.yaml +0 -12
  1434. data/doc/ri/PQueue/to_a-i.yaml +0 -13
  1435. data/doc/ri/PQueue/top-i.yaml +0 -12
  1436. data/doc/ri/PQueue/upheap-i.yaml +0 -14
  1437. data/doc/ri/Paramix/Delegator/%5b%5d-i.yaml +0 -10
  1438. data/doc/ri/Paramix/Delegator/append_features-i.yaml +0 -11
  1439. data/doc/ri/Paramix/Delegator/cdesc-Delegator.yaml +0 -33
  1440. data/doc/ri/Paramix/Delegator/extend_object-i.yaml +0 -11
  1441. data/doc/ri/Paramix/Delegator/new-c.yaml +0 -11
  1442. data/doc/ri/Paramix/append_features-c.yaml +0 -10
  1443. data/doc/ri/Paramix/cdesc-Paramix.yaml +0 -41
  1444. data/doc/ri/Paramix/new-c.yaml +0 -12
  1445. data/doc/ri/PathList/Finder/cdesc-Finder.yaml +0 -21
  1446. data/doc/ri/PathList/Finder/find-i.yaml +0 -11
  1447. data/doc/ri/PathList/Finder/include%3f-i.yaml +0 -12
  1448. data/doc/ri/PathList/cdesc-PathList.yaml +0 -28
  1449. data/doc/ri/PathList/new-c.yaml +0 -10
  1450. data/doc/ri/PathList/to_s-i.yaml +0 -10
  1451. data/doc/ri/Pathname/%2f-c.yaml +0 -14
  1452. data/doc/ri/Pathname/%5b%5d-c.yaml +0 -14
  1453. data/doc/ri/Pathname/cdesc-Pathname.yaml +0 -27
  1454. data/doc/ri/Pathname/home-c.yaml +0 -14
  1455. data/doc/ri/Pathname/null-c.yaml +0 -12
  1456. data/doc/ri/Pathname/root-c.yaml +0 -12
  1457. data/doc/ri/Pathname/rootname-i.yaml +0 -11
  1458. data/doc/ri/Pathname/work-c.yaml +0 -12
  1459. data/doc/ri/Platform/%3d%3d%3d-i.yaml +0 -10
  1460. data/doc/ri/Platform/%3d%3d-i.yaml +0 -10
  1461. data/doc/ri/Platform/%3d%7e-i.yaml +0 -10
  1462. data/doc/ri/Platform/cdesc-Platform.yaml +0 -65
  1463. data/doc/ri/Platform/const_missing-c.yaml +0 -10
  1464. data/doc/ri/Platform/inspect-i.yaml +0 -10
  1465. data/doc/ri/Platform/local-c.yaml +0 -10
  1466. data/doc/ri/Platform/match-c.yaml +0 -10
  1467. data/doc/ri/Platform/new-c.yaml +0 -10
  1468. data/doc/ri/Platform/supported-c.yaml +0 -12
  1469. data/doc/ri/Platform/to_a-i.yaml +0 -10
  1470. data/doc/ri/Platform/to_s-i.yaml +0 -10
  1471. data/doc/ri/Pool/cdesc-Pool.yaml +0 -27
  1472. data/doc/ri/Pool/new-c.yaml +0 -10
  1473. data/doc/ri/Pool/obtain-i.yaml +0 -12
  1474. data/doc/ri/Pool/pop-i.yaml +0 -12
  1475. data/doc/ri/Pool/push-i.yaml +0 -12
  1476. data/doc/ri/Proc/%2a-i.yaml +0 -14
  1477. data/doc/ri/Proc/bind-i.yaml +0 -16
  1478. data/doc/ri/Proc/cdesc-Proc.yaml +0 -28
  1479. data/doc/ri/Proc/compose-i.yaml +0 -14
  1480. data/doc/ri/Proc/curry-i.yaml +0 -14
  1481. data/doc/ri/Proc/partial-i.yaml +0 -20
  1482. data/doc/ri/Proc/to_method-i.yaml +0 -14
  1483. data/doc/ri/Proc/to_openobject-i.yaml +0 -16
  1484. data/doc/ri/ProgressBar/bar-i.yaml +0 -10
  1485. data/doc/ri/ProgressBar/bar_mark%3d-i.yaml +0 -10
  1486. data/doc/ri/ProgressBar/bytes-i.yaml +0 -10
  1487. data/doc/ri/ProgressBar/cdesc-ProgressBar.yaml +0 -76
  1488. data/doc/ri/ProgressBar/convert_bytes-i.yaml +0 -10
  1489. data/doc/ri/ProgressBar/elapsed-i.yaml +0 -10
  1490. data/doc/ri/ProgressBar/eol-i.yaml +0 -10
  1491. data/doc/ri/ProgressBar/eta-i.yaml +0 -12
  1492. data/doc/ri/ProgressBar/file_transfer_mode-i.yaml +0 -10
  1493. data/doc/ri/ProgressBar/finish-i.yaml +0 -10
  1494. data/doc/ri/ProgressBar/flush-i.yaml +0 -10
  1495. data/doc/ri/ProgressBar/format%3d-i.yaml +0 -10
  1496. data/doc/ri/ProgressBar/format_arguments%3d-i.yaml +0 -10
  1497. data/doc/ri/ProgressBar/format_time-i.yaml +0 -10
  1498. data/doc/ri/ProgressBar/get_width-i.yaml +0 -10
  1499. data/doc/ri/ProgressBar/halt-i.yaml +0 -10
  1500. data/doc/ri/ProgressBar/inc-i.yaml +0 -10
  1501. data/doc/ri/ProgressBar/inspect-i.yaml +0 -10
  1502. data/doc/ri/ProgressBar/new-c.yaml +0 -10
  1503. data/doc/ri/ProgressBar/percentage-i.yaml +0 -10
  1504. data/doc/ri/ProgressBar/set-i.yaml +0 -10
  1505. data/doc/ri/ProgressBar/show-i.yaml +0 -10
  1506. data/doc/ri/ProgressBar/show_progress-i.yaml +0 -10
  1507. data/doc/ri/ProgressBar/stat-i.yaml +0 -10
  1508. data/doc/ri/ProgressBar/stat_for_file_transfer-i.yaml +0 -10
  1509. data/doc/ri/ProgressBar/title%3d-i.yaml +0 -10
  1510. data/doc/ri/ProgressBar/title-i.yaml +0 -10
  1511. data/doc/ri/ProgressBar/total_overflow%3d-i.yaml +0 -10
  1512. data/doc/ri/ProgressBar/transfer_rate-i.yaml +0 -10
  1513. data/doc/ri/Prototype/cdesc-Prototype.yaml +0 -30
  1514. data/doc/ri/Prototype/fn-i.yaml +0 -10
  1515. data/doc/ri/Prototype/meta-i.yaml +0 -10
  1516. data/doc/ri/Prototype/method_missing-i.yaml +0 -10
  1517. data/doc/ri/Prototype/new-c.yaml +0 -12
  1518. data/doc/ri/Prototype/new-i.yaml +0 -10
  1519. data/doc/ri/Prototype/trait-i.yaml +0 -10
  1520. data/doc/ri/Prototype/traits-i.yaml +0 -10
  1521. data/doc/ri/RWDelegator/%3d%3d-i.yaml +0 -10
  1522. data/doc/ri/RWDelegator/cdesc-RWDelegator.yaml +0 -28
  1523. data/doc/ri/RWDelegator/inspect-i.yaml +0 -10
  1524. data/doc/ri/RWDelegator/method_missing-i.yaml +0 -10
  1525. data/doc/ri/RWDelegator/new-c.yaml +0 -10
  1526. data/doc/ri/Random/Array/at_rand%21-i.yaml +0 -14
  1527. data/doc/ri/Random/Array/at_rand-i.yaml +0 -14
  1528. data/doc/ri/Random/Array/cdesc-Array.yaml +0 -31
  1529. data/doc/ri/Random/Array/pick%21-i.yaml +0 -12
  1530. data/doc/ri/Random/Array/pick-i.yaml +0 -12
  1531. data/doc/ri/Random/Array/rand_index-i.yaml +0 -12
  1532. data/doc/ri/Random/Array/rand_subset-i.yaml +0 -18
  1533. data/doc/ri/Random/Array/shuffle%21-i.yaml +0 -16
  1534. data/doc/ri/Random/Array/shuffle-i.yaml +0 -14
  1535. data/doc/ri/Random/Hash/at_rand%21-i.yaml +0 -12
  1536. data/doc/ri/Random/Hash/at_rand-i.yaml +0 -12
  1537. data/doc/ri/Random/Hash/cdesc-Hash.yaml +0 -41
  1538. data/doc/ri/Random/Hash/pick-i.yaml +0 -12
  1539. data/doc/ri/Random/Hash/pick_key-i.yaml +0 -12
  1540. data/doc/ri/Random/Hash/pick_pair-i.yaml +0 -12
  1541. data/doc/ri/Random/Hash/rand_key%21-i.yaml +0 -15
  1542. data/doc/ri/Random/Hash/rand_key-i.yaml +0 -14
  1543. data/doc/ri/Random/Hash/rand_pair%21-i.yaml +0 -15
  1544. data/doc/ri/Random/Hash/rand_pair-i.yaml +0 -14
  1545. data/doc/ri/Random/Hash/rand_value%21-i.yaml +0 -17
  1546. data/doc/ri/Random/Hash/rand_value-i.yaml +0 -15
  1547. data/doc/ri/Random/Hash/shuffle%21-i.yaml +0 -14
  1548. data/doc/ri/Random/Hash/shuffle-i.yaml +0 -14
  1549. data/doc/ri/Random/Object/cdesc-Object.yaml +0 -16
  1550. data/doc/ri/Random/Object/maybe-i.yaml +0 -14
  1551. data/doc/ri/Random/String/Self/cdesc-Self.yaml +0 -20
  1552. data/doc/ri/Random/String/Self/rand_letter-i.yaml +0 -14
  1553. data/doc/ri/Random/String/Self/random-i.yaml +0 -12
  1554. data/doc/ri/Random/String/at_rand%21-i.yaml +0 -14
  1555. data/doc/ri/Random/String/at_rand-i.yaml +0 -14
  1556. data/doc/ri/Random/String/cdesc-String.yaml +0 -30
  1557. data/doc/ri/Random/String/included-c.yaml +0 -10
  1558. data/doc/ri/Random/String/rand_byte%21-i.yaml +0 -14
  1559. data/doc/ri/Random/String/rand_byte-i.yaml +0 -14
  1560. data/doc/ri/Random/String/rand_index-i.yaml +0 -14
  1561. data/doc/ri/Random/String/shuffle%21-i.yaml +0 -12
  1562. data/doc/ri/Random/String/shuffle-i.yaml +0 -14
  1563. data/doc/ri/Random/append_features-c.yaml +0 -11
  1564. data/doc/ri/Random/cdesc-Random.yaml +0 -31
  1565. data/doc/ri/Random/number-c.yaml +0 -11
  1566. data/doc/ri/Range/cdesc-Range.yaml +0 -27
  1567. data/doc/ri/Range/combine-c.yaml +0 -14
  1568. data/doc/ri/Range/combine-i.yaml +0 -14
  1569. data/doc/ri/Range/overlap%3f-i.yaml +0 -14
  1570. data/doc/ri/Range/to_r-i.yaml +0 -14
  1571. data/doc/ri/Range/to_range-i.yaml +0 -16
  1572. data/doc/ri/Range/umbrella-i.yaml +0 -20
  1573. data/doc/ri/Range/within%3f-i.yaml +0 -14
  1574. data/doc/ri/Recorder/__call__-i.yaml +0 -10
  1575. data/doc/ri/Recorder/cdesc-Recorder.yaml +0 -34
  1576. data/doc/ri/Recorder/inspect-i.yaml +0 -10
  1577. data/doc/ri/Recorder/method_missing-i.yaml +0 -10
  1578. data/doc/ri/Recorder/new-c.yaml +0 -11
  1579. data/doc/ri/RecursiveDependency/cdesc-RecursiveDependency.yaml +0 -15
  1580. data/doc/ri/Reference/__value__-i.yaml +0 -11
  1581. data/doc/ri/Reference/become-i.yaml +0 -10
  1582. data/doc/ri/Reference/cdesc-Reference.yaml +0 -30
  1583. data/doc/ri/Reference/instance_delegate-i.yaml +0 -12
  1584. data/doc/ri/Reference/method_missing-i.yaml +0 -10
  1585. data/doc/ri/Reference/new-c.yaml +0 -10
  1586. data/doc/ri/Regexp/arity-i.yaml +0 -18
  1587. data/doc/ri/Regexp/cdesc-Regexp.yaml +0 -20
  1588. data/doc/ri/Regexp/to_re-i.yaml +0 -16
  1589. data/doc/ri/Regexp/to_regexp-i.yaml +0 -16
  1590. data/doc/ri/Registerable/cdesc-Registerable.yaml +0 -23
  1591. data/doc/ri/Registerable/register-i.yaml +0 -12
  1592. data/doc/ri/Registerable/registry-i.yaml +0 -12
  1593. data/doc/ri/Registerable/registry_invalid%3f-i.yaml +0 -11
  1594. data/doc/ri/Semaphore/cdesc-Semaphore.yaml +0 -36
  1595. data/doc/ri/Semaphore/down-i.yaml +0 -12
  1596. data/doc/ri/Semaphore/exclusive-i.yaml +0 -11
  1597. data/doc/ri/Semaphore/new-c.yaml +0 -10
  1598. data/doc/ri/Semaphore/p-i.yaml +0 -12
  1599. data/doc/ri/Semaphore/signal-i.yaml +0 -13
  1600. data/doc/ri/Semaphore/synchronize-i.yaml +0 -12
  1601. data/doc/ri/Semaphore/up-i.yaml +0 -12
  1602. data/doc/ri/Semaphore/v-i.yaml +0 -12
  1603. data/doc/ri/Semaphore/wait-i.yaml +0 -13
  1604. data/doc/ri/Set/cdesc-Set.yaml +0 -16
  1605. data/doc/ri/Set/power_set-i.yaml +0 -10
  1606. data/doc/ri/Settings/Setting/cdesc-Setting.yaml +0 -42
  1607. data/doc/ri/Settings/Setting/new-c.yaml +0 -10
  1608. data/doc/ri/Settings/Setting/to_s-i.yaml +0 -12
  1609. data/doc/ri/Settings/Setting/update-i.yaml +0 -12
  1610. data/doc/ri/Settings/SettingCollection/cdesc-SettingCollection.yaml +0 -23
  1611. data/doc/ri/Settings/SettingCollection/method_missing-i.yaml +0 -12
  1612. data/doc/ri/Settings/add_setting-c.yaml +0 -17
  1613. data/doc/ri/Settings/cdesc-Settings.yaml +0 -33
  1614. data/doc/ri/Settings/load-c.yaml +0 -12
  1615. data/doc/ri/Settings/method_missing-c.yaml +0 -10
  1616. data/doc/ri/Settings/parse-c.yaml +0 -12
  1617. data/doc/ri/Settings/settings-c.yaml +0 -12
  1618. data/doc/ri/Settings/setup-c.yaml +0 -15
  1619. data/doc/ri/Shellwords/cdesc-Shellwords.yaml +0 -16
  1620. data/doc/ri/Shellwords/escape-i.yaml +0 -12
  1621. data/doc/ri/SimpleStringIO/cdesc-SimpleStringIO.yaml +0 -20
  1622. data/doc/ri/SimpleStringIO/new-c.yaml +0 -10
  1623. data/doc/ri/SimpleStringIO/write-i.yaml +0 -10
  1624. data/doc/ri/Snapshot/ValueHolder/cdesc-ValueHolder.yaml +0 -24
  1625. data/doc/ri/Snapshot/ValueHolder/new-c.yaml +0 -10
  1626. data/doc/ri/Snapshot/ValueHolder/restore_snapshot-i.yaml +0 -10
  1627. data/doc/ri/Snapshot/ValueHolder/take_snapshot-i.yaml +0 -10
  1628. data/doc/ri/Snapshot/add-i.yaml +0 -10
  1629. data/doc/ri/Snapshot/cdesc-Snapshot.yaml +0 -36
  1630. data/doc/ri/Snapshot/new-c.yaml +0 -10
  1631. data/doc/ri/Snapshot/restore-i.yaml +0 -10
  1632. data/doc/ri/Stackable/cdesc-Stackable.yaml +0 -33
  1633. data/doc/ri/Stackable/peek-i.yaml +0 -14
  1634. data/doc/ri/Stackable/poke-i.yaml +0 -15
  1635. data/doc/ri/Stackable/pop-i.yaml +0 -14
  1636. data/doc/ri/Stackable/pull-i.yaml +0 -15
  1637. data/doc/ri/Stackable/push-i.yaml +0 -14
  1638. data/doc/ri/Stackable/shift-i.yaml +0 -12
  1639. data/doc/ri/Stackable/unshift-i.yaml +0 -12
  1640. data/doc/ri/String/Style/camelize-c.yaml +0 -18
  1641. data/doc/ri/String/Style/capitalize-c.yaml +0 -12
  1642. data/doc/ri/String/Style/cdesc-Style.yaml +0 -69
  1643. data/doc/ri/String/Style/classify-c.yaml +0 -20
  1644. data/doc/ri/String/Style/dasherize-c.yaml +0 -16
  1645. data/doc/ri/String/Style/demodulize-c.yaml +0 -16
  1646. data/doc/ri/String/Style/downcase-c.yaml +0 -12
  1647. data/doc/ri/String/Style/foreign_key-c.yaml +0 -16
  1648. data/doc/ri/String/Style/humanize-c.yaml +0 -16
  1649. data/doc/ri/String/Style/lowercamel-c.yaml +0 -10
  1650. data/doc/ri/String/Style/lowercase-c.yaml +0 -12
  1651. data/doc/ri/String/Style/methodize-c.yaml +0 -18
  1652. data/doc/ri/String/Style/modulize-c.yaml +0 -18
  1653. data/doc/ri/String/Style/ordinalize-c.yaml +0 -16
  1654. data/doc/ri/String/Style/pathize-c.yaml +0 -22
  1655. data/doc/ri/String/Style/snakecase-c.yaml +0 -18
  1656. data/doc/ri/String/Style/tableize-c.yaml +0 -16
  1657. data/doc/ri/String/Style/titlecase-c.yaml +0 -14
  1658. data/doc/ri/String/Style/titleize-c.yaml +0 -18
  1659. data/doc/ri/String/Style/underscore-c.yaml +0 -18
  1660. data/doc/ri/String/Style/upcase-c.yaml +0 -12
  1661. data/doc/ri/String/Style/uppercamel-c.yaml +0 -10
  1662. data/doc/ri/String/Style/uppercase-c.yaml +0 -12
  1663. data/doc/ri/String/Words/brief-i.yaml +0 -14
  1664. data/doc/ri/String/Words/cdesc-Words.yaml +0 -28
  1665. data/doc/ri/String/Words/each_word-i.yaml +0 -14
  1666. data/doc/ri/String/Words/word_filter%21-i.yaml +0 -14
  1667. data/doc/ri/String/Words/word_filter-i.yaml +0 -14
  1668. data/doc/ri/String/Words/word_wrap%21-i.yaml +0 -14
  1669. data/doc/ri/String/Words/word_wrap-i.yaml +0 -18
  1670. data/doc/ri/String/Words/words-i.yaml +0 -14
  1671. data/doc/ri/String/cdesc-String.yaml +0 -17
  1672. data/doc/ri/Struct/cdesc-Struct.yaml +0 -18
  1673. data/doc/ri/Struct/restore_snapshot-i.yaml +0 -10
  1674. data/doc/ri/Struct/take_snapshot-i.yaml +0 -10
  1675. data/doc/ri/Symbol/cdesc-Symbol.yaml +0 -15
  1676. data/doc/ri/SyncArray/cdesc-SyncArray.yaml +0 -19
  1677. data/doc/ri/SyncArray/new-c.yaml +0 -12
  1678. data/doc/ri/SyncHash/Delegator/%5b%5d%3d-i.yaml +0 -10
  1679. data/doc/ri/SyncHash/Delegator/%5b%5d-i.yaml +0 -10
  1680. data/doc/ri/SyncHash/Delegator/cdesc-Delegator.yaml +0 -30
  1681. data/doc/ri/SyncHash/Delegator/clear-i.yaml +0 -10
  1682. data/doc/ri/SyncHash/Delegator/delete-i.yaml +0 -10
  1683. data/doc/ri/SyncHash/Delegator/keys-i.yaml +0 -10
  1684. data/doc/ri/SyncHash/Delegator/size-i.yaml +0 -10
  1685. data/doc/ri/SyncHash/Delegator/values-i.yaml +0 -10
  1686. data/doc/ri/SyncHash/Inheritor/%5b%5d%3d-i.yaml +0 -10
  1687. data/doc/ri/SyncHash/Inheritor/%5b%5d-i.yaml +0 -10
  1688. data/doc/ri/SyncHash/Inheritor/cdesc-Inheritor.yaml +0 -30
  1689. data/doc/ri/SyncHash/Inheritor/clear-i.yaml +0 -10
  1690. data/doc/ri/SyncHash/Inheritor/delete-i.yaml +0 -10
  1691. data/doc/ri/SyncHash/Inheritor/keys-i.yaml +0 -10
  1692. data/doc/ri/SyncHash/Inheritor/size-i.yaml +0 -10
  1693. data/doc/ri/SyncHash/Inheritor/values-i.yaml +0 -10
  1694. data/doc/ri/SyncHash/cdesc-SyncHash.yaml +0 -38
  1695. data/doc/ri/SyncHash/new-c.yaml +0 -10
  1696. data/doc/ri/System/argf-i.yaml +0 -12
  1697. data/doc/ri/System/argv-i.yaml +0 -11
  1698. data/doc/ri/System/cdesc-System.yaml +0 -145
  1699. data/doc/ri/System/child_status-i.yaml +0 -11
  1700. data/doc/ri/System/coding%3d-i.yaml +0 -10
  1701. data/doc/ri/System/coding-i.yaml +0 -10
  1702. data/doc/ri/System/current_platform-i.yaml +0 -12
  1703. data/doc/ri/System/data-i.yaml +0 -12
  1704. data/doc/ri/System/debug-i.yaml +0 -10
  1705. data/doc/ri/System/default_input-i.yaml +0 -13
  1706. data/doc/ri/System/default_output%3d-i.yaml +0 -11
  1707. data/doc/ri/System/default_output-i.yaml +0 -11
  1708. data/doc/ri/System/defin-i.yaml +0 -12
  1709. data/doc/ri/System/defout%3d-i.yaml +0 -12
  1710. data/doc/ri/System/defout-i.yaml +0 -12
  1711. data/doc/ri/System/env-i.yaml +0 -10
  1712. data/doc/ri/System/environment-i.yaml +0 -10
  1713. data/doc/ri/System/error_info-i.yaml +0 -10
  1714. data/doc/ri/System/error_position-i.yaml +0 -10
  1715. data/doc/ri/System/exit_status-i.yaml +0 -12
  1716. data/doc/ri/System/extentions-i.yaml +0 -10
  1717. data/doc/ri/System/fs%3d-i.yaml +0 -12
  1718. data/doc/ri/System/fs-i.yaml +0 -12
  1719. data/doc/ri/System/input_field_separator%3d-i.yaml +0 -11
  1720. data/doc/ri/System/input_field_separator-i.yaml +0 -11
  1721. data/doc/ri/System/input_line_number-i.yaml +0 -11
  1722. data/doc/ri/System/input_lineno-i.yaml +0 -12
  1723. data/doc/ri/System/input_record_separator%3d-i.yaml +0 -11
  1724. data/doc/ri/System/input_record_separator-i.yaml +0 -11
  1725. data/doc/ri/System/line_end_processing-i.yaml +0 -10
  1726. data/doc/ri/System/load_path-i.yaml +0 -12
  1727. data/doc/ri/System/loaded_features-i.yaml +0 -11
  1728. data/doc/ri/System/match_platform-i.yaml +0 -11
  1729. data/doc/ri/System/ofs%3d-i.yaml +0 -12
  1730. data/doc/ri/System/ofs-i.yaml +0 -12
  1731. data/doc/ri/System/options-i.yaml +0 -12
  1732. data/doc/ri/System/ors%3d-i.yaml +0 -12
  1733. data/doc/ri/System/ors-i.yaml +0 -12
  1734. data/doc/ri/System/output_field_separator%3d-i.yaml +0 -11
  1735. data/doc/ri/System/output_field_separator-i.yaml +0 -11
  1736. data/doc/ri/System/output_record_separator%3d-i.yaml +0 -11
  1737. data/doc/ri/System/output_record_separator-i.yaml +0 -11
  1738. data/doc/ri/System/pid-i.yaml +0 -12
  1739. data/doc/ri/System/platform-i.yaml +0 -10
  1740. data/doc/ri/System/process_id-i.yaml +0 -15
  1741. data/doc/ri/System/program_loop-i.yaml +0 -10
  1742. data/doc/ri/System/program_name%3d-i.yaml +0 -10
  1743. data/doc/ri/System/program_name-i.yaml +0 -12
  1744. data/doc/ri/System/release-i.yaml +0 -10
  1745. data/doc/ri/System/required-i.yaml +0 -12
  1746. data/doc/ri/System/rs%3d-i.yaml +0 -12
  1747. data/doc/ri/System/rs-i.yaml +0 -12
  1748. data/doc/ri/System/rubylibdir-i.yaml +0 -10
  1749. data/doc/ri/System/rubypath-i.yaml +0 -10
  1750. data/doc/ri/System/safe-i.yaml +0 -10
  1751. data/doc/ri/System/stderr%3d-i.yaml +0 -10
  1752. data/doc/ri/System/stderr-i.yaml +0 -10
  1753. data/doc/ri/System/stdin%3d-i.yaml +0 -10
  1754. data/doc/ri/System/stdin-i.yaml +0 -12
  1755. data/doc/ri/System/stdout%3d-i.yaml +0 -10
  1756. data/doc/ri/System/stdout-i.yaml +0 -10
  1757. data/doc/ri/System/verbose%3d-i.yaml +0 -10
  1758. data/doc/ri/System/verbose-i.yaml +0 -10
  1759. data/doc/ri/System/version-i.yaml +0 -10
  1760. data/doc/ri/Time/cdesc-Time.yaml +0 -17
  1761. data/doc/ri/Timer/Dummy/cdesc-Dummy.yaml +0 -20
  1762. data/doc/ri/Timer/Dummy/start-i.yaml +0 -10
  1763. data/doc/ri/Timer/Dummy/stop-i.yaml +0 -10
  1764. data/doc/ri/Timer/cdesc-Timer.yaml +0 -57
  1765. data/doc/ri/Timer/defuse-i.yaml +0 -12
  1766. data/doc/ri/Timer/limit-i.yaml +0 -12
  1767. data/doc/ri/Timer/new-c.yaml +0 -10
  1768. data/doc/ri/Timer/on_timeout-i.yaml +0 -10
  1769. data/doc/ri/Timer/reset-i.yaml +0 -12
  1770. data/doc/ri/Timer/reset_limit-i.yaml +0 -14
  1771. data/doc/ri/Timer/running%3f-i.yaml +0 -12
  1772. data/doc/ri/Timer/start-i.yaml +0 -12
  1773. data/doc/ri/Timer/stop-i.yaml +0 -12
  1774. data/doc/ri/Timer/stopped%3f-i.yaml +0 -12
  1775. data/doc/ri/Timer/total_time-i.yaml +0 -12
  1776. data/doc/ri/TracePoint/%3d%3d%3d-i.yaml +0 -12
  1777. data/doc/ri/TracePoint/active%3d-c.yaml +0 -10
  1778. data/doc/ri/TracePoint/active-c.yaml +0 -10
  1779. data/doc/ri/TracePoint/back-i.yaml +0 -12
  1780. data/doc/ri/TracePoint/bind-i.yaml +0 -12
  1781. data/doc/ri/TracePoint/called-i.yaml +0 -13
  1782. data/doc/ri/TracePoint/callee-i.yaml +0 -13
  1783. data/doc/ri/TracePoint/cdesc-TracePoint.yaml +0 -82
  1784. data/doc/ri/TracePoint/event%3f-i.yaml +0 -12
  1785. data/doc/ri/TracePoint/event_map-i.yaml +0 -10
  1786. data/doc/ri/TracePoint/eventless%3f-i.yaml +0 -10
  1787. data/doc/ri/TracePoint/method_name-i.yaml +0 -12
  1788. data/doc/ri/TracePoint/new-c.yaml +0 -12
  1789. data/doc/ri/TracePoint/self-i.yaml +0 -12
  1790. data/doc/ri/TracePoint/trace-c.yaml +0 -12
  1791. data/doc/ri/TrueClass/cdesc-TrueClass.yaml +0 -15
  1792. data/doc/ri/Tuple/%3c%3c-i.yaml +0 -12
  1793. data/doc/ri/Tuple/%3c%3d%3e-i.yaml +0 -10
  1794. data/doc/ri/Tuple/%3d%7e-i.yaml +0 -12
  1795. data/doc/ri/Tuple/%5b%5d%3d-i.yaml +0 -10
  1796. data/doc/ri/Tuple/%5b%5d-c.yaml +0 -10
  1797. data/doc/ri/Tuple/%5b%5d-i.yaml +0 -10
  1798. data/doc/ri/Tuple/cast_from_array-c.yaml +0 -11
  1799. data/doc/ri/Tuple/cast_from_string-c.yaml +0 -20
  1800. data/doc/ri/Tuple/cdesc-Tuple.yaml +0 -113
  1801. data/doc/ri/Tuple/constraint_to_lambda-c.yaml +0 -12
  1802. data/doc/ri/Tuple/divider-i.yaml +0 -10
  1803. data/doc/ri/Tuple/each-i.yaml +0 -10
  1804. data/doc/ri/Tuple/each_index-i.yaml +0 -10
  1805. data/doc/ri/Tuple/empty%3f-i.yaml +0 -10
  1806. data/doc/ri/Tuple/eql%3f-i.yaml +0 -12
  1807. data/doc/ri/Tuple/first-i.yaml +0 -10
  1808. data/doc/ri/Tuple/hash-i.yaml +0 -12
  1809. data/doc/ri/Tuple/index-i.yaml +0 -10
  1810. data/doc/ri/Tuple/inspect-i.yaml +0 -10
  1811. data/doc/ri/Tuple/last-i.yaml +0 -10
  1812. data/doc/ri/Tuple/length-i.yaml +0 -10
  1813. data/doc/ri/Tuple/major-i.yaml +0 -12
  1814. data/doc/ri/Tuple/minor-i.yaml +0 -10
  1815. data/doc/ri/Tuple/multiton_id-c.yaml +0 -10
  1816. data/doc/ri/Tuple/new-c.yaml +0 -10
  1817. data/doc/ri/Tuple/parse_constraint-c.yaml +0 -10
  1818. data/doc/ri/Tuple/pop-i.yaml +0 -10
  1819. data/doc/ri/Tuple/pot-i.yaml +0 -13
  1820. data/doc/ri/Tuple/pull-i.yaml +0 -13
  1821. data/doc/ri/Tuple/push-i.yaml +0 -10
  1822. data/doc/ri/Tuple/rindex-i.yaml +0 -10
  1823. data/doc/ri/Tuple/shift-i.yaml +0 -12
  1824. data/doc/ri/Tuple/size-i.yaml +0 -10
  1825. data/doc/ri/Tuple/teeny-i.yaml +0 -10
  1826. data/doc/ri/Tuple/to_a-i.yaml +0 -10
  1827. data/doc/ri/Tuple/to_ary-i.yaml +0 -10
  1828. data/doc/ri/Tuple/to_s-i.yaml +0 -10
  1829. data/doc/ri/Tuple/to_t-i.yaml +0 -10
  1830. data/doc/ri/Tuple/to_tuple-i.yaml +0 -10
  1831. data/doc/ri/Tuple/unshift-i.yaml +0 -12
  1832. data/doc/ri/Tuple/values-i.yaml +0 -10
  1833. data/doc/ri/TypeCast/Class/cast_from-i.yaml +0 -14
  1834. data/doc/ri/TypeCast/Class/cdesc-Class.yaml +0 -18
  1835. data/doc/ri/TypeCast/Object/cast_to-i.yaml +0 -14
  1836. data/doc/ri/TypeCast/Object/cdesc-Object.yaml +0 -18
  1837. data/doc/ri/TypeCast/cdesc-TypeCast.yaml +0 -52
  1838. data/doc/ri/TypeCastException/cdesc-TypeCastException.yaml +0 -17
  1839. data/doc/ri/URI/Hash/cdesc-Hash.yaml +0 -16
  1840. data/doc/ri/URI/Hash/to_uri-i.yaml +0 -11
  1841. data/doc/ri/URI/Kernel/cdesc-Kernel.yaml +0 -18
  1842. data/doc/ri/URI/Kernel/unuri-i.yaml +0 -11
  1843. data/doc/ri/URI/Kernel/uri-i.yaml +0 -11
  1844. data/doc/ri/URI/cdesc-URI.yaml +0 -38
  1845. data/doc/ri/URI/cgi_escape-i.yaml +0 -12
  1846. data/doc/ri/URI/cgi_parse-i.yaml +0 -11
  1847. data/doc/ri/URI/cgi_unescape-i.yaml +0 -11
  1848. data/doc/ri/URI/chomp_query_string-i.yaml +0 -16
  1849. data/doc/ri/URI/decode-i.yaml +0 -12
  1850. data/doc/ri/URI/get_query_string-i.yaml +0 -16
  1851. data/doc/ri/URI/hash_to_query-i.yaml +0 -15
  1852. data/doc/ri/URI/hash_to_query_string-i.yaml +0 -12
  1853. data/doc/ri/URI/query_string_to_hash-i.yaml +0 -12
  1854. data/doc/ri/URI/query_to_hash-i.yaml +0 -17
  1855. data/doc/ri/URI/update_query_string-i.yaml +0 -18
  1856. data/doc/ri/URI/update_request_uri-i.yaml +0 -12
  1857. data/doc/ri/UnboundMethod/arguments-i.yaml +0 -18
  1858. data/doc/ri/UnboundMethod/cdesc-UnboundMethod.yaml +0 -18
  1859. data/doc/ri/UnboundMethod/name-i.yaml +0 -14
  1860. data/doc/ri/Uninheritable/cdesc-Uninheritable.yaml +0 -21
  1861. data/doc/ri/Uninheritable/inherited-i.yaml +0 -12
  1862. data/doc/ri/UploadUtils/cdesc-UploadUtils.yaml +0 -47
  1863. data/doc/ri/UploadUtils/files-i.yaml +0 -12
  1864. data/doc/ri/UploadUtils/ftp-i.yaml +0 -12
  1865. data/doc/ri/UploadUtils/rsync-i.yaml +0 -12
  1866. data/doc/ri/UploadUtils/sftp-i.yaml +0 -12
  1867. data/doc/ri/UploadUtils/stage_linkdir-i.yaml +0 -12
  1868. data/doc/ri/UploadUtils/stage_transfer-i.yaml +0 -20
  1869. data/doc/ri/UploadUtils/upload-i.yaml +0 -12
  1870. data/doc/ri/UploadUtils/upload_parameters-i.yaml +0 -12
  1871. data/doc/ri/VersionNumber/%3c%3d%3e-i.yaml +0 -12
  1872. data/doc/ri/VersionNumber/%3d%7e-i.yaml +0 -12
  1873. data/doc/ri/VersionNumber/%5b%5d-i.yaml +0 -10
  1874. data/doc/ri/VersionNumber/cdesc-VersionNumber.yaml +0 -45
  1875. data/doc/ri/VersionNumber/constraint_lambda-c.yaml +0 -12
  1876. data/doc/ri/VersionNumber/inspect-i.yaml +0 -10
  1877. data/doc/ri/VersionNumber/major-i.yaml +0 -12
  1878. data/doc/ri/VersionNumber/method_missing-i.yaml +0 -12
  1879. data/doc/ri/VersionNumber/minor-i.yaml +0 -12
  1880. data/doc/ri/VersionNumber/new-c.yaml +0 -10
  1881. data/doc/ri/VersionNumber/parse_constraint-c.yaml +0 -10
  1882. data/doc/ri/VersionNumber/teeny-i.yaml +0 -12
  1883. data/doc/ri/VersionNumber/to_s-i.yaml +0 -10
  1884. data/doc/ri/VersionNumber/to_str-i.yaml +0 -12
  1885. data/doc/ri/Weekdays/after-i.yaml +0 -12
  1886. data/doc/ri/Weekdays/ago-i.yaml +0 -13
  1887. data/doc/ri/Weekdays/before-i.yaml +0 -12
  1888. data/doc/ri/Weekdays/cdesc-Weekdays.yaml +0 -38
  1889. data/doc/ri/Weekdays/from_now-i.yaml +0 -12
  1890. data/doc/ri/Weekdays/new-c.yaml +0 -10
  1891. data/doc/ri/Weekdays/since-i.yaml +0 -13
  1892. data/doc/ri/Weekdays/step-i.yaml +0 -10
  1893. data/doc/ri/Weekdays/until-i.yaml +0 -12
  1894. data/doc/ri/XOXO/Parser/cdesc-Parser.yaml +0 -15
  1895. data/doc/ri/XOXO/cdesc-XOXO.yaml +0 -25
  1896. data/doc/ri/XOXO/dump-c.yaml +0 -35
  1897. data/doc/ri/XOXO/load-c.yaml +0 -12
  1898. data/doc/ri/XOXO/make_xoxo-c.yaml +0 -10
  1899. data/doc/ri/ZipUtils/DryRun/cdesc-DryRun.yaml +0 -32
  1900. data/doc/ri/ZipUtils/DryRun/compress-i.yaml +0 -10
  1901. data/doc/ri/ZipUtils/DryRun/tar_bzip2-i.yaml +0 -10
  1902. data/doc/ri/ZipUtils/DryRun/tar_gzip-i.yaml +0 -10
  1903. data/doc/ri/ZipUtils/DryRun/untar_bzip2-i.yaml +0 -10
  1904. data/doc/ri/ZipUtils/DryRun/untar_gzip-i.yaml +0 -10
  1905. data/doc/ri/ZipUtils/DryRun/unzip-i.yaml +0 -10
  1906. data/doc/ri/ZipUtils/DryRun/zip-i.yaml +0 -10
  1907. data/doc/ri/ZipUtils/NoWrite/cdesc-NoWrite.yaml +0 -32
  1908. data/doc/ri/ZipUtils/NoWrite/compress-i.yaml +0 -10
  1909. data/doc/ri/ZipUtils/NoWrite/tar_bzip2-i.yaml +0 -10
  1910. data/doc/ri/ZipUtils/NoWrite/tar_gzip-i.yaml +0 -10
  1911. data/doc/ri/ZipUtils/NoWrite/untar_bzip2-i.yaml +0 -10
  1912. data/doc/ri/ZipUtils/NoWrite/untar_gzip-i.yaml +0 -10
  1913. data/doc/ri/ZipUtils/NoWrite/unzip-i.yaml +0 -10
  1914. data/doc/ri/ZipUtils/NoWrite/zip-i.yaml +0 -10
  1915. data/doc/ri/ZipUtils/Verbose/cdesc-Verbose.yaml +0 -32
  1916. data/doc/ri/ZipUtils/Verbose/compress-i.yaml +0 -10
  1917. data/doc/ri/ZipUtils/Verbose/tar_bzip2-i.yaml +0 -10
  1918. data/doc/ri/ZipUtils/Verbose/tar_gzip-i.yaml +0 -10
  1919. data/doc/ri/ZipUtils/Verbose/untar_bzip2-i.yaml +0 -10
  1920. data/doc/ri/ZipUtils/Verbose/untar_gzip-i.yaml +0 -10
  1921. data/doc/ri/ZipUtils/Verbose/unzip-i.yaml +0 -10
  1922. data/doc/ri/ZipUtils/Verbose/zip-i.yaml +0 -10
  1923. data/doc/ri/ZipUtils/cdesc-ZipUtils.yaml +0 -50
  1924. data/doc/ri/ZipUtils/compress-i.yaml +0 -27
  1925. data/doc/ri/ZipUtils/tar_bzip-i.yaml +0 -12
  1926. data/doc/ri/ZipUtils/tar_bzip2-i.yaml +0 -15
  1927. data/doc/ri/ZipUtils/tar_gzip-i.yaml +0 -13
  1928. data/doc/ri/ZipUtils/tar_j-i.yaml +0 -12
  1929. data/doc/ri/ZipUtils/tar_z-i.yaml +0 -12
  1930. data/doc/ri/ZipUtils/tgz-i.yaml +0 -11
  1931. data/doc/ri/ZipUtils/untar_bzip-i.yaml +0 -12
  1932. data/doc/ri/ZipUtils/untar_bzip2-i.yaml +0 -15
  1933. data/doc/ri/ZipUtils/untar_gzip-i.yaml +0 -13
  1934. data/doc/ri/ZipUtils/untar_j-i.yaml +0 -12
  1935. data/doc/ri/ZipUtils/untar_z-i.yaml +0 -12
  1936. data/doc/ri/ZipUtils/unzip-i.yaml +0 -12
  1937. data/doc/ri/ZipUtils/zip-i.yaml +0 -12
  1938. data/doc/ri/created.rid +0 -1
  1939. data/lib/core/facets/kernel/suppress.rb +0 -18
  1940. data/lib/core/facets/string/to_time.rb +0 -15
  1941. data/lib/core/facets/time/to_date.rb +0 -26
  1942. data/test/core/string/test_to_time.rb +0 -15
  1943. data/test/core/time/test_to_date.rb +0 -12
@@ -57,7 +57,6 @@
57
57
  <tr valign="top">
58
58
  <td>In:</td>
59
59
  <td>
60
- <a href="../files/lib/core/facets/filetest/root_rb.html">lib/core/facets/filetest/root.rb</a>
61
60
  <a href="../files/lib/core/facets/filetest/root_rb.html">lib/core/facets/filetest/root.rb</a>
62
61
  </td>
63
62
  </tr>
@@ -75,8 +74,7 @@
75
74
 
76
75
  <div class="sectiontitle">Methods</div>
77
76
  <ul>
78
- <li><a href="#M000596">root?</a></li>
79
- <li><a href="#M000597">root?</a></li>
77
+ <li><a href="#M000329">root?</a></li>
80
78
  </ul>
81
79
 
82
80
 
@@ -87,34 +85,7 @@
87
85
  <div class="sectiontitle">Public Instance methods</div>
88
86
  <div class="method">
89
87
  <div class="title">
90
- <a name="M000596"></a><b>root?</b>(dir=nil)
91
- </div>
92
- <div class="description">
93
- <p>
94
- Is the specified directory the root directory?
95
- </p>
96
- <pre>
97
- CREDIT: Jeffrey Schwab
98
- </pre>
99
- </div>
100
- <div class="sourcecode">
101
- <p class="source-link">[ <a href="javascript:toggleSource('M000596_source')" id="l_M000596_source">show source</a> ]</p>
102
- <div id="M000596_source" class="dyn-source">
103
- <pre>
104
- <span class="ruby-comment cmt"># File lib/core/facets/filetest/root.rb, line 9</span>
105
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">root?</span>(<span class="ruby-identifier">dir</span>=<span class="ruby-keyword kw">nil</span>)
106
- <span class="ruby-identifier">pth</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">dir</span><span class="ruby-operator">||</span><span class="ruby-constant">Dir</span>.<span class="ruby-identifier">pwd</span>)
107
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pth</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'/'</span>
108
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pth</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^(\w:)?\/$/</span>
109
- <span class="ruby-keyword kw">false</span>
110
- <span class="ruby-keyword kw">end</span>
111
- </pre>
112
- </div>
113
- </div>
114
- </div>
115
- <div class="method">
116
- <div class="title">
117
- <a name="M000597"></a><b>root?</b>(dir=nil)
88
+ <a name="M000329"></a><b>root?</b>(dir=nil)
118
89
  </div>
119
90
  <div class="description">
120
91
  <p>
@@ -125,8 +96,8 @@ Is the specified directory the root directory?
125
96
  </pre>
126
97
  </div>
127
98
  <div class="sourcecode">
128
- <p class="source-link">[ <a href="javascript:toggleSource('M000597_source')" id="l_M000597_source">show source</a> ]</p>
129
- <div id="M000597_source" class="dyn-source">
99
+ <p class="source-link">[ <a href="javascript:toggleSource('M000329_source')" id="l_M000329_source">show source</a> ]</p>
100
+ <div id="M000329_source" class="dyn-source">
130
101
  <pre>
131
102
  <span class="ruby-comment cmt"># File lib/core/facets/filetest/root.rb, line 9</span>
132
103
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">root?</span>(<span class="ruby-identifier">dir</span>=<span class="ruby-keyword kw">nil</span>)
@@ -58,9 +58,6 @@
58
58
  <td>In:</td>
59
59
  <td>
60
60
  <a href="../files/lib/core/facets/numeric/round_rb.html">lib/core/facets/numeric/round.rb</a>
61
- <a href="../files/lib/core/facets/numeric/round_rb.html">lib/core/facets/numeric/round.rb</a>
62
- <a href="../files/lib/core/facets/float/round_rb.html">lib/core/facets/float/round.rb</a>
63
- <a href="../files/lib/core/facets/float/round_rb.html">lib/core/facets/float/round.rb</a>
64
61
  </td>
65
62
  </tr>
66
63
  <tr>
@@ -80,23 +77,13 @@ Object
80
77
  <div id="bodyContent">
81
78
  <div id="content">
82
79
 
83
- <div class="description"><p>
84
- require &#8216;facets/numeric/round&#8216;
85
- </p>
86
- </div>
87
80
 
88
81
 
89
82
 
90
83
  <div class="sectiontitle">Methods</div>
91
84
  <ul>
92
- <li><a href="#M000369">round_at</a></li>
93
- <li><a href="#M000375">round_at</a></li>
94
- <li><a href="#M000371">round_at</a></li>
95
- <li><a href="#M000373">round_at</a></li>
96
- <li><a href="#M000372">round_to</a></li>
97
- <li><a href="#M000374">round_to</a></li>
98
- <li><a href="#M000370">round_to</a></li>
99
- <li><a href="#M000376">round_to</a></li>
85
+ <li><a href="#M000197">round_at</a></li>
86
+ <li><a href="#M000198">round_to</a></li>
100
87
  </ul>
101
88
 
102
89
 
@@ -107,68 +94,7 @@ require &#8216;facets/numeric/round&#8216;
107
94
  <div class="sectiontitle">Public Instance methods</div>
108
95
  <div class="method">
109
96
  <div class="title">
110
- <a name="M000369"></a><b>round_at</b>( d )
111
- </div>
112
- <div class="sourcecode">
113
- <p class="source-link">[ <a href="javascript:toggleSource('M000369_source')" id="l_M000369_source">show source</a> ]</p>
114
- <div id="M000369_source" class="dyn-source">
115
- <pre>
116
- <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 41</span>
117
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>( <span class="ruby-identifier">d</span> ) <span class="ruby-comment cmt">#d=0</span>
118
- (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)
119
- <span class="ruby-keyword kw">end</span>
120
- </pre>
121
- </div>
122
- </div>
123
- </div>
124
- <div class="method">
125
- <div class="title">
126
- <a name="M000375"></a><b>round_at</b>( d )
127
- </div>
128
- <div class="description">
129
- <p>
130
- Rounds to the given decimal position.
131
- </p>
132
- <pre>
133
- 4.555.round_at(0) #=&gt; 5.0
134
- 4.555.round_at(1) #=&gt; 4.6
135
- 4.555.round_at(2) #=&gt; 4.56
136
- 4.555.round_at(3) #=&gt; 4.555
137
-
138
- CREDIT: Trans
139
- </pre>
140
- </div>
141
- <div class="sourcecode">
142
- <p class="source-link">[ <a href="javascript:toggleSource('M000375_source')" id="l_M000375_source">show source</a> ]</p>
143
- <div id="M000375_source" class="dyn-source">
144
- <pre>
145
- <span class="ruby-comment cmt"># File lib/core/facets/float/round.rb, line 17</span>
146
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>( <span class="ruby-identifier">d</span> ) <span class="ruby-comment cmt">#d=0</span>
147
- (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)
148
- <span class="ruby-keyword kw">end</span>
149
- </pre>
150
- </div>
151
- </div>
152
- </div>
153
- <div class="method">
154
- <div class="title">
155
- <a name="M000371"></a><b>round_at</b>( d )
156
- </div>
157
- <div class="sourcecode">
158
- <p class="source-link">[ <a href="javascript:toggleSource('M000371_source')" id="l_M000371_source">show source</a> ]</p>
159
- <div id="M000371_source" class="dyn-source">
160
- <pre>
161
- <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 41</span>
162
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>( <span class="ruby-identifier">d</span> ) <span class="ruby-comment cmt">#d=0</span>
163
- (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)
164
- <span class="ruby-keyword kw">end</span>
165
- </pre>
166
- </div>
167
- </div>
168
- </div>
169
- <div class="method">
170
- <div class="title">
171
- <a name="M000373"></a><b>round_at</b>( d )
97
+ <a name="M000197"></a><b>round_at</b>( d )
172
98
  </div>
173
99
  <div class="description">
174
100
  <p>
@@ -184,10 +110,10 @@ Rounds to the given decimal position.
184
110
  </pre>
185
111
  </div>
186
112
  <div class="sourcecode">
187
- <p class="source-link">[ <a href="javascript:toggleSource('M000373_source')" id="l_M000373_source">show source</a> ]</p>
188
- <div id="M000373_source" class="dyn-source">
113
+ <p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">show source</a> ]</p>
114
+ <div id="M000197_source" class="dyn-source">
189
115
  <pre>
190
- <span class="ruby-comment cmt"># File lib/core/facets/float/round.rb, line 17</span>
116
+ <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 53</span>
191
117
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>( <span class="ruby-identifier">d</span> ) <span class="ruby-comment cmt">#d=0</span>
192
118
  (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)
193
119
  <span class="ruby-keyword kw">end</span>
@@ -197,71 +123,7 @@ Rounds to the given decimal position.
197
123
  </div>
198
124
  <div class="method">
199
125
  <div class="title">
200
- <a name="M000372"></a><b>round_to</b>( n )
201
- </div>
202
- <div class="sourcecode">
203
- <p class="source-link">[ <a href="javascript:toggleSource('M000372_source')" id="l_M000372_source">show source</a> ]</p>
204
- <div id="M000372_source" class="dyn-source">
205
- <pre>
206
- <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 45</span>
207
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>( <span class="ruby-identifier">n</span> ) <span class="ruby-comment cmt">#n=1</span>
208
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
209
- (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)
210
- <span class="ruby-keyword kw">end</span>
211
- </pre>
212
- </div>
213
- </div>
214
- </div>
215
- <div class="method">
216
- <div class="title">
217
- <a name="M000374"></a><b>round_to</b>( n )
218
- </div>
219
- <div class="description">
220
- <p>
221
- Rounds to the nearest _n_th degree.
222
- </p>
223
- <pre>
224
- 4.555.round_to(1) #=&gt; 5.0
225
- 4.555.round_to(0.1) #=&gt; 4.6
226
- 4.555.round_to(0.01) #=&gt; 4.56
227
- 4.555.round_to(0) #=&gt; 4.555
228
-
229
- CREDIT: Trans
230
- </pre>
231
- </div>
232
- <div class="sourcecode">
233
- <p class="source-link">[ <a href="javascript:toggleSource('M000374_source')" id="l_M000374_source">show source</a> ]</p>
234
- <div id="M000374_source" class="dyn-source">
235
- <pre>
236
- <span class="ruby-comment cmt"># File lib/core/facets/float/round.rb, line 30</span>
237
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>( <span class="ruby-identifier">n</span> ) <span class="ruby-comment cmt">#n=1</span>
238
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
239
- (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)
240
- <span class="ruby-keyword kw">end</span>
241
- </pre>
242
- </div>
243
- </div>
244
- </div>
245
- <div class="method">
246
- <div class="title">
247
- <a name="M000370"></a><b>round_to</b>( n )
248
- </div>
249
- <div class="sourcecode">
250
- <p class="source-link">[ <a href="javascript:toggleSource('M000370_source')" id="l_M000370_source">show source</a> ]</p>
251
- <div id="M000370_source" class="dyn-source">
252
- <pre>
253
- <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 45</span>
254
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>( <span class="ruby-identifier">n</span> ) <span class="ruby-comment cmt">#n=1</span>
255
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
256
- (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)
257
- <span class="ruby-keyword kw">end</span>
258
- </pre>
259
- </div>
260
- </div>
261
- </div>
262
- <div class="method">
263
- <div class="title">
264
- <a name="M000376"></a><b>round_to</b>( n )
126
+ <a name="M000198"></a><b>round_to</b>( n )
265
127
  </div>
266
128
  <div class="description">
267
129
  <p>
@@ -277,10 +139,10 @@ Rounds to the nearest _n_th degree.
277
139
  </pre>
278
140
  </div>
279
141
  <div class="sourcecode">
280
- <p class="source-link">[ <a href="javascript:toggleSource('M000376_source')" id="l_M000376_source">show source</a> ]</p>
281
- <div id="M000376_source" class="dyn-source">
142
+ <p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">show source</a> ]</p>
143
+ <div id="M000198_source" class="dyn-source">
282
144
  <pre>
283
- <span class="ruby-comment cmt"># File lib/core/facets/float/round.rb, line 30</span>
145
+ <span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 66</span>
284
146
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>( <span class="ruby-identifier">n</span> ) <span class="ruby-comment cmt">#n=1</span>
285
147
  <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
286
148
  (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">round</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)
@@ -57,7 +57,6 @@
57
57
  <tr valign="top">
58
58
  <td>In:</td>
59
59
  <td>
60
- <a href="../files/lib/core/facets/kernel/instance_variables_rb.html">lib/core/facets/kernel/instance_variables.rb</a>
61
60
  <a href="../files/lib/core/facets/kernel/instance_variables_rb.html">lib/core/facets/kernel/instance_variables.rb</a>
62
61
  </td>
63
62
  </tr>
@@ -83,8 +82,7 @@ Object
83
82
 
84
83
  <div class="sectiontitle">Methods</div>
85
84
  <ul>
86
- <li><a href="#M000015">new</a></li>
87
- <li><a href="#M000016">new</a></li>
85
+ <li><a href="#M000008">new</a></li>
88
86
  </ul>
89
87
 
90
88
 
@@ -102,20 +100,6 @@ Object
102
100
  </tr>
103
101
  <tr valign='top'>
104
102
  <td class='attr-rw'>
105
- [RW]
106
- </td>
107
- <td class='attr-name'>age</td>
108
- <td class='attr-desc'></td>
109
- </tr>
110
- <tr valign='top'>
111
- <td class='attr-rw'>
112
- [RW]
113
- </td>
114
- <td class='attr-name'>name</td>
115
- <td class='attr-desc'></td>
116
- </tr>
117
- <tr valign='top'>
118
- <td class='attr-rw'>
119
103
  [RW]
120
104
  </td>
121
105
  <td class='attr-name'>name</td>
@@ -123,13 +107,6 @@ Object
123
107
  </tr>
124
108
  <tr valign='top'>
125
109
  <td class='attr-rw'>
126
- [RW]
127
- </td>
128
- <td class='attr-name'>phone</td>
129
- <td class='attr-desc'></td>
130
- </tr>
131
- <tr valign='top'>
132
- <td class='attr-rw'>
133
110
  [RW]
134
111
  </td>
135
112
  <td class='attr-name'>phone</td>
@@ -140,27 +117,11 @@ Object
140
117
  <div class="sectiontitle">Public Class methods</div>
141
118
  <div class="method">
142
119
  <div class="title">
143
- <a name="M000015"></a><b>new</b>(name, age, phone)
144
- </div>
145
- <div class="sourcecode">
146
- <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p>
147
- <div id="M000015_source" class="dyn-source">
148
- <pre>
149
- <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 89</span>
150
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">age</span>, <span class="ruby-identifier">phone</span>)
151
- <span class="ruby-ivar">@name</span>, <span class="ruby-ivar">@age</span>, <span class="ruby-ivar">@phone</span> = <span class="ruby-identifier">name</span>, <span class="ruby-identifier">age</span>, <span class="ruby-identifier">phone</span>
152
- <span class="ruby-keyword kw">end</span>
153
- </pre>
154
- </div>
155
- </div>
156
- </div>
157
- <div class="method">
158
- <div class="title">
159
- <a name="M000016"></a><b>new</b>(name, age, phone)
120
+ <a name="M000008"></a><b>new</b>(name, age, phone)
160
121
  </div>
161
122
  <div class="sourcecode">
162
- <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p>
163
- <div id="M000016_source" class="dyn-source">
123
+ <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p>
124
+ <div id="M000008_source" class="dyn-source">
164
125
  <pre>
165
126
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 89</span>
166
127
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">age</span>, <span class="ruby-identifier">phone</span>)
@@ -100,9 +100,9 @@ accorrding to the operation applied to it.
100
100
 
101
101
  <div class="sectiontitle">Methods</div>
102
102
  <ul>
103
- <li><a href="#M000400">method_missing</a></li>
104
- <li><a href="#M000398">new</a></li>
105
- <li><a href="#M000399">to_proc</a></li>
103
+ <li><a href="#M000214">method_missing</a></li>
104
+ <li><a href="#M000212">new</a></li>
105
+ <li><a href="#M000213">to_proc</a></li>
106
106
  </ul>
107
107
 
108
108
 
@@ -113,11 +113,11 @@ accorrding to the operation applied to it.
113
113
  <div class="sectiontitle">Public Class methods</div>
114
114
  <div class="method">
115
115
  <div class="title">
116
- <a name="M000398"></a><b>new</b>(&amp;function)
116
+ <a name="M000212"></a><b>new</b>(&amp;function)
117
117
  </div>
118
118
  <div class="sourcecode">
119
- <p class="source-link">[ <a href="javascript:toggleSource('M000398_source')" id="l_M000398_source">show source</a> ]</p>
120
- <div id="M000398_source" class="dyn-source">
119
+ <p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">show source</a> ]</p>
120
+ <div id="M000212_source" class="dyn-source">
121
121
  <pre>
122
122
  <span class="ruby-comment cmt"># File lib/core/facets/functor.rb, line 63</span>
123
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>)
@@ -130,7 +130,7 @@ accorrding to the operation applied to it.
130
130
  <div class="sectiontitle">Public Instance methods</div>
131
131
  <div class="method">
132
132
  <div class="title">
133
- <a name="M000400"></a><b>method_missing</b>(op, *args, &amp;blk)
133
+ <a name="M000214"></a><b>method_missing</b>(op, *args, &amp;blk)
134
134
  </div>
135
135
  <div class="description">
136
136
  <p>
@@ -138,8 +138,8 @@ Any action against the functor is processesd by the function.
138
138
  </p>
139
139
  </div>
140
140
  <div class="sourcecode">
141
- <p class="source-link">[ <a href="javascript:toggleSource('M000400_source')" id="l_M000400_source">show source</a> ]</p>
142
- <div id="M000400_source" class="dyn-source">
141
+ <p class="source-link">[ <a href="javascript:toggleSource('M000214_source')" id="l_M000214_source">show source</a> ]</p>
142
+ <div id="M000214_source" class="dyn-source">
143
143
  <pre>
144
144
  <span class="ruby-comment cmt"># File lib/core/facets/functor.rb, line 72</span>
145
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>)
@@ -151,11 +151,11 @@ Any action against the functor is processesd by the function.
151
151
  </div>
152
152
  <div class="method">
153
153
  <div class="title">
154
- <a name="M000399"></a><b>to_proc</b>()
154
+ <a name="M000213"></a><b>to_proc</b>()
155
155
  </div>
156
156
  <div class="sourcecode">
157
- <p class="source-link">[ <a href="javascript:toggleSource('M000399_source')" id="l_M000399_source">show source</a> ]</p>
158
- <div id="M000399_source" class="dyn-source">
157
+ <p class="source-link">[ <a href="javascript:toggleSource('M000213_source')" id="l_M000213_source">show source</a> ]</p>
158
+ <div id="M000213_source" class="dyn-source">
159
159
  <pre>
160
160
  <span class="ruby-comment cmt"># File lib/core/facets/functor.rb, line 67</span>
161
161
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
@@ -67,32 +67,7 @@
67
67
  <a href="../files/lib/core/facets/hash/merge_rb.html">lib/core/facets/hash/merge.rb</a>
68
68
  <a href="../files/lib/core/facets/hash/traverse_rb.html">lib/core/facets/hash/traverse.rb</a>
69
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/join_rb.html">lib/core/facets/hash/join.rb</a>
83
- <a href="../files/lib/core/facets/hash/slice_rb.html">lib/core/facets/hash/slice.rb</a>
84
- <a href="../files/lib/core/facets/hash/rekey_rb.html">lib/core/facets/hash/rekey.rb</a>
85
- <a href="../files/lib/core/facets/hash/argumentize_rb.html">lib/core/facets/hash/argumentize.rb</a>
86
- <a href="../files/lib/core/facets/hash/at_rb.html">lib/core/facets/hash/at.rb</a>
87
- <a href="../files/lib/core/facets/hash/alias_rb.html">lib/core/facets/hash/alias.rb</a>
88
- <a href="../files/lib/core/facets/hash/update_rb.html">lib/core/facets/hash/update.rb</a>
89
- <a href="../files/lib/core/facets/hash/autonew_rb.html">lib/core/facets/hash/autonew.rb</a>
90
- <a href="../files/lib/core/facets/hash/recursively_rb.html">lib/core/facets/hash/recursively.rb</a>
91
- <a href="../files/lib/core/facets/hash/except_rb.html">lib/core/facets/hash/except.rb</a>
92
- <a href="../files/lib/core/facets/hash/keys_rb.html">lib/core/facets/hash/keys.rb</a>
93
- <a href="../files/lib/core/facets/hash/merge_rb.html">lib/core/facets/hash/merge.rb</a>
94
- <a href="../files/lib/core/facets/hash/traverse_rb.html">lib/core/facets/hash/traverse.rb</a>
95
- <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/op_push_rb.html">lib/core/facets/hash/op_push.rb</a>
96
71
  <a href="../files/lib/core/facets/hash/inverse_rb.html">lib/core/facets/hash/inverse.rb</a>
97
72
  <a href="../files/lib/core/facets/hash/recursive_merge_rb.html">lib/core/facets/hash/recursive_merge.rb</a>
98
73
  <a href="../files/lib/core/facets/hash/to_proc_rb.html">lib/core/facets/hash/to_proc.rb</a>
@@ -135,109 +110,58 @@ Object
135
110
 
136
111
  <div class="sectiontitle">Methods</div>
137
112
  <ul>
138
- <li><a href="#M000152">&amp;</a></li>
139
- <li><a href="#M000203">&amp;</a></li>
140
- <li><a href="#M000156">*</a></li>
141
- <li><a href="#M000207">*</a></li>
142
- <li><a href="#M000205">+</a></li>
143
- <li><a href="#M000154">+</a></li>
144
- <li><a href="#M000155">-</a></li>
145
- <li><a href="#M000206">-</a></li>
146
- <li><a href="#M000182">&lt;&lt;</a></li>
147
- <li><a href="#M000131">&lt;&lt;</a></li>
148
- <li><a href="#M000130">alias!</a></li>
149
- <li><a href="#M000181">alias!</a></li>
150
- <li><a href="#M000180">argumentize</a></li>
151
- <li><a href="#M000231">argumentize</a></li>
152
- <li><a href="#M000187">autonew</a></li>
153
- <li><a href="#M000136">autonew</a></li>
154
- <li><a href="#M000167">collate</a></li>
155
- <li><a href="#M000218">collate</a></li>
156
- <li><a href="#M000168">collate!</a></li>
157
- <li><a href="#M000219">collate!</a></li>
158
- <li><a href="#M000169">delete_unless</a></li>
159
- <li><a href="#M000220">delete_unless</a></li>
160
- <li><a href="#M000170">delete_values</a></li>
161
- <li><a href="#M000221">delete_values</a></li>
162
- <li><a href="#M000222">delete_values_at</a></li>
163
- <li><a href="#M000171">delete_values_at</a></li>
164
- <li><a href="#M000215">diff</a></li>
165
- <li><a href="#M000164">diff</a></li>
166
- <li><a href="#M000146">each_with_key</a></li>
167
- <li><a href="#M000197">each_with_key</a></li>
168
- <li><a href="#M000140">except</a></li>
169
- <li><a href="#M000191">except</a></li>
170
- <li><a href="#M000192">except!</a></li>
171
- <li><a href="#M000141">except!</a></li>
172
- <li><a href="#M000166">graph!</a></li>
173
- <li><a href="#M000217">graph!</a></li>
174
- <li><a href="#M000193">has_keys?</a></li>
175
- <li><a href="#M000142">has_keys?</a></li>
176
- <li><a href="#M000144">has_only_keys?</a></li>
177
- <li><a href="#M000195">has_only_keys?</a></li>
178
- <li><a href="#M000162">insert</a></li>
179
- <li><a href="#M000213">insert</a></li>
180
- <li><a href="#M000157">inverse</a></li>
181
- <li><a href="#M000208">inverse</a></li>
182
- <li><a href="#M000175">join</a></li>
183
- <li><a href="#M000226">join</a></li>
184
- <li><a href="#M000194">keys?</a></li>
185
- <li><a href="#M000143">keys?</a></li>
186
- <li><a href="#M000216">mash!</a></li>
187
- <li><a href="#M000165">mash!</a></li>
188
- <li><a href="#M000196">only_keys?</a></li>
189
- <li><a href="#M000145">only_keys?</a></li>
190
- <li><a href="#M000158">recursive_merge</a></li>
191
- <li><a href="#M000209">recursive_merge</a></li>
192
- <li><a href="#M000210">recursive_merge!</a></li>
193
- <li><a href="#M000159">recursive_merge!</a></li>
194
- <li><a href="#M000189">recursively</a></li>
195
- <li><a href="#M000138">recursively</a></li>
196
- <li><a href="#M000190">recursively!</a></li>
197
- <li><a href="#M000139">recursively!</a></li>
198
- <li><a href="#M000229">rekey</a></li>
199
- <li><a href="#M000178">rekey</a></li>
200
- <li><a href="#M000230">rekey!</a></li>
201
- <li><a href="#M000179">rekey!</a></li>
202
- <li><a href="#M000135">replace_each</a></li>
203
- <li><a href="#M000186">replace_each</a></li>
204
- <li><a href="#M000147">reverse_merge</a></li>
205
- <li><a href="#M000198">reverse_merge</a></li>
206
- <li><a href="#M000148">reverse_merge!</a></li>
207
- <li><a href="#M000199">reverse_merge!</a></li>
208
- <li><a href="#M000200">reverse_update</a></li>
209
- <li><a href="#M000149">reverse_update</a></li>
210
- <li><a href="#M000163">select!</a></li>
211
- <li><a href="#M000214">select!</a></li>
212
- <li><a href="#M000176">slice</a></li>
213
- <li><a href="#M000227">slice</a></li>
214
- <li><a href="#M000228">slice!</a></li>
215
- <li><a href="#M000177">slice!</a></li>
216
- <li><a href="#M000224">swap!</a></li>
217
- <li><a href="#M000173">swap!</a></li>
218
- <li><a href="#M000129">to_h</a></li>
219
- <li><a href="#M000160">to_proc</a></li>
220
- <li><a href="#M000211">to_proc</a></li>
221
- <li><a href="#M000212">to_proc_with_reponse</a></li>
222
- <li><a href="#M000161">to_proc_with_reponse</a></li>
223
- <li><a href="#M000174">to_struct</a></li>
224
- <li><a href="#M000225">to_struct</a></li>
225
- <li><a href="#M000201">traverse</a></li>
226
- <li><a href="#M000150">traverse</a></li>
227
- <li><a href="#M000151">traverse!</a></li>
228
- <li><a href="#M000202">traverse!</a></li>
229
- <li><a href="#M000183">update_each</a></li>
230
- <li><a href="#M000132">update_each</a></li>
231
- <li><a href="#M000133">update_keys</a></li>
232
- <li><a href="#M000184">update_keys</a></li>
233
- <li><a href="#M000185">update_values</a></li>
234
- <li><a href="#M000134">update_values</a></li>
235
- <li><a href="#M000223">weave</a></li>
236
- <li><a href="#M000172">weave</a></li>
237
- <li><a href="#M000137">zipnew</a></li>
238
- <li><a href="#M000188">zipnew</a></li>
239
- <li><a href="#M000153">|</a></li>
240
- <li><a href="#M000204">|</a></li>
113
+ <li><a href="#M000096">&amp;</a></li>
114
+ <li><a href="#M000100">*</a></li>
115
+ <li><a href="#M000098">+</a></li>
116
+ <li><a href="#M000099">-</a></li>
117
+ <li><a href="#M000101">&lt;&lt;</a></li>
118
+ <li><a href="#M000075">alias!</a></li>
119
+ <li><a href="#M000125">argumentize</a></li>
120
+ <li><a href="#M000080">autonew</a></li>
121
+ <li><a href="#M000112">collate</a></li>
122
+ <li><a href="#M000113">collate!</a></li>
123
+ <li><a href="#M000114">delete_unless</a></li>
124
+ <li><a href="#M000115">delete_values</a></li>
125
+ <li><a href="#M000116">delete_values_at</a></li>
126
+ <li><a href="#M000109">diff</a></li>
127
+ <li><a href="#M000090">each_with_key</a></li>
128
+ <li><a href="#M000084">except</a></li>
129
+ <li><a href="#M000085">except!</a></li>
130
+ <li><a href="#M000111">graph!</a></li>
131
+ <li><a href="#M000086">has_keys?</a></li>
132
+ <li><a href="#M000088">has_only_keys?</a></li>
133
+ <li><a href="#M000107">insert</a></li>
134
+ <li><a href="#M000102">inverse</a></li>
135
+ <li><a href="#M000120">join</a></li>
136
+ <li><a href="#M000087">keys?</a></li>
137
+ <li><a href="#M000110">mash!</a></li>
138
+ <li><a href="#M000089">only_keys?</a></li>
139
+ <li><a href="#M000103">recursive_merge</a></li>
140
+ <li><a href="#M000104">recursive_merge!</a></li>
141
+ <li><a href="#M000082">recursively</a></li>
142
+ <li><a href="#M000083">recursively!</a></li>
143
+ <li><a href="#M000123">rekey</a></li>
144
+ <li><a href="#M000124">rekey!</a></li>
145
+ <li><a href="#M000079">replace_each</a></li>
146
+ <li><a href="#M000091">reverse_merge</a></li>
147
+ <li><a href="#M000092">reverse_merge!</a></li>
148
+ <li><a href="#M000093">reverse_update</a></li>
149
+ <li><a href="#M000108">select!</a></li>
150
+ <li><a href="#M000121">slice</a></li>
151
+ <li><a href="#M000122">slice!</a></li>
152
+ <li><a href="#M000118">swap!</a></li>
153
+ <li><a href="#M000074">to_h</a></li>
154
+ <li><a href="#M000105">to_proc</a></li>
155
+ <li><a href="#M000106">to_proc_with_reponse</a></li>
156
+ <li><a href="#M000119">to_struct</a></li>
157
+ <li><a href="#M000094">traverse</a></li>
158
+ <li><a href="#M000095">traverse!</a></li>
159
+ <li><a href="#M000076">update_each</a></li>
160
+ <li><a href="#M000077">update_keys</a></li>
161
+ <li><a href="#M000078">update_values</a></li>
162
+ <li><a href="#M000117">weave</a></li>
163
+ <li><a href="#M000081">zipnew</a></li>
164
+ <li><a href="#M000097">|</a></li>
241
165
  </ul>
242
166
 
243
167
 
@@ -248,46 +172,7 @@ Object
248
172
  <div class="sectiontitle">Public Class methods</div>
249
173
  <div class="method">
250
174
  <div class="title">
251
- <a name="M000187"></a><b>autonew</b>(*args)
252
- </div>
253
- <div class="description">
254
- <p>
255
- <a href="Hash.html">Hash</a> which auto initializes it&#8216;s children.
256
- </p>
257
- <pre>
258
- ah = Hash.autonew
259
- ah['section one']['param one'] = 4
260
- ah['section one']['param two'] = 5
261
- ah['section one']['param three'] = 2
262
- ah['section one']['param four'] = 3
263
-
264
- p ah
265
- # {&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}}
266
-
267
- p ah['section one'].keys
268
- # [&quot;param one&quot;, &quot;param four&quot;, &quot;param three&quot;, &quot;param two&quot;]
269
- </pre>
270
- <p>
271
- CREDIT: Trans CREDIT: Jan Molic
272
- </p>
273
- </div>
274
- <div class="sourcecode">
275
- <p class="source-link">[ <a href="javascript:toggleSource('M000187_source')" id="l_M000187_source">show source</a> ]</p>
276
- <div id="M000187_source" class="dyn-source">
277
- <pre>
278
- <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 20</span>
279
- <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>)
280
- <span class="ruby-comment cmt">#new(*args){|a,k| a[k] = self.class::new(*args)}</span>
281
- <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> ) }
282
- <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>)
283
- <span class="ruby-keyword kw">end</span>
284
- </pre>
285
- </div>
286
- </div>
287
- </div>
288
- <div class="method">
289
- <div class="title">
290
- <a name="M000136"></a><b>autonew</b>(*args)
175
+ <a name="M000080"></a><b>autonew</b>(*args)
291
176
  </div>
292
177
  <div class="description">
293
178
  <p>
@@ -311,8 +196,8 @@ CREDIT: Trans CREDIT: Jan Molic
311
196
  </p>
312
197
  </div>
313
198
  <div class="sourcecode">
314
- <p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show source</a> ]</p>
315
- <div id="M000136_source" class="dyn-source">
199
+ <p class="source-link">[ <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show source</a> ]</p>
200
+ <div id="M000080_source" class="dyn-source">
316
201
  <pre>
317
202
  <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 20</span>
318
203
  <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>)
@@ -326,37 +211,7 @@ CREDIT: Trans CREDIT: Jan Molic
326
211
  </div>
327
212
  <div class="method">
328
213
  <div class="title">
329
- <a name="M000137"></a><b>zipnew</b>(keys,values)
330
- </div>
331
- <div class="description">
332
- <p>
333
- Creates a new hash from two arrays &#8212;a keys array and a values array.
334
- </p>
335
- <pre>
336
- Hash.zipnew([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;], [1,2,3])
337
- #=&gt; { &quot;a&quot;=&gt;1, &quot;b&quot;=&gt;2, &quot;c&quot;=&gt;3 }
338
-
339
- CREDIT: Trans
340
- CREDIT: Ara T. Howard
341
- </pre>
342
- </div>
343
- <div class="sourcecode">
344
- <p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show source</a> ]</p>
345
- <div id="M000137_source" class="dyn-source">
346
- <pre>
347
- <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 35</span>
348
- <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>
349
- <span class="ruby-identifier">h</span> = {}
350
- <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>] }
351
- <span class="ruby-identifier">h</span>
352
- <span class="ruby-keyword kw">end</span>
353
- </pre>
354
- </div>
355
- </div>
356
- </div>
357
- <div class="method">
358
- <div class="title">
359
- <a name="M000188"></a><b>zipnew</b>(keys,values)
214
+ <a name="M000081"></a><b>zipnew</b>(keys,values)
360
215
  </div>
361
216
  <div class="description">
362
217
  <p>
@@ -371,8 +226,8 @@ Creates a new hash from two arrays &#8212;a keys array and a values array.
371
226
  </pre>
372
227
  </div>
373
228
  <div class="sourcecode">
374
- <p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">show source</a> ]</p>
375
- <div id="M000188_source" class="dyn-source">
229
+ <p class="source-link">[ <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show source</a> ]</p>
230
+ <div id="M000081_source" class="dyn-source">
376
231
  <pre>
377
232
  <span class="ruby-comment cmt"># File lib/core/facets/hash/autonew.rb, line 35</span>
378
233
  <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>
@@ -387,54 +242,7 @@ Creates a new hash from two arrays &#8212;a keys array and a values array.
387
242
  <div class="sectiontitle">Public Instance methods</div>
388
243
  <div class="method">
389
244
  <div class="title">
390
- <a name="M000152"></a><b>&amp;</b>(other)
391
- </div>
392
- <div class="description">
393
- <p>
394
- <a href="Hash.html">Hash</a> intersection. Two hashes intersect when their
395
- pairs are equal.
396
- </p>
397
- <pre>
398
- {:a=&gt;1,:b=&gt;2} &amp; {:a=&gt;1,:c=&gt;3} #=&gt; {:a=&gt;1}
399
- </pre>
400
- <p>
401
- A hash can also be intersected with an array to intersect keys only.
402
- </p>
403
- <pre>
404
- {:a=&gt;1,:b=&gt;2} &amp; [:a,:c] #=&gt; {:a=&gt;1}
405
- </pre>
406
- <p>
407
- The later form is similar to pairs_at. The differ only in that pairs_at
408
- will return a nil value for a key not in the hash, but #&amp; will not.
409
- </p>
410
- <pre>
411
- CREDIT: Trans
412
- </pre>
413
- </div>
414
- <div class="sourcecode">
415
- <p class="source-link">[ <a href="javascript:toggleSource('M000152_source')" id="l_M000152_source">show source</a> ]</p>
416
- <div id="M000152_source" class="dyn-source">
417
- <pre>
418
- <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 19</span>
419
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&amp;</span>(<span class="ruby-identifier">other</span>)
420
- <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">other</span>
421
- <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>
422
- <span class="ruby-identifier">k</span> = (<span class="ruby-identifier">keys</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">other</span>)
423
- <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>)]
424
- <span class="ruby-keyword kw">else</span>
425
- <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>
426
- <span class="ruby-identifier">a</span>.<span class="ruby-identifier">concat</span> <span class="ruby-identifier">kv</span>; <span class="ruby-identifier">a</span>
427
- <span class="ruby-keyword kw">end</span>
428
- <span class="ruby-constant">Hash</span>[<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>]
429
- <span class="ruby-keyword kw">end</span>
430
- <span class="ruby-keyword kw">end</span>
431
- </pre>
432
- </div>
433
- </div>
434
- </div>
435
- <div class="method">
436
- <div class="title">
437
- <a name="M000203"></a><b>&amp;</b>(other)
245
+ <a name="M000096"></a><b>&amp;</b>(other)
438
246
  </div>
439
247
  <div class="description">
440
248
  <p>
@@ -459,8 +267,8 @@ will return a nil value for a key not in the hash, but #&amp; will not.
459
267
  </pre>
460
268
  </div>
461
269
  <div class="sourcecode">
462
- <p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">show source</a> ]</p>
463
- <div id="M000203_source" class="dyn-source">
270
+ <p class="source-link">[ <a href="javascript:toggleSource('M000096_source')" id="l_M000096_source">show source</a> ]</p>
271
+ <div id="M000096_source" class="dyn-source">
464
272
  <pre>
465
273
  <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 19</span>
466
274
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&amp;</span>(<span class="ruby-identifier">other</span>)
@@ -481,37 +289,7 @@ will return a nil value for a key not in the hash, but #&amp; will not.
481
289
  </div>
482
290
  <div class="method">
483
291
  <div class="title">
484
- <a name="M000156"></a><b>*</b>(other)
485
- </div>
486
- <div class="description">
487
- <p>
488
- Like merge operator &#8217;+&#8217; but merges in reverse order.
489
- </p>
490
- <pre>
491
- h1 = { :a=&gt;1 }
492
- h2 = { :a=&gt;2, :b=&gt;3 }
493
-
494
- h1 + h2 #=&gt; { :a=&gt;2, :b=&gt;3 }
495
- h1 * h2 #=&gt; { :a=&gt;1, :b=&gt;3 }
496
-
497
- CREDIT: Trans
498
- </pre>
499
- </div>
500
- <div class="sourcecode">
501
- <p class="source-link">[ <a href="javascript:toggleSource('M000156_source')" id="l_M000156_source">show source</a> ]</p>
502
- <div id="M000156_source" class="dyn-source">
503
- <pre>
504
- <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 80</span>
505
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">other</span>)
506
- <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
507
- <span class="ruby-keyword kw">end</span>
508
- </pre>
509
- </div>
510
- </div>
511
- </div>
512
- <div class="method">
513
- <div class="title">
514
- <a name="M000207"></a><b>*</b>(other)
292
+ <a name="M000100"></a><b>*</b>(other)
515
293
  </div>
516
294
  <div class="description">
517
295
  <p>
@@ -528,8 +306,8 @@ Like merge operator &#8217;+&#8217; but merges in reverse order.
528
306
  </pre>
529
307
  </div>
530
308
  <div class="sourcecode">
531
- <p class="source-link">[ <a href="javascript:toggleSource('M000207_source')" id="l_M000207_source">show source</a> ]</p>
532
- <div id="M000207_source" class="dyn-source">
309
+ <p class="source-link">[ <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show source</a> ]</p>
310
+ <div id="M000100_source" class="dyn-source">
533
311
  <pre>
534
312
  <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 80</span>
535
313
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">other</span>)
@@ -541,7 +319,7 @@ Like merge operator &#8217;+&#8217; but merges in reverse order.
541
319
  </div>
542
320
  <div class="method">
543
321
  <div class="title">
544
- <a name="M000205"></a><b>+</b>(other)
322
+ <a name="M000098"></a><b>+</b>(other)
545
323
  </div>
546
324
  <div class="description">
547
325
  <p>
@@ -552,8 +330,8 @@ Operator for merge.
552
330
  </pre>
553
331
  </div>
554
332
  <div class="sourcecode">
555
- <p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">show source</a> ]</p>
556
- <div id="M000205_source" class="dyn-source">
333
+ <p class="source-link">[ <a href="javascript:toggleSource('M000098_source')" id="l_M000098_source">show source</a> ]</p>
334
+ <div id="M000098_source" class="dyn-source">
557
335
  <pre>
558
336
  <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 44</span>
559
337
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
@@ -565,69 +343,7 @@ Operator for merge.
565
343
  </div>
566
344
  <div class="method">
567
345
  <div class="title">
568
- <a name="M000154"></a><b>+</b>(other)
569
- </div>
570
- <div class="description">
571
- <p>
572
- Operator for merge.
573
- </p>
574
- <pre>
575
- CREDIT: Trans
576
- </pre>
577
- </div>
578
- <div class="sourcecode">
579
- <p class="source-link">[ <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">show source</a> ]</p>
580
- <div id="M000154_source" class="dyn-source">
581
- <pre>
582
- <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 44</span>
583
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
584
- <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">other</span>)
585
- <span class="ruby-keyword kw">end</span>
586
- </pre>
587
- </div>
588
- </div>
589
- </div>
590
- <div class="method">
591
- <div class="title">
592
- <a name="M000155"></a><b>-</b>(other)
593
- </div>
594
- <div class="description">
595
- <p>
596
- Operator for remove hash paris. If another hash is given the pairs are only
597
- removed if both key and value are equal. If an array is given then matching
598
- keys are removed.
599
- </p>
600
- <pre>
601
- CREDIT: Trans
602
- </pre>
603
- </div>
604
- <div class="sourcecode">
605
- <p class="source-link">[ <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">show source</a> ]</p>
606
- <div id="M000155_source" class="dyn-source">
607
- <pre>
608
- <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 54</span>
609
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
610
- <span class="ruby-identifier">h</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
611
- <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>)
612
- <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>
613
- <span class="ruby-identifier">h</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
614
- <span class="ruby-keyword kw">end</span>
615
- <span class="ruby-keyword kw">else</span>
616
- <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>
617
- <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>)
618
- <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>]
619
- <span class="ruby-keyword kw">end</span>
620
- <span class="ruby-keyword kw">end</span>
621
- <span class="ruby-keyword kw">end</span>
622
- <span class="ruby-identifier">h</span>
623
- <span class="ruby-keyword kw">end</span>
624
- </pre>
625
- </div>
626
- </div>
627
- </div>
628
- <div class="method">
629
- <div class="title">
630
- <a name="M000206"></a><b>-</b>(other)
346
+ <a name="M000099"></a><b>-</b>(other)
631
347
  </div>
632
348
  <div class="description">
633
349
  <p>
@@ -640,8 +356,8 @@ keys are removed.
640
356
  </pre>
641
357
  </div>
642
358
  <div class="sourcecode">
643
- <p class="source-link">[ <a href="javascript:toggleSource('M000206_source')" id="l_M000206_source">show source</a> ]</p>
644
- <div id="M000206_source" class="dyn-source">
359
+ <p class="source-link">[ <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show source</a> ]</p>
360
+ <div id="M000099_source" class="dyn-source">
645
361
  <pre>
646
362
  <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 54</span>
647
363
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
@@ -665,35 +381,7 @@ keys are removed.
665
381
  </div>
666
382
  <div class="method">
667
383
  <div class="title">
668
- <a name="M000182"></a><b>&lt;&lt;</b>(other)
669
- </div>
670
- <div class="description">
671
- <p>
672
- Can be used like update, or passed as two-element [key,value] array.
673
- </p>
674
- <pre>
675
- CREDIT: Trans
676
- </pre>
677
- </div>
678
- <div class="sourcecode">
679
- <p class="source-link">[ <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">show source</a> ]</p>
680
- <div id="M000182_source" class="dyn-source">
681
- <pre>
682
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 8</span>
683
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">other</span>)
684
- <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>)
685
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">other</span>)
686
- <span class="ruby-keyword kw">else</span>
687
- <span class="ruby-identifier">update</span>(<span class="ruby-identifier">other</span>)
688
- <span class="ruby-keyword kw">end</span>
689
- <span class="ruby-keyword kw">end</span>
690
- </pre>
691
- </div>
692
- </div>
693
- </div>
694
- <div class="method">
695
- <div class="title">
696
- <a name="M000131"></a><b>&lt;&lt;</b>(other)
384
+ <a name="M000101"></a><b>&lt;&lt;</b>(other)
697
385
  </div>
698
386
  <div class="description">
699
387
  <p>
@@ -704,16 +392,17 @@ Can be used like update, or passed as two-element [key,value] array.
704
392
  </pre>
705
393
  </div>
706
394
  <div class="sourcecode">
707
- <p class="source-link">[ <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show source</a> ]</p>
708
- <div id="M000131_source" class="dyn-source">
395
+ <p class="source-link">[ <a href="javascript:toggleSource('M000101_source')" id="l_M000101_source">show source</a> ]</p>
396
+ <div id="M000101_source" class="dyn-source">
709
397
  <pre>
710
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 8</span>
398
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/op_push.rb, line 8</span>
711
399
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">other</span>)
712
400
  <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>)
713
401
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">other</span>)
714
402
  <span class="ruby-keyword kw">else</span>
715
403
  <span class="ruby-identifier">update</span>(<span class="ruby-identifier">other</span>)
716
404
  <span class="ruby-keyword kw">end</span>
405
+ <span class="ruby-keyword kw">self</span>
717
406
  <span class="ruby-keyword kw">end</span>
718
407
  </pre>
719
408
  </div>
@@ -721,7 +410,7 @@ Can be used like update, or passed as two-element [key,value] array.
721
410
  </div>
722
411
  <div class="method">
723
412
  <div class="title">
724
- <a name="M000130"></a><b>alias!</b>(newkey, oldkey)
413
+ <a name="M000075"></a><b>alias!</b>(newkey, oldkey)
725
414
  </div>
726
415
  <div class="description">
727
416
  <p>
@@ -756,8 +445,8 @@ TODO: Rename to aliaskey or something else.
756
445
  </p>
757
446
  </div>
758
447
  <div class="sourcecode">
759
- <p class="source-link">[ <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show source</a> ]</p>
760
- <div id="M000130_source" class="dyn-source">
448
+ <p class="source-link">[ <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show source</a> ]</p>
449
+ <div id="M000075_source" class="dyn-source">
761
450
  <pre>
762
451
  <span class="ruby-comment cmt"># File lib/core/facets/hash/alias.rb, line 25</span>
763
452
  <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>)
@@ -770,94 +459,11 @@ TODO: Rename to aliaskey or something else.
770
459
  </div>
771
460
  <div class="method">
772
461
  <div class="title">
773
- <a name="M000181"></a><b>alias!</b>(newkey, oldkey)
462
+ <a name="M000125"></a><b>argumentize</b>(args_field=nil)
774
463
  </div>
775
464
  <div class="description">
776
465
  <p>
777
- Modifies the receiving <a href="Hash.html">Hash</a> so that the value
778
- previously referred to by <em>oldkey</em> is also referenced by
779
- <em>newkey</em>; <em>oldkey</em> is retained in the <a
780
- href="Hash.html">Hash</a>. If <em>oldkey</em> does not exist as a key in
781
- the <a href="Hash.html">Hash</a>, no change is effected.
782
- </p>
783
- <p>
784
- Returns a reference to the <a href="Hash.html">Hash</a>.
785
- </p>
786
- <pre>
787
- foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
788
- foo.alias!('name',:name) =&gt; { :name=&gt;'Gavin', 'name'=&gt;'Gavin', 'wife'=&gt;:Lisa }
789
-
790
- foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
791
- foo.alias!('spouse','wife') =&gt; { :name=&gt;'Gavin', 'wife'=&gt;:Lisa, 'spouse'=&gt;:Lisa }
792
-
793
- foo = { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
794
- foo.alias!('bar','foo') =&gt; { :name=&gt;'Gavin', 'wife'=&gt;:Lisa }
795
- </pre>
796
- <p>
797
- Note that if the <em>oldkey</em> is reassigned, the reference will no
798
- longer exist, and the <em>newkey</em> will remain as it was.
799
- </p>
800
- <pre>
801
- CREDIT: Gavin Sinclair
802
- </pre>
803
- <p>
804
- TODO: Rename to aliaskey or something else.
805
- </p>
806
- </div>
807
- <div class="sourcecode">
808
- <p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">show source</a> ]</p>
809
- <div id="M000181_source" class="dyn-source">
810
- <pre>
811
- <span class="ruby-comment cmt"># File lib/core/facets/hash/alias.rb, line 25</span>
812
- <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>)
813
- <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>)
814
- <span class="ruby-keyword kw">self</span>
815
- <span class="ruby-keyword kw">end</span>
816
- </pre>
817
- </div>
818
- </div>
819
- </div>
820
- <div class="method">
821
- <div class="title">
822
- <a name="M000180"></a><b>argumentize</b>(args_field=nil)
823
- </div>
824
- <div class="description">
825
- <p>
826
- Turn a hash into arguments.
827
- </p>
828
- <pre>
829
- h = { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; }
830
- h.argumentize #=&gt; [ [], { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; } ]
831
- h.argumentize(:list) #=&gt; [ [1,2], { :base =&gt; &quot;HI&quot; } ]
832
- h.argumentize(:base) #=&gt; [ [&quot;HI&quot;], { :list =&gt; [1,2] } ]
833
- </pre>
834
- </div>
835
- <div class="sourcecode">
836
- <p class="source-link">[ <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">show source</a> ]</p>
837
- <div id="M000180_source" class="dyn-source">
838
- <pre>
839
- <span class="ruby-comment cmt"># File lib/core/facets/hash/argumentize.rb, line 10</span>
840
- <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>)
841
- <span class="ruby-identifier">config</span> = <span class="ruby-identifier">dup</span>
842
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args_field</span>
843
- <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>
844
- <span class="ruby-keyword kw">else</span>
845
- <span class="ruby-identifier">args</span> = []
846
- <span class="ruby-keyword kw">end</span>
847
- <span class="ruby-identifier">args</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">config</span>
848
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">args</span>
849
- <span class="ruby-keyword kw">end</span>
850
- </pre>
851
- </div>
852
- </div>
853
- </div>
854
- <div class="method">
855
- <div class="title">
856
- <a name="M000231"></a><b>argumentize</b>(args_field=nil)
857
- </div>
858
- <div class="description">
859
- <p>
860
- Turn a hash into arguments.
466
+ Turn a hash into arguments.
861
467
  </p>
862
468
  <pre>
863
469
  h = { :list =&gt; [1,2], :base =&gt; &quot;HI&quot; }
@@ -867,8 +473,8 @@ Turn a hash into arguments.
867
473
  </pre>
868
474
  </div>
869
475
  <div class="sourcecode">
870
- <p class="source-link">[ <a href="javascript:toggleSource('M000231_source')" id="l_M000231_source">show source</a> ]</p>
871
- <div id="M000231_source" class="dyn-source">
476
+ <p class="source-link">[ <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">show source</a> ]</p>
477
+ <div id="M000125_source" class="dyn-source">
872
478
  <pre>
873
479
  <span class="ruby-comment cmt"># File lib/core/facets/hash/argumentize.rb, line 10</span>
874
480
  <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>)
@@ -887,7 +493,7 @@ Turn a hash into arguments.
887
493
  </div>
888
494
  <div class="method">
889
495
  <div class="title">
890
- <a name="M000167"></a><b>collate</b>(other_hash)
496
+ <a name="M000112"></a><b>collate</b>(other_hash)
891
497
  </div>
892
498
  <div class="description">
893
499
  <p>
@@ -902,8 +508,8 @@ to be arrays representing the values from both hashes.
902
508
  </pre>
903
509
  </div>
904
510
  <div class="sourcecode">
905
- <p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">show source</a> ]</p>
906
- <div id="M000167_source" class="dyn-source">
511
+ <p class="source-link">[ <a href="javascript:toggleSource('M000112_source')" id="l_M000112_source">show source</a> ]</p>
512
+ <div id="M000112_source" class="dyn-source">
907
513
  <pre>
908
514
  <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 11</span>
909
515
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate</span>(<span class="ruby-identifier">other_hash</span>)
@@ -915,90 +521,17 @@ to be arrays representing the values from both hashes.
915
521
  </div>
916
522
  <div class="method">
917
523
  <div class="title">
918
- <a name="M000218"></a><b>collate</b>(other_hash)
919
- </div>
920
- <div class="description">
921
- <p>
922
- Merge the values of this hash with those from another, setting all values
923
- to be arrays representing the values from both hashes.
924
- </p>
925
- <pre>
926
- { :a=&gt;1, :b=&gt;2 }.collate :a=&gt;3, :b=&gt;4, :c=&gt;5
927
- #=&gt; { :a=&gt;[1,3], :b=&gt;[2,4], :c=&gt;[5] }
928
-
929
- CREDIT: Gavin Kistner (Phrogz)
930
- </pre>
931
- </div>
932
- <div class="sourcecode">
933
- <p class="source-link">[ <a href="javascript:toggleSource('M000218_source')" id="l_M000218_source">show source</a> ]</p>
934
- <div id="M000218_source" class="dyn-source">
935
- <pre>
936
- <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 11</span>
937
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate</span>(<span class="ruby-identifier">other_hash</span>)
938
- <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
939
- <span class="ruby-keyword kw">end</span>
940
- </pre>
941
- </div>
942
- </div>
943
- </div>
944
- <div class="method">
945
- <div class="title">
946
- <a name="M000168"></a><b>collate!</b>(other_hash)
947
- </div>
948
- <div class="description">
949
- <p>
950
- The same as <a href="Hash.html#M000167">collate</a>, but modifies the
951
- receiver in place.
952
- </p>
953
- </div>
954
- <div class="sourcecode">
955
- <p class="source-link">[ <a href="javascript:toggleSource('M000168_source')" id="l_M000168_source">show source</a> ]</p>
956
- <div id="M000168_source" class="dyn-source">
957
- <pre>
958
- <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 17</span>
959
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
960
- <span class="ruby-comment cmt"># Prepare, ensuring every existing key is already an Array</span>
961
- <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>
962
- <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>)
963
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
964
- <span class="ruby-keyword kw">else</span>
965
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = [<span class="ruby-identifier">value</span>]
966
- <span class="ruby-keyword kw">end</span>
967
- <span class="ruby-keyword kw">end</span>
968
- <span class="ruby-comment cmt"># Collate with values from other_hash</span>
969
- <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>
970
- <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
971
- <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>)
972
- <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> )
973
- <span class="ruby-keyword kw">else</span>
974
- <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>
975
- <span class="ruby-keyword kw">end</span>
976
- <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>)
977
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
978
- <span class="ruby-keyword kw">else</span>
979
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = [<span class="ruby-identifier">value</span>]
980
- <span class="ruby-keyword kw">end</span>
981
- <span class="ruby-keyword kw">end</span>
982
- <span class="ruby-comment cmt">#each{ |key, value| value.uniq! } if options[ :uniq ]</span>
983
- <span class="ruby-keyword kw">self</span>
984
- <span class="ruby-keyword kw">end</span>
985
- </pre>
986
- </div>
987
- </div>
988
- </div>
989
- <div class="method">
990
- <div class="title">
991
- <a name="M000219"></a><b>collate!</b>(other_hash)
524
+ <a name="M000113"></a><b>collate!</b>(other_hash)
992
525
  </div>
993
526
  <div class="description">
994
527
  <p>
995
- The same as <a href="Hash.html#M000167">collate</a>, but modifies the
528
+ The same as <a href="Hash.html#M000112">collate</a>, but modifies the
996
529
  receiver in place.
997
530
  </p>
998
531
  </div>
999
532
  <div class="sourcecode">
1000
- <p class="source-link">[ <a href="javascript:toggleSource('M000219_source')" id="l_M000219_source">show source</a> ]</p>
1001
- <div id="M000219_source" class="dyn-source">
533
+ <p class="source-link">[ <a href="javascript:toggleSource('M000113_source')" id="l_M000113_source">show source</a> ]</p>
534
+ <div id="M000113_source" class="dyn-source">
1002
535
  <pre>
1003
536
  <span class="ruby-comment cmt"># File lib/core/facets/hash/collate.rb, line 17</span>
1004
537
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collate!</span>(<span class="ruby-identifier">other_hash</span>)
@@ -1033,31 +566,7 @@ receiver in place.
1033
566
  </div>
1034
567
  <div class="method">
1035
568
  <div class="title">
1036
- <a name="M000169"></a><b>delete_unless</b>( {|| ...}
1037
- </div>
1038
- <div class="description">
1039
- <p>
1040
- Inverse of delete_if.
1041
- </p>
1042
- <pre>
1043
- CREDIT: Daniel Schierbeck
1044
- </pre>
1045
- </div>
1046
- <div class="sourcecode">
1047
- <p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">show source</a> ]</p>
1048
- <div id="M000169_source" class="dyn-source">
1049
- <pre>
1050
- <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 11</span>
1051
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_unless</span> <span class="ruby-comment cmt">#:yield:</span>
1052
- <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>) }
1053
- <span class="ruby-keyword kw">end</span>
1054
- </pre>
1055
- </div>
1056
- </div>
1057
- </div>
1058
- <div class="method">
1059
- <div class="title">
1060
- <a name="M000220"></a><b>delete_unless</b>( {|| ...}
569
+ <a name="M000114"></a><b>delete_unless</b>( {|| ...}
1061
570
  </div>
1062
571
  <div class="description">
1063
572
  <p>
@@ -1068,8 +577,8 @@ Inverse of delete_if.
1068
577
  </pre>
1069
578
  </div>
1070
579
  <div class="sourcecode">
1071
- <p class="source-link">[ <a href="javascript:toggleSource('M000220_source')" id="l_M000220_source">show source</a> ]</p>
1072
- <div id="M000220_source" class="dyn-source">
580
+ <p class="source-link">[ <a href="javascript:toggleSource('M000114_source')" id="l_M000114_source">show source</a> ]</p>
581
+ <div id="M000114_source" class="dyn-source">
1073
582
  <pre>
1074
583
  <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 11</span>
1075
584
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_unless</span> <span class="ruby-comment cmt">#:yield:</span>
@@ -1081,36 +590,7 @@ Inverse of delete_if.
1081
590
  </div>
1082
591
  <div class="method">
1083
592
  <div class="title">
1084
- <a name="M000170"></a><b>delete_values</b>(*values)
1085
- </div>
1086
- <div class="description">
1087
- <p>
1088
- Minor modification to Ruby&#8216;s Hash#delete method allowing it to take
1089
- multiple keys.
1090
- </p>
1091
- <pre>
1092
- hsh = { :a =&gt; 1, :b =&gt; 2 }
1093
- hsh.delete_values(1)
1094
- hsh #=&gt; { :b =&gt; 2 }
1095
-
1096
- CREDIT: Daniel Schierbeck
1097
- </pre>
1098
- </div>
1099
- <div class="sourcecode">
1100
- <p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">show source</a> ]</p>
1101
- <div id="M000170_source" class="dyn-source">
1102
- <pre>
1103
- <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 24</span>
1104
- <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>)
1105
- <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>)) }
1106
- <span class="ruby-keyword kw">end</span>
1107
- </pre>
1108
- </div>
1109
- </div>
1110
- </div>
1111
- <div class="method">
1112
- <div class="title">
1113
- <a name="M000221"></a><b>delete_values</b>(*values)
593
+ <a name="M000115"></a><b>delete_values</b>(*values)
1114
594
  </div>
1115
595
  <div class="description">
1116
596
  <p>
@@ -1126,8 +606,8 @@ multiple keys.
1126
606
  </pre>
1127
607
  </div>
1128
608
  <div class="sourcecode">
1129
- <p class="source-link">[ <a href="javascript:toggleSource('M000221_source')" id="l_M000221_source">show source</a> ]</p>
1130
- <div id="M000221_source" class="dyn-source">
609
+ <p class="source-link">[ <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">show source</a> ]</p>
610
+ <div id="M000115_source" class="dyn-source">
1131
611
  <pre>
1132
612
  <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 24</span>
1133
613
  <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>)
@@ -1139,42 +619,7 @@ multiple keys.
1139
619
  </div>
1140
620
  <div class="method">
1141
621
  <div class="title">
1142
- <a name="M000222"></a><b>delete_values_at</b>(*keys, &amp;yld)
1143
- </div>
1144
- <div class="description">
1145
- <p>
1146
- Minor modification to Ruby&#8216;s Hash#delete method allowing it to take
1147
- multiple keys.
1148
- </p>
1149
- <p>
1150
- This works niely with hash#[] and <a href="Hash.html">Hash</a>#[]= facets.
1151
- </p>
1152
- <pre>
1153
- hsh[:a, :b, :c] = 1, 2, 3
1154
-
1155
- a, b, c = hsh.delete_values_at(:a, :b, :c)
1156
-
1157
- [a, b, c] #=&gt; [1, 2, 3]
1158
- hsh #=&gt; {}
1159
-
1160
- CREDIT: Daniel Schierbeck
1161
- </pre>
1162
- </div>
1163
- <div class="sourcecode">
1164
- <p class="source-link">[ <a href="javascript:toggleSource('M000222_source')" id="l_M000222_source">show source</a> ]</p>
1165
- <div id="M000222_source" class="dyn-source">
1166
- <pre>
1167
- <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 42</span>
1168
- <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>)
1169
- <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>) }
1170
- <span class="ruby-keyword kw">end</span>
1171
- </pre>
1172
- </div>
1173
- </div>
1174
- </div>
1175
- <div class="method">
1176
- <div class="title">
1177
- <a name="M000171"></a><b>delete_values_at</b>(*keys, &amp;yld)
622
+ <a name="M000116"></a><b>delete_values_at</b>(*keys, &amp;yld)
1178
623
  </div>
1179
624
  <div class="description">
1180
625
  <p>
@@ -1196,8 +641,8 @@ This works niely with hash#[] and <a href="Hash.html">Hash</a>#[]= facets.
1196
641
  </pre>
1197
642
  </div>
1198
643
  <div class="sourcecode">
1199
- <p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show source</a> ]</p>
1200
- <div id="M000171_source" class="dyn-source">
644
+ <p class="source-link">[ <a href="javascript:toggleSource('M000116_source')" id="l_M000116_source">show source</a> ]</p>
645
+ <div id="M000116_source" class="dyn-source">
1201
646
  <pre>
1202
647
  <span class="ruby-comment cmt"># File lib/core/facets/hash/delete.rb, line 42</span>
1203
648
  <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>)
@@ -1209,30 +654,7 @@ This works niely with hash#[] and <a href="Hash.html">Hash</a>#[]= facets.
1209
654
  </div>
1210
655
  <div class="method">
1211
656
  <div class="title">
1212
- <a name="M000215"></a><b>diff</b>(hash)
1213
- </div>
1214
- <div class="description">
1215
- <p>
1216
- Difference comparison of two hashes.
1217
- </p>
1218
- </div>
1219
- <div class="sourcecode">
1220
- <p class="source-link">[ <a href="javascript:toggleSource('M000215_source')" id="l_M000215_source">show source</a> ]</p>
1221
- <div id="M000215_source" class="dyn-source">
1222
- <pre>
1223
- <span class="ruby-comment cmt"># File lib/core/facets/hash/diff.rb, line 5</span>
1224
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff</span>(<span class="ruby-identifier">hash</span>)
1225
- <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> }
1226
- <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>) }
1227
- <span class="ruby-identifier">h1</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">h2</span>)
1228
- <span class="ruby-keyword kw">end</span>
1229
- </pre>
1230
- </div>
1231
- </div>
1232
- </div>
1233
- <div class="method">
1234
- <div class="title">
1235
- <a name="M000164"></a><b>diff</b>(hash)
657
+ <a name="M000109"></a><b>diff</b>(hash)
1236
658
  </div>
1237
659
  <div class="description">
1238
660
  <p>
@@ -1240,8 +662,8 @@ Difference comparison of two hashes.
1240
662
  </p>
1241
663
  </div>
1242
664
  <div class="sourcecode">
1243
- <p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">show source</a> ]</p>
1244
- <div id="M000164_source" class="dyn-source">
665
+ <p class="source-link">[ <a href="javascript:toggleSource('M000109_source')" id="l_M000109_source">show source</a> ]</p>
666
+ <div id="M000109_source" class="dyn-source">
1245
667
  <pre>
1246
668
  <span class="ruby-comment cmt"># File lib/core/facets/hash/diff.rb, line 5</span>
1247
669
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff</span>(<span class="ruby-identifier">hash</span>)
@@ -1255,7 +677,7 @@ Difference comparison of two hashes.
1255
677
  </div>
1256
678
  <div class="method">
1257
679
  <div class="title">
1258
- <a name="M000146"></a><b>each_with_key</b>( &amp;yld )
680
+ <a name="M000090"></a><b>each_with_key</b>( &amp;yld )
1259
681
  </div>
1260
682
  <div class="description">
1261
683
  <p>
@@ -1267,8 +689,8 @@ Each with key is like each_pair but reverses the order the parameters to
1267
689
  </pre>
1268
690
  </div>
1269
691
  <div class="sourcecode">
1270
- <p class="source-link">[ <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">show source</a> ]</p>
1271
- <div id="M000146_source" class="dyn-source">
692
+ <p class="source-link">[ <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show source</a> ]</p>
693
+ <div id="M000090_source" class="dyn-source">
1272
694
  <pre>
1273
695
  <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 40</span>
1274
696
  <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> )
@@ -1280,24 +702,20 @@ Each with key is like each_pair but reverses the order the parameters to
1280
702
  </div>
1281
703
  <div class="method">
1282
704
  <div class="title">
1283
- <a name="M000197"></a><b>each_with_key</b>( &amp;yld )
705
+ <a name="M000084"></a><b>except</b>(*less_keys)
1284
706
  </div>
1285
707
  <div class="description">
1286
708
  <p>
1287
- Each with key is like each_pair but reverses the order the parameters to
1288
- [value,key] instead of [key,value].
709
+ Returns a new hash less the given keys.
1289
710
  </p>
1290
- <pre>
1291
- CREDIT: Trans
1292
- </pre>
1293
711
  </div>
1294
712
  <div class="sourcecode">
1295
- <p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">show source</a> ]</p>
1296
- <div id="M000197_source" class="dyn-source">
713
+ <p class="source-link">[ <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show source</a> ]</p>
714
+ <div id="M000084_source" class="dyn-source">
1297
715
  <pre>
1298
- <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 40</span>
1299
- <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> )
1300
- <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>) }
716
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 5</span>
717
+ <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>)
718
+ <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>)
1301
719
  <span class="ruby-keyword kw">end</span>
1302
720
  </pre>
1303
721
  </div>
@@ -1305,156 +723,46 @@ Each with key is like each_pair but reverses the order the parameters to
1305
723
  </div>
1306
724
  <div class="method">
1307
725
  <div class="title">
1308
- <a name="M000140"></a><b>except</b>(*less_keys)
726
+ <a name="M000085"></a><b>except!</b>(*less_keys)
1309
727
  </div>
1310
728
  <div class="description">
1311
729
  <p>
1312
- Returns a new hash less the given keys.
730
+ Replaces hash with new hash less the given keys. This returns the hash of
731
+ keys removed.
1313
732
  </p>
733
+ <pre>
734
+ h = {:a=&gt;1, :b=&gt;2, :c=&gt;3}
735
+ h.except!(:a) #=&gt; {:a=&gt;1}
736
+ h #=&gt; {:b=&gt;2,:c=&gt;3}
737
+ </pre>
1314
738
  </div>
1315
739
  <div class="sourcecode">
1316
- <p class="source-link">[ <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show source</a> ]</p>
1317
- <div id="M000140_source" class="dyn-source">
740
+ <p class="source-link">[ <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show source</a> ]</p>
741
+ <div id="M000085_source" class="dyn-source">
1318
742
  <pre>
1319
- <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 5</span>
1320
- <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>)
1321
- <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>)
1322
- <span class="ruby-keyword kw">end</span>
743
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 18</span>
744
+ <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>)
745
+ <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
746
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>))
747
+ <span class="ruby-identifier">removed</span>
748
+ <span class="ruby-keyword kw">end</span>
1323
749
  </pre>
1324
750
  </div>
1325
751
  </div>
1326
752
  </div>
1327
753
  <div class="method">
1328
754
  <div class="title">
1329
- <a name="M000191"></a><b>except</b>(*less_keys)
755
+ <a name="M000111"></a><b>graph!</b>(&amp;yld)
1330
756
  </div>
1331
757
  <div class="description">
1332
758
  <p>
1333
- Returns a new hash less the given keys.
759
+ Alias for mash!
1334
760
  </p>
1335
761
  </div>
1336
- <div class="sourcecode">
1337
- <p class="source-link">[ <a href="javascript:toggleSource('M000191_source')" id="l_M000191_source">show source</a> ]</p>
1338
- <div id="M000191_source" class="dyn-source">
1339
- <pre>
1340
- <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 5</span>
1341
- <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>)
1342
- <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>)
1343
- <span class="ruby-keyword kw">end</span>
1344
- </pre>
1345
- </div>
1346
- </div>
1347
- </div>
1348
- <div class="method">
1349
- <div class="title">
1350
- <a name="M000192"></a><b>except!</b>(*less_keys)
1351
- </div>
1352
- <div class="description">
1353
- <p>
1354
- Replaces hash with new hash less the given keys. This returns the hash of
1355
- keys removed.
1356
- </p>
1357
- <pre>
1358
- h = {:a=&gt;1, :b=&gt;2, :c=&gt;3}
1359
- h.except!(:a) #=&gt; {:a=&gt;1}
1360
- h #=&gt; {:b=&gt;2,:c=&gt;3}
1361
- </pre>
1362
- </div>
1363
- <div class="sourcecode">
1364
- <p class="source-link">[ <a href="javascript:toggleSource('M000192_source')" id="l_M000192_source">show source</a> ]</p>
1365
- <div id="M000192_source" class="dyn-source">
1366
- <pre>
1367
- <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 16</span>
1368
- <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>)
1369
- <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1370
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>))
1371
- <span class="ruby-identifier">removed</span>
1372
- <span class="ruby-keyword kw">end</span>
1373
- </pre>
1374
- </div>
1375
- </div>
1376
- </div>
1377
- <div class="method">
1378
- <div class="title">
1379
- <a name="M000141"></a><b>except!</b>(*less_keys)
1380
- </div>
1381
- <div class="description">
1382
- <p>
1383
- Replaces hash with new hash less the given keys. This returns the hash of
1384
- keys removed.
1385
- </p>
1386
- <pre>
1387
- h = {:a=&gt;1, :b=&gt;2, :c=&gt;3}
1388
- h.except!(:a) #=&gt; {:a=&gt;1}
1389
- h #=&gt; {:b=&gt;2,:c=&gt;3}
1390
- </pre>
1391
- </div>
1392
- <div class="sourcecode">
1393
- <p class="source-link">[ <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">show source</a> ]</p>
1394
- <div id="M000141_source" class="dyn-source">
1395
- <pre>
1396
- <span class="ruby-comment cmt"># File lib/core/facets/hash/except.rb, line 16</span>
1397
- <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>)
1398
- <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>)
1399
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">less_keys</span>))
1400
- <span class="ruby-identifier">removed</span>
1401
- <span class="ruby-keyword kw">end</span>
1402
- </pre>
1403
- </div>
1404
- </div>
1405
- </div>
1406
- <div class="method">
1407
- <div class="title">
1408
- <a name="M000166"></a><b>graph!</b>(&amp;yld)
1409
- </div>
1410
- <div class="description">
1411
- <p>
1412
- Alias for mash!
1413
- </p>
1414
- </div>
1415
- </div>
1416
- <div class="method">
1417
- <div class="title">
1418
- <a name="M000217"></a><b>graph!</b>(&amp;yld)
1419
- </div>
1420
- <div class="description">
1421
- <p>
1422
- Alias for mash!
1423
- </p>
1424
- </div>
1425
- </div>
1426
- <div class="method">
1427
- <div class="title">
1428
- <a name="M000193"></a><b>has_keys?</b>(*check_keys)
1429
- </div>
1430
- <div class="description">
1431
- <p>
1432
- Returns true or false whether the hash contains the given keys.
1433
- </p>
1434
- <pre>
1435
- h = { :a =&gt; 1, :b =&gt; 2 }
1436
- h.has_keys?( :a ) #=&gt; true
1437
- h.has_keys?( :c ) #=&gt; false
1438
-
1439
- CREDIT: Trans
1440
- </pre>
1441
- </div>
1442
- <div class="sourcecode">
1443
- <p class="source-link">[ <a href="javascript:toggleSource('M000193_source')" id="l_M000193_source">show source</a> ]</p>
1444
- <div id="M000193_source" class="dyn-source">
1445
- <pre>
1446
- <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 12</span>
1447
- <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>)
1448
- <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>
1449
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">unknown_keys</span>.<span class="ruby-identifier">empty?</span>
1450
- <span class="ruby-keyword kw">end</span>
1451
- </pre>
1452
- </div>
1453
- </div>
1454
762
  </div>
1455
763
  <div class="method">
1456
764
  <div class="title">
1457
- <a name="M000142"></a><b>has_keys?</b>(*check_keys)
765
+ <a name="M000086"></a><b>has_keys?</b>(*check_keys)
1458
766
  </div>
1459
767
  <div class="description">
1460
768
  <p>
@@ -1470,12 +778,11 @@ Returns true or false whether the hash contains the given keys.
1470
778
  </div>
1471
779
  <div class="aka">
1472
780
  This method is also aliased as
1473
- <a href="Hash.html#M000143">keys?</a>
1474
- <a href="Hash.html#M000194">keys?</a>
781
+ <a href="Hash.html#M000087">keys?</a>
1475
782
  </div>
1476
783
  <div class="sourcecode">
1477
- <p class="source-link">[ <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">show source</a> ]</p>
1478
- <div id="M000142_source" class="dyn-source">
784
+ <p class="source-link">[ <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show source</a> ]</p>
785
+ <div id="M000086_source" class="dyn-source">
1479
786
  <pre>
1480
787
  <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 12</span>
1481
788
  <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>)
@@ -1488,7 +795,7 @@ Returns true or false whether the hash contains the given keys.
1488
795
  </div>
1489
796
  <div class="method">
1490
797
  <div class="title">
1491
- <a name="M000144"></a><b>has_only_keys?</b>(*check_keys)
798
+ <a name="M000088"></a><b>has_only_keys?</b>(*check_keys)
1492
799
  </div>
1493
800
  <div class="description">
1494
801
  <p>
@@ -1505,42 +812,11 @@ false.
1505
812
  </div>
1506
813
  <div class="aka">
1507
814
  This method is also aliased as
1508
- <a href="Hash.html#M000145">only_keys?</a>
1509
- <a href="Hash.html#M000196">only_keys?</a>
1510
- </div>
1511
- <div class="sourcecode">
1512
- <p class="source-link">[ <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">show source</a> ]</p>
1513
- <div id="M000144_source" class="dyn-source">
1514
- <pre>
1515
- <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 28</span>
1516
- <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>)
1517
- <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>
1518
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">unknown_keys</span>.<span class="ruby-identifier">empty?</span>
1519
- <span class="ruby-keyword kw">end</span>
1520
- </pre>
1521
- </div>
1522
- </div>
815
+ <a href="Hash.html#M000089">only_keys?</a>
1523
816
  </div>
1524
- <div class="method">
1525
- <div class="title">
1526
- <a name="M000195"></a><b>has_only_keys?</b>(*check_keys)
1527
- </div>
1528
- <div class="description">
1529
- <p>
1530
- Returns true if the hash contains <em>only</em> the given keys, otherwise
1531
- false.
1532
- </p>
1533
- <pre>
1534
- h = { :a =&gt; 1, :b =&gt; 2 }
1535
- h.has_only_keys?( :a, :b ) #=&gt; true
1536
- h.has_only_keys?( :a ) #=&gt; false
1537
-
1538
- CREDIT: Trans
1539
- </pre>
1540
- </div>
1541
817
  <div class="sourcecode">
1542
- <p class="source-link">[ <a href="javascript:toggleSource('M000195_source')" id="l_M000195_source">show source</a> ]</p>
1543
- <div id="M000195_source" class="dyn-source">
818
+ <p class="source-link">[ <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show source</a> ]</p>
819
+ <div id="M000088_source" class="dyn-source">
1544
820
  <pre>
1545
821
  <span class="ruby-comment cmt"># File lib/core/facets/hash/keys.rb, line 28</span>
1546
822
  <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>)
@@ -1553,39 +829,7 @@ false.
1553
829
  </div>
1554
830
  <div class="method">
1555
831
  <div class="title">
1556
- <a name="M000162"></a><b>insert</b>(name, value)
1557
- </div>
1558
- <div class="description">
1559
- <p>
1560
- As with store but only if the key isn&#8216;t already in the hash.
1561
- </p>
1562
- <p>
1563
- TODO: Would store? be a better name?
1564
- </p>
1565
- <pre>
1566
- CREDIT: Trans
1567
- </pre>
1568
- </div>
1569
- <div class="sourcecode">
1570
- <p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">show source</a> ]</p>
1571
- <div id="M000162_source" class="dyn-source">
1572
- <pre>
1573
- <span class="ruby-comment cmt"># File lib/core/facets/hash/insert.rb, line 10</span>
1574
- <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>)
1575
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key?</span>(<span class="ruby-identifier">name</span>)
1576
- <span class="ruby-keyword kw">false</span>
1577
- <span class="ruby-keyword kw">else</span>
1578
- <span class="ruby-identifier">store</span>(<span class="ruby-identifier">name</span>,<span class="ruby-identifier">value</span>)
1579
- <span class="ruby-keyword kw">true</span>
1580
- <span class="ruby-keyword kw">end</span>
1581
- <span class="ruby-keyword kw">end</span>
1582
- </pre>
1583
- </div>
1584
- </div>
1585
- </div>
1586
- <div class="method">
1587
- <div class="title">
1588
- <a name="M000213"></a><b>insert</b>(name, value)
832
+ <a name="M000107"></a><b>insert</b>(name, value)
1589
833
  </div>
1590
834
  <div class="description">
1591
835
  <p>
@@ -1599,8 +843,8 @@ TODO: Would store? be a better name?
1599
843
  </pre>
1600
844
  </div>
1601
845
  <div class="sourcecode">
1602
- <p class="source-link">[ <a href="javascript:toggleSource('M000213_source')" id="l_M000213_source">show source</a> ]</p>
1603
- <div id="M000213_source" class="dyn-source">
846
+ <p class="source-link">[ <a href="javascript:toggleSource('M000107_source')" id="l_M000107_source">show source</a> ]</p>
847
+ <div id="M000107_source" class="dyn-source">
1604
848
  <pre>
1605
849
  <span class="ruby-comment cmt"># File lib/core/facets/hash/insert.rb, line 10</span>
1606
850
  <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>)
@@ -1617,51 +861,11 @@ TODO: Would store? be a better name?
1617
861
  </div>
1618
862
  <div class="method">
1619
863
  <div class="title">
1620
- <a name="M000157"></a><b>inverse</b>()
1621
- </div>
1622
- <div class="description">
1623
- <p>
1624
- Create a &quot;true&quot; <a href="Hash.html#M000157">inverse</a> hash by
1625
- storing mutliple values in Arrays.
1626
- </p>
1627
- <pre>
1628
- 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}
1629
-
1630
- h.invert #=&gt; {2=&gt;&quot;d&quot;, 3=&gt;&quot;f&quot;, 9=&gt;&quot;g&quot;}
1631
- 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;]}
1632
- 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}
1633
- h.inverse.inverse == h #=&gt; true
1634
-
1635
- CREDIT: Tilo Sloboda
1636
- </pre>
1637
- </div>
1638
- <div class="sourcecode">
1639
- <p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">show source</a> ]</p>
1640
- <div id="M000157_source" class="dyn-source">
1641
- <pre>
1642
- <span class="ruby-comment cmt"># File lib/core/facets/hash/inverse.rb, line 14</span>
1643
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inverse</span>
1644
- <span class="ruby-identifier">i</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
1645
- <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>
1646
- <span class="ruby-keyword kw">if</span> (<span class="ruby-constant">Array</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">v</span>)
1647
- <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> ) }
1648
- <span class="ruby-keyword kw">else</span>
1649
- <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> )
1650
- <span class="ruby-keyword kw">end</span>
1651
- }
1652
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">i</span>
1653
- <span class="ruby-keyword kw">end</span>
1654
- </pre>
1655
- </div>
1656
- </div>
1657
- </div>
1658
- <div class="method">
1659
- <div class="title">
1660
- <a name="M000208"></a><b>inverse</b>()
864
+ <a name="M000102"></a><b>inverse</b>()
1661
865
  </div>
1662
866
  <div class="description">
1663
867
  <p>
1664
- Create a &quot;true&quot; <a href="Hash.html#M000157">inverse</a> hash by
868
+ Create a &quot;true&quot; <a href="Hash.html#M000102">inverse</a> hash by
1665
869
  storing mutliple values in Arrays.
1666
870
  </p>
1667
871
  <pre>
@@ -1676,8 +880,8 @@ storing mutliple values in Arrays.
1676
880
  </pre>
1677
881
  </div>
1678
882
  <div class="sourcecode">
1679
- <p class="source-link">[ <a href="javascript:toggleSource('M000208_source')" id="l_M000208_source">show source</a> ]</p>
1680
- <div id="M000208_source" class="dyn-source">
883
+ <p class="source-link">[ <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show source</a> ]</p>
884
+ <div id="M000102_source" class="dyn-source">
1681
885
  <pre>
1682
886
  <span class="ruby-comment cmt"># File lib/core/facets/hash/inverse.rb, line 14</span>
1683
887
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inverse</span>
@@ -1697,33 +901,7 @@ storing mutliple values in Arrays.
1697
901
  </div>
1698
902
  <div class="method">
1699
903
  <div class="title">
1700
- <a name="M000175"></a><b>join</b>(pair_divider='', elem_divider='')
1701
- </div>
1702
- <div class="description">
1703
- <p>
1704
- Like Array#join but specialized to <a href="Hash.html">Hash</a>.
1705
- </p>
1706
- <pre>
1707
- CREDIT: Mauricio Fernandez
1708
- </pre>
1709
- </div>
1710
- <div class="sourcecode">
1711
- <p class="source-link">[ <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show source</a> ]</p>
1712
- <div id="M000175_source" class="dyn-source">
1713
- <pre>
1714
- <span class="ruby-comment cmt"># File lib/core/facets/hash/join.rb, line 7</span>
1715
- <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>)
1716
- <span class="ruby-identifier">s</span> = []
1717
- <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> }
1718
- <span class="ruby-identifier">s</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">elem_divider</span>)
1719
- <span class="ruby-keyword kw">end</span>
1720
- </pre>
1721
- </div>
1722
- </div>
1723
- </div>
1724
- <div class="method">
1725
- <div class="title">
1726
- <a name="M000226"></a><b>join</b>(pair_divider='', elem_divider='')
904
+ <a name="M000120"></a><b>join</b>(pair_divider='', elem_divider='')
1727
905
  </div>
1728
906
  <div class="description">
1729
907
  <p>
@@ -1734,8 +912,8 @@ Like Array#join but specialized to <a href="Hash.html">Hash</a>.
1734
912
  </pre>
1735
913
  </div>
1736
914
  <div class="sourcecode">
1737
- <p class="source-link">[ <a href="javascript:toggleSource('M000226_source')" id="l_M000226_source">show source</a> ]</p>
1738
- <div id="M000226_source" class="dyn-source">
915
+ <p class="source-link">[ <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">show source</a> ]</p>
916
+ <div id="M000120_source" class="dyn-source">
1739
917
  <pre>
1740
918
  <span class="ruby-comment cmt"># File lib/core/facets/hash/join.rb, line 7</span>
1741
919
  <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>)
@@ -1749,7 +927,7 @@ Like Array#join but specialized to <a href="Hash.html">Hash</a>.
1749
927
  </div>
1750
928
  <div class="method">
1751
929
  <div class="title">
1752
- <a name="M000194"></a><b>keys?</b>(*check_keys)
930
+ <a name="M000087"></a><b>keys?</b>(*check_keys)
1753
931
  </div>
1754
932
  <div class="description">
1755
933
  <p>
@@ -1759,42 +937,7 @@ Alias for has_keys?
1759
937
  </div>
1760
938
  <div class="method">
1761
939
  <div class="title">
1762
- <a name="M000143"></a><b>keys?</b>(*check_keys)
1763
- </div>
1764
- <div class="description">
1765
- <p>
1766
- Alias for has_keys?
1767
- </p>
1768
- </div>
1769
- </div>
1770
- <div class="method">
1771
- <div class="title">
1772
- <a name="M000216"></a><b>mash!</b>(&amp;yld)
1773
- </div>
1774
- <div class="description">
1775
- <p>
1776
- In place version of mash.
1777
- </p>
1778
- <pre>
1779
- NOTE: Hash#mash! is only useful for Hash. It is not generally
1780
- applicable to Enumerable.
1781
- </pre>
1782
- </div>
1783
- <div class="sourcecode">
1784
- <p class="source-link">[ <a href="javascript:toggleSource('M000216_source')" id="l_M000216_source">show source</a> ]</p>
1785
- <div id="M000216_source" class="dyn-source">
1786
- <pre>
1787
- <span class="ruby-comment cmt"># File lib/core/facets/hash/mash.rb, line 10</span>
1788
- <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>)
1789
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">mash</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">yld</span>))
1790
- <span class="ruby-keyword kw">end</span>
1791
- </pre>
1792
- </div>
1793
- </div>
1794
- </div>
1795
- <div class="method">
1796
- <div class="title">
1797
- <a name="M000165"></a><b>mash!</b>(&amp;yld)
940
+ <a name="M000110"></a><b>mash!</b>(&amp;yld)
1798
941
  </div>
1799
942
  <div class="description">
1800
943
  <p>
@@ -1807,12 +950,11 @@ In place version of mash.
1807
950
  </div>
1808
951
  <div class="aka">
1809
952
  This method is also aliased as
1810
- <a href="Hash.html#M000166">graph!</a>
1811
- <a href="Hash.html#M000217">graph!</a>
953
+ <a href="Hash.html#M000111">graph!</a>
1812
954
  </div>
1813
955
  <div class="sourcecode">
1814
- <p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">show source</a> ]</p>
1815
- <div id="M000165_source" class="dyn-source">
956
+ <p class="source-link">[ <a href="javascript:toggleSource('M000110_source')" id="l_M000110_source">show source</a> ]</p>
957
+ <div id="M000110_source" class="dyn-source">
1816
958
  <pre>
1817
959
  <span class="ruby-comment cmt"># File lib/core/facets/hash/mash.rb, line 10</span>
1818
960
  <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>)
@@ -1824,17 +966,7 @@ In place version of mash.
1824
966
  </div>
1825
967
  <div class="method">
1826
968
  <div class="title">
1827
- <a name="M000196"></a><b>only_keys?</b>(*check_keys)
1828
- </div>
1829
- <div class="description">
1830
- <p>
1831
- Alias for has_only_keys?
1832
- </p>
1833
- </div>
1834
- </div>
1835
- <div class="method">
1836
- <div class="title">
1837
- <a name="M000145"></a><b>only_keys?</b>(*check_keys)
969
+ <a name="M000089"></a><b>only_keys?</b>(*check_keys)
1838
970
  </div>
1839
971
  <div class="description">
1840
972
  <p>
@@ -1844,17 +976,17 @@ Alias for has_only_keys?
1844
976
  </div>
1845
977
  <div class="method">
1846
978
  <div class="title">
1847
- <a name="M000158"></a><b>recursive_merge</b>(other)
979
+ <a name="M000103"></a><b>recursive_merge</b>(other)
1848
980
  </div>
1849
981
  <div class="description">
1850
982
  <p>
1851
- Same as Hash#merge but <a href="Hash.html#M000138">recursively</a> merges
983
+ Same as Hash#merge but <a href="Hash.html#M000082">recursively</a> merges
1852
984
  sub-hashes.
1853
985
  </p>
1854
986
  </div>
1855
987
  <div class="sourcecode">
1856
- <p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">show source</a> ]</p>
1857
- <div id="M000158_source" class="dyn-source">
988
+ <p class="source-link">[ <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show source</a> ]</p>
989
+ <div id="M000103_source" class="dyn-source">
1858
990
  <pre>
1859
991
  <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 5</span>
1860
992
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge</span>(<span class="ruby-identifier">other</span>)
@@ -1875,85 +1007,24 @@ sub-hashes.
1875
1007
  </div>
1876
1008
  <div class="method">
1877
1009
  <div class="title">
1878
- <a name="M000209"></a><b>recursive_merge</b>(other)
1010
+ <a name="M000104"></a><b>recursive_merge!</b>(other)
1879
1011
  </div>
1880
1012
  <div class="description">
1881
1013
  <p>
1882
- Same as Hash#merge but <a href="Hash.html#M000138">recursively</a> merges
1014
+ Same as Hash#merge! but <a href="Hash.html#M000082">recursively</a> merges
1883
1015
  sub-hashes.
1884
1016
  </p>
1885
1017
  </div>
1886
1018
  <div class="sourcecode">
1887
- <p class="source-link">[ <a href="javascript:toggleSource('M000209_source')" id="l_M000209_source">show source</a> ]</p>
1888
- <div id="M000209_source" class="dyn-source">
1019
+ <p class="source-link">[ <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show source</a> ]</p>
1020
+ <div id="M000104_source" class="dyn-source">
1889
1021
  <pre>
1890
- <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 5</span>
1891
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge</span>(<span class="ruby-identifier">other</span>)
1892
- <span class="ruby-identifier">hash</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
1022
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 20</span>
1023
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">other</span>)
1893
1024
  <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>
1894
1025
  <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
1895
1026
  <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>)
1896
- <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>)
1897
- <span class="ruby-keyword kw">else</span>
1898
- <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1899
- <span class="ruby-keyword kw">end</span>
1900
- <span class="ruby-keyword kw">end</span>
1901
- <span class="ruby-identifier">hash</span>
1902
- <span class="ruby-keyword kw">end</span>
1903
- </pre>
1904
- </div>
1905
- </div>
1906
- </div>
1907
- <div class="method">
1908
- <div class="title">
1909
- <a name="M000210"></a><b>recursive_merge!</b>(other)
1910
- </div>
1911
- <div class="description">
1912
- <p>
1913
- Same as Hash#merge! but <a href="Hash.html#M000138">recursively</a> merges
1914
- sub-hashes.
1915
- </p>
1916
- </div>
1917
- <div class="sourcecode">
1918
- <p class="source-link">[ <a href="javascript:toggleSource('M000210_source')" id="l_M000210_source">show source</a> ]</p>
1919
- <div id="M000210_source" class="dyn-source">
1920
- <pre>
1921
- <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 20</span>
1922
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">other</span>)
1923
- <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>
1924
- <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
1925
- <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>)
1926
- <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">value</span>)
1927
- <span class="ruby-keyword kw">else</span>
1928
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1929
- <span class="ruby-keyword kw">end</span>
1930
- <span class="ruby-keyword kw">end</span>
1931
- <span class="ruby-keyword kw">self</span>
1932
- <span class="ruby-keyword kw">end</span>
1933
- </pre>
1934
- </div>
1935
- </div>
1936
- </div>
1937
- <div class="method">
1938
- <div class="title">
1939
- <a name="M000159"></a><b>recursive_merge!</b>(other)
1940
- </div>
1941
- <div class="description">
1942
- <p>
1943
- Same as Hash#merge! but <a href="Hash.html#M000138">recursively</a> merges
1944
- sub-hashes.
1945
- </p>
1946
- </div>
1947
- <div class="sourcecode">
1948
- <p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">show source</a> ]</p>
1949
- <div id="M000159_source" class="dyn-source">
1950
- <pre>
1951
- <span class="ruby-comment cmt"># File lib/core/facets/hash/recursive_merge.rb, line 20</span>
1952
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">other</span>)
1953
- <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>
1954
- <span class="ruby-identifier">myval</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>]
1955
- <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>)
1956
- <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">value</span>)
1027
+ <span class="ruby-identifier">myval</span>.<span class="ruby-identifier">recursive_merge!</span>(<span class="ruby-identifier">value</span>)
1957
1028
  <span class="ruby-keyword kw">else</span>
1958
1029
  <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1959
1030
  <span class="ruby-keyword kw">end</span>
@@ -1966,46 +1037,11 @@ sub-hashes.
1966
1037
  </div>
1967
1038
  <div class="method">
1968
1039
  <div class="title">
1969
- <a name="M000189"></a><b>recursively</b>() {|h| ...}
1970
- </div>
1971
- <div class="description">
1972
- <p>
1973
- Apply a block to hash, and <a href="Hash.html#M000138">recursively</a>
1974
- apply that block to each subhash.
1975
- </p>
1976
- <pre>
1977
- h = {:a=&gt;1, :b=&gt;{:b1=&gt;1, :b2=&gt;2}}
1978
- h.recursively{|h| h.rekey(&amp;:to_s) }
1979
- =&gt; {&quot;a&quot;=&gt;1, &quot;b&quot;=&gt;{&quot;b1&quot;=&gt;1, &quot;b2&quot;=&gt;2}}
1980
- </pre>
1981
- </div>
1982
- <div class="sourcecode">
1983
- <p class="source-link">[ <a href="javascript:toggleSource('M000189_source')" id="l_M000189_source">show source</a> ]</p>
1984
- <div id="M000189_source" class="dyn-source">
1985
- <pre>
1986
- <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 10</span>
1987
- <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>)
1988
- <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>
1989
- <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>)
1990
- <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>)
1991
- <span class="ruby-keyword kw">else</span>
1992
- <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1993
- <span class="ruby-keyword kw">end</span>
1994
- <span class="ruby-identifier">hash</span>
1995
- <span class="ruby-keyword kw">end</span>
1996
- <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">h</span>
1997
- <span class="ruby-keyword kw">end</span>
1998
- </pre>
1999
- </div>
2000
- </div>
2001
- </div>
2002
- <div class="method">
2003
- <div class="title">
2004
- <a name="M000138"></a><b>recursively</b>() {|h| ...}
1040
+ <a name="M000082"></a><b>recursively</b>() {|h| ...}
2005
1041
  </div>
2006
1042
  <div class="description">
2007
1043
  <p>
2008
- Apply a block to hash, and <a href="Hash.html#M000138">recursively</a>
1044
+ Apply a block to hash, and <a href="Hash.html#M000082">recursively</a>
2009
1045
  apply that block to each subhash.
2010
1046
  </p>
2011
1047
  <pre>
@@ -2015,8 +1051,8 @@ apply that block to each subhash.
2015
1051
  </pre>
2016
1052
  </div>
2017
1053
  <div class="sourcecode">
2018
- <p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show source</a> ]</p>
2019
- <div id="M000138_source" class="dyn-source">
1054
+ <p class="source-link">[ <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show source</a> ]</p>
1055
+ <div id="M000082_source" class="dyn-source">
2020
1056
  <pre>
2021
1057
  <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 10</span>
2022
1058
  <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>)
@@ -2036,27 +1072,11 @@ apply that block to each subhash.
2036
1072
  </div>
2037
1073
  <div class="method">
2038
1074
  <div class="title">
2039
- <a name="M000190"></a><b>recursively!</b>(&amp;block)
2040
- </div>
2041
- <div class="sourcecode">
2042
- <p class="source-link">[ <a href="javascript:toggleSource('M000190_source')" id="l_M000190_source">show source</a> ]</p>
2043
- <div id="M000190_source" class="dyn-source">
2044
- <pre>
2045
- <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 24</span>
2046
- <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>)
2047
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>))
2048
- <span class="ruby-keyword kw">end</span>
2049
- </pre>
2050
- </div>
2051
- </div>
2052
- </div>
2053
- <div class="method">
2054
- <div class="title">
2055
- <a name="M000139"></a><b>recursively!</b>(&amp;block)
1075
+ <a name="M000083"></a><b>recursively!</b>(&amp;block)
2056
1076
  </div>
2057
1077
  <div class="sourcecode">
2058
- <p class="source-link">[ <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show source</a> ]</p>
2059
- <div id="M000139_source" class="dyn-source">
1078
+ <p class="source-link">[ <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show source</a> ]</p>
1079
+ <div id="M000083_source" class="dyn-source">
2060
1080
  <pre>
2061
1081
  <span class="ruby-comment cmt"># File lib/core/facets/hash/recursively.rb, line 24</span>
2062
1082
  <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>)
@@ -2068,56 +1088,12 @@ apply that block to each subhash.
2068
1088
  </div>
2069
1089
  <div class="method">
2070
1090
  <div class="title">
2071
- <a name="M000229"></a><b>rekey</b>(*args, &amp;block)
2072
- </div>
2073
- <div class="description">
2074
- <p>
2075
- <a href="Hash.html#M000178">rekey</a>(to_key, from_key) <a
2076
- href="Hash.html#M000178">rekey</a>{ |key| &#8230; }
2077
- </p>
2078
- <p>
2079
- If two keys are given, then the second key is changed to the first.
2080
- </p>
2081
- <pre>
2082
- foo = { :a=&gt;1, :b=&gt;2 }
2083
- foo.rekey('a',:a) #=&gt; { 'a'=&gt;1, :b=&gt;2 }
2084
- foo.rekey('b',:b) #=&gt; { 'a'=&gt;1, 'b'=&gt;2 }
2085
- foo.rekey('foo','bar') #=&gt; { 'a'=&gt;1, 'b'=&gt;2 }
2086
- </pre>
2087
- <p>
2088
- If a block is given, converts all keys in the <a href="Hash.html">Hash</a>
2089
- accroding to the given block. If the block returns <tt>nil</tt> for given
2090
- key, then that key will be left intact.
2091
- </p>
2092
- <pre>
2093
- foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2094
- foo.rekey{ |k| k.to_s } #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2095
- foo.inspect #=&gt; { :name =&gt;&quot;Gavin&quot;, :wife=&gt;:Lisa }
2096
-
2097
- CREDIT: Trans
2098
- CREDIT: Gavin Kistner
2099
- </pre>
2100
- </div>
2101
- <div class="sourcecode">
2102
- <p class="source-link">[ <a href="javascript:toggleSource('M000229_source')" id="l_M000229_source">show source</a> ]</p>
2103
- <div id="M000229_source" class="dyn-source">
2104
- <pre>
2105
- <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 27</span>
2106
- <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>)
2107
- <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>)
2108
- <span class="ruby-keyword kw">end</span>
2109
- </pre>
2110
- </div>
2111
- </div>
2112
- </div>
2113
- <div class="method">
2114
- <div class="title">
2115
- <a name="M000178"></a><b>rekey</b>(*args, &amp;block)
1091
+ <a name="M000123"></a><b>rekey</b>(*args, &amp;block)
2116
1092
  </div>
2117
1093
  <div class="description">
2118
1094
  <p>
2119
- <a href="Hash.html#M000178">rekey</a>(to_key, from_key) <a
2120
- href="Hash.html#M000178">rekey</a>{ |key| &#8230; }
1095
+ <a href="Hash.html#M000123">rekey</a>(to_key, from_key) <a
1096
+ href="Hash.html#M000123">rekey</a>{ |key| &#8230; }
2121
1097
  </p>
2122
1098
  <p>
2123
1099
  If two keys are given, then the second key is changed to the first.
@@ -2143,8 +1119,8 @@ key, then that key will be left intact.
2143
1119
  </pre>
2144
1120
  </div>
2145
1121
  <div class="sourcecode">
2146
- <p class="source-link">[ <a href="javascript:toggleSource('M000178_source')" id="l_M000178_source">show source</a> ]</p>
2147
- <div id="M000178_source" class="dyn-source">
1122
+ <p class="source-link">[ <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">show source</a> ]</p>
1123
+ <div id="M000123_source" class="dyn-source">
2148
1124
  <pre>
2149
1125
  <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 27</span>
2150
1126
  <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>)
@@ -2156,55 +1132,11 @@ key, then that key will be left intact.
2156
1132
  </div>
2157
1133
  <div class="method">
2158
1134
  <div class="title">
2159
- <a name="M000230"></a><b>rekey!</b>(*args, &amp;block)
2160
- </div>
2161
- <div class="description">
2162
- <p>
2163
- Synonym for <a href="Hash.html#M000178">Hash#rekey</a>, but modifies the
2164
- receiver in place (and returns it).
2165
- </p>
2166
- <pre>
2167
- foo = { :name=&gt;'Gavin', :wife=&gt;:Lisa }
2168
- foo.rekey!{ |k| k.to_s } #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2169
- foo.inspect #=&gt; { &quot;name&quot;=&gt;&quot;Gavin&quot;, &quot;wife&quot;=&gt;:Lisa }
2170
-
2171
- CREDIT: Trans
2172
- CREDIT: Gavin Kistner
2173
- </pre>
2174
- </div>
2175
- <div class="sourcecode">
2176
- <p class="source-link">[ <a href="javascript:toggleSource('M000230_source')" id="l_M000230_source">show source</a> ]</p>
2177
- <div id="M000230_source" class="dyn-source">
2178
- <pre>
2179
- <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 40</span>
2180
- <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>)
2181
- <span class="ruby-comment cmt"># for backward comptability (TODO: DEPRECATE).</span>
2182
- <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>
2183
- <span class="ruby-comment cmt"># if no args use block.</span>
2184
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span>
2185
- <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>
2186
- <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>
2187
- <span class="ruby-identifier">nk</span> = <span class="ruby-identifier">block</span>[<span class="ruby-identifier">k</span>]
2188
- <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>
2189
- <span class="ruby-keyword kw">end</span>
2190
- <span class="ruby-keyword kw">else</span>
2191
- <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>
2192
- <span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
2193
- <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>)
2194
- <span class="ruby-keyword kw">end</span>
2195
- <span class="ruby-keyword kw">self</span>
2196
- <span class="ruby-keyword kw">end</span>
2197
- </pre>
2198
- </div>
2199
- </div>
2200
- </div>
2201
- <div class="method">
2202
- <div class="title">
2203
- <a name="M000179"></a><b>rekey!</b>(*args, &amp;block)
1135
+ <a name="M000124"></a><b>rekey!</b>(*args, &amp;block)
2204
1136
  </div>
2205
1137
  <div class="description">
2206
1138
  <p>
2207
- Synonym for <a href="Hash.html#M000178">Hash#rekey</a>, but modifies the
1139
+ Synonym for <a href="Hash.html#M000123">Hash#rekey</a>, but modifies the
2208
1140
  receiver in place (and returns it).
2209
1141
  </p>
2210
1142
  <pre>
@@ -2217,8 +1149,8 @@ receiver in place (and returns it).
2217
1149
  </pre>
2218
1150
  </div>
2219
1151
  <div class="sourcecode">
2220
- <p class="source-link">[ <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">show source</a> ]</p>
2221
- <div id="M000179_source" class="dyn-source">
1152
+ <p class="source-link">[ <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">show source</a> ]</p>
1153
+ <div id="M000124_source" class="dyn-source">
2222
1154
  <pre>
2223
1155
  <span class="ruby-comment cmt"># File lib/core/facets/hash/rekey.rb, line 40</span>
2224
1156
  <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>)
@@ -2244,11 +1176,11 @@ receiver in place (and returns it).
2244
1176
  </div>
2245
1177
  <div class="method">
2246
1178
  <div class="title">
2247
- <a name="M000135"></a><b>replace_each</b>( {|| ...}
1179
+ <a name="M000079"></a><b>replace_each</b>( {|| ...}
2248
1180
  </div>
2249
1181
  <div class="description">
2250
1182
  <p>
2251
- Same as <a href="Hash.html#M000132">update_each</a>, but deletes the key
1183
+ Same as <a href="Hash.html#M000076">update_each</a>, but deletes the key
2252
1184
  element first.
2253
1185
  </p>
2254
1186
  <pre>
@@ -2256,10 +1188,10 @@ element first.
2256
1188
  </pre>
2257
1189
  </div>
2258
1190
  <div class="sourcecode">
2259
- <p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">show source</a> ]</p>
2260
- <div id="M000135_source" class="dyn-source">
1191
+ <p class="source-link">[ <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show source</a> ]</p>
1192
+ <div id="M000079_source" class="dyn-source">
2261
1193
  <pre>
2262
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 66</span>
1194
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 55</span>
2263
1195
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace_each</span> <span class="ruby-comment cmt"># :yield:</span>
2264
1196
  <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>
2265
1197
  <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
@@ -2273,68 +1205,7 @@ element first.
2273
1205
  </div>
2274
1206
  <div class="method">
2275
1207
  <div class="title">
2276
- <a name="M000186"></a><b>replace_each</b>( {|| ...}
2277
- </div>
2278
- <div class="description">
2279
- <p>
2280
- Same as <a href="Hash.html#M000132">update_each</a>, but deletes the key
2281
- element first.
2282
- </p>
2283
- <pre>
2284
- CREDIT: Trans
2285
- </pre>
2286
- </div>
2287
- <div class="sourcecode">
2288
- <p class="source-link">[ <a href="javascript:toggleSource('M000186_source')" id="l_M000186_source">show source</a> ]</p>
2289
- <div id="M000186_source" class="dyn-source">
2290
- <pre>
2291
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 66</span>
2292
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace_each</span> <span class="ruby-comment cmt"># :yield:</span>
2293
- <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>
2294
- <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
2295
- <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>))
2296
- <span class="ruby-keyword kw">end</span>
2297
- <span class="ruby-keyword kw">self</span>
2298
- <span class="ruby-keyword kw">end</span>
2299
- </pre>
2300
- </div>
2301
- </div>
2302
- </div>
2303
- <div class="method">
2304
- <div class="title">
2305
- <a name="M000147"></a><b>reverse_merge</b>(other)
2306
- </div>
2307
- <div class="description">
2308
- <p>
2309
- Allows for reverse merging where its the keys in the calling hash that wins
2310
- over those in the <tt>other_hash</tt>. This is particularly useful for
2311
- initializing an incoming option hash with default values:
2312
- </p>
2313
- <pre>
2314
- def setup(options = {})
2315
- options.reverse_merge! :size =&gt; 25, :velocity =&gt; 10
2316
- end
2317
- </pre>
2318
- <p>
2319
- The default :size and :velocity is only set if the <tt>options</tt> passed
2320
- in doesn&#8216;t already have those keys set.
2321
- </p>
2322
- </div>
2323
- <div class="sourcecode">
2324
- <p class="source-link">[ <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">show source</a> ]</p>
2325
- <div id="M000147_source" class="dyn-source">
2326
- <pre>
2327
- <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 15</span>
2328
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>)
2329
- <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
2330
- <span class="ruby-keyword kw">end</span>
2331
- </pre>
2332
- </div>
2333
- </div>
2334
- </div>
2335
- <div class="method">
2336
- <div class="title">
2337
- <a name="M000198"></a><b>reverse_merge</b>(other)
1208
+ <a name="M000091"></a><b>reverse_merge</b>(other)
2338
1209
  </div>
2339
1210
  <div class="description">
2340
1211
  <p>
@@ -2353,8 +1224,8 @@ in doesn&#8216;t already have those keys set.
2353
1224
  </p>
2354
1225
  </div>
2355
1226
  <div class="sourcecode">
2356
- <p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">show source</a> ]</p>
2357
- <div id="M000198_source" class="dyn-source">
1227
+ <p class="source-link">[ <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show source</a> ]</p>
1228
+ <div id="M000091_source" class="dyn-source">
2358
1229
  <pre>
2359
1230
  <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 15</span>
2360
1231
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>)
@@ -2366,21 +1237,20 @@ in doesn&#8216;t already have those keys set.
2366
1237
  </div>
2367
1238
  <div class="method">
2368
1239
  <div class="title">
2369
- <a name="M000148"></a><b>reverse_merge!</b>(other)
1240
+ <a name="M000092"></a><b>reverse_merge!</b>(other)
2370
1241
  </div>
2371
1242
  <div class="description">
2372
1243
  <p>
2373
- Inplace form of <a href="Hash.html#M000147">reverse_merge</a>.
1244
+ Inplace form of <a href="Hash.html#M000091">reverse_merge</a>.
2374
1245
  </p>
2375
1246
  </div>
2376
1247
  <div class="aka">
2377
1248
  This method is also aliased as
2378
- <a href="Hash.html#M000149">reverse_update</a>
2379
- <a href="Hash.html#M000200">reverse_update</a>
1249
+ <a href="Hash.html#M000093">reverse_update</a>
2380
1250
  </div>
2381
1251
  <div class="sourcecode">
2382
- <p class="source-link">[ <a href="javascript:toggleSource('M000148_source')" id="l_M000148_source">show source</a> ]</p>
2383
- <div id="M000148_source" class="dyn-source">
1252
+ <p class="source-link">[ <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show source</a> ]</p>
1253
+ <div id="M000092_source" class="dyn-source">
2384
1254
  <pre>
2385
1255
  <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 21</span>
2386
1256
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge!</span>(<span class="ruby-identifier">other</span>)
@@ -2392,73 +1262,17 @@ Inplace form of <a href="Hash.html#M000147">reverse_merge</a>.
2392
1262
  </div>
2393
1263
  <div class="method">
2394
1264
  <div class="title">
2395
- <a name="M000199"></a><b>reverse_merge!</b>(other)
1265
+ <a name="M000093"></a><b>reverse_update</b>(other)
2396
1266
  </div>
2397
1267
  <div class="description">
2398
1268
  <p>
2399
- Inplace form of <a href="Hash.html#M000147">reverse_merge</a>.
1269
+ Alias for <a href="Hash.html#M000091">reverse_merge</a>!
2400
1270
  </p>
2401
1271
  </div>
2402
- <div class="sourcecode">
2403
- <p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">show source</a> ]</p>
2404
- <div id="M000199_source" class="dyn-source">
2405
- <pre>
2406
- <span class="ruby-comment cmt"># File lib/core/facets/hash/merge.rb, line 21</span>
2407
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse_merge!</span>(<span class="ruby-identifier">other</span>)
2408
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">reverse_merge</span>(<span class="ruby-identifier">other</span>))
2409
- <span class="ruby-keyword kw">end</span>
2410
- </pre>
2411
- </div>
2412
- </div>
2413
- </div>
2414
- <div class="method">
2415
- <div class="title">
2416
- <a name="M000200"></a><b>reverse_update</b>(other)
2417
- </div>
2418
- <div class="description">
2419
- <p>
2420
- Alias for <a href="Hash.html#M000147">reverse_merge</a>!
2421
- </p>
2422
- </div>
2423
- </div>
2424
- <div class="method">
2425
- <div class="title">
2426
- <a name="M000149"></a><b>reverse_update</b>(other)
2427
- </div>
2428
- <div class="description">
2429
- <p>
2430
- Alias for <a href="Hash.html#M000147">reverse_merge</a>!
2431
- </p>
2432
- </div>
2433
- </div>
2434
- <div class="method">
2435
- <div class="title">
2436
- <a name="M000163"></a><b>select!</b>() {|k,v| ...}
2437
- </div>
2438
- <div class="description">
2439
- <p>
2440
- In-place version of Hash#select. The opposite of the built-in Hash#reject!.
2441
- </p>
2442
- <pre>
2443
- CREDIT Gavin Sinclair
2444
- CREDIT Noah Gibbs
2445
- </pre>
2446
- </div>
2447
- <div class="sourcecode">
2448
- <p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">show source</a> ]</p>
2449
- <div id="M000163_source" class="dyn-source">
2450
- <pre>
2451
- <span class="ruby-comment cmt"># File lib/core/facets/hash/select.rb, line 9</span>
2452
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select!</span>
2453
- <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>) }
2454
- <span class="ruby-keyword kw">end</span>
2455
- </pre>
2456
- </div>
2457
- </div>
2458
1272
  </div>
2459
1273
  <div class="method">
2460
1274
  <div class="title">
2461
- <a name="M000214"></a><b>select!</b>() {|k,v| ...}
1275
+ <a name="M000108"></a><b>select!</b>() {|k,v| ...}
2462
1276
  </div>
2463
1277
  <div class="description">
2464
1278
  <p>
@@ -2470,8 +1284,8 @@ In-place version of Hash#select. The opposite of the built-in Hash#reject!.
2470
1284
  </pre>
2471
1285
  </div>
2472
1286
  <div class="sourcecode">
2473
- <p class="source-link">[ <a href="javascript:toggleSource('M000214_source')" id="l_M000214_source">show source</a> ]</p>
2474
- <div id="M000214_source" class="dyn-source">
1287
+ <p class="source-link">[ <a href="javascript:toggleSource('M000108_source')" id="l_M000108_source">show source</a> ]</p>
1288
+ <div id="M000108_source" class="dyn-source">
2475
1289
  <pre>
2476
1290
  <span class="ruby-comment cmt"># File lib/core/facets/hash/select.rb, line 9</span>
2477
1291
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select!</span>
@@ -2483,32 +1297,7 @@ In-place version of Hash#select. The opposite of the built-in Hash#reject!.
2483
1297
  </div>
2484
1298
  <div class="method">
2485
1299
  <div class="title">
2486
- <a name="M000176"></a><b>slice</b>(*keep_keys)
2487
- </div>
2488
- <div class="description">
2489
- <p>
2490
- Returns a new hash with only the given keys.
2491
- </p>
2492
- </div>
2493
- <div class="sourcecode">
2494
- <p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show source</a> ]</p>
2495
- <div id="M000176_source" class="dyn-source">
2496
- <pre>
2497
- <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 7</span>
2498
- <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>)
2499
- <span class="ruby-identifier">h</span> = {}
2500
- <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>
2501
- <span class="ruby-identifier">h</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)
2502
- <span class="ruby-keyword kw">end</span>
2503
- <span class="ruby-identifier">h</span>
2504
- <span class="ruby-keyword kw">end</span>
2505
- </pre>
2506
- </div>
2507
- </div>
2508
- </div>
2509
- <div class="method">
2510
- <div class="title">
2511
- <a name="M000227"></a><b>slice</b>(*keep_keys)
1300
+ <a name="M000121"></a><b>slice</b>(*keep_keys)
2512
1301
  </div>
2513
1302
  <div class="description">
2514
1303
  <p>
@@ -2516,102 +1305,53 @@ Returns a new hash with only the given keys.
2516
1305
  </p>
2517
1306
  </div>
2518
1307
  <div class="sourcecode">
2519
- <p class="source-link">[ <a href="javascript:toggleSource('M000227_source')" id="l_M000227_source">show source</a> ]</p>
2520
- <div id="M000227_source" class="dyn-source">
1308
+ <p class="source-link">[ <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">show source</a> ]</p>
1309
+ <div id="M000121_source" class="dyn-source">
2521
1310
  <pre>
2522
- <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 7</span>
2523
- <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>)
2524
- <span class="ruby-identifier">h</span> = {}
2525
- <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>
2526
- <span class="ruby-identifier">h</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)
1311
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 9</span>
1312
+ <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>)
1313
+ <span class="ruby-identifier">h</span> = {}
1314
+ <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>
1315
+ <span class="ruby-identifier">h</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">key</span>)
1316
+ <span class="ruby-keyword kw">end</span>
1317
+ <span class="ruby-identifier">h</span>
2527
1318
  <span class="ruby-keyword kw">end</span>
2528
- <span class="ruby-identifier">h</span>
2529
- <span class="ruby-keyword kw">end</span>
2530
1319
  </pre>
2531
1320
  </div>
2532
1321
  </div>
2533
1322
  </div>
2534
1323
  <div class="method">
2535
1324
  <div class="title">
2536
- <a name="M000228"></a><b>slice!</b>(*keep_keys)
1325
+ <a name="M000122"></a><b>slice!</b>(*keep_keys)
2537
1326
  </div>
2538
1327
  <div class="description">
2539
1328
  <p>
2540
1329
  Replaces hash with a new hash having only the given keys. This return the
2541
1330
  hash of keys removed.
2542
- </p>
2543
- </div>
2544
- <div class="sourcecode">
2545
- <p class="source-link">[ <a href="javascript:toggleSource('M000228_source')" id="l_M000228_source">show source</a> ]</p>
2546
- <div id="M000228_source" class="dyn-source">
2547
- <pre>
2548
- <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 18</span>
2549
- <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>)
2550
- <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2551
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>))
2552
- <span class="ruby-identifier">removed</span>
2553
- <span class="ruby-keyword kw">end</span>
2554
- </pre>
2555
- </div>
2556
- </div>
2557
- </div>
2558
- <div class="method">
2559
- <div class="title">
2560
- <a name="M000177"></a><b>slice!</b>(*keep_keys)
2561
- </div>
2562
- <div class="description">
2563
- <p>
2564
- Replaces hash with a new hash having only the given keys. This return the
2565
- hash of keys removed.
2566
- </p>
2567
- </div>
2568
- <div class="sourcecode">
2569
- <p class="source-link">[ <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">show source</a> ]</p>
2570
- <div id="M000177_source" class="dyn-source">
2571
- <pre>
2572
- <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 18</span>
2573
- <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>)
2574
- <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
2575
- <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>))
2576
- <span class="ruby-identifier">removed</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="M000224"></a><b>swap!</b>(key1, key2)
2585
- </div>
2586
- <div class="description">
2587
- <p>
2588
- Swap the values of a pair of keys in place.
2589
1331
  </p>
2590
1332
  <pre>
2591
- {:a=&gt;1,:b=&gt;2}.swap!(:a,:b) #=&gt; {:a=&gt;2,:b=&gt;1}
1333
+ h = {:a=&gt;1, :b=&gt;2}
1334
+ h.slice!(:a) #=&gt; {:a=&gt;1}
1335
+ h #=&gt; {:b=&gt;2}
2592
1336
  </pre>
2593
- <p>
2594
- CREDIT: Gavin Sinclair
2595
- </p>
2596
1337
  </div>
2597
1338
  <div class="sourcecode">
2598
- <p class="source-link">[ <a href="javascript:toggleSource('M000224_source')" id="l_M000224_source">show source</a> ]</p>
2599
- <div id="M000224_source" class="dyn-source">
1339
+ <p class="source-link">[ <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">show source</a> ]</p>
1340
+ <div id="M000122_source" class="dyn-source">
2600
1341
  <pre>
2601
- <span class="ruby-comment cmt"># File lib/core/facets/hash/swap.rb, line 9</span>
2602
- <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>)
2603
- <span class="ruby-identifier">tmp</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key1</span>]
2604
- <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>]
2605
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">key2</span>] = <span class="ruby-identifier">tmp</span>
2606
- <span class="ruby-keyword kw">self</span>
2607
- <span class="ruby-keyword kw">end</span>
1342
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/slice.rb, line 24</span>
1343
+ <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>)
1344
+ <span class="ruby-identifier">removed</span> = <span class="ruby-identifier">except</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>)
1345
+ <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">slice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">keep_keys</span>))
1346
+ <span class="ruby-identifier">removed</span>
1347
+ <span class="ruby-keyword kw">end</span>
2608
1348
  </pre>
2609
1349
  </div>
2610
1350
  </div>
2611
1351
  </div>
2612
1352
  <div class="method">
2613
1353
  <div class="title">
2614
- <a name="M000173"></a><b>swap!</b>(key1, key2)
1354
+ <a name="M000118"></a><b>swap!</b>(key1, key2)
2615
1355
  </div>
2616
1356
  <div class="description">
2617
1357
  <p>
@@ -2625,8 +1365,8 @@ CREDIT: Gavin Sinclair
2625
1365
  </p>
2626
1366
  </div>
2627
1367
  <div class="sourcecode">
2628
- <p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">show source</a> ]</p>
2629
- <div id="M000173_source" class="dyn-source">
1368
+ <p class="source-link">[ <a href="javascript:toggleSource('M000118_source')" id="l_M000118_source">show source</a> ]</p>
1369
+ <div id="M000118_source" class="dyn-source">
2630
1370
  <pre>
2631
1371
  <span class="ruby-comment cmt"># File lib/core/facets/hash/swap.rb, line 9</span>
2632
1372
  <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>)
@@ -2641,7 +1381,7 @@ CREDIT: Gavin Sinclair
2641
1381
  </div>
2642
1382
  <div class="method">
2643
1383
  <div class="title">
2644
- <a name="M000129"></a><b>to_h</b>()
1384
+ <a name="M000074"></a><b>to_h</b>()
2645
1385
  </div>
2646
1386
  <div class="description">
2647
1387
  <p>
@@ -2655,8 +1395,8 @@ CREDIT: Forian Gross
2655
1395
  </p>
2656
1396
  </div>
2657
1397
  <div class="sourcecode">
2658
- <p class="source-link">[ <a href="javascript:toggleSource('M000129_source')" id="l_M000129_source">show source</a> ]</p>
2659
- <div id="M000129_source" class="dyn-source">
1398
+ <p class="source-link">[ <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show source</a> ]</p>
1399
+ <div id="M000074_source" class="dyn-source">
2660
1400
  <pre>
2661
1401
  <span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 54</span>
2662
1402
  <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>
@@ -2666,7 +1406,7 @@ CREDIT: Forian Gross
2666
1406
  </div>
2667
1407
  <div class="method">
2668
1408
  <div class="title">
2669
- <a name="M000160"></a><b>to_proc</b>()
1409
+ <a name="M000105"></a><b>to_proc</b>()
2670
1410
  </div>
2671
1411
  <div class="description">
2672
1412
  <p>
@@ -2686,8 +1426,8 @@ CREDIT: Trans
2686
1426
  </p>
2687
1427
  </div>
2688
1428
  <div class="sourcecode">
2689
- <p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">show source</a> ]</p>
2690
- <div id="M000160_source" class="dyn-source">
1429
+ <p class="source-link">[ <a href="javascript:toggleSource('M000105_source')" id="l_M000105_source">show source</a> ]</p>
1430
+ <div id="M000105_source" class="dyn-source">
2691
1431
  <pre>
2692
1432
  <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 15</span>
2693
1433
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
@@ -2704,85 +1444,14 @@ CREDIT: Trans
2704
1444
  </div>
2705
1445
  <div class="method">
2706
1446
  <div class="title">
2707
- <a name="M000211"></a><b>to_proc</b>()
1447
+ <a name="M000106"></a><b>to_proc_with_reponse</b>()
2708
1448
  </div>
2709
1449
  <div class="description">
2710
1450
  <p>
2711
- Constructs a <a href="Proc.html">Proc</a> object from a hash such that the
2712
- parameter of the <a href="Proc.html">Proc</a> is assigned the hash keys as
2713
- attributes.
2714
- </p>
2715
- <pre>
2716
- h = { :a =&gt; 1 }
2717
- p = h.to_proc
2718
- o = OpenStruct.new
2719
- p.call(o)
2720
- o.a #=&gt; 1
2721
- </pre>
2722
- <p>
2723
- CREDIT: Trans
2724
- </p>
2725
- </div>
2726
- <div class="sourcecode">
2727
- <p class="source-link">[ <a href="javascript:toggleSource('M000211_source')" id="l_M000211_source">show source</a> ]</p>
2728
- <div id="M000211_source" class="dyn-source">
2729
- <pre>
2730
- <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 15</span>
2731
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
2732
- <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>
2733
- <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>
2734
- <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
2735
- <span class="ruby-identifier">o</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">ke</span>, <span class="ruby-identifier">v</span>)
2736
- <span class="ruby-keyword kw">end</span>
2737
- <span class="ruby-keyword kw">end</span>
2738
- <span class="ruby-keyword kw">end</span>
2739
- </pre>
2740
- </div>
2741
- </div>
2742
- </div>
2743
- <div class="method">
2744
- <div class="title">
2745
- <a name="M000212"></a><b>to_proc_with_reponse</b>()
2746
- </div>
2747
- <div class="description">
2748
- <p>
2749
- A fault-tolerent version of <a href="Hash.html#M000160">to_proc</a>.
2750
- </p>
2751
- <p>
2752
- It works just like <a href="Hash.html#M000160">to_proc</a>, but the block
2753
- will make sure# the object responds to the assignment.
1451
+ A fault-tolerent version of <a href="Hash.html#M000105">to_proc</a>.
2754
1452
  </p>
2755
1453
  <p>
2756
- CREDIT: Trans
2757
- </p>
2758
- </div>
2759
- <div class="sourcecode">
2760
- <p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">show source</a> ]</p>
2761
- <div id="M000212_source" class="dyn-source">
2762
- <pre>
2763
- <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 31</span>
2764
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc_with_reponse</span>
2765
- <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>
2766
- <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>
2767
- <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
2768
- <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>)
2769
- <span class="ruby-keyword kw">end</span>
2770
- <span class="ruby-keyword kw">end</span>
2771
- <span class="ruby-keyword kw">end</span>
2772
- </pre>
2773
- </div>
2774
- </div>
2775
- </div>
2776
- <div class="method">
2777
- <div class="title">
2778
- <a name="M000161"></a><b>to_proc_with_reponse</b>()
2779
- </div>
2780
- <div class="description">
2781
- <p>
2782
- A fault-tolerent version of <a href="Hash.html#M000160">to_proc</a>.
2783
- </p>
2784
- <p>
2785
- It works just like <a href="Hash.html#M000160">to_proc</a>, but the block
1454
+ It works just like <a href="Hash.html#M000105">to_proc</a>, but the block
2786
1455
  will make sure# the object responds to the assignment.
2787
1456
  </p>
2788
1457
  <p>
@@ -2790,79 +1459,17 @@ CREDIT: Trans
2790
1459
  </p>
2791
1460
  </div>
2792
1461
  <div class="sourcecode">
2793
- <p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">show source</a> ]</p>
2794
- <div id="M000161_source" class="dyn-source">
1462
+ <p class="source-link">[ <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show source</a> ]</p>
1463
+ <div id="M000106_source" class="dyn-source">
2795
1464
  <pre>
2796
1465
  <span class="ruby-comment cmt"># File lib/core/facets/hash/to_proc.rb, line 31</span>
2797
1466
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc_with_reponse</span>
2798
1467
  <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>
2799
- <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>
2800
- <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
2801
- <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>)
2802
- <span class="ruby-keyword kw">end</span>
2803
- <span class="ruby-keyword kw">end</span>
2804
- <span class="ruby-keyword kw">end</span>
2805
- </pre>
2806
- </div>
2807
- </div>
2808
- </div>
2809
- <div class="method">
2810
- <div class="title">
2811
- <a name="M000174"></a><b>to_struct</b>(struct_name)
2812
- </div>
2813
- <div class="description">
2814
- <p>
2815
- A method to convert a <a href="Hash.html">Hash</a> into a Struct.
2816
- </p>
2817
- <pre>
2818
- 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;}
2819
- s = h.to_struct(&quot;Foo&quot;)
2820
- </pre>
2821
- <p>
2822
- TODO: Is this robust enough considerd hashes aren&#8216;t ordered?
2823
- </p>
2824
- <pre>
2825
- CREDIT: Daniel Berger
2826
- </pre>
2827
- </div>
2828
- <div class="sourcecode">
2829
- <p class="source-link">[ <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">show source</a> ]</p>
2830
- <div id="M000174_source" class="dyn-source">
2831
- <pre>
2832
- <span class="ruby-comment cmt"># File lib/core/facets/hash/to_struct.rb, line 12</span>
2833
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_struct</span>(<span class="ruby-identifier">struct_name</span>)
2834
- <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>)
2835
- <span class="ruby-keyword kw">end</span>
2836
- </pre>
2837
- </div>
2838
- </div>
2839
- </div>
2840
- <div class="method">
2841
- <div class="title">
2842
- <a name="M000225"></a><b>to_struct</b>(struct_name)
2843
- </div>
2844
- <div class="description">
2845
- <p>
2846
- A method to convert a <a href="Hash.html">Hash</a> into a Struct.
2847
- </p>
2848
- <pre>
2849
- 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;}
2850
- s = h.to_struct(&quot;Foo&quot;)
2851
- </pre>
2852
- <p>
2853
- TODO: Is this robust enough considerd hashes aren&#8216;t ordered?
2854
- </p>
2855
- <pre>
2856
- CREDIT: Daniel Berger
2857
- </pre>
2858
- </div>
2859
- <div class="sourcecode">
2860
- <p class="source-link">[ <a href="javascript:toggleSource('M000225_source')" id="l_M000225_source">show source</a> ]</p>
2861
- <div id="M000225_source" class="dyn-source">
2862
- <pre>
2863
- <span class="ruby-comment cmt"># File lib/core/facets/hash/to_struct.rb, line 12</span>
2864
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_struct</span>(<span class="ruby-identifier">struct_name</span>)
2865
- <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>)
1468
+ <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>
1469
+ <span class="ruby-identifier">ke</span> = <span class="ruby-node">&quot;#{k}=&quot;</span>
1470
+ <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>)
1471
+ <span class="ruby-keyword kw">end</span>
1472
+ <span class="ruby-keyword kw">end</span>
2866
1473
  <span class="ruby-keyword kw">end</span>
2867
1474
  </pre>
2868
1475
  </div>
@@ -2870,44 +1477,30 @@ TODO: Is this robust enough considerd hashes aren&#8216;t ordered?
2870
1477
  </div>
2871
1478
  <div class="method">
2872
1479
  <div class="title">
2873
- <a name="M000201"></a><b>traverse</b>(&amp;b)
1480
+ <a name="M000119"></a><b>to_struct</b>(struct_name)
2874
1481
  </div>
2875
1482
  <div class="description">
2876
1483
  <p>
2877
- Returns a new hash created by traversing the hash and its subhashes,
2878
- executing the given block on the key and value. The block should return a
2879
- 2-element array of the form +[key, value]+.
1484
+ A method to convert a <a href="Hash.html">Hash</a> into a Struct.
2880
1485
  </p>
2881
1486
  <pre>
2882
- h = { &quot;A&quot;=&gt;&quot;A&quot;, &quot;B&quot;=&gt;&quot;B&quot; }
2883
- g = h.traverse { |k,v| [k.downcase, v] }
2884
- g #=&gt; { &quot;a&quot;=&gt;&quot;A&quot;, &quot;b&quot;=&gt;&quot;B&quot; }
1487
+ 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;}
1488
+ s = h.to_struct(&quot;Foo&quot;)
2885
1489
  </pre>
2886
1490
  <p>
2887
- TODO: Contrast these to recursibely &#8212;we may not need both.
2888
- </p>
2889
- <p>
2890
- TODO: Testing value to see if it is a <a href="Hash.html">Hash</a> also
2891
- catches subclasses of <a href="Hash.html">Hash</a>.
1491
+ TODO: Is this robust enough considerd hashes aren&#8216;t ordered?
2892
1492
  </p>
2893
1493
  <pre>
2894
- This is probably not the right thing to do and should catch Hashes only (?)
2895
-
2896
- CREDIT: Trans
1494
+ CREDIT: Daniel Berger
2897
1495
  </pre>
2898
1496
  </div>
2899
1497
  <div class="sourcecode">
2900
- <p class="source-link">[ <a href="javascript:toggleSource('M000201_source')" id="l_M000201_source">show source</a> ]</p>
2901
- <div id="M000201_source" class="dyn-source">
1498
+ <p class="source-link">[ <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">show source</a> ]</p>
1499
+ <div id="M000119_source" class="dyn-source">
2902
1500
  <pre>
2903
- <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 18</span>
2904
- <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>)
2905
- <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>
2906
- <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> )
2907
- <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>]
2908
- <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>
2909
- <span class="ruby-identifier">h</span>
2910
- <span class="ruby-keyword kw">end</span>
1501
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/to_struct.rb, line 12</span>
1502
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_struct</span>(<span class="ruby-identifier">struct_name</span>)
1503
+ <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>)
2911
1504
  <span class="ruby-keyword kw">end</span>
2912
1505
  </pre>
2913
1506
  </div>
@@ -2915,7 +1508,7 @@ catches subclasses of <a href="Hash.html">Hash</a>.
2915
1508
  </div>
2916
1509
  <div class="method">
2917
1510
  <div class="title">
2918
- <a name="M000150"></a><b>traverse</b>(&amp;b)
1511
+ <a name="M000094"></a><b>traverse</b>(&amp;b)
2919
1512
  </div>
2920
1513
  <div class="description">
2921
1514
  <p>
@@ -2942,8 +1535,8 @@ catches subclasses of <a href="Hash.html">Hash</a>.
2942
1535
  </pre>
2943
1536
  </div>
2944
1537
  <div class="sourcecode">
2945
- <p class="source-link">[ <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">show source</a> ]</p>
2946
- <div id="M000150_source" class="dyn-source">
1538
+ <p class="source-link">[ <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show source</a> ]</p>
1539
+ <div id="M000094_source" class="dyn-source">
2947
1540
  <pre>
2948
1541
  <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 18</span>
2949
1542
  <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>)
@@ -2960,41 +1553,11 @@ catches subclasses of <a href="Hash.html">Hash</a>.
2960
1553
  </div>
2961
1554
  <div class="method">
2962
1555
  <div class="title">
2963
- <a name="M000151"></a><b>traverse!</b>(&amp;b)
2964
- </div>
2965
- <div class="description">
2966
- <p>
2967
- In place version of <a href="Hash.html#M000150">traverse</a>, which
2968
- traverses the hash and its subhashes, executing the given block on the key
2969
- and value.
2970
- </p>
2971
- <pre>
2972
- h = { &quot;A&quot;=&gt;&quot;A&quot;, &quot;B&quot;=&gt;&quot;B&quot; }
2973
- h.traverse! { |k,v| [k.downcase, v] }
2974
- h #=&gt; { &quot;a&quot;=&gt;&quot;A&quot;, &quot;b&quot;=&gt;&quot;B&quot; }
2975
-
2976
- CREDIT: Trans
2977
- </pre>
2978
- </div>
2979
- <div class="sourcecode">
2980
- <p class="source-link">[ <a href="javascript:toggleSource('M000151_source')" id="l_M000151_source">show source</a> ]</p>
2981
- <div id="M000151_source" class="dyn-source">
2982
- <pre>
2983
- <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 36</span>
2984
- <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>)
2985
- <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>) )
2986
- <span class="ruby-keyword kw">end</span>
2987
- </pre>
2988
- </div>
2989
- </div>
2990
- </div>
2991
- <div class="method">
2992
- <div class="title">
2993
- <a name="M000202"></a><b>traverse!</b>(&amp;b)
1556
+ <a name="M000095"></a><b>traverse!</b>(&amp;b)
2994
1557
  </div>
2995
1558
  <div class="description">
2996
1559
  <p>
2997
- In place version of <a href="Hash.html#M000150">traverse</a>, which
1560
+ In place version of <a href="Hash.html#M000094">traverse</a>, which
2998
1561
  traverses the hash and its subhashes, executing the given block on the key
2999
1562
  and value.
3000
1563
  </p>
@@ -3007,8 +1570,8 @@ and value.
3007
1570
  </pre>
3008
1571
  </div>
3009
1572
  <div class="sourcecode">
3010
- <p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">show source</a> ]</p>
3011
- <div id="M000202_source" class="dyn-source">
1573
+ <p class="source-link">[ <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show source</a> ]</p>
1574
+ <div id="M000095_source" class="dyn-source">
3012
1575
  <pre>
3013
1576
  <span class="ruby-comment cmt"># File lib/core/facets/hash/traverse.rb, line 36</span>
3014
1577
  <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>)
@@ -3020,43 +1583,13 @@ and value.
3020
1583
  </div>
3021
1584
  <div class="method">
3022
1585
  <div class="title">
3023
- <a name="M000183"></a><b>update_each</b>( {|| ...}
3024
- </div>
3025
- <div class="description">
3026
- <p>
3027
- Iterates through each pair and updates a the hash in place. This is
3028
- formally equivalent to mash! But does not use mash to accomplish the task.
3029
- Hence <a href="Hash.html#M000132">update_each</a> is probably a touch
3030
- faster.
3031
- </p>
3032
- <pre>
3033
- CREDIT: Trans
3034
- </pre>
3035
- </div>
3036
- <div class="sourcecode">
3037
- <p class="source-link">[ <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">show source</a> ]</p>
3038
- <div id="M000183_source" class="dyn-source">
3039
- <pre>
3040
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 23</span>
3041
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_each</span> <span class="ruby-comment cmt"># :yield:</span>
3042
- <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>
3043
- <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>))
3044
- <span class="ruby-keyword kw">end</span>
3045
- <span class="ruby-keyword kw">self</span>
3046
- <span class="ruby-keyword kw">end</span>
3047
- </pre>
3048
- </div>
3049
- </div>
3050
- </div>
3051
- <div class="method">
3052
- <div class="title">
3053
- <a name="M000132"></a><b>update_each</b>( {|| ...}
1586
+ <a name="M000076"></a><b>update_each</b>( {|| ...}
3054
1587
  </div>
3055
1588
  <div class="description">
3056
1589
  <p>
3057
1590
  Iterates through each pair and updates a the hash in place. This is
3058
1591
  formally equivalent to mash! But does not use mash to accomplish the task.
3059
- Hence <a href="Hash.html#M000132">update_each</a> is probably a touch
1592
+ Hence <a href="Hash.html#M000076">update_each</a> is probably a touch
3060
1593
  faster.
3061
1594
  </p>
3062
1595
  <pre>
@@ -3064,10 +1597,10 @@ faster.
3064
1597
  </pre>
3065
1598
  </div>
3066
1599
  <div class="sourcecode">
3067
- <p class="source-link">[ <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show source</a> ]</p>
3068
- <div id="M000132_source" class="dyn-source">
1600
+ <p class="source-link">[ <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show source</a> ]</p>
1601
+ <div id="M000076_source" class="dyn-source">
3069
1602
  <pre>
3070
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 23</span>
1603
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 12</span>
3071
1604
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_each</span> <span class="ruby-comment cmt"># :yield:</span>
3072
1605
  <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>
3073
1606
  <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>))
@@ -3080,39 +1613,7 @@ faster.
3080
1613
  </div>
3081
1614
  <div class="method">
3082
1615
  <div class="title">
3083
- <a name="M000133"></a><b>update_keys</b>( {|| ...}
3084
- </div>
3085
- <div class="description">
3086
- <p>
3087
- Iterate over hash updating just the keys.
3088
- </p>
3089
- <pre>
3090
- h = {:a=&gt;1, :b=&gt;2}
3091
- h.update_keys{ |k| &quot;#{k}!&quot; }
3092
- h #=&gt; { &quot;a!&quot;=&gt;1, &quot;b!&quot;=&gt;2 }
3093
-
3094
- CREDIT: Trans
3095
- </pre>
3096
- </div>
3097
- <div class="sourcecode">
3098
- <p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show source</a> ]</p>
3099
- <div id="M000133_source" class="dyn-source">
3100
- <pre>
3101
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 38</span>
3102
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_keys</span> <span class="ruby-comment cmt">#:yield:</span>
3103
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3104
- <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>)) }
3105
- <span class="ruby-keyword kw">else</span>
3106
- <span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:update_keys</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="M000184"></a><b>update_keys</b>( {|| ...}
1616
+ <a name="M000077"></a><b>update_keys</b>( {|| ...}
3116
1617
  </div>
3117
1618
  <div class="description">
3118
1619
  <p>
@@ -3127,10 +1628,10 @@ Iterate over hash updating just the keys.
3127
1628
  </pre>
3128
1629
  </div>
3129
1630
  <div class="sourcecode">
3130
- <p class="source-link">[ <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">show source</a> ]</p>
3131
- <div id="M000184_source" class="dyn-source">
1631
+ <p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show source</a> ]</p>
1632
+ <div id="M000077_source" class="dyn-source">
3132
1633
  <pre>
3133
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 38</span>
1634
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 27</span>
3134
1635
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_keys</span> <span class="ruby-comment cmt">#:yield:</span>
3135
1636
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3136
1637
  <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>)) }
@@ -3144,39 +1645,7 @@ Iterate over hash updating just the keys.
3144
1645
  </div>
3145
1646
  <div class="method">
3146
1647
  <div class="title">
3147
- <a name="M000185"></a><b>update_values</b>( {|| ...}
3148
- </div>
3149
- <div class="description">
3150
- <p>
3151
- Iterate over hash updating just the values.
3152
- </p>
3153
- <pre>
3154
- h = {:a=&gt;1, :b=&gt;2}
3155
- h.update_values{ |v| v+1 }
3156
- h #=&gt; { a:=&gt;2, :b=&gt;3 }
3157
-
3158
- CREDIT: Trans
3159
- </pre>
3160
- </div>
3161
- <div class="sourcecode">
3162
- <p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">show source</a> ]</p>
3163
- <div id="M000185_source" class="dyn-source">
3164
- <pre>
3165
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 54</span>
3166
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_values</span> <span class="ruby-comment cmt">#:yield:</span>
3167
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3168
- <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>)) }
3169
- <span class="ruby-keyword kw">else</span>
3170
- <span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:update_values</span>)
3171
- <span class="ruby-keyword kw">end</span>
3172
- <span class="ruby-keyword kw">end</span>
3173
- </pre>
3174
- </div>
3175
- </div>
3176
- </div>
3177
- <div class="method">
3178
- <div class="title">
3179
- <a name="M000134"></a><b>update_values</b>( {|| ...}
1648
+ <a name="M000078"></a><b>update_values</b>( {|| ...}
3180
1649
  </div>
3181
1650
  <div class="description">
3182
1651
  <p>
@@ -3191,10 +1660,10 @@ Iterate over hash updating just the values.
3191
1660
  </pre>
3192
1661
  </div>
3193
1662
  <div class="sourcecode">
3194
- <p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show source</a> ]</p>
3195
- <div id="M000134_source" class="dyn-source">
1663
+ <p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show source</a> ]</p>
1664
+ <div id="M000078_source" class="dyn-source">
3196
1665
  <pre>
3197
- <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 54</span>
1666
+ <span class="ruby-comment cmt"># File lib/core/facets/hash/update.rb, line 43</span>
3198
1667
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_values</span> <span class="ruby-comment cmt">#:yield:</span>
3199
1668
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
3200
1669
  <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>)) }
@@ -3208,104 +1677,7 @@ Iterate over hash updating just the values.
3208
1677
  </div>
3209
1678
  <div class="method">
3210
1679
  <div class="title">
3211
- <a name="M000223"></a><b>weave</b>(h)
3212
- </div>
3213
- <div class="description">
3214
- <p>
3215
- Weave is a very uniqe hash operator. I is designed to merge to complex
3216
- hashes in according to sensible, regular pattern. The effect is akin to
3217
- inheritance.
3218
- </p>
3219
- <p>
3220
- Two hashes are weaved together to produce a new hash. The two hashes need
3221
- to be compatible according to the following rules for each node:
3222
- </p>
3223
- <pre>
3224
- &lt;tt&gt;
3225
- hash, hash =&gt; hash (recursive +)
3226
- hash, array =&gt; error
3227
- hash, value =&gt; error
3228
- array, hash =&gt; error
3229
- array, array =&gt; array + array
3230
- array, value =&gt; array &lt;&lt; value
3231
- value, hash =&gt; error
3232
- value, array =&gt; array.unshift(valueB)
3233
- value1, value2 =&gt; value2
3234
- &lt;/tt&gt;
3235
- </pre>
3236
- <p>
3237
- Here is a basic example:
3238
- </p>
3239
- <pre>
3240
- h1 = { :a =&gt; 1, :b =&gt; [ 1 ], :c =&gt; { :x =&gt; 1 } }
3241
- =&gt; {:b=&gt;[1], :c=&gt;{:x=&gt;1}, :a=&gt;1}
3242
-
3243
- h2 = { :a =&gt; 2, :b =&gt; [ 2 ], :c =&gt; { :x =&gt; 2 } }
3244
- =&gt; {:b=&gt;[2], :c=&gt;{:x=&gt;2}, :a=&gt;2}
3245
-
3246
- h1.weave(h2)
3247
- =&gt; {:b=&gt;[1, 2], :c=&gt;{:x=&gt;2}, :a=&gt;2}
3248
- </pre>
3249
- <p>
3250
- Weave follows the most expected pattern of unifying two complex hashes. It
3251
- is especially useful for implementing overridable configuration schemes.
3252
- </p>
3253
- <pre>
3254
- CREDIT: Thomas Sawyer
3255
- </pre>
3256
- </div>
3257
- <div class="sourcecode">
3258
- <p class="source-link">[ <a href="javascript:toggleSource('M000223_source')" id="l_M000223_source">show source</a> ]</p>
3259
- <div id="M000223_source" class="dyn-source">
3260
- <pre>
3261
- <span class="ruby-comment cmt"># File lib/core/facets/hash/weave.rb, line 40</span>
3262
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weave</span>(<span class="ruby-identifier">h</span>)
3263
- <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>)
3264
- <span class="ruby-identifier">s</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clone</span>
3265
- <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>
3266
- <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>)
3267
- <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>)
3268
- <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>)
3269
- <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>)
3270
- <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>)
3271
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">self_node_is_hash</span>
3272
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3273
- <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>)
3274
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3275
- <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>
3276
- <span class="ruby-keyword kw">else</span>
3277
- <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>
3278
- <span class="ruby-keyword kw">end</span>
3279
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">self_node_is_array</span>
3280
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3281
- <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>
3282
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3283
- <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">node</span>
3284
- <span class="ruby-keyword kw">else</span>
3285
- <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>
3286
- <span class="ruby-keyword kw">end</span>
3287
- <span class="ruby-keyword kw">else</span>
3288
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node_is_hash</span>
3289
- <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>
3290
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">node_is_array</span>
3291
- <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">unshift</span>( <span class="ruby-identifier">node</span> )
3292
- <span class="ruby-keyword kw">else</span>
3293
- <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">node</span>
3294
- <span class="ruby-keyword kw">end</span>
3295
- <span class="ruby-keyword kw">end</span>
3296
- <span class="ruby-keyword kw">else</span>
3297
- <span class="ruby-identifier">s</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">node</span>
3298
- <span class="ruby-keyword kw">end</span>
3299
- }
3300
- <span class="ruby-identifier">s</span>
3301
- <span class="ruby-keyword kw">end</span>
3302
- </pre>
3303
- </div>
3304
- </div>
3305
- </div>
3306
- <div class="method">
3307
- <div class="title">
3308
- <a name="M000172"></a><b>weave</b>(h)
1680
+ <a name="M000117"></a><b>weave</b>(h)
3309
1681
  </div>
3310
1682
  <div class="description">
3311
1683
  <p>
@@ -3352,8 +1724,8 @@ is especially useful for implementing overridable configuration schemes.
3352
1724
  </pre>
3353
1725
  </div>
3354
1726
  <div class="sourcecode">
3355
- <p class="source-link">[ <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">show source</a> ]</p>
3356
- <div id="M000172_source" class="dyn-source">
1727
+ <p class="source-link">[ <a href="javascript:toggleSource('M000117_source')" id="l_M000117_source">show source</a> ]</p>
1728
+ <div id="M000117_source" class="dyn-source">
3357
1729
  <pre>
3358
1730
  <span class="ruby-comment cmt"># File lib/core/facets/hash/weave.rb, line 40</span>
3359
1731
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weave</span>(<span class="ruby-identifier">h</span>)
@@ -3402,43 +1774,19 @@ is especially useful for implementing overridable configuration schemes.
3402
1774
  </div>
3403
1775
  <div class="method">
3404
1776
  <div class="title">
3405
- <a name="M000153"></a><b>|</b>(other)
3406
- </div>
3407
- <div class="description">
3408
- <p>
3409
- Operator for <a href="Hash.html#M000147">reverse_merge</a>.
3410
- </p>
3411
- <pre>
3412
- CREDIT: Trans
3413
- </pre>
3414
- </div>
3415
- <div class="sourcecode">
3416
- <p class="source-link">[ <a href="javascript:toggleSource('M000153_source')" id="l_M000153_source">show source</a> ]</p>
3417
- <div id="M000153_source" class="dyn-source">
3418
- <pre>
3419
- <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 36</span>
3420
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">|</span>(<span class="ruby-identifier">other</span>)
3421
- <span class="ruby-identifier">other</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-keyword kw">self</span>)
3422
- <span class="ruby-keyword kw">end</span>
3423
- </pre>
3424
- </div>
3425
- </div>
3426
- </div>
3427
- <div class="method">
3428
- <div class="title">
3429
- <a name="M000204"></a><b>|</b>(other)
1777
+ <a name="M000097"></a><b>|</b>(other)
3430
1778
  </div>
3431
1779
  <div class="description">
3432
1780
  <p>
3433
- Operator for <a href="Hash.html#M000147">reverse_merge</a>.
1781
+ Operator for <a href="Hash.html#M000091">reverse_merge</a>.
3434
1782
  </p>
3435
1783
  <pre>
3436
1784
  CREDIT: Trans
3437
1785
  </pre>
3438
1786
  </div>
3439
1787
  <div class="sourcecode">
3440
- <p class="source-link">[ <a href="javascript:toggleSource('M000204_source')" id="l_M000204_source">show source</a> ]</p>
3441
- <div id="M000204_source" class="dyn-source">
1788
+ <p class="source-link">[ <a href="javascript:toggleSource('M000097_source')" id="l_M000097_source">show source</a> ]</p>
1789
+ <div id="M000097_source" class="dyn-source">
3442
1790
  <pre>
3443
1791
  <span class="ruby-comment cmt"># File lib/core/facets/hash/op.rb, line 36</span>
3444
1792
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">|</span>(<span class="ruby-identifier">other</span>)