facets 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. data/AUTHORS +1 -1
  2. data/CHANGES +25 -5
  3. data/MANIFEST +67 -34
  4. data/METADATA +2 -2
  5. data/NEWS +54 -46
  6. data/doc/news/NEWS-2.4.0 +52 -0
  7. data/doc/rdoc/core/classes/Array.html +198 -198
  8. data/doc/rdoc/core/classes/Binding.html +86 -192
  9. data/doc/rdoc/core/classes/Class.html +136 -136
  10. data/doc/rdoc/core/classes/Comparable.html +45 -45
  11. data/doc/rdoc/core/classes/Dir.html +64 -64
  12. data/doc/rdoc/core/classes/Enumerable.html +287 -281
  13. data/doc/rdoc/core/classes/Exception.html +16 -16
  14. data/doc/rdoc/core/classes/FalseClass.html +8 -8
  15. data/doc/rdoc/core/classes/File.html +100 -100
  16. data/doc/rdoc/core/classes/FileTest.html +8 -8
  17. data/doc/rdoc/core/classes/Float.html +32 -32
  18. data/doc/rdoc/core/classes/Friend.html +8 -8
  19. data/doc/rdoc/core/classes/Functor.html +12 -12
  20. data/doc/rdoc/core/classes/Hash.html +439 -847
  21. data/doc/rdoc/{more → core}/classes/Indexable.html +115 -115
  22. data/doc/rdoc/core/classes/InstanceVariables.html +88 -88
  23. data/doc/rdoc/core/classes/Integer.html +142 -142
  24. data/doc/rdoc/core/classes/Kernel.html +602 -600
  25. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  26. data/doc/rdoc/core/classes/MatchData.html +30 -30
  27. data/doc/rdoc/core/classes/Module.html +379 -327
  28. data/doc/rdoc/core/classes/NilClass.html +32 -32
  29. data/doc/rdoc/core/classes/Numeric.html +46 -46
  30. data/doc/rdoc/core/classes/Object.html +4 -4
  31. data/doc/rdoc/core/classes/Proc.html +46 -134
  32. data/doc/rdoc/core/classes/Range.html +60 -60
  33. data/doc/rdoc/core/classes/Regexp.html +28 -28
  34. data/doc/rdoc/{more → core}/classes/Stackable.html +38 -38
  35. data/doc/rdoc/core/classes/String.html +844 -504
  36. data/doc/rdoc/core/classes/Symbol.html +62 -62
  37. data/doc/rdoc/core/classes/Time.html +112 -112
  38. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  39. data/doc/rdoc/core/classes/UnboundMethod.html +22 -22
  40. data/doc/rdoc/core/created.rid +1 -1
  41. data/doc/rdoc/core/files/lib/core/facets/array_rb.html +4 -1
  42. data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -1
  43. data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
  44. data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +96 -0
  45. data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +96 -0
  46. data/doc/rdoc/core/files/lib/core/facets/class_rb.html +5 -1
  47. data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -1
  48. data/doc/rdoc/core/files/lib/core/facets/{class/to_methodname_rb.html → enumerable/commonality_rb.html} +4 -4
  49. data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +96 -0
  50. data/doc/rdoc/core/files/lib/core/facets/{class/to_pathname_rb.html → enumerable/frequency_rb.html} +4 -4
  51. data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
  52. data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +6 -2
  53. data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -1
  54. data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +7 -1
  55. data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/indexable_rb.html +2 -2
  56. data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +92 -0
  57. data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +92 -0
  58. data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +15 -2
  59. data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +96 -0
  60. data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +96 -0
  61. data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
  62. data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +5 -1
  63. data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +92 -0
  64. data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +92 -0
  65. data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +92 -0
  66. data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +8 -1
  67. data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +92 -0
  68. data/doc/rdoc/core/files/lib/core/facets/module_rb.html +8 -5
  69. data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -1
  70. data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +3 -5
  71. data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/stackable_rb.html +3 -4
  72. data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +96 -0
  73. data/doc/rdoc/core/files/lib/core/facets/{module/clone_rb.html → string/methodize_rb.html} +4 -4
  74. data/doc/rdoc/core/files/lib/core/facets/{kernel/load_rb.html → string/pathize_rb.html} +4 -4
  75. data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +92 -0
  76. data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +1 -5
  77. data/doc/rdoc/core/files/lib/core/facets/string_rb.html +8 -3
  78. data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -1
  79. data/doc/rdoc/core/fr_class_index.html +2 -3
  80. data/doc/rdoc/core/fr_file_index.html +36 -16
  81. data/doc/rdoc/core/fr_method_index.html +778 -784
  82. data/doc/rdoc/lore/created.rid +1 -1
  83. data/doc/rdoc/more/classes/ANSICode.html +66 -66
  84. data/doc/rdoc/more/classes/Advisable.html +37 -37
  85. data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
  86. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
  87. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
  88. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
  89. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
  90. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
  91. data/doc/rdoc/more/classes/Association.html +28 -28
  92. data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
  93. data/doc/rdoc/more/classes/Autoarray.html +12 -12
  94. data/doc/rdoc/more/classes/BBCode.html +34 -34
  95. data/doc/rdoc/more/classes/BaseX.html +16 -16
  96. data/doc/rdoc/more/classes/BiCrypt.html +67 -67
  97. data/doc/rdoc/more/classes/BigDuration.html +30 -30
  98. data/doc/rdoc/more/classes/BinReadable.html +85 -85
  99. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
  100. data/doc/rdoc/more/classes/Binding.html +201 -0
  101. data/doc/rdoc/more/classes/Buildable.html +4 -4
  102. data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
  103. data/doc/rdoc/more/classes/CLI.html +108 -0
  104. data/doc/rdoc/more/classes/CLI/Arguments.html +76 -76
  105. data/doc/rdoc/more/classes/CLI/Command.html +22 -22
  106. data/doc/rdoc/more/classes/CLI/NoCommandError.html +4 -4
  107. data/doc/rdoc/more/classes/CLI/NoOptionError.html +4 -4
  108. data/doc/rdoc/more/classes/CacheDecorator.html +21 -21
  109. data/doc/rdoc/more/classes/Capsule.html +41 -41
  110. data/doc/rdoc/more/classes/Chain.html +17 -17
  111. data/doc/rdoc/more/classes/Cloneable.html +4 -4
  112. data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
  113. data/doc/rdoc/more/classes/Coroutine.html +28 -28
  114. data/doc/rdoc/more/classes/Crypt.html +16 -16
  115. data/doc/rdoc/more/classes/CssFilter.html +45 -45
  116. data/doc/rdoc/more/classes/CssTree.html +8 -8
  117. data/doc/rdoc/more/classes/Dictionary.html +228 -228
  118. data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
  119. data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
  120. data/doc/rdoc/more/classes/Downloader.html +56 -56
  121. data/doc/rdoc/more/classes/Duration.html +68 -68
  122. data/doc/rdoc/more/classes/Enumerable.html +44 -44
  123. data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
  124. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
  125. data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
  126. data/doc/rdoc/more/classes/Equatable.html +16 -16
  127. data/doc/rdoc/more/classes/EventHook.html +8 -8
  128. data/doc/rdoc/more/classes/Expirable.html +17 -17
  129. data/doc/rdoc/more/classes/FileList.html +125 -125
  130. data/doc/rdoc/more/classes/FileShell.html +147 -147
  131. data/doc/rdoc/more/classes/Fileable.html +14 -14
  132. data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
  133. data/doc/rdoc/more/classes/Hash.html +306 -14
  134. data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
  135. data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
  136. data/doc/rdoc/more/classes/IORedirect.html +19 -19
  137. data/doc/rdoc/more/classes/InfinityClass.html +36 -36
  138. data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
  139. data/doc/rdoc/more/classes/Ini.html +37 -37
  140. data/doc/rdoc/more/classes/Instantiable.html +9 -9
  141. data/doc/rdoc/more/classes/Instantise.html +8 -8
  142. data/doc/rdoc/more/classes/Interval.html +187 -187
  143. data/doc/rdoc/more/classes/It.html +12 -12
  144. data/doc/rdoc/more/classes/Kernel.html +77 -77
  145. data/doc/rdoc/more/classes/LRUCache.html +38 -38
  146. data/doc/rdoc/more/classes/LinkedList.html +68 -68
  147. data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
  148. data/doc/rdoc/{core → more}/classes/MissingArgument.html +1 -2
  149. data/doc/rdoc/more/classes/Module.html +171 -171
  150. data/doc/rdoc/more/classes/Multiton.html +12 -12
  151. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
  152. data/doc/rdoc/more/classes/Net/SMTP.html +19 -19
  153. data/doc/rdoc/more/classes/NullClass.html +24 -24
  154. data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
  155. data/doc/rdoc/more/classes/OpEsc.html +5 -5
  156. data/doc/rdoc/more/classes/OpenCascade.html +4 -4
  157. data/doc/rdoc/more/classes/OpenCollection.html +8 -8
  158. data/doc/rdoc/more/classes/OpenHash.html +9 -9
  159. data/doc/rdoc/more/classes/OpenObject.html +95 -95
  160. data/doc/rdoc/more/classes/PQueue.html +84 -84
  161. data/doc/rdoc/more/classes/Paramix.html +11 -11
  162. data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
  163. data/doc/rdoc/more/classes/PathList.html +8 -8
  164. data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
  165. data/doc/rdoc/more/classes/Platform.html +46 -46
  166. data/doc/rdoc/more/classes/Pool.html +18 -18
  167. data/doc/rdoc/more/classes/Proc.html +48 -4
  168. data/doc/rdoc/more/classes/ProgressBar.html +52 -52
  169. data/doc/rdoc/more/classes/Prototype.html +28 -28
  170. data/doc/rdoc/more/classes/RWDelegator.html +16 -16
  171. data/doc/rdoc/more/classes/Random.html +9 -9
  172. data/doc/rdoc/more/classes/Random/Array.html +37 -37
  173. data/doc/rdoc/more/classes/Random/Hash.html +52 -52
  174. data/doc/rdoc/more/classes/Random/Object.html +4 -4
  175. data/doc/rdoc/more/classes/Random/String.html +34 -34
  176. data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
  177. data/doc/rdoc/more/classes/Recorder.html +16 -16
  178. data/doc/rdoc/more/classes/Reference.html +19 -19
  179. data/doc/rdoc/more/classes/Registerable.html +13 -13
  180. data/doc/rdoc/more/classes/Semaphore.html +36 -36
  181. data/doc/rdoc/more/classes/Settings.html +28 -28
  182. data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
  183. data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
  184. data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
  185. data/doc/rdoc/more/classes/Snapshot.html +16 -16
  186. data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
  187. data/doc/rdoc/more/classes/String/Style.html +113 -113
  188. data/doc/rdoc/{core → more}/classes/String/Words.html +78 -78
  189. data/doc/rdoc/more/classes/Struct.html +8 -8
  190. data/doc/rdoc/more/classes/SyncArray.html +4 -4
  191. data/doc/rdoc/more/classes/SyncHash.html +4 -4
  192. data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
  193. data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
  194. data/doc/rdoc/more/classes/System.html +253 -253
  195. data/doc/rdoc/more/classes/Timer.html +48 -48
  196. data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
  197. data/doc/rdoc/more/classes/TracePoint.html +64 -62
  198. data/doc/rdoc/more/classes/Tuple.html +170 -170
  199. data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
  200. data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
  201. data/doc/rdoc/more/classes/Uninheritable.html +6 -6
  202. data/doc/rdoc/more/classes/UploadUtils.html +49 -49
  203. data/doc/rdoc/more/classes/VersionNumber.html +53 -53
  204. data/doc/rdoc/more/classes/Weekdays.html +28 -28
  205. data/doc/rdoc/more/classes/XOXO.html +9 -9
  206. data/doc/rdoc/more/classes/ZipUtils.html +58 -58
  207. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +28 -28
  208. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +28 -28
  209. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +28 -28
  210. data/doc/rdoc/more/created.rid +1 -1
  211. data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +1 -1
  212. data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/binding/opvars_rb.html +2 -2
  213. data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/stringify_keys_rb.html +2 -2
  214. data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/symbolize_keys_rb.html +2 -2
  215. data/doc/rdoc/{core/files/lib/core/facets/proc → more/files/lib/more/facets}/partial_rb.html +8 -7
  216. data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
  217. data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +96 -0
  218. data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +13 -8
  219. data/doc/rdoc/more/fr_class_index.html +4 -2
  220. data/doc/rdoc/more/fr_file_index.html +9 -2
  221. data/doc/rdoc/more/fr_method_index.html +1013 -1009
  222. data/doc/ri/CLI/cdesc-CLI.yaml +7 -2
  223. data/doc/ri/Enumerable/probability-i.yaml +1 -1
  224. data/doc/ri/Module/append_features-i.yaml +4 -3
  225. data/doc/ri/Module/cdesc-Module.yaml +4 -3
  226. data/doc/ri/Module/methodize-i.yaml +14 -0
  227. data/doc/ri/Module/redefine_method-i.yaml +1 -1
  228. data/doc/ri/Module/redirect_method-i.yaml +3 -1
  229. data/doc/ri/Module/rename_method-i.yaml +1 -1
  230. data/doc/ri/created.rid +1 -1
  231. data/lib/core/facets/array.rb +3 -0
  232. data/lib/core/facets/binding.rb +0 -1
  233. data/lib/core/facets/class.rb +4 -4
  234. data/lib/core/facets/class/{to_methodname.rb → methodize.rb} +5 -2
  235. data/lib/core/facets/class/pathize.rb +14 -0
  236. data/lib/core/facets/enumerable.rb +5 -2
  237. data/lib/core/facets/enumerable/commonality.rb +33 -0
  238. data/lib/core/facets/enumerable/entropy.rb +37 -0
  239. data/lib/core/facets/enumerable/frequency.rb +18 -0
  240. data/lib/core/facets/enumerable/probability.rb +1 -98
  241. data/lib/core/facets/file.rb +1 -1
  242. data/lib/core/facets/hash.rb +6 -0
  243. data/lib/{more → core}/facets/indexable.rb +0 -0
  244. data/lib/core/facets/kernel.rb +15 -1
  245. data/lib/core/facets/kernel/require_all.rb +21 -0
  246. data/lib/core/facets/kernel/{load.rb → require_local.rb} +6 -23
  247. data/lib/core/facets/module.rb +7 -3
  248. data/lib/core/facets/module/integrate.rb +2 -0
  249. data/lib/core/facets/module/methodize.rb +14 -0
  250. data/lib/core/facets/module/pathize.rb +10 -7
  251. data/lib/core/facets/module/redefine_method.rb +35 -0
  252. data/lib/core/facets/module/redirect_method.rb +45 -0
  253. data/lib/core/facets/module/rename_method.rb +20 -0
  254. data/lib/core/facets/module/revise.rb +7 -113
  255. data/lib/core/facets/module/wrap_method.rb +28 -0
  256. data/lib/core/facets/numeric.rb +1 -1
  257. data/lib/core/facets/proc.rb +2 -3
  258. data/lib/{more → core}/facets/stackable.rb +0 -0
  259. data/lib/core/facets/string.rb +8 -6
  260. data/lib/core/facets/string/each_word.rb +13 -0
  261. data/lib/core/facets/string/methodize.rb +12 -0
  262. data/lib/core/facets/string/pathize.rb +12 -0
  263. data/lib/core/facets/string/word_wrap.rb +34 -0
  264. data/lib/core/facets/string/words.rb +6 -167
  265. data/lib/core/facets/symbol.rb +1 -0
  266. data/lib/more/facets/ansicode.rb +4 -4
  267. data/lib/{core → more}/facets/binding/opvars.rb +0 -0
  268. data/lib/{core → more}/facets/hash/stringify_keys.rb +0 -0
  269. data/lib/{core → more}/facets/hash/symbolize_keys.rb +5 -6
  270. data/lib/{core/facets/proc → more/facets}/partial.rb +0 -0
  271. data/lib/more/facets/string/words.rb +173 -0
  272. data/test/core/dir/test_multiglob.rb +1 -0
  273. data/test/core/dir/test_recurse.rb +1 -0
  274. data/test/core/enumerable/test_commonality.rb +15 -0
  275. data/test/core/enumerable/test_entropy.rb +15 -0
  276. data/test/core/enumerable/test_frequency.rb +11 -0
  277. data/test/core/enumerable/test_probability.rb +1 -34
  278. data/test/core/string/test_each_word.rb +14 -0
  279. data/test/core/string/test_fold.rb +1 -1
  280. data/test/core/string/test_word_wrap.rb +35 -0
  281. data/test/core/string/test_words.rb +12 -61
  282. data/test/more/test_command.rb +7 -9
  283. data/test/more/test_paramix.rb +4 -1
  284. data/test/{core/proc → more}/test_partial.rb +1 -1
  285. metadata +75 -38
  286. data/doc/rdoc/core/classes/Module/CloneExtensions.html +0 -287
  287. data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +0 -20
  288. data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +0 -14
  289. data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +0 -14
  290. data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +0 -14
  291. data/lib/core/facets/class/to_pathname.rb +0 -12
  292. data/lib/core/facets/module/clone.rb +0 -57
  293. data/test/core/module/test_clone.rb +0 -45
@@ -58,13 +58,13 @@
58
58
  <td>In:</td>
59
59
  <td>
60
60
  <a href="../files/lib/core/facets/class/prepend_rb.html">lib/core/facets/class/prepend.rb</a>
61
- <a href="../files/lib/core/facets/class/to_methodname_rb.html">lib/core/facets/class/to_methodname.rb</a>
62
- <a href="../files/lib/core/facets/class/to_pathname_rb.html">lib/core/facets/class/to_pathname.rb</a>
61
+ <a href="../files/lib/core/facets/class/methodize_rb.html">lib/core/facets/class/methodize.rb</a>
62
+ <a href="../files/lib/core/facets/class/pathize_rb.html">lib/core/facets/class/pathize.rb</a>
63
63
  <a href="../files/lib/core/facets/class/descendents_rb.html">lib/core/facets/class/descendents.rb</a>
64
64
  <a href="../files/lib/core/facets/class/to_proc_rb.html">lib/core/facets/class/to_proc.rb</a>
65
65
  <a href="../files/lib/core/facets/class/prepend_rb.html">lib/core/facets/class/prepend.rb</a>
66
- <a href="../files/lib/core/facets/class/to_methodname_rb.html">lib/core/facets/class/to_methodname.rb</a>
67
- <a href="../files/lib/core/facets/class/to_pathname_rb.html">lib/core/facets/class/to_pathname.rb</a>
66
+ <a href="../files/lib/core/facets/class/methodize_rb.html">lib/core/facets/class/methodize.rb</a>
67
+ <a href="../files/lib/core/facets/class/pathize_rb.html">lib/core/facets/class/pathize.rb</a>
68
68
  <a href="../files/lib/core/facets/class/descendents_rb.html">lib/core/facets/class/descendents.rb</a>
69
69
  <a href="../files/lib/core/facets/class/to_proc_rb.html">lib/core/facets/class/to_proc.rb</a>
70
70
  </td>
@@ -91,18 +91,18 @@ Object
91
91
 
92
92
  <div class="sectiontitle">Methods</div>
93
93
  <ul>
94
- <li><a href="#M000384">descendents</a></li>
95
- <li><a href="#M000390">descendents</a></li>
96
- <li><a href="#M000381">prepend</a></li>
97
- <li><a href="#M000387">prepend</a></li>
98
- <li><a href="#M000385">subclasses</a></li>
99
- <li><a href="#M000391">subclasses</a></li>
100
- <li><a href="#M000388">to_methodname</a></li>
101
- <li><a href="#M000382">to_methodname</a></li>
102
- <li><a href="#M000383">to_pathname</a></li>
103
- <li><a href="#M000389">to_pathname</a></li>
104
- <li><a href="#M000386">to_proc</a></li>
105
- <li><a href="#M000392">to_proc</a></li>
94
+ <li><a href="#M000360">descendents</a></li>
95
+ <li><a href="#M000366">descendents</a></li>
96
+ <li><a href="#M000358">methodize</a></li>
97
+ <li><a href="#M000364">methodize</a></li>
98
+ <li><a href="#M000359">pathize</a></li>
99
+ <li><a href="#M000365">pathize</a></li>
100
+ <li><a href="#M000357">prepend</a></li>
101
+ <li><a href="#M000363">prepend</a></li>
102
+ <li><a href="#M000367">subclasses</a></li>
103
+ <li><a href="#M000361">subclasses</a></li>
104
+ <li><a href="#M000362">to_proc</a></li>
105
+ <li><a href="#M000368">to_proc</a></li>
106
106
  </ul>
107
107
 
108
108
 
@@ -113,7 +113,7 @@ Object
113
113
  <div class="sectiontitle">Public Instance methods</div>
114
114
  <div class="method">
115
115
  <div class="title">
116
- <a name="M000384"></a><b>descendents</b>()
116
+ <a name="M000360"></a><b>descendents</b>()
117
117
  </div>
118
118
  <div class="description">
119
119
  <p>
@@ -131,12 +131,12 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
131
131
  </div>
132
132
  <div class="aka">
133
133
  This method is also aliased as
134
- <a href="Class.html#M000385">subclasses</a>
135
- <a href="Class.html#M000391">subclasses</a>
134
+ <a href="Class.html#M000361">subclasses</a>
135
+ <a href="Class.html#M000367">subclasses</a>
136
136
  </div>
137
137
  <div class="sourcecode">
138
- <p class="source-link">[ <a href="javascript:toggleSource('M000384_source')" id="l_M000384_source">show source</a> ]</p>
139
- <div id="M000384_source" class="dyn-source">
138
+ <p class="source-link">[ <a href="javascript:toggleSource('M000360_source')" id="l_M000360_source">show source</a> ]</p>
139
+ <div id="M000360_source" class="dyn-source">
140
140
  <pre>
141
141
  <span class="ruby-comment cmt"># File lib/core/facets/class/descendents.rb, line 13</span>
142
142
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">descendents</span>
@@ -154,7 +154,7 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
154
154
  </div>
155
155
  <div class="method">
156
156
  <div class="title">
157
- <a name="M000390"></a><b>descendents</b>()
157
+ <a name="M000366"></a><b>descendents</b>()
158
158
  </div>
159
159
  <div class="description">
160
160
  <p>
@@ -171,8 +171,8 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
171
171
  </p>
172
172
  </div>
173
173
  <div class="sourcecode">
174
- <p class="source-link">[ <a href="javascript:toggleSource('M000390_source')" id="l_M000390_source">show source</a> ]</p>
175
- <div id="M000390_source" class="dyn-source">
174
+ <p class="source-link">[ <a href="javascript:toggleSource('M000366_source')" id="l_M000366_source">show source</a> ]</p>
175
+ <div id="M000366_source" class="dyn-source">
176
176
  <pre>
177
177
  <span class="ruby-comment cmt"># File lib/core/facets/class/descendents.rb, line 13</span>
178
178
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">descendents</span>
@@ -190,7 +190,103 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
190
190
  </div>
191
191
  <div class="method">
192
192
  <div class="title">
193
- <a name="M000381"></a><b>prepend</b>( aspect )
193
+ <a name="M000358"></a><b>methodize</b>()
194
+ </div>
195
+ <div class="description">
196
+ <p>
197
+ Translate a class name to a suitable method name.
198
+ </p>
199
+ <pre>
200
+ My::CoolClass.methodize =&gt; &quot;my__cool_class&quot;
201
+ </pre>
202
+ </div>
203
+ <div class="sourcecode">
204
+ <p class="source-link">[ <a href="javascript:toggleSource('M000358_source')" id="l_M000358_source">show source</a> ]</p>
205
+ <div id="M000358_source" class="dyn-source">
206
+ <pre>
207
+ <span class="ruby-comment cmt"># File lib/core/facets/class/methodize.rb, line 9</span>
208
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
209
+ <span class="ruby-identifier">name</span>.<span class="ruby-identifier">methodize</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="M000364"></a><b>methodize</b>()
218
+ </div>
219
+ <div class="description">
220
+ <p>
221
+ Translate a class name to a suitable method name.
222
+ </p>
223
+ <pre>
224
+ My::CoolClass.methodize =&gt; &quot;my__cool_class&quot;
225
+ </pre>
226
+ </div>
227
+ <div class="sourcecode">
228
+ <p class="source-link">[ <a href="javascript:toggleSource('M000364_source')" id="l_M000364_source">show source</a> ]</p>
229
+ <div id="M000364_source" class="dyn-source">
230
+ <pre>
231
+ <span class="ruby-comment cmt"># File lib/core/facets/class/methodize.rb, line 9</span>
232
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
233
+ <span class="ruby-identifier">name</span>.<span class="ruby-identifier">methodize</span>
234
+ <span class="ruby-keyword kw">end</span>
235
+ </pre>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ <div class="method">
240
+ <div class="title">
241
+ <a name="M000359"></a><b>pathize</b>()
242
+ </div>
243
+ <div class="description">
244
+ <p>
245
+ Converts a class name to a unix path.
246
+ </p>
247
+ <pre>
248
+ My::CoolClass.pathize #=&gt; &quot;my/cool_class&quot;
249
+ </pre>
250
+ </div>
251
+ <div class="sourcecode">
252
+ <p class="source-link">[ <a href="javascript:toggleSource('M000359_source')" id="l_M000359_source">show source</a> ]</p>
253
+ <div id="M000359_source" class="dyn-source">
254
+ <pre>
255
+ <span class="ruby-comment cmt"># File lib/core/facets/class/pathize.rb, line 9</span>
256
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
257
+ <span class="ruby-identifier">name</span>.<span class="ruby-identifier">pathize</span>
258
+ <span class="ruby-keyword kw">end</span>
259
+ </pre>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ <div class="method">
264
+ <div class="title">
265
+ <a name="M000365"></a><b>pathize</b>()
266
+ </div>
267
+ <div class="description">
268
+ <p>
269
+ Converts a class name to a unix path.
270
+ </p>
271
+ <pre>
272
+ My::CoolClass.pathize #=&gt; &quot;my/cool_class&quot;
273
+ </pre>
274
+ </div>
275
+ <div class="sourcecode">
276
+ <p class="source-link">[ <a href="javascript:toggleSource('M000365_source')" id="l_M000365_source">show source</a> ]</p>
277
+ <div id="M000365_source" class="dyn-source">
278
+ <pre>
279
+ <span class="ruby-comment cmt"># File lib/core/facets/class/pathize.rb, line 9</span>
280
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
281
+ <span class="ruby-identifier">name</span>.<span class="ruby-identifier">pathize</span>
282
+ <span class="ruby-keyword kw">end</span>
283
+ </pre>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ <div class="method">
288
+ <div class="title">
289
+ <a name="M000357"></a><b>prepend</b>( aspect )
194
290
  </div>
195
291
  <div class="description">
196
292
  <p>
@@ -230,8 +326,8 @@ TODO: Perhaps rename this to preallocate, b/c of
230
326
  </pre>
231
327
  </div>
232
328
  <div class="sourcecode">
233
- <p class="source-link">[ <a href="javascript:toggleSource('M000381_source')" id="l_M000381_source">show source</a> ]</p>
234
- <div id="M000381_source" class="dyn-source">
329
+ <p class="source-link">[ <a href="javascript:toggleSource('M000357_source')" id="l_M000357_source">show source</a> ]</p>
330
+ <div id="M000357_source" class="dyn-source">
235
331
  <pre>
236
332
  <span class="ruby-comment cmt"># File lib/core/facets/class/prepend.rb, line 31</span>
237
333
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>( <span class="ruby-identifier">aspect</span> )
@@ -256,7 +352,7 @@ TODO: Perhaps rename this to preallocate, b/c of
256
352
  </div>
257
353
  <div class="method">
258
354
  <div class="title">
259
- <a name="M000387"></a><b>prepend</b>( aspect )
355
+ <a name="M000363"></a><b>prepend</b>( aspect )
260
356
  </div>
261
357
  <div class="description">
262
358
  <p>
@@ -296,8 +392,8 @@ TODO: Perhaps rename this to preallocate, b/c of
296
392
  </pre>
297
393
  </div>
298
394
  <div class="sourcecode">
299
- <p class="source-link">[ <a href="javascript:toggleSource('M000387_source')" id="l_M000387_source">show source</a> ]</p>
300
- <div id="M000387_source" class="dyn-source">
395
+ <p class="source-link">[ <a href="javascript:toggleSource('M000363_source')" id="l_M000363_source">show source</a> ]</p>
396
+ <div id="M000363_source" class="dyn-source">
301
397
  <pre>
302
398
  <span class="ruby-comment cmt"># File lib/core/facets/class/prepend.rb, line 31</span>
303
399
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>( <span class="ruby-identifier">aspect</span> )
@@ -322,123 +418,27 @@ TODO: Perhaps rename this to preallocate, b/c of
322
418
  </div>
323
419
  <div class="method">
324
420
  <div class="title">
325
- <a name="M000385"></a><b>subclasses</b>()
421
+ <a name="M000367"></a><b>subclasses</b>()
326
422
  </div>
327
423
  <div class="description">
328
424
  <p>
329
- Alias for <a href="Class.html#M000384">descendents</a>
425
+ Alias for <a href="Class.html#M000360">descendents</a>
330
426
  </p>
331
427
  </div>
332
428
  </div>
333
429
  <div class="method">
334
430
  <div class="title">
335
- <a name="M000391"></a><b>subclasses</b>()
431
+ <a name="M000361"></a><b>subclasses</b>()
336
432
  </div>
337
433
  <div class="description">
338
434
  <p>
339
- Alias for <a href="Class.html#M000384">descendents</a>
435
+ Alias for <a href="Class.html#M000360">descendents</a>
340
436
  </p>
341
437
  </div>
342
438
  </div>
343
439
  <div class="method">
344
440
  <div class="title">
345
- <a name="M000388"></a><b>to_methodname</b>()
346
- </div>
347
- <div class="description">
348
- <p>
349
- Translate a class name to a suitable method name.
350
- </p>
351
- <pre>
352
- My::CoolClass.methodize =&gt; &quot;my__cool_class&quot;
353
- </pre>
354
- </div>
355
- <div class="sourcecode">
356
- <p class="source-link">[ <a href="javascript:toggleSource('M000388_source')" id="l_M000388_source">show source</a> ]</p>
357
- <div id="M000388_source" class="dyn-source">
358
- <pre>
359
- <span class="ruby-comment cmt"># File lib/core/facets/class/to_methodname.rb, line 7</span>
360
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_methodname</span>
361
- <span class="ruby-identifier">name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'::'</span>,<span class="ruby-value str">'__'</span>).<span class="ruby-identifier">downcase</span>
362
- <span class="ruby-keyword kw">end</span>
363
- </pre>
364
- </div>
365
- </div>
366
- </div>
367
- <div class="method">
368
- <div class="title">
369
- <a name="M000382"></a><b>to_methodname</b>()
370
- </div>
371
- <div class="description">
372
- <p>
373
- Translate a class name to a suitable method name.
374
- </p>
375
- <pre>
376
- My::CoolClass.methodize =&gt; &quot;my__cool_class&quot;
377
- </pre>
378
- </div>
379
- <div class="sourcecode">
380
- <p class="source-link">[ <a href="javascript:toggleSource('M000382_source')" id="l_M000382_source">show source</a> ]</p>
381
- <div id="M000382_source" class="dyn-source">
382
- <pre>
383
- <span class="ruby-comment cmt"># File lib/core/facets/class/to_methodname.rb, line 7</span>
384
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_methodname</span>
385
- <span class="ruby-identifier">name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'::'</span>,<span class="ruby-value str">'__'</span>).<span class="ruby-identifier">downcase</span>
386
- <span class="ruby-keyword kw">end</span>
387
- </pre>
388
- </div>
389
- </div>
390
- </div>
391
- <div class="method">
392
- <div class="title">
393
- <a name="M000383"></a><b>to_pathname</b>()
394
- </div>
395
- <div class="description">
396
- <p>
397
- Converts a class name to a unix path
398
- </p>
399
- <pre>
400
- My::CoolClass.pathize #=&gt; &quot;/my/cool_class&quot;
401
- </pre>
402
- </div>
403
- <div class="sourcecode">
404
- <p class="source-link">[ <a href="javascript:toggleSource('M000383_source')" id="l_M000383_source">show source</a> ]</p>
405
- <div id="M000383_source" class="dyn-source">
406
- <pre>
407
- <span class="ruby-comment cmt"># File lib/core/facets/class/to_pathname.rb, line 7</span>
408
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_pathname</span>
409
- <span class="ruby-value str">'/'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'::'</span>,<span class="ruby-value str">'/'</span>).<span class="ruby-identifier">downcase</span>
410
- <span class="ruby-keyword kw">end</span>
411
- </pre>
412
- </div>
413
- </div>
414
- </div>
415
- <div class="method">
416
- <div class="title">
417
- <a name="M000389"></a><b>to_pathname</b>()
418
- </div>
419
- <div class="description">
420
- <p>
421
- Converts a class name to a unix path
422
- </p>
423
- <pre>
424
- My::CoolClass.pathize #=&gt; &quot;/my/cool_class&quot;
425
- </pre>
426
- </div>
427
- <div class="sourcecode">
428
- <p class="source-link">[ <a href="javascript:toggleSource('M000389_source')" id="l_M000389_source">show source</a> ]</p>
429
- <div id="M000389_source" class="dyn-source">
430
- <pre>
431
- <span class="ruby-comment cmt"># File lib/core/facets/class/to_pathname.rb, line 7</span>
432
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_pathname</span>
433
- <span class="ruby-value str">'/'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'::'</span>,<span class="ruby-value str">'/'</span>).<span class="ruby-identifier">downcase</span>
434
- <span class="ruby-keyword kw">end</span>
435
- </pre>
436
- </div>
437
- </div>
438
- </div>
439
- <div class="method">
440
- <div class="title">
441
- <a name="M000386"></a><b>to_proc</b>()
441
+ <a name="M000362"></a><b>to_proc</b>()
442
442
  </div>
443
443
  <div class="description">
444
444
  <p>
@@ -462,8 +462,8 @@ CREDIT: Daniel Schierbeck
462
462
  </p>
463
463
  </div>
464
464
  <div class="sourcecode">
465
- <p class="source-link">[ <a href="javascript:toggleSource('M000386_source')" id="l_M000386_source">show source</a> ]</p>
466
- <div id="M000386_source" class="dyn-source">
465
+ <p class="source-link">[ <a href="javascript:toggleSource('M000362_source')" id="l_M000362_source">show source</a> ]</p>
466
+ <div id="M000362_source" class="dyn-source">
467
467
  <pre>
468
468
  <span class="ruby-comment cmt"># File lib/core/facets/class/to_proc.rb, line 19</span>
469
469
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
@@ -475,7 +475,7 @@ CREDIT: Daniel Schierbeck
475
475
  </div>
476
476
  <div class="method">
477
477
  <div class="title">
478
- <a name="M000392"></a><b>to_proc</b>()
478
+ <a name="M000368"></a><b>to_proc</b>()
479
479
  </div>
480
480
  <div class="description">
481
481
  <p>
@@ -499,8 +499,8 @@ CREDIT: Daniel Schierbeck
499
499
  </p>
500
500
  </div>
501
501
  <div class="sourcecode">
502
- <p class="source-link">[ <a href="javascript:toggleSource('M000392_source')" id="l_M000392_source">show source</a> ]</p>
503
- <div id="M000392_source" class="dyn-source">
502
+ <p class="source-link">[ <a href="javascript:toggleSource('M000368_source')" id="l_M000368_source">show source</a> ]</p>
503
+ <div id="M000368_source" class="dyn-source">
504
504
  <pre>
505
505
  <span class="ruby-comment cmt"># File lib/core/facets/class/to_proc.rb, line 19</span>
506
506
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
@@ -77,18 +77,18 @@
77
77
 
78
78
  <div class="sectiontitle">Methods</div>
79
79
  <ul>
80
+ <li><a href="#M000716">at_least</a></li>
80
81
  <li><a href="#M000722">at_least</a></li>
81
- <li><a href="#M000728">at_least</a></li>
82
- <li><a href="#M000729">at_most</a></li>
83
82
  <li><a href="#M000723">at_most</a></li>
83
+ <li><a href="#M000717">at_most</a></li>
84
+ <li><a href="#M000719">bound</a></li>
84
85
  <li><a href="#M000725">bound</a></li>
85
- <li><a href="#M000731">bound</a></li>
86
+ <li><a href="#M000718">cap</a></li>
86
87
  <li><a href="#M000724">cap</a></li>
87
- <li><a href="#M000730">cap</a></li>
88
+ <li><a href="#M000720">clip</a></li>
88
89
  <li><a href="#M000726">clip</a></li>
89
- <li><a href="#M000732">clip</a></li>
90
+ <li><a href="#M000721">cmp</a></li>
90
91
  <li><a href="#M000727">cmp</a></li>
91
- <li><a href="#M000733">cmp</a></li>
92
92
  </ul>
93
93
 
94
94
 
@@ -99,7 +99,7 @@
99
99
  <div class="sectiontitle">Public Instance methods</div>
100
100
  <div class="method">
101
101
  <div class="title">
102
- <a name="M000722"></a><b>at_least</b>(x)
102
+ <a name="M000716"></a><b>at_least</b>(x)
103
103
  </div>
104
104
  <div class="description">
105
105
  <p>
@@ -113,8 +113,8 @@ Returns the lower of self or x.
113
113
  </pre>
114
114
  </div>
115
115
  <div class="sourcecode">
116
- <p class="source-link">[ <a href="javascript:toggleSource('M000722_source')" id="l_M000722_source">show source</a> ]</p>
117
- <div id="M000722_source" class="dyn-source">
116
+ <p class="source-link">[ <a href="javascript:toggleSource('M000716_source')" id="l_M000716_source">show source</a> ]</p>
117
+ <div id="M000716_source" class="dyn-source">
118
118
  <pre>
119
119
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 16</span>
120
120
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_least</span>(<span class="ruby-identifier">x</span>)
@@ -126,7 +126,7 @@ Returns the lower of self or x.
126
126
  </div>
127
127
  <div class="method">
128
128
  <div class="title">
129
- <a name="M000728"></a><b>at_least</b>(x)
129
+ <a name="M000722"></a><b>at_least</b>(x)
130
130
  </div>
131
131
  <div class="description">
132
132
  <p>
@@ -140,8 +140,8 @@ Returns the lower of self or x.
140
140
  </pre>
141
141
  </div>
142
142
  <div class="sourcecode">
143
- <p class="source-link">[ <a href="javascript:toggleSource('M000728_source')" id="l_M000728_source">show source</a> ]</p>
144
- <div id="M000728_source" class="dyn-source">
143
+ <p class="source-link">[ <a href="javascript:toggleSource('M000722_source')" id="l_M000722_source">show source</a> ]</p>
144
+ <div id="M000722_source" class="dyn-source">
145
145
  <pre>
146
146
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 16</span>
147
147
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_least</span>(<span class="ruby-identifier">x</span>)
@@ -153,7 +153,7 @@ Returns the lower of self or x.
153
153
  </div>
154
154
  <div class="method">
155
155
  <div class="title">
156
- <a name="M000729"></a><b>at_most</b>(x)
156
+ <a name="M000723"></a><b>at_most</b>(x)
157
157
  </div>
158
158
  <div class="description">
159
159
  <p>
@@ -167,8 +167,8 @@ Returns the greater of self or x.
167
167
  </pre>
168
168
  </div>
169
169
  <div class="sourcecode">
170
- <p class="source-link">[ <a href="javascript:toggleSource('M000729_source')" id="l_M000729_source">show source</a> ]</p>
171
- <div id="M000729_source" class="dyn-source">
170
+ <p class="source-link">[ <a href="javascript:toggleSource('M000723_source')" id="l_M000723_source">show source</a> ]</p>
171
+ <div id="M000723_source" class="dyn-source">
172
172
  <pre>
173
173
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 27</span>
174
174
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_most</span>(<span class="ruby-identifier">x</span>)
@@ -180,7 +180,7 @@ Returns the greater of self or x.
180
180
  </div>
181
181
  <div class="method">
182
182
  <div class="title">
183
- <a name="M000723"></a><b>at_most</b>(x)
183
+ <a name="M000717"></a><b>at_most</b>(x)
184
184
  </div>
185
185
  <div class="description">
186
186
  <p>
@@ -194,8 +194,8 @@ Returns the greater of self or x.
194
194
  </pre>
195
195
  </div>
196
196
  <div class="sourcecode">
197
- <p class="source-link">[ <a href="javascript:toggleSource('M000723_source')" id="l_M000723_source">show source</a> ]</p>
198
- <div id="M000723_source" class="dyn-source">
197
+ <p class="source-link">[ <a href="javascript:toggleSource('M000717_source')" id="l_M000717_source">show source</a> ]</p>
198
+ <div id="M000717_source" class="dyn-source">
199
199
  <pre>
200
200
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 27</span>
201
201
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_most</span>(<span class="ruby-identifier">x</span>)
@@ -207,14 +207,14 @@ Returns the greater of self or x.
207
207
  </div>
208
208
  <div class="method">
209
209
  <div class="title">
210
- <a name="M000725"></a><b>bound</b>(lower, upper=nil)
210
+ <a name="M000719"></a><b>bound</b>(lower, upper=nil)
211
211
  </div>
212
212
  <div class="description">
213
213
  <p>
214
214
  Returns self if above the given lower <a
215
- href="Comparable.html#M000725">bound</a>, or within the given lower and
215
+ href="Comparable.html#M000719">bound</a>, or within the given lower and
216
216
  upper bounds, otherwise returns the the <a
217
- href="Comparable.html#M000725">bound</a> of which the value falls outside.
217
+ href="Comparable.html#M000719">bound</a> of which the value falls outside.
218
218
  </p>
219
219
  <pre>
220
220
  4.clip(3) #=&gt; 4
@@ -228,12 +228,12 @@ href="Comparable.html#M000725">bound</a> of which the value falls outside.
228
228
  </div>
229
229
  <div class="aka">
230
230
  This method is also aliased as
231
+ <a href="Comparable.html#M000720">clip</a>
231
232
  <a href="Comparable.html#M000726">clip</a>
232
- <a href="Comparable.html#M000732">clip</a>
233
233
  </div>
234
234
  <div class="sourcecode">
235
- <p class="source-link">[ <a href="javascript:toggleSource('M000725_source')" id="l_M000725_source">show source</a> ]</p>
236
- <div id="M000725_source" class="dyn-source">
235
+ <p class="source-link">[ <a href="javascript:toggleSource('M000719_source')" id="l_M000719_source">show source</a> ]</p>
236
+ <div id="M000719_source" class="dyn-source">
237
237
  <pre>
238
238
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 55</span>
239
239
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bound</span>(<span class="ruby-identifier">lower</span>, <span class="ruby-identifier">upper</span>=<span class="ruby-keyword kw">nil</span>)
@@ -248,14 +248,14 @@ href="Comparable.html#M000725">bound</a> of which the value falls outside.
248
248
  </div>
249
249
  <div class="method">
250
250
  <div class="title">
251
- <a name="M000731"></a><b>bound</b>(lower, upper=nil)
251
+ <a name="M000725"></a><b>bound</b>(lower, upper=nil)
252
252
  </div>
253
253
  <div class="description">
254
254
  <p>
255
255
  Returns self if above the given lower <a
256
- href="Comparable.html#M000725">bound</a>, or within the given lower and
256
+ href="Comparable.html#M000719">bound</a>, or within the given lower and
257
257
  upper bounds, otherwise returns the the <a
258
- href="Comparable.html#M000725">bound</a> of which the value falls outside.
258
+ href="Comparable.html#M000719">bound</a> of which the value falls outside.
259
259
  </p>
260
260
  <pre>
261
261
  4.clip(3) #=&gt; 4
@@ -268,8 +268,8 @@ href="Comparable.html#M000725">bound</a> of which the value falls outside.
268
268
  </pre>
269
269
  </div>
270
270
  <div class="sourcecode">
271
- <p class="source-link">[ <a href="javascript:toggleSource('M000731_source')" id="l_M000731_source">show source</a> ]</p>
272
- <div id="M000731_source" class="dyn-source">
271
+ <p class="source-link">[ <a href="javascript:toggleSource('M000725_source')" id="l_M000725_source">show source</a> ]</p>
272
+ <div id="M000725_source" class="dyn-source">
273
273
  <pre>
274
274
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 55</span>
275
275
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bound</span>(<span class="ruby-identifier">lower</span>, <span class="ruby-identifier">upper</span>=<span class="ruby-keyword kw">nil</span>)
@@ -284,7 +284,7 @@ href="Comparable.html#M000725">bound</a> of which the value falls outside.
284
284
  </div>
285
285
  <div class="method">
286
286
  <div class="title">
287
- <a name="M000724"></a><b>cap</b>(upper)
287
+ <a name="M000718"></a><b>cap</b>(upper)
288
288
  </div>
289
289
  <div class="description">
290
290
  <p>
@@ -298,8 +298,8 @@ Returns the greater of self or x.
298
298
  </pre>
299
299
  </div>
300
300
  <div class="sourcecode">
301
- <p class="source-link">[ <a href="javascript:toggleSource('M000724_source')" id="l_M000724_source">show source</a> ]</p>
302
- <div id="M000724_source" class="dyn-source">
301
+ <p class="source-link">[ <a href="javascript:toggleSource('M000718_source')" id="l_M000718_source">show source</a> ]</p>
302
+ <div id="M000718_source" class="dyn-source">
303
303
  <pre>
304
304
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 38</span>
305
305
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cap</span>(<span class="ruby-identifier">upper</span>)
@@ -311,7 +311,7 @@ Returns the greater of self or x.
311
311
  </div>
312
312
  <div class="method">
313
313
  <div class="title">
314
- <a name="M000730"></a><b>cap</b>(upper)
314
+ <a name="M000724"></a><b>cap</b>(upper)
315
315
  </div>
316
316
  <div class="description">
317
317
  <p>
@@ -325,8 +325,8 @@ Returns the greater of self or x.
325
325
  </pre>
326
326
  </div>
327
327
  <div class="sourcecode">
328
- <p class="source-link">[ <a href="javascript:toggleSource('M000730_source')" id="l_M000730_source">show source</a> ]</p>
329
- <div id="M000730_source" class="dyn-source">
328
+ <p class="source-link">[ <a href="javascript:toggleSource('M000724_source')" id="l_M000724_source">show source</a> ]</p>
329
+ <div id="M000724_source" class="dyn-source">
330
330
  <pre>
331
331
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 38</span>
332
332
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cap</span>(<span class="ruby-identifier">upper</span>)
@@ -338,27 +338,27 @@ Returns the greater of self or x.
338
338
  </div>
339
339
  <div class="method">
340
340
  <div class="title">
341
- <a name="M000726"></a><b>clip</b>(lower, upper=nil)
341
+ <a name="M000720"></a><b>clip</b>(lower, upper=nil)
342
342
  </div>
343
343
  <div class="description">
344
344
  <p>
345
- Alias for <a href="Comparable.html#M000725">bound</a>
345
+ Alias for <a href="Comparable.html#M000719">bound</a>
346
346
  </p>
347
347
  </div>
348
348
  </div>
349
349
  <div class="method">
350
350
  <div class="title">
351
- <a name="M000732"></a><b>clip</b>(lower, upper=nil)
351
+ <a name="M000726"></a><b>clip</b>(lower, upper=nil)
352
352
  </div>
353
353
  <div class="description">
354
354
  <p>
355
- Alias for <a href="Comparable.html#M000725">bound</a>
355
+ Alias for <a href="Comparable.html#M000719">bound</a>
356
356
  </p>
357
357
  </div>
358
358
  </div>
359
359
  <div class="method">
360
360
  <div class="title">
361
- <a name="M000727"></a><b>cmp</b>(o)
361
+ <a name="M000721"></a><b>cmp</b>(o)
362
362
  </div>
363
363
  <div class="description">
364
364
  <p>
@@ -378,8 +378,8 @@ This fundamental compare method is used to keep comparison compatible with
378
378
  </pre>
379
379
  </div>
380
380
  <div class="sourcecode">
381
- <p class="source-link">[ <a href="javascript:toggleSource('M000727_source')" id="l_M000727_source">show source</a> ]</p>
382
- <div id="M000727_source" class="dyn-source">
381
+ <p class="source-link">[ <a href="javascript:toggleSource('M000721_source')" id="l_M000721_source">show source</a> ]</p>
382
+ <div id="M000721_source" class="dyn-source">
383
383
  <pre>
384
384
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 14</span>
385
385
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">o</span>)
@@ -391,7 +391,7 @@ This fundamental compare method is used to keep comparison compatible with
391
391
  </div>
392
392
  <div class="method">
393
393
  <div class="title">
394
- <a name="M000733"></a><b>cmp</b>(o)
394
+ <a name="M000727"></a><b>cmp</b>(o)
395
395
  </div>
396
396
  <div class="description">
397
397
  <p>
@@ -411,8 +411,8 @@ This fundamental compare method is used to keep comparison compatible with
411
411
  </pre>
412
412
  </div>
413
413
  <div class="sourcecode">
414
- <p class="source-link">[ <a href="javascript:toggleSource('M000733_source')" id="l_M000733_source">show source</a> ]</p>
415
- <div id="M000733_source" class="dyn-source">
414
+ <p class="source-link">[ <a href="javascript:toggleSource('M000727_source')" id="l_M000727_source">show source</a> ]</p>
415
+ <div id="M000727_source" class="dyn-source">
416
416
  <pre>
417
417
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 14</span>
418
418
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">o</span>)