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
@@ -57,7 +57,7 @@
57
57
  <tr valign="top">
58
58
  <td>In:</td>
59
59
  <td>
60
- <a href="../files/lib/more/facets/stackable_rb.html">lib/more/facets/stackable.rb</a>
60
+ <a href="../files/lib/core/facets/stackable_rb.html">lib/core/facets/stackable.rb</a>
61
61
  </td>
62
62
  </tr>
63
63
  </table>
@@ -72,10 +72,10 @@
72
72
  <div class="description"><h1><a href="Stackable.html">Stackable</a></h1>
73
73
  <p>
74
74
  <a href="Stackable.html">Stackable</a> mixin provides <a
75
- href="Stackable.html#M000736">pop</a>, <a
76
- href="Stackable.html#M000737">push</a>, <a
77
- href="Stackable.html#M000738">pull</a>, etc. <a href="It.html">It</a>
78
- depends on slice, splice and insert.
75
+ href="Stackable.html#M000589">pop</a>, <a
76
+ href="Stackable.html#M000590">push</a>, <a
77
+ href="Stackable.html#M000591">pull</a>, etc. It depends on slice, splice
78
+ and insert.
79
79
  </p>
80
80
  </div>
81
81
 
@@ -83,13 +83,13 @@ depends on slice, splice and insert.
83
83
 
84
84
  <div class="sectiontitle">Methods</div>
85
85
  <ul>
86
- <li><a href="#M000742">peek</a></li>
87
- <li><a href="#M000740">poke</a></li>
88
- <li><a href="#M000736">pop</a></li>
89
- <li><a href="#M000738">pull</a></li>
90
- <li><a href="#M000737">push</a></li>
91
- <li><a href="#M000739">shift</a></li>
92
- <li><a href="#M000741">unshift</a></li>
86
+ <li><a href="#M000595">peek</a></li>
87
+ <li><a href="#M000593">poke</a></li>
88
+ <li><a href="#M000589">pop</a></li>
89
+ <li><a href="#M000591">pull</a></li>
90
+ <li><a href="#M000590">push</a></li>
91
+ <li><a href="#M000592">shift</a></li>
92
+ <li><a href="#M000594">unshift</a></li>
93
93
  </ul>
94
94
 
95
95
 
@@ -100,7 +100,7 @@ depends on slice, splice and insert.
100
100
  <div class="sectiontitle">Public Instance methods</div>
101
101
  <div class="method">
102
102
  <div class="title">
103
- <a name="M000742"></a><b>peek</b>()
103
+ <a name="M000595"></a><b>peek</b>()
104
104
  </div>
105
105
  <div class="description">
106
106
  <p>
@@ -113,10 +113,10 @@ Peek at the top of the stack.
113
113
  </pre>
114
114
  </div>
115
115
  <div class="sourcecode">
116
- <p class="source-link">[ <a href="javascript:toggleSource('M000742_source')" id="l_M000742_source">show source</a> ]</p>
117
- <div id="M000742_source" class="dyn-source">
116
+ <p class="source-link">[ <a href="javascript:toggleSource('M000595_source')" id="l_M000595_source">show source</a> ]</p>
117
+ <div id="M000595_source" class="dyn-source">
118
118
  <pre>
119
- <span class="ruby-comment cmt"># File lib/more/facets/stackable.rb, line 81</span>
119
+ <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 81</span>
120
120
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">peek</span>
121
121
  <span class="ruby-identifier">slice</span>(<span class="ruby-value">-1</span>)
122
122
  <span class="ruby-keyword kw">end</span>
@@ -126,7 +126,7 @@ Peek at the top of the stack.
126
126
  </div>
127
127
  <div class="method">
128
128
  <div class="title">
129
- <a name="M000740"></a><b>poke</b>(x)
129
+ <a name="M000593"></a><b>poke</b>(x)
130
130
  </div>
131
131
  <div class="description">
132
132
  <p>
@@ -141,13 +141,13 @@ Poke item onto the stack.
141
141
  </div>
142
142
  <div class="aka">
143
143
  This method is also aliased as
144
- <a href="Stackable.html#M000741">unshift</a>
144
+ <a href="Stackable.html#M000594">unshift</a>
145
145
  </div>
146
146
  <div class="sourcecode">
147
- <p class="source-link">[ <a href="javascript:toggleSource('M000740_source')" id="l_M000740_source">show source</a> ]</p>
148
- <div id="M000740_source" class="dyn-source">
147
+ <p class="source-link">[ <a href="javascript:toggleSource('M000593_source')" id="l_M000593_source">show source</a> ]</p>
148
+ <div id="M000593_source" class="dyn-source">
149
149
  <pre>
150
- <span class="ruby-comment cmt"># File lib/more/facets/stackable.rb, line 69</span>
150
+ <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 69</span>
151
151
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">poke</span>(<span class="ruby-identifier">x</span>)
152
152
  <span class="ruby-identifier">insert</span>(<span class="ruby-value">0</span>,<span class="ruby-identifier">x</span>)
153
153
  <span class="ruby-keyword kw">end</span>
@@ -157,7 +157,7 @@ Poke item onto the stack.
157
157
  </div>
158
158
  <div class="method">
159
159
  <div class="title">
160
- <a name="M000736"></a><b>pop</b>()
160
+ <a name="M000589"></a><b>pop</b>()
161
161
  </div>
162
162
  <div class="description">
163
163
  <p>
@@ -170,10 +170,10 @@ Pop item off stack.
170
170
  </pre>
171
171
  </div>
172
172
  <div class="sourcecode">
173
- <p class="source-link">[ <a href="javascript:toggleSource('M000736_source')" id="l_M000736_source">show source</a> ]</p>
174
- <div id="M000736_source" class="dyn-source">
173
+ <p class="source-link">[ <a href="javascript:toggleSource('M000589_source')" id="l_M000589_source">show source</a> ]</p>
174
+ <div id="M000589_source" class="dyn-source">
175
175
  <pre>
176
- <span class="ruby-comment cmt"># File lib/more/facets/stackable.rb, line 37</span>
176
+ <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 37</span>
177
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
178
178
  <span class="ruby-identifier">splice</span>(<span class="ruby-value">-1</span>)
179
179
  <span class="ruby-keyword kw">end</span>
@@ -183,7 +183,7 @@ Pop item off stack.
183
183
  </div>
184
184
  <div class="method">
185
185
  <div class="title">
186
- <a name="M000738"></a><b>pull</b>()
186
+ <a name="M000591"></a><b>pull</b>()
187
187
  </div>
188
188
  <div class="description">
189
189
  <p>
@@ -197,13 +197,13 @@ Pull item off the stack.
197
197
  </div>
198
198
  <div class="aka">
199
199
  This method is also aliased as
200
- <a href="Stackable.html#M000739">shift</a>
200
+ <a href="Stackable.html#M000592">shift</a>
201
201
  </div>
202
202
  <div class="sourcecode">
203
- <p class="source-link">[ <a href="javascript:toggleSource('M000738_source')" id="l_M000738_source">show source</a> ]</p>
204
- <div id="M000738_source" class="dyn-source">
203
+ <p class="source-link">[ <a href="javascript:toggleSource('M000591_source')" id="l_M000591_source">show source</a> ]</p>
204
+ <div id="M000591_source" class="dyn-source">
205
205
  <pre>
206
- <span class="ruby-comment cmt"># File lib/more/facets/stackable.rb, line 56</span>
206
+ <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 56</span>
207
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>
208
208
  <span class="ruby-identifier">slice</span>(<span class="ruby-value">0</span>)
209
209
  <span class="ruby-keyword kw">end</span>
@@ -213,7 +213,7 @@ Pull item off the stack.
213
213
  </div>
214
214
  <div class="method">
215
215
  <div class="title">
216
- <a name="M000737"></a><b>push</b>(x)
216
+ <a name="M000590"></a><b>push</b>(x)
217
217
  </div>
218
218
  <div class="description">
219
219
  <p>
@@ -225,10 +225,10 @@ Push item onto the stack.
225
225
  </pre>
226
226
  </div>
227
227
  <div class="sourcecode">
228
- <p class="source-link">[ <a href="javascript:toggleSource('M000737_source')" id="l_M000737_source">show source</a> ]</p>
229
- <div id="M000737_source" class="dyn-source">
228
+ <p class="source-link">[ <a href="javascript:toggleSource('M000590_source')" id="l_M000590_source">show source</a> ]</p>
229
+ <div id="M000590_source" class="dyn-source">
230
230
  <pre>
231
- <span class="ruby-comment cmt"># File lib/more/facets/stackable.rb, line 46</span>
231
+ <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 46</span>
232
232
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">x</span>)
233
233
  <span class="ruby-identifier">insert</span>(<span class="ruby-value">-1</span>,<span class="ruby-identifier">x</span>)
234
234
  <span class="ruby-keyword kw">end</span>
@@ -238,21 +238,21 @@ Push item onto the stack.
238
238
  </div>
239
239
  <div class="method">
240
240
  <div class="title">
241
- <a name="M000739"></a><b>shift</b>()
241
+ <a name="M000592"></a><b>shift</b>()
242
242
  </div>
243
243
  <div class="description">
244
244
  <p>
245
- Alias for <a href="Stackable.html#M000738">pull</a>
245
+ Alias for <a href="Stackable.html#M000591">pull</a>
246
246
  </p>
247
247
  </div>
248
248
  </div>
249
249
  <div class="method">
250
250
  <div class="title">
251
- <a name="M000741"></a><b>unshift</b>(x)
251
+ <a name="M000594"></a><b>unshift</b>(x)
252
252
  </div>
253
253
  <div class="description">
254
254
  <p>
255
- Alias for <a href="Stackable.html#M000740">poke</a>
255
+ Alias for <a href="Stackable.html#M000593">poke</a>
256
256
  </p>
257
257
  </div>
258
258
  </div>
@@ -69,8 +69,10 @@
69
69
  <a href="../files/lib/core/facets/string/start_with_rb.html">lib/core/facets/string/start_with.rb</a>
70
70
  <a href="../files/lib/core/facets/string/camelcase_rb.html">lib/core/facets/string/camelcase.rb</a>
71
71
  <a href="../files/lib/core/facets/string/lines_rb.html">lib/core/facets/string/lines.rb</a>
72
+ <a href="../files/lib/core/facets/string/word_wrap_rb.html">lib/core/facets/string/word_wrap.rb</a>
72
73
  <a href="../files/lib/core/facets/string/align_rb.html">lib/core/facets/string/align.rb</a>
73
74
  <a href="../files/lib/core/facets/string/tab_rb.html">lib/core/facets/string/tab.rb</a>
75
+ <a href="../files/lib/core/facets/string/methodize_rb.html">lib/core/facets/string/methodize.rb</a>
74
76
  <a href="../files/lib/core/facets/string/range_rb.html">lib/core/facets/string/range.rb</a>
75
77
  <a href="../files/lib/core/facets/string/snakecase_rb.html">lib/core/facets/string/snakecase.rb</a>
76
78
  <a href="../files/lib/core/facets/string/each_char_rb.html">lib/core/facets/string/each_char.rb</a>
@@ -80,6 +82,7 @@
80
82
  <a href="../files/lib/core/facets/string/natcmp_rb.html">lib/core/facets/string/natcmp.rb</a>
81
83
  <a href="../files/lib/core/facets/string/bytes_rb.html">lib/core/facets/string/bytes.rb</a>
82
84
  <a href="../files/lib/core/facets/string/subtract_rb.html">lib/core/facets/string/subtract.rb</a>
85
+ <a href="../files/lib/core/facets/string/pathize_rb.html">lib/core/facets/string/pathize.rb</a>
83
86
  <a href="../files/lib/core/facets/string/titlecase_rb.html">lib/core/facets/string/titlecase.rb</a>
84
87
  <a href="../files/lib/core/facets/string/words_rb.html">lib/core/facets/string/words.rb</a>
85
88
  <a href="../files/lib/core/facets/string/interpolate_rb.html">lib/core/facets/string/interpolate.rb</a>
@@ -93,14 +96,17 @@
93
96
  <a href="../files/lib/core/facets/string/rewrite_rb.html">lib/core/facets/string/rewrite.rb</a>
94
97
  <a href="../files/lib/core/facets/string/nchar_rb.html">lib/core/facets/string/nchar.rb</a>
95
98
  <a href="../files/lib/core/facets/string/xor_rb.html">lib/core/facets/string/xor.rb</a>
99
+ <a href="../files/lib/core/facets/string/each_word_rb.html">lib/core/facets/string/each_word.rb</a>
96
100
  <a href="../files/lib/core/facets/string/shatter_rb.html">lib/core/facets/string/shatter.rb</a>
97
101
  <a href="../files/lib/core/facets/string/to_re_rb.html">lib/core/facets/string/to_re.rb</a>
98
102
  <a href="../files/lib/core/facets/string/fold_rb.html">lib/core/facets/string/fold.rb</a>
99
103
  <a href="../files/lib/core/facets/string/start_with_rb.html">lib/core/facets/string/start_with.rb</a>
100
104
  <a href="../files/lib/core/facets/string/camelcase_rb.html">lib/core/facets/string/camelcase.rb</a>
101
105
  <a href="../files/lib/core/facets/string/lines_rb.html">lib/core/facets/string/lines.rb</a>
106
+ <a href="../files/lib/core/facets/string/word_wrap_rb.html">lib/core/facets/string/word_wrap.rb</a>
102
107
  <a href="../files/lib/core/facets/string/align_rb.html">lib/core/facets/string/align.rb</a>
103
108
  <a href="../files/lib/core/facets/string/tab_rb.html">lib/core/facets/string/tab.rb</a>
109
+ <a href="../files/lib/core/facets/string/methodize_rb.html">lib/core/facets/string/methodize.rb</a>
104
110
  <a href="../files/lib/core/facets/string/range_rb.html">lib/core/facets/string/range.rb</a>
105
111
  <a href="../files/lib/core/facets/string/snakecase_rb.html">lib/core/facets/string/snakecase.rb</a>
106
112
  <a href="../files/lib/core/facets/string/each_char_rb.html">lib/core/facets/string/each_char.rb</a>
@@ -110,6 +116,7 @@
110
116
  <a href="../files/lib/core/facets/string/natcmp_rb.html">lib/core/facets/string/natcmp.rb</a>
111
117
  <a href="../files/lib/core/facets/string/bytes_rb.html">lib/core/facets/string/bytes.rb</a>
112
118
  <a href="../files/lib/core/facets/string/subtract_rb.html">lib/core/facets/string/subtract.rb</a>
119
+ <a href="../files/lib/core/facets/string/pathize_rb.html">lib/core/facets/string/pathize.rb</a>
113
120
  <a href="../files/lib/core/facets/string/titlecase_rb.html">lib/core/facets/string/titlecase.rb</a>
114
121
  <a href="../files/lib/core/facets/string/words_rb.html">lib/core/facets/string/words.rb</a>
115
122
  <a href="../files/lib/core/facets/string/interpolate_rb.html">lib/core/facets/string/interpolate.rb</a>
@@ -123,6 +130,7 @@
123
130
  <a href="../files/lib/core/facets/string/rewrite_rb.html">lib/core/facets/string/rewrite.rb</a>
124
131
  <a href="../files/lib/core/facets/string/nchar_rb.html">lib/core/facets/string/nchar.rb</a>
125
132
  <a href="../files/lib/core/facets/string/xor_rb.html">lib/core/facets/string/xor.rb</a>
133
+ <a href="../files/lib/core/facets/string/each_word_rb.html">lib/core/facets/string/each_word.rb</a>
126
134
  <a href="../files/lib/core/facets/blank_rb.html">lib/core/facets/blank.rb</a>
127
135
  </td>
128
136
  </tr>
@@ -148,127 +156,131 @@ Object
148
156
 
149
157
  <div class="sectiontitle">Methods</div>
150
158
  <ul>
151
- <li><a href="#M000517">-</a></li>
152
- <li><a href="#M000568">-</a></li>
153
- <li><a href="#M000586">^</a></li>
154
- <li><a href="#M000535">^</a></li>
155
- <li><a href="#M000493">align</a></li>
156
- <li><a href="#M000544">align</a></li>
157
- <li><a href="#M000547">align_center</a></li>
158
- <li><a href="#M000496">align_center</a></li>
159
- <li><a href="#M000546">align_left</a></li>
160
- <li><a href="#M000495">align_left</a></li>
161
- <li><a href="#M000494">align_right</a></li>
162
- <li><a href="#M000545">align_right</a></li>
163
- <li><a href="#M000587">blank?</a></li>
164
- <li><a href="#M000574">bracket</a></li>
165
- <li><a href="#M000523">bracket</a></li>
166
- <li><a href="#M000575">bracket!</a></li>
167
- <li><a href="#M000524">bracket!</a></li>
168
- <li><a href="#M000567">bytes</a></li>
169
- <li><a href="#M000516">bytes</a></li>
170
- <li><a href="#M000491">camelcase</a></li>
171
- <li><a href="#M000542">camelcase</a></li>
172
- <li><a href="#M000512">capitalized?</a></li>
173
- <li><a href="#M000563">capitalized?</a></li>
174
- <li><a href="#M000580">chars</a></li>
175
- <li><a href="#M000529">chars</a></li>
176
- <li><a href="#M000520">cleave</a></li>
177
- <li><a href="#M000571">cleave</a></li>
178
- <li><a href="#M000484">cmp</a></li>
179
- <li><a href="#M000482">cmp</a></li>
180
- <li><a href="#M000528">dequote</a></li>
181
- <li><a href="#M000579">dequote</a></li>
182
- <li><a href="#M000510">divide</a></li>
183
- <li><a href="#M000561">divide</a></li>
184
- <li><a href="#M000564">downcase?</a></li>
185
- <li><a href="#M000513">downcase?</a></li>
186
- <li><a href="#M000560">each_char</a></li>
187
- <li><a href="#M000509">each_char</a></li>
188
- <li><a href="#M000541">end_with?</a></li>
189
- <li><a href="#M000490">end_with?</a></li>
190
- <li><a href="#M000550">expand_tabs</a></li>
191
- <li><a href="#M000499">expand_tabs</a></li>
192
- <li><a href="#M000539">fold</a></li>
193
- <li><a href="#M000488">fold</a></li>
194
- <li><a href="#M000501">indent</a></li>
195
- <li><a href="#M000552">indent</a></li>
196
- <li><a href="#M000507">index_all</a></li>
197
- <li><a href="#M000558">index_all</a></li>
198
- <li><a href="#M000570">interpolate</a></li>
199
- <li><a href="#M000519">interpolate</a></li>
200
- <li><a href="#M000581">lchomp</a></li>
201
- <li><a href="#M000530">lchomp</a></li>
202
- <li><a href="#M000582">lchomp!</a></li>
203
- <li><a href="#M000531">lchomp!</a></li>
204
- <li><a href="#M000573">line_wrap</a></li>
205
- <li><a href="#M000522">line_wrap</a></li>
206
- <li><a href="#M000543">lines</a></li>
207
- <li><a href="#M000492">lines</a></li>
208
- <li><a href="#M000503">margin</a></li>
209
- <li><a href="#M000554">margin</a></li>
210
- <li><a href="#M000562">mscan</a></li>
211
- <li><a href="#M000511">mscan</a></li>
212
- <li><a href="#M000515">natcmp</a></li>
213
- <li><a href="#M000566">natcmp</a></li>
214
- <li><a href="#M000585">nchar</a></li>
215
- <li><a href="#M000534">nchar</a></li>
216
- <li><a href="#M000553">outdent</a></li>
217
- <li><a href="#M000502">outdent</a></li>
218
- <li><a href="#M000527">quote</a></li>
219
- <li><a href="#M000578">quote</a></li>
220
- <li><a href="#M000504">range</a></li>
221
- <li><a href="#M000555">range</a></li>
222
- <li><a href="#M000556">range_all</a></li>
223
- <li><a href="#M000505">range_all</a></li>
224
- <li><a href="#M000557">range_of_line</a></li>
225
- <li><a href="#M000506">range_of_line</a></li>
226
- <li><a href="#M000584">rewrite</a></li>
227
- <li><a href="#M000533">rewrite</a></li>
228
- <li><a href="#M000485">shatter</a></li>
229
- <li><a href="#M000536">shatter</a></li>
230
- <li><a href="#M000508">snakecase</a></li>
231
- <li><a href="#M000559">snakecase</a></li>
232
- <li><a href="#M000583">splice</a></li>
233
- <li><a href="#M000532">splice</a></li>
234
- <li><a href="#M000489">start_with?</a></li>
235
- <li><a href="#M000540">start_with?</a></li>
236
- <li><a href="#M000548">tab</a></li>
237
- <li><a href="#M000497">tab</a></li>
238
- <li><a href="#M000549">taballto</a></li>
239
- <li><a href="#M000498">taballto</a></li>
240
- <li><a href="#M000551">tabto</a></li>
241
- <li><a href="#M000500">tabto</a></li>
242
- <li><a href="#M000569">titlecase</a></li>
243
- <li><a href="#M000518">titlecase</a></li>
244
- <li><a href="#M000480">to_b</a></li>
245
- <li><a href="#M000486">to_re</a></li>
246
- <li><a href="#M000537">to_re</a></li>
247
- <li><a href="#M000538">to_rx</a></li>
248
- <li><a href="#M000487">to_rx</a></li>
249
- <li><a href="#M000483">to_s</a></li>
250
- <li><a href="#M000481">to_s</a></li>
251
- <li><a href="#M000521">to_time</a></li>
252
- <li><a href="#M000572">to_time</a></li>
253
- <li><a href="#M000576">unbracket</a></li>
254
- <li><a href="#M000525">unbracket</a></li>
255
- <li><a href="#M000526">unbracket!</a></li>
256
- <li><a href="#M000577">unbracket!</a></li>
257
- <li><a href="#M000514">upcase?</a></li>
258
- <li><a href="#M000565">upcase?</a></li>
259
- <li><a href="#M000479">variablize</a></li>
159
+ <li><a href="#M000549">-</a></li>
160
+ <li><a href="#M000492">-</a></li>
161
+ <li><a href="#M000569">^</a></li>
162
+ <li><a href="#M000512">^</a></li>
163
+ <li><a href="#M000524">align</a></li>
164
+ <li><a href="#M000467">align</a></li>
165
+ <li><a href="#M000527">align_center</a></li>
166
+ <li><a href="#M000470">align_center</a></li>
167
+ <li><a href="#M000526">align_left</a></li>
168
+ <li><a href="#M000469">align_left</a></li>
169
+ <li><a href="#M000525">align_right</a></li>
170
+ <li><a href="#M000468">align_right</a></li>
171
+ <li><a href="#M000571">blank?</a></li>
172
+ <li><a href="#M000500">bracket</a></li>
173
+ <li><a href="#M000557">bracket</a></li>
174
+ <li><a href="#M000558">bracket!</a></li>
175
+ <li><a href="#M000501">bracket!</a></li>
176
+ <li><a href="#M000548">bytes</a></li>
177
+ <li><a href="#M000491">bytes</a></li>
178
+ <li><a href="#M000463">camelcase</a></li>
179
+ <li><a href="#M000520">camelcase</a></li>
180
+ <li><a href="#M000487">capitalized?</a></li>
181
+ <li><a href="#M000544">capitalized?</a></li>
182
+ <li><a href="#M000506">chars</a></li>
183
+ <li><a href="#M000563">chars</a></li>
184
+ <li><a href="#M000554">cleave</a></li>
185
+ <li><a href="#M000497">cleave</a></li>
186
+ <li><a href="#M000456">cmp</a></li>
187
+ <li><a href="#M000454">cmp</a></li>
188
+ <li><a href="#M000505">dequote</a></li>
189
+ <li><a href="#M000562">dequote</a></li>
190
+ <li><a href="#M000542">divide</a></li>
191
+ <li><a href="#M000485">divide</a></li>
192
+ <li><a href="#M000545">downcase?</a></li>
193
+ <li><a href="#M000488">downcase?</a></li>
194
+ <li><a href="#M000484">each_char</a></li>
195
+ <li><a href="#M000541">each_char</a></li>
196
+ <li><a href="#M000570">each_word</a></li>
197
+ <li><a href="#M000513">each_word</a></li>
198
+ <li><a href="#M000519">end_with?</a></li>
199
+ <li><a href="#M000462">end_with?</a></li>
200
+ <li><a href="#M000473">expand_tabs</a></li>
201
+ <li><a href="#M000530">expand_tabs</a></li>
202
+ <li><a href="#M000517">fold</a></li>
203
+ <li><a href="#M000460">fold</a></li>
204
+ <li><a href="#M000475">indent</a></li>
205
+ <li><a href="#M000532">indent</a></li>
206
+ <li><a href="#M000482">index_all</a></li>
207
+ <li><a href="#M000539">index_all</a></li>
208
+ <li><a href="#M000496">interpolate</a></li>
209
+ <li><a href="#M000553">interpolate</a></li>
210
+ <li><a href="#M000564">lchomp</a></li>
211
+ <li><a href="#M000507">lchomp</a></li>
212
+ <li><a href="#M000508">lchomp!</a></li>
213
+ <li><a href="#M000565">lchomp!</a></li>
214
+ <li><a href="#M000556">line_wrap</a></li>
215
+ <li><a href="#M000499">line_wrap</a></li>
216
+ <li><a href="#M000521">lines</a></li>
217
+ <li><a href="#M000464">lines</a></li>
218
+ <li><a href="#M000534">margin</a></li>
219
+ <li><a href="#M000477">margin</a></li>
220
+ <li><a href="#M000535">methodize</a></li>
221
+ <li><a href="#M000478">methodize</a></li>
222
+ <li><a href="#M000486">mscan</a></li>
223
+ <li><a href="#M000543">mscan</a></li>
224
+ <li><a href="#M000490">natcmp</a></li>
225
+ <li><a href="#M000547">natcmp</a></li>
226
+ <li><a href="#M000568">nchar</a></li>
227
+ <li><a href="#M000511">nchar</a></li>
228
+ <li><a href="#M000476">outdent</a></li>
229
+ <li><a href="#M000533">outdent</a></li>
230
+ <li><a href="#M000493">pathize</a></li>
231
+ <li><a href="#M000550">pathize</a></li>
232
+ <li><a href="#M000561">quote</a></li>
233
+ <li><a href="#M000504">quote</a></li>
234
+ <li><a href="#M000479">range</a></li>
235
+ <li><a href="#M000536">range</a></li>
236
+ <li><a href="#M000537">range_all</a></li>
237
+ <li><a href="#M000480">range_all</a></li>
238
+ <li><a href="#M000538">range_of_line</a></li>
239
+ <li><a href="#M000481">range_of_line</a></li>
240
+ <li><a href="#M000567">rewrite</a></li>
241
+ <li><a href="#M000510">rewrite</a></li>
242
+ <li><a href="#M000514">shatter</a></li>
243
+ <li><a href="#M000457">shatter</a></li>
244
+ <li><a href="#M000483">snakecase</a></li>
245
+ <li><a href="#M000540">snakecase</a></li>
246
+ <li><a href="#M000566">splice</a></li>
247
+ <li><a href="#M000509">splice</a></li>
248
+ <li><a href="#M000518">start_with?</a></li>
249
+ <li><a href="#M000461">start_with?</a></li>
250
+ <li><a href="#M000471">tab</a></li>
251
+ <li><a href="#M000528">tab</a></li>
252
+ <li><a href="#M000472">taballto</a></li>
253
+ <li><a href="#M000529">taballto</a></li>
254
+ <li><a href="#M000474">tabto</a></li>
255
+ <li><a href="#M000531">tabto</a></li>
256
+ <li><a href="#M000494">titlecase</a></li>
257
+ <li><a href="#M000551">titlecase</a></li>
258
+ <li><a href="#M000452">to_b</a></li>
259
+ <li><a href="#M000458">to_re</a></li>
260
+ <li><a href="#M000515">to_re</a></li>
261
+ <li><a href="#M000459">to_rx</a></li>
262
+ <li><a href="#M000516">to_rx</a></li>
263
+ <li><a href="#M000453">to_s</a></li>
264
+ <li><a href="#M000455">to_s</a></li>
265
+ <li><a href="#M000555">to_time</a></li>
266
+ <li><a href="#M000498">to_time</a></li>
267
+ <li><a href="#M000559">unbracket</a></li>
268
+ <li><a href="#M000502">unbracket</a></li>
269
+ <li><a href="#M000560">unbracket!</a></li>
270
+ <li><a href="#M000503">unbracket!</a></li>
271
+ <li><a href="#M000489">upcase?</a></li>
272
+ <li><a href="#M000546">upcase?</a></li>
273
+ <li><a href="#M000451">variablize</a></li>
274
+ <li><a href="#M000522">word_wrap</a></li>
275
+ <li><a href="#M000465">word_wrap</a></li>
276
+ <li><a href="#M000466">word_wrap!</a></li>
277
+ <li><a href="#M000523">word_wrap!</a></li>
278
+ <li><a href="#M000552">words</a></li>
279
+ <li><a href="#M000495">words</a></li>
260
280
  </ul>
261
281
 
262
- <div class="sectiontitle">Included Modules</div>
263
- <ul>
264
- <li><a href="String/Words.html">Words</a></li>
265
- <li><a href="String/Words.html">Words</a></li>
266
- </ul>
267
282
 
268
283
 
269
- <div class="sectiontitle">Classes and Modules</div>
270
- Module <a href="String/Words.html" class="link">String::Words</a><br />
271
-
272
284
 
273
285
  <div class="sectiontitle">Constants</div>
274
286
  <table border='0' cellpadding='5'>
@@ -288,7 +300,7 @@ Object
288
300
  <div class="sectiontitle">Public Class methods</div>
289
301
  <div class="method">
290
302
  <div class="title">
291
- <a name="M000570"></a><b>interpolate</b>(&amp;str)
303
+ <a name="M000496"></a><b>interpolate</b>(&amp;str)
292
304
  </div>
293
305
  <div class="description">
294
306
  <p>
@@ -307,8 +319,8 @@ mechinism.
307
319
  </pre>
308
320
  </div>
309
321
  <div class="sourcecode">
310
- <p class="source-link">[ <a href="javascript:toggleSource('M000570_source')" id="l_M000570_source">show source</a> ]</p>
311
- <div id="M000570_source" class="dyn-source">
322
+ <p class="source-link">[ <a href="javascript:toggleSource('M000496_source')" id="l_M000496_source">show source</a> ]</p>
323
+ <div id="M000496_source" class="dyn-source">
312
324
  <pre>
313
325
  <span class="ruby-comment cmt"># File lib/core/facets/string/interpolate.rb, line 15</span>
314
326
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">str</span>)
@@ -320,7 +332,7 @@ mechinism.
320
332
  </div>
321
333
  <div class="method">
322
334
  <div class="title">
323
- <a name="M000519"></a><b>interpolate</b>(&amp;str)
335
+ <a name="M000553"></a><b>interpolate</b>(&amp;str)
324
336
  </div>
325
337
  <div class="description">
326
338
  <p>
@@ -339,8 +351,8 @@ mechinism.
339
351
  </pre>
340
352
  </div>
341
353
  <div class="sourcecode">
342
- <p class="source-link">[ <a href="javascript:toggleSource('M000519_source')" id="l_M000519_source">show source</a> ]</p>
343
- <div id="M000519_source" class="dyn-source">
354
+ <p class="source-link">[ <a href="javascript:toggleSource('M000553_source')" id="l_M000553_source">show source</a> ]</p>
355
+ <div id="M000553_source" class="dyn-source">
344
356
  <pre>
345
357
  <span class="ruby-comment cmt"># File lib/core/facets/string/interpolate.rb, line 15</span>
346
358
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">str</span>)
@@ -353,7 +365,7 @@ mechinism.
353
365
  <div class="sectiontitle">Public Instance methods</div>
354
366
  <div class="method">
355
367
  <div class="title">
356
- <a name="M000517"></a><b>-</b>(pattern)
368
+ <a name="M000549"></a><b>-</b>(pattern)
357
369
  </div>
358
370
  <div class="description">
359
371
  <p>
@@ -366,8 +378,8 @@ Removes occurances of a string or regexp.
366
378
  </pre>
367
379
  </div>
368
380
  <div class="sourcecode">
369
- <p class="source-link">[ <a href="javascript:toggleSource('M000517_source')" id="l_M000517_source">show source</a> ]</p>
370
- <div id="M000517_source" class="dyn-source">
381
+ <p class="source-link">[ <a href="javascript:toggleSource('M000549_source')" id="l_M000549_source">show source</a> ]</p>
382
+ <div id="M000549_source" class="dyn-source">
371
383
  <pre>
372
384
  <span class="ruby-comment cmt"># File lib/core/facets/string/subtract.rb, line 9</span>
373
385
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">pattern</span>)
@@ -379,7 +391,7 @@ Removes occurances of a string or regexp.
379
391
  </div>
380
392
  <div class="method">
381
393
  <div class="title">
382
- <a name="M000568"></a><b>-</b>(pattern)
394
+ <a name="M000492"></a><b>-</b>(pattern)
383
395
  </div>
384
396
  <div class="description">
385
397
  <p>
@@ -392,8 +404,8 @@ Removes occurances of a string or regexp.
392
404
  </pre>
393
405
  </div>
394
406
  <div class="sourcecode">
395
- <p class="source-link">[ <a href="javascript:toggleSource('M000568_source')" id="l_M000568_source">show source</a> ]</p>
396
- <div id="M000568_source" class="dyn-source">
407
+ <p class="source-link">[ <a href="javascript:toggleSource('M000492_source')" id="l_M000492_source">show source</a> ]</p>
408
+ <div id="M000492_source" class="dyn-source">
397
409
  <pre>
398
410
  <span class="ruby-comment cmt"># File lib/core/facets/string/subtract.rb, line 9</span>
399
411
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">pattern</span>)
@@ -405,7 +417,7 @@ Removes occurances of a string or regexp.
405
417
  </div>
406
418
  <div class="method">
407
419
  <div class="title">
408
- <a name="M000586"></a><b>^</b>(aString)
420
+ <a name="M000569"></a><b>^</b>(aString)
409
421
  </div>
410
422
  <div class="description">
411
423
  <p>
@@ -416,8 +428,8 @@ TODO: This is used by crypt.rb, it needs to be documented.
416
428
  </p>
417
429
  </div>
418
430
  <div class="sourcecode">
419
- <p class="source-link">[ <a href="javascript:toggleSource('M000586_source')" id="l_M000586_source">show source</a> ]</p>
420
- <div id="M000586_source" class="dyn-source">
431
+ <p class="source-link">[ <a href="javascript:toggleSource('M000569_source')" id="l_M000569_source">show source</a> ]</p>
432
+ <div id="M000569_source" class="dyn-source">
421
433
  <pre>
422
434
  <span class="ruby-comment cmt"># File lib/core/facets/string/xor.rb, line 7</span>
423
435
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">^</span>(<span class="ruby-identifier">aString</span>)
@@ -439,7 +451,7 @@ TODO: This is used by crypt.rb, it needs to be documented.
439
451
  </div>
440
452
  <div class="method">
441
453
  <div class="title">
442
- <a name="M000535"></a><b>^</b>(aString)
454
+ <a name="M000512"></a><b>^</b>(aString)
443
455
  </div>
444
456
  <div class="description">
445
457
  <p>
@@ -450,8 +462,8 @@ TODO: This is used by crypt.rb, it needs to be documented.
450
462
  </p>
451
463
  </div>
452
464
  <div class="sourcecode">
453
- <p class="source-link">[ <a href="javascript:toggleSource('M000535_source')" id="l_M000535_source">show source</a> ]</p>
454
- <div id="M000535_source" class="dyn-source">
465
+ <p class="source-link">[ <a href="javascript:toggleSource('M000512_source')" id="l_M000512_source">show source</a> ]</p>
466
+ <div id="M000512_source" class="dyn-source">
455
467
  <pre>
456
468
  <span class="ruby-comment cmt"># File lib/core/facets/string/xor.rb, line 7</span>
457
469
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">^</span>(<span class="ruby-identifier">aString</span>)
@@ -473,11 +485,11 @@ TODO: This is used by crypt.rb, it needs to be documented.
473
485
  </div>
474
486
  <div class="method">
475
487
  <div class="title">
476
- <a name="M000493"></a><b>align</b>(direction, n, sep=&quot;\n&quot;, c=' ')
488
+ <a name="M000524"></a><b>align</b>(direction, n, sep=&quot;\n&quot;, c=' ')
477
489
  </div>
478
490
  <div class="sourcecode">
479
- <p class="source-link">[ <a href="javascript:toggleSource('M000493_source')" id="l_M000493_source">show source</a> ]</p>
480
- <div id="M000493_source" class="dyn-source">
491
+ <p class="source-link">[ <a href="javascript:toggleSource('M000524_source')" id="l_M000524_source">show source</a> ]</p>
492
+ <div id="M000524_source" class="dyn-source">
481
493
  <pre>
482
494
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 3</span>
483
495
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -498,11 +510,11 @@ TODO: This is used by crypt.rb, it needs to be documented.
498
510
  </div>
499
511
  <div class="method">
500
512
  <div class="title">
501
- <a name="M000544"></a><b>align</b>(direction, n, sep=&quot;\n&quot;, c=' ')
513
+ <a name="M000467"></a><b>align</b>(direction, n, sep=&quot;\n&quot;, c=' ')
502
514
  </div>
503
515
  <div class="sourcecode">
504
- <p class="source-link">[ <a href="javascript:toggleSource('M000544_source')" id="l_M000544_source">show source</a> ]</p>
505
- <div id="M000544_source" class="dyn-source">
516
+ <p class="source-link">[ <a href="javascript:toggleSource('M000467_source')" id="l_M000467_source">show source</a> ]</p>
517
+ <div id="M000467_source" class="dyn-source">
506
518
  <pre>
507
519
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 3</span>
508
520
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -523,7 +535,7 @@ TODO: This is used by crypt.rb, it needs to be documented.
523
535
  </div>
524
536
  <div class="method">
525
537
  <div class="title">
526
- <a name="M000547"></a><b>align_center</b>(n, sep=&quot;\n&quot;, c=' ')
538
+ <a name="M000527"></a><b>align_center</b>(n, sep=&quot;\n&quot;, c=' ')
527
539
  </div>
528
540
  <div class="description">
529
541
  <p>
@@ -555,8 +567,8 @@ changed as can be the padding string which defaults to a single space
555
567
  </pre>
556
568
  </div>
557
569
  <div class="sourcecode">
558
- <p class="source-link">[ <a href="javascript:toggleSource('M000547_source')" id="l_M000547_source">show source</a> ]</p>
559
- <div id="M000547_source" class="dyn-source">
570
+ <p class="source-link">[ <a href="javascript:toggleSource('M000527_source')" id="l_M000527_source">show source</a> ]</p>
571
+ <div id="M000527_source" class="dyn-source">
560
572
  <pre>
561
573
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 97</span>
562
574
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_center</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -572,7 +584,7 @@ changed as can be the padding string which defaults to a single space
572
584
  </div>
573
585
  <div class="method">
574
586
  <div class="title">
575
- <a name="M000496"></a><b>align_center</b>(n, sep=&quot;\n&quot;, c=' ')
587
+ <a name="M000470"></a><b>align_center</b>(n, sep=&quot;\n&quot;, c=' ')
576
588
  </div>
577
589
  <div class="description">
578
590
  <p>
@@ -604,8 +616,8 @@ changed as can be the padding string which defaults to a single space
604
616
  </pre>
605
617
  </div>
606
618
  <div class="sourcecode">
607
- <p class="source-link">[ <a href="javascript:toggleSource('M000496_source')" id="l_M000496_source">show source</a> ]</p>
608
- <div id="M000496_source" class="dyn-source">
619
+ <p class="source-link">[ <a href="javascript:toggleSource('M000470_source')" id="l_M000470_source">show source</a> ]</p>
620
+ <div id="M000470_source" class="dyn-source">
609
621
  <pre>
610
622
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 97</span>
611
623
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_center</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -621,7 +633,7 @@ changed as can be the padding string which defaults to a single space
621
633
  </div>
622
634
  <div class="method">
623
635
  <div class="title">
624
- <a name="M000546"></a><b>align_left</b>(n, sep=&quot;\n&quot;, c=' ')
636
+ <a name="M000526"></a><b>align_left</b>(n, sep=&quot;\n&quot;, c=' ')
625
637
  </div>
626
638
  <div class="description">
627
639
  <p>
@@ -653,8 +665,8 @@ changes as can be the padding string which defaults to a single space
653
665
  </pre>
654
666
  </div>
655
667
  <div class="sourcecode">
656
- <p class="source-link">[ <a href="javascript:toggleSource('M000546_source')" id="l_M000546_source">show source</a> ]</p>
657
- <div id="M000546_source" class="dyn-source">
668
+ <p class="source-link">[ <a href="javascript:toggleSource('M000526_source')" id="l_M000526_source">show source</a> ]</p>
669
+ <div id="M000526_source" class="dyn-source">
658
670
  <pre>
659
671
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 67</span>
660
672
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_left</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -670,7 +682,7 @@ changes as can be the padding string which defaults to a single space
670
682
  </div>
671
683
  <div class="method">
672
684
  <div class="title">
673
- <a name="M000495"></a><b>align_left</b>(n, sep=&quot;\n&quot;, c=' ')
685
+ <a name="M000469"></a><b>align_left</b>(n, sep=&quot;\n&quot;, c=' ')
674
686
  </div>
675
687
  <div class="description">
676
688
  <p>
@@ -702,8 +714,8 @@ changes as can be the padding string which defaults to a single space
702
714
  </pre>
703
715
  </div>
704
716
  <div class="sourcecode">
705
- <p class="source-link">[ <a href="javascript:toggleSource('M000495_source')" id="l_M000495_source">show source</a> ]</p>
706
- <div id="M000495_source" class="dyn-source">
717
+ <p class="source-link">[ <a href="javascript:toggleSource('M000469_source')" id="l_M000469_source">show source</a> ]</p>
718
+ <div id="M000469_source" class="dyn-source">
707
719
  <pre>
708
720
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 67</span>
709
721
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_left</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -719,7 +731,7 @@ changes as can be the padding string which defaults to a single space
719
731
  </div>
720
732
  <div class="method">
721
733
  <div class="title">
722
- <a name="M000494"></a><b>align_right</b>(n, sep=&quot;\n&quot;, c=' ')
734
+ <a name="M000525"></a><b>align_right</b>(n, sep=&quot;\n&quot;, c=' ')
723
735
  </div>
724
736
  <div class="description">
725
737
  <p>
@@ -748,8 +760,8 @@ defaults to a single space (&#8217; &#8217;).
748
760
  </pre>
749
761
  </div>
750
762
  <div class="sourcecode">
751
- <p class="source-link">[ <a href="javascript:toggleSource('M000494_source')" id="l_M000494_source">show source</a> ]</p>
752
- <div id="M000494_source" class="dyn-source">
763
+ <p class="source-link">[ <a href="javascript:toggleSource('M000525_source')" id="l_M000525_source">show source</a> ]</p>
764
+ <div id="M000525_source" class="dyn-source">
753
765
  <pre>
754
766
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 37</span>
755
767
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_right</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -765,7 +777,7 @@ defaults to a single space (&#8217; &#8217;).
765
777
  </div>
766
778
  <div class="method">
767
779
  <div class="title">
768
- <a name="M000545"></a><b>align_right</b>(n, sep=&quot;\n&quot;, c=' ')
780
+ <a name="M000468"></a><b>align_right</b>(n, sep=&quot;\n&quot;, c=' ')
769
781
  </div>
770
782
  <div class="description">
771
783
  <p>
@@ -794,8 +806,8 @@ defaults to a single space (&#8217; &#8217;).
794
806
  </pre>
795
807
  </div>
796
808
  <div class="sourcecode">
797
- <p class="source-link">[ <a href="javascript:toggleSource('M000545_source')" id="l_M000545_source">show source</a> ]</p>
798
- <div id="M000545_source" class="dyn-source">
809
+ <p class="source-link">[ <a href="javascript:toggleSource('M000468_source')" id="l_M000468_source">show source</a> ]</p>
810
+ <div id="M000468_source" class="dyn-source">
799
811
  <pre>
800
812
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 37</span>
801
813
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_right</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -811,7 +823,7 @@ defaults to a single space (&#8217; &#8217;).
811
823
  </div>
812
824
  <div class="method">
813
825
  <div class="title">
814
- <a name="M000587"></a><b>blank?</b>()
826
+ <a name="M000571"></a><b>blank?</b>()
815
827
  </div>
816
828
  <div class="description">
817
829
  <p>
@@ -823,8 +835,8 @@ Is this string just whitespace?
823
835
  </pre>
824
836
  </div>
825
837
  <div class="sourcecode">
826
- <p class="source-link">[ <a href="javascript:toggleSource('M000587_source')" id="l_M000587_source">show source</a> ]</p>
827
- <div id="M000587_source" class="dyn-source">
838
+ <p class="source-link">[ <a href="javascript:toggleSource('M000571_source')" id="l_M000571_source">show source</a> ]</p>
839
+ <div id="M000571_source" class="dyn-source">
828
840
  <pre>
829
841
  <span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 50</span>
830
842
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
@@ -836,12 +848,12 @@ Is this string just whitespace?
836
848
  </div>
837
849
  <div class="method">
838
850
  <div class="title">
839
- <a name="M000574"></a><b>bracket</b>(bra, ket=nil)
851
+ <a name="M000500"></a><b>bracket</b>(bra, ket=nil)
840
852
  </div>
841
853
  <div class="description">
842
854
  <p>
843
855
  Return a new string embraced by given brakets. If only one <a
844
- href="String.html#M000523">bracket</a> char is given it will be placed on
856
+ href="String.html#M000500">bracket</a> char is given it will be placed on
845
857
  either side.
846
858
  </p>
847
859
  <pre>
@@ -852,8 +864,8 @@ either side.
852
864
  </pre>
853
865
  </div>
854
866
  <div class="sourcecode">
855
- <p class="source-link">[ <a href="javascript:toggleSource('M000574_source')" id="l_M000574_source">show source</a> ]</p>
856
- <div id="M000574_source" class="dyn-source">
867
+ <p class="source-link">[ <a href="javascript:toggleSource('M000500_source')" id="l_M000500_source">show source</a> ]</p>
868
+ <div id="M000500_source" class="dyn-source">
857
869
  <pre>
858
870
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 14</span>
859
871
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -867,12 +879,12 @@ either side.
867
879
  </div>
868
880
  <div class="method">
869
881
  <div class="title">
870
- <a name="M000523"></a><b>bracket</b>(bra, ket=nil)
882
+ <a name="M000557"></a><b>bracket</b>(bra, ket=nil)
871
883
  </div>
872
884
  <div class="description">
873
885
  <p>
874
886
  Return a new string embraced by given brakets. If only one <a
875
- href="String.html#M000523">bracket</a> char is given it will be placed on
887
+ href="String.html#M000500">bracket</a> char is given it will be placed on
876
888
  either side.
877
889
  </p>
878
890
  <pre>
@@ -883,8 +895,8 @@ either side.
883
895
  </pre>
884
896
  </div>
885
897
  <div class="sourcecode">
886
- <p class="source-link">[ <a href="javascript:toggleSource('M000523_source')" id="l_M000523_source">show source</a> ]</p>
887
- <div id="M000523_source" class="dyn-source">
898
+ <p class="source-link">[ <a href="javascript:toggleSource('M000557_source')" id="l_M000557_source">show source</a> ]</p>
899
+ <div id="M000557_source" class="dyn-source">
888
900
  <pre>
889
901
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 14</span>
890
902
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -898,7 +910,7 @@ either side.
898
910
  </div>
899
911
  <div class="method">
900
912
  <div class="title">
901
- <a name="M000575"></a><b>bracket!</b>(bra, ket=nil)
913
+ <a name="M000558"></a><b>bracket!</b>(bra, ket=nil)
902
914
  </div>
903
915
  <div class="description">
904
916
  <p>
@@ -909,8 +921,8 @@ Inplace version of braket.
909
921
  </pre>
910
922
  </div>
911
923
  <div class="sourcecode">
912
- <p class="source-link">[ <a href="javascript:toggleSource('M000575_source')" id="l_M000575_source">show source</a> ]</p>
913
- <div id="M000575_source" class="dyn-source">
924
+ <p class="source-link">[ <a href="javascript:toggleSource('M000558_source')" id="l_M000558_source">show source</a> ]</p>
925
+ <div id="M000558_source" class="dyn-source">
914
926
  <pre>
915
927
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 24</span>
916
928
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket!</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -922,7 +934,7 @@ Inplace version of braket.
922
934
  </div>
923
935
  <div class="method">
924
936
  <div class="title">
925
- <a name="M000524"></a><b>bracket!</b>(bra, ket=nil)
937
+ <a name="M000501"></a><b>bracket!</b>(bra, ket=nil)
926
938
  </div>
927
939
  <div class="description">
928
940
  <p>
@@ -933,8 +945,8 @@ Inplace version of braket.
933
945
  </pre>
934
946
  </div>
935
947
  <div class="sourcecode">
936
- <p class="source-link">[ <a href="javascript:toggleSource('M000524_source')" id="l_M000524_source">show source</a> ]</p>
937
- <div id="M000524_source" class="dyn-source">
948
+ <p class="source-link">[ <a href="javascript:toggleSource('M000501_source')" id="l_M000501_source">show source</a> ]</p>
949
+ <div id="M000501_source" class="dyn-source">
938
950
  <pre>
939
951
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 24</span>
940
952
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket!</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -946,16 +958,16 @@ Inplace version of braket.
946
958
  </div>
947
959
  <div class="method">
948
960
  <div class="title">
949
- <a name="M000567"></a><b>bytes</b>()
961
+ <a name="M000548"></a><b>bytes</b>()
950
962
  </div>
951
963
  <div class="description">
952
964
  <p>
953
- Upacks string into <a href="String.html#M000516">bytes</a>.
965
+ Upacks string into <a href="String.html#M000491">bytes</a>.
954
966
  </p>
955
967
  </div>
956
968
  <div class="sourcecode">
957
- <p class="source-link">[ <a href="javascript:toggleSource('M000567_source')" id="l_M000567_source">show source</a> ]</p>
958
- <div id="M000567_source" class="dyn-source">
969
+ <p class="source-link">[ <a href="javascript:toggleSource('M000548_source')" id="l_M000548_source">show source</a> ]</p>
970
+ <div id="M000548_source" class="dyn-source">
959
971
  <pre>
960
972
  <span class="ruby-comment cmt"># File lib/core/facets/string/bytes.rb, line 8</span>
961
973
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span>
@@ -967,16 +979,16 @@ Upacks string into <a href="String.html#M000516">bytes</a>.
967
979
  </div>
968
980
  <div class="method">
969
981
  <div class="title">
970
- <a name="M000516"></a><b>bytes</b>()
982
+ <a name="M000491"></a><b>bytes</b>()
971
983
  </div>
972
984
  <div class="description">
973
985
  <p>
974
- Upacks string into <a href="String.html#M000516">bytes</a>.
986
+ Upacks string into <a href="String.html#M000491">bytes</a>.
975
987
  </p>
976
988
  </div>
977
989
  <div class="sourcecode">
978
- <p class="source-link">[ <a href="javascript:toggleSource('M000516_source')" id="l_M000516_source">show source</a> ]</p>
979
- <div id="M000516_source" class="dyn-source">
990
+ <p class="source-link">[ <a href="javascript:toggleSource('M000491_source')" id="l_M000491_source">show source</a> ]</p>
991
+ <div id="M000491_source" class="dyn-source">
980
992
  <pre>
981
993
  <span class="ruby-comment cmt"># File lib/core/facets/string/bytes.rb, line 8</span>
982
994
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span>
@@ -988,19 +1000,19 @@ Upacks string into <a href="String.html#M000516">bytes</a>.
988
1000
  </div>
989
1001
  <div class="method">
990
1002
  <div class="title">
991
- <a name="M000491"></a><b>camelcase</b>(upcase_first_letter=true)
1003
+ <a name="M000463"></a><b>camelcase</b>(upcase_first_letter=true)
992
1004
  </div>
993
1005
  <div class="description">
994
1006
  <p>
995
- Converts a string to <a href="String.html#M000491">camelcase</a>.
1007
+ Converts a string to <a href="String.html#M000463">camelcase</a>.
996
1008
  </p>
997
1009
  <p>
998
- By default <a href="String.html#M000491">camelcase</a> convert to
1010
+ By default <a href="String.html#M000463">camelcase</a> convert to
999
1011
  UpperCamelCase, If an argument is set to <tt>false</tt>, then <a
1000
- href="String.html#M000491">camelcase</a> will produce lowerCamelCase.
1012
+ href="String.html#M000463">camelcase</a> will produce lowerCamelCase.
1001
1013
  </p>
1002
1014
  <p>
1003
- <tt><a href="String.html#M000491">camelcase</a></tt> also converts
1015
+ <tt><a href="String.html#M000463">camelcase</a></tt> also converts
1004
1016
  &#8217;/&#8217; to &#8217;::&#8217; which is useful for converting paths to
1005
1017
  namespaces.
1006
1018
  </p>
@@ -1014,8 +1026,8 @@ Examples
1014
1026
  </pre>
1015
1027
  </div>
1016
1028
  <div class="sourcecode">
1017
- <p class="source-link">[ <a href="javascript:toggleSource('M000491_source')" id="l_M000491_source">show source</a> ]</p>
1018
- <div id="M000491_source" class="dyn-source">
1029
+ <p class="source-link">[ <a href="javascript:toggleSource('M000463_source')" id="l_M000463_source">show source</a> ]</p>
1030
+ <div id="M000463_source" class="dyn-source">
1019
1031
  <pre>
1020
1032
  <span class="ruby-comment cmt"># File lib/core/facets/string/camelcase.rb, line 16</span>
1021
1033
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">camelcase</span>(<span class="ruby-identifier">upcase_first_letter</span>=<span class="ruby-keyword kw">true</span>)
@@ -1032,19 +1044,19 @@ Examples
1032
1044
  </div>
1033
1045
  <div class="method">
1034
1046
  <div class="title">
1035
- <a name="M000542"></a><b>camelcase</b>(upcase_first_letter=true)
1047
+ <a name="M000520"></a><b>camelcase</b>(upcase_first_letter=true)
1036
1048
  </div>
1037
1049
  <div class="description">
1038
1050
  <p>
1039
- Converts a string to <a href="String.html#M000491">camelcase</a>.
1051
+ Converts a string to <a href="String.html#M000463">camelcase</a>.
1040
1052
  </p>
1041
1053
  <p>
1042
- By default <a href="String.html#M000491">camelcase</a> convert to
1054
+ By default <a href="String.html#M000463">camelcase</a> convert to
1043
1055
  UpperCamelCase, If an argument is set to <tt>false</tt>, then <a
1044
- href="String.html#M000491">camelcase</a> will produce lowerCamelCase.
1056
+ href="String.html#M000463">camelcase</a> will produce lowerCamelCase.
1045
1057
  </p>
1046
1058
  <p>
1047
- <tt><a href="String.html#M000491">camelcase</a></tt> also converts
1059
+ <tt><a href="String.html#M000463">camelcase</a></tt> also converts
1048
1060
  &#8217;/&#8217; to &#8217;::&#8217; which is useful for converting paths to
1049
1061
  namespaces.
1050
1062
  </p>
@@ -1058,8 +1070,8 @@ Examples
1058
1070
  </pre>
1059
1071
  </div>
1060
1072
  <div class="sourcecode">
1061
- <p class="source-link">[ <a href="javascript:toggleSource('M000542_source')" id="l_M000542_source">show source</a> ]</p>
1062
- <div id="M000542_source" class="dyn-source">
1073
+ <p class="source-link">[ <a href="javascript:toggleSource('M000520_source')" id="l_M000520_source">show source</a> ]</p>
1074
+ <div id="M000520_source" class="dyn-source">
1063
1075
  <pre>
1064
1076
  <span class="ruby-comment cmt"># File lib/core/facets/string/camelcase.rb, line 16</span>
1065
1077
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">camelcase</span>(<span class="ruby-identifier">upcase_first_letter</span>=<span class="ruby-keyword kw">true</span>)
@@ -1076,7 +1088,7 @@ Examples
1076
1088
  </div>
1077
1089
  <div class="method">
1078
1090
  <div class="title">
1079
- <a name="M000512"></a><b>capitalized?</b>()
1091
+ <a name="M000487"></a><b>capitalized?</b>()
1080
1092
  </div>
1081
1093
  <div class="description">
1082
1094
  <p>
@@ -1091,8 +1103,8 @@ Return true if the string is capitalized, otherwise false.
1091
1103
  </pre>
1092
1104
  </div>
1093
1105
  <div class="sourcecode">
1094
- <p class="source-link">[ <a href="javascript:toggleSource('M000512_source')" id="l_M000512_source">show source</a> ]</p>
1095
- <div id="M000512_source" class="dyn-source">
1106
+ <p class="source-link">[ <a href="javascript:toggleSource('M000487_source')" id="l_M000487_source">show source</a> ]</p>
1107
+ <div id="M000487_source" class="dyn-source">
1096
1108
  <pre>
1097
1109
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 11</span>
1098
1110
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">capitalized?</span>
@@ -1104,7 +1116,7 @@ Return true if the string is capitalized, otherwise false.
1104
1116
  </div>
1105
1117
  <div class="method">
1106
1118
  <div class="title">
1107
- <a name="M000563"></a><b>capitalized?</b>()
1119
+ <a name="M000544"></a><b>capitalized?</b>()
1108
1120
  </div>
1109
1121
  <div class="description">
1110
1122
  <p>
@@ -1119,8 +1131,8 @@ Return true if the string is capitalized, otherwise false.
1119
1131
  </pre>
1120
1132
  </div>
1121
1133
  <div class="sourcecode">
1122
- <p class="source-link">[ <a href="javascript:toggleSource('M000563_source')" id="l_M000563_source">show source</a> ]</p>
1123
- <div id="M000563_source" class="dyn-source">
1134
+ <p class="source-link">[ <a href="javascript:toggleSource('M000544_source')" id="l_M000544_source">show source</a> ]</p>
1135
+ <div id="M000544_source" class="dyn-source">
1124
1136
  <pre>
1125
1137
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 11</span>
1126
1138
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">capitalized?</span>
@@ -1132,7 +1144,7 @@ Return true if the string is capitalized, otherwise false.
1132
1144
  </div>
1133
1145
  <div class="method">
1134
1146
  <div class="title">
1135
- <a name="M000580"></a><b>chars</b>()
1147
+ <a name="M000506"></a><b>chars</b>()
1136
1148
  </div>
1137
1149
  <div class="description">
1138
1150
  <p>
@@ -1143,8 +1155,8 @@ Returns an array of characters.
1143
1155
  </pre>
1144
1156
  </div>
1145
1157
  <div class="sourcecode">
1146
- <p class="source-link">[ <a href="javascript:toggleSource('M000580_source')" id="l_M000580_source">show source</a> ]</p>
1147
- <div id="M000580_source" class="dyn-source">
1158
+ <p class="source-link">[ <a href="javascript:toggleSource('M000506_source')" id="l_M000506_source">show source</a> ]</p>
1159
+ <div id="M000506_source" class="dyn-source">
1148
1160
  <pre>
1149
1161
  <span class="ruby-comment cmt"># File lib/core/facets/string/chars.rb, line 9</span>
1150
1162
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chars</span>
@@ -1156,7 +1168,7 @@ Returns an array of characters.
1156
1168
  </div>
1157
1169
  <div class="method">
1158
1170
  <div class="title">
1159
- <a name="M000529"></a><b>chars</b>()
1171
+ <a name="M000563"></a><b>chars</b>()
1160
1172
  </div>
1161
1173
  <div class="description">
1162
1174
  <p>
@@ -1167,8 +1179,8 @@ Returns an array of characters.
1167
1179
  </pre>
1168
1180
  </div>
1169
1181
  <div class="sourcecode">
1170
- <p class="source-link">[ <a href="javascript:toggleSource('M000529_source')" id="l_M000529_source">show source</a> ]</p>
1171
- <div id="M000529_source" class="dyn-source">
1182
+ <p class="source-link">[ <a href="javascript:toggleSource('M000563_source')" id="l_M000563_source">show source</a> ]</p>
1183
+ <div id="M000563_source" class="dyn-source">
1172
1184
  <pre>
1173
1185
  <span class="ruby-comment cmt"># File lib/core/facets/string/chars.rb, line 9</span>
1174
1186
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chars</span>
@@ -1180,7 +1192,7 @@ Returns an array of characters.
1180
1192
  </div>
1181
1193
  <div class="method">
1182
1194
  <div class="title">
1183
- <a name="M000520"></a><b>cleave</b>(threshold=nil, len=nil)
1195
+ <a name="M000554"></a><b>cleave</b>(threshold=nil, len=nil)
1184
1196
  </div>
1185
1197
  <div class="description">
1186
1198
  <p>
@@ -1191,8 +1203,8 @@ Cleave a string. Break a string in two parts at the nearest whitespace.
1191
1203
  </pre>
1192
1204
  </div>
1193
1205
  <div class="sourcecode">
1194
- <p class="source-link">[ <a href="javascript:toggleSource('M000520_source')" id="l_M000520_source">show source</a> ]</p>
1195
- <div id="M000520_source" class="dyn-source">
1206
+ <p class="source-link">[ <a href="javascript:toggleSource('M000554_source')" id="l_M000554_source">show source</a> ]</p>
1207
+ <div id="M000554_source" class="dyn-source">
1196
1208
  <pre>
1197
1209
  <span class="ruby-comment cmt"># File lib/core/facets/string/cleave.rb, line 8</span>
1198
1210
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleave</span>(<span class="ruby-identifier">threshold</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">len</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1228,7 +1240,7 @@ Cleave a string. Break a string in two parts at the nearest whitespace.
1228
1240
  </div>
1229
1241
  <div class="method">
1230
1242
  <div class="title">
1231
- <a name="M000571"></a><b>cleave</b>(threshold=nil, len=nil)
1243
+ <a name="M000497"></a><b>cleave</b>(threshold=nil, len=nil)
1232
1244
  </div>
1233
1245
  <div class="description">
1234
1246
  <p>
@@ -1239,8 +1251,8 @@ Cleave a string. Break a string in two parts at the nearest whitespace.
1239
1251
  </pre>
1240
1252
  </div>
1241
1253
  <div class="sourcecode">
1242
- <p class="source-link">[ <a href="javascript:toggleSource('M000571_source')" id="l_M000571_source">show source</a> ]</p>
1243
- <div id="M000571_source" class="dyn-source">
1254
+ <p class="source-link">[ <a href="javascript:toggleSource('M000497_source')" id="l_M000497_source">show source</a> ]</p>
1255
+ <div id="M000497_source" class="dyn-source">
1244
1256
  <pre>
1245
1257
  <span class="ruby-comment cmt"># File lib/core/facets/string/cleave.rb, line 8</span>
1246
1258
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleave</span>(<span class="ruby-identifier">threshold</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">len</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1276,7 +1288,7 @@ Cleave a string. Break a string in two parts at the nearest whitespace.
1276
1288
  </div>
1277
1289
  <div class="method">
1278
1290
  <div class="title">
1279
- <a name="M000484"></a><b>cmp</b>(other)
1291
+ <a name="M000456"></a><b>cmp</b>(other)
1280
1292
  </div>
1281
1293
  <div class="description">
1282
1294
  <p>
@@ -1293,8 +1305,8 @@ compatible with succ.
1293
1305
  </pre>
1294
1306
  </div>
1295
1307
  <div class="sourcecode">
1296
- <p class="source-link">[ <a href="javascript:toggleSource('M000484_source')" id="l_M000484_source">show source</a> ]</p>
1297
- <div id="M000484_source" class="dyn-source">
1308
+ <p class="source-link">[ <a href="javascript:toggleSource('M000456_source')" id="l_M000456_source">show source</a> ]</p>
1309
+ <div id="M000456_source" class="dyn-source">
1298
1310
  <pre>
1299
1311
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 31</span>
1300
1312
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">other</span>)
@@ -1308,7 +1320,7 @@ compatible with succ.
1308
1320
  </div>
1309
1321
  <div class="method">
1310
1322
  <div class="title">
1311
- <a name="M000482"></a><b>cmp</b>(other)
1323
+ <a name="M000454"></a><b>cmp</b>(other)
1312
1324
  </div>
1313
1325
  <div class="description">
1314
1326
  <p>
@@ -1325,8 +1337,8 @@ compatible with succ.
1325
1337
  </pre>
1326
1338
  </div>
1327
1339
  <div class="sourcecode">
1328
- <p class="source-link">[ <a href="javascript:toggleSource('M000482_source')" id="l_M000482_source">show source</a> ]</p>
1329
- <div id="M000482_source" class="dyn-source">
1340
+ <p class="source-link">[ <a href="javascript:toggleSource('M000454_source')" id="l_M000454_source">show source</a> ]</p>
1341
+ <div id="M000454_source" class="dyn-source">
1330
1342
  <pre>
1331
1343
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 31</span>
1332
1344
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">other</span>)
@@ -1340,7 +1352,7 @@ compatible with succ.
1340
1352
  </div>
1341
1353
  <div class="method">
1342
1354
  <div class="title">
1343
- <a name="M000528"></a><b>dequote</b>()
1355
+ <a name="M000505"></a><b>dequote</b>()
1344
1356
  </div>
1345
1357
  <div class="description">
1346
1358
  <p>
@@ -1353,8 +1365,8 @@ Remove quotes from string.
1353
1365
  </pre>
1354
1366
  </div>
1355
1367
  <div class="sourcecode">
1356
- <p class="source-link">[ <a href="javascript:toggleSource('M000528_source')" id="l_M000528_source">show source</a> ]</p>
1357
- <div id="M000528_source" class="dyn-source">
1368
+ <p class="source-link">[ <a href="javascript:toggleSource('M000505_source')" id="l_M000505_source">show source</a> ]</p>
1369
+ <div id="M000505_source" class="dyn-source">
1358
1370
  <pre>
1359
1371
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 88</span>
1360
1372
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dequote</span>
@@ -1378,7 +1390,7 @@ Remove quotes from string.
1378
1390
  </div>
1379
1391
  <div class="method">
1380
1392
  <div class="title">
1381
- <a name="M000579"></a><b>dequote</b>()
1393
+ <a name="M000562"></a><b>dequote</b>()
1382
1394
  </div>
1383
1395
  <div class="description">
1384
1396
  <p>
@@ -1391,8 +1403,8 @@ Remove quotes from string.
1391
1403
  </pre>
1392
1404
  </div>
1393
1405
  <div class="sourcecode">
1394
- <p class="source-link">[ <a href="javascript:toggleSource('M000579_source')" id="l_M000579_source">show source</a> ]</p>
1395
- <div id="M000579_source" class="dyn-source">
1406
+ <p class="source-link">[ <a href="javascript:toggleSource('M000562_source')" id="l_M000562_source">show source</a> ]</p>
1407
+ <div id="M000562_source" class="dyn-source">
1396
1408
  <pre>
1397
1409
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 88</span>
1398
1410
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dequote</span>
@@ -1416,7 +1428,7 @@ Remove quotes from string.
1416
1428
  </div>
1417
1429
  <div class="method">
1418
1430
  <div class="title">
1419
- <a name="M000510"></a><b>divide</b>( re )
1431
+ <a name="M000542"></a><b>divide</b>( re )
1420
1432
  </div>
1421
1433
  <div class="description">
1422
1434
  <p>
@@ -1437,8 +1449,8 @@ scan, but includes the matches.
1437
1449
  </pre>
1438
1450
  </div>
1439
1451
  <div class="sourcecode">
1440
- <p class="source-link">[ <a href="javascript:toggleSource('M000510_source')" id="l_M000510_source">show source</a> ]</p>
1441
- <div id="M000510_source" class="dyn-source">
1452
+ <p class="source-link">[ <a href="javascript:toggleSource('M000542_source')" id="l_M000542_source">show source</a> ]</p>
1453
+ <div id="M000542_source" class="dyn-source">
1442
1454
  <pre>
1443
1455
  <span class="ruby-comment cmt"># File lib/core/facets/string/divide.rb, line 15</span>
1444
1456
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>( <span class="ruby-identifier">re</span> )
@@ -1451,7 +1463,7 @@ scan, but includes the matches.
1451
1463
  </div>
1452
1464
  <div class="method">
1453
1465
  <div class="title">
1454
- <a name="M000561"></a><b>divide</b>( re )
1466
+ <a name="M000485"></a><b>divide</b>( re )
1455
1467
  </div>
1456
1468
  <div class="description">
1457
1469
  <p>
@@ -1472,8 +1484,8 @@ scan, but includes the matches.
1472
1484
  </pre>
1473
1485
  </div>
1474
1486
  <div class="sourcecode">
1475
- <p class="source-link">[ <a href="javascript:toggleSource('M000561_source')" id="l_M000561_source">show source</a> ]</p>
1476
- <div id="M000561_source" class="dyn-source">
1487
+ <p class="source-link">[ <a href="javascript:toggleSource('M000485_source')" id="l_M000485_source">show source</a> ]</p>
1488
+ <div id="M000485_source" class="dyn-source">
1477
1489
  <pre>
1478
1490
  <span class="ruby-comment cmt"># File lib/core/facets/string/divide.rb, line 15</span>
1479
1491
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>( <span class="ruby-identifier">re</span> )
@@ -1486,7 +1498,7 @@ scan, but includes the matches.
1486
1498
  </div>
1487
1499
  <div class="method">
1488
1500
  <div class="title">
1489
- <a name="M000564"></a><b>downcase?</b>()
1501
+ <a name="M000545"></a><b>downcase?</b>()
1490
1502
  </div>
1491
1503
  <div class="description">
1492
1504
  <p>
@@ -1501,8 +1513,8 @@ Return true if the string is lowercase (downcase), otherwise false.
1501
1513
  </pre>
1502
1514
  </div>
1503
1515
  <div class="sourcecode">
1504
- <p class="source-link">[ <a href="javascript:toggleSource('M000564_source')" id="l_M000564_source">show source</a> ]</p>
1505
- <div id="M000564_source" class="dyn-source">
1516
+ <p class="source-link">[ <a href="javascript:toggleSource('M000545_source')" id="l_M000545_source">show source</a> ]</p>
1517
+ <div id="M000545_source" class="dyn-source">
1506
1518
  <pre>
1507
1519
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 23</span>
1508
1520
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downcase?</span>
@@ -1514,7 +1526,7 @@ Return true if the string is lowercase (downcase), otherwise false.
1514
1526
  </div>
1515
1527
  <div class="method">
1516
1528
  <div class="title">
1517
- <a name="M000513"></a><b>downcase?</b>()
1529
+ <a name="M000488"></a><b>downcase?</b>()
1518
1530
  </div>
1519
1531
  <div class="description">
1520
1532
  <p>
@@ -1529,8 +1541,8 @@ Return true if the string is lowercase (downcase), otherwise false.
1529
1541
  </pre>
1530
1542
  </div>
1531
1543
  <div class="sourcecode">
1532
- <p class="source-link">[ <a href="javascript:toggleSource('M000513_source')" id="l_M000513_source">show source</a> ]</p>
1533
- <div id="M000513_source" class="dyn-source">
1544
+ <p class="source-link">[ <a href="javascript:toggleSource('M000488_source')" id="l_M000488_source">show source</a> ]</p>
1545
+ <div id="M000488_source" class="dyn-source">
1534
1546
  <pre>
1535
1547
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 23</span>
1536
1548
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downcase?</span>
@@ -1542,12 +1554,12 @@ Return true if the string is lowercase (downcase), otherwise false.
1542
1554
  </div>
1543
1555
  <div class="method">
1544
1556
  <div class="title">
1545
- <a name="M000560"></a><b>each_char</b>( {|| ...}
1557
+ <a name="M000484"></a><b>each_char</b>( {|| ...}
1546
1558
  </div>
1547
1559
  <div class="description">
1548
1560
  <p>
1549
1561
  Iterates through each character. This is a little faster than using <a
1550
- href="String.html#M000529">chars</a> b/c it does not create the
1562
+ href="String.html#M000506">chars</a> b/c it does not create the
1551
1563
  intermediate array.
1552
1564
  </p>
1553
1565
  <pre>
@@ -1557,8 +1569,8 @@ intermediate array.
1557
1569
  </pre>
1558
1570
  </div>
1559
1571
  <div class="sourcecode">
1560
- <p class="source-link">[ <a href="javascript:toggleSource('M000560_source')" id="l_M000560_source">show source</a> ]</p>
1561
- <div id="M000560_source" class="dyn-source">
1572
+ <p class="source-link">[ <a href="javascript:toggleSource('M000484_source')" id="l_M000484_source">show source</a> ]</p>
1573
+ <div id="M000484_source" class="dyn-source">
1562
1574
  <pre>
1563
1575
  <span class="ruby-comment cmt"># File lib/core/facets/string/each_char.rb, line 12</span>
1564
1576
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_char</span> <span class="ruby-comment cmt"># :yield:</span>
@@ -1572,12 +1584,12 @@ intermediate array.
1572
1584
  </div>
1573
1585
  <div class="method">
1574
1586
  <div class="title">
1575
- <a name="M000509"></a><b>each_char</b>( {|| ...}
1587
+ <a name="M000541"></a><b>each_char</b>( {|| ...}
1576
1588
  </div>
1577
1589
  <div class="description">
1578
1590
  <p>
1579
1591
  Iterates through each character. This is a little faster than using <a
1580
- href="String.html#M000529">chars</a> b/c it does not create the
1592
+ href="String.html#M000506">chars</a> b/c it does not create the
1581
1593
  intermediate array.
1582
1594
  </p>
1583
1595
  <pre>
@@ -1587,8 +1599,8 @@ intermediate array.
1587
1599
  </pre>
1588
1600
  </div>
1589
1601
  <div class="sourcecode">
1590
- <p class="source-link">[ <a href="javascript:toggleSource('M000509_source')" id="l_M000509_source">show source</a> ]</p>
1591
- <div id="M000509_source" class="dyn-source">
1602
+ <p class="source-link">[ <a href="javascript:toggleSource('M000541_source')" id="l_M000541_source">show source</a> ]</p>
1603
+ <div id="M000541_source" class="dyn-source">
1592
1604
  <pre>
1593
1605
  <span class="ruby-comment cmt"># File lib/core/facets/string/each_char.rb, line 12</span>
1594
1606
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_char</span> <span class="ruby-comment cmt"># :yield:</span>
@@ -1602,7 +1614,55 @@ intermediate array.
1602
1614
  </div>
1603
1615
  <div class="method">
1604
1616
  <div class="title">
1605
- <a name="M000541"></a><b>end_with?</b>(suffix)
1617
+ <a name="M000570"></a><b>each_word</b>(&amp;block)
1618
+ </div>
1619
+ <div class="description">
1620
+ <p>
1621
+ Iterate through each word of a string.
1622
+ </p>
1623
+ <pre>
1624
+ &quot;a string&quot;.each_word { |word, range| ... }
1625
+ </pre>
1626
+ </div>
1627
+ <div class="sourcecode">
1628
+ <p class="source-link">[ <a href="javascript:toggleSource('M000570_source')" id="l_M000570_source">show source</a> ]</p>
1629
+ <div id="M000570_source" class="dyn-source">
1630
+ <pre>
1631
+ <span class="ruby-comment cmt"># File lib/core/facets/string/each_word.rb, line 9</span>
1632
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_word</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
1633
+ <span class="ruby-identifier">words</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
1634
+ <span class="ruby-keyword kw">end</span>
1635
+ </pre>
1636
+ </div>
1637
+ </div>
1638
+ </div>
1639
+ <div class="method">
1640
+ <div class="title">
1641
+ <a name="M000513"></a><b>each_word</b>(&amp;block)
1642
+ </div>
1643
+ <div class="description">
1644
+ <p>
1645
+ Iterate through each word of a string.
1646
+ </p>
1647
+ <pre>
1648
+ &quot;a string&quot;.each_word { |word, range| ... }
1649
+ </pre>
1650
+ </div>
1651
+ <div class="sourcecode">
1652
+ <p class="source-link">[ <a href="javascript:toggleSource('M000513_source')" id="l_M000513_source">show source</a> ]</p>
1653
+ <div id="M000513_source" class="dyn-source">
1654
+ <pre>
1655
+ <span class="ruby-comment cmt"># File lib/core/facets/string/each_word.rb, line 9</span>
1656
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_word</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
1657
+ <span class="ruby-identifier">words</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
1658
+ <span class="ruby-keyword kw">end</span>
1659
+ </pre>
1660
+ </div>
1661
+ </div>
1662
+ </div>
1663
+ <div class="method">
1664
+ <div class="title">
1665
+ <a name="M000519"></a><b>end_with?</b>(suffix)
1606
1666
  </div>
1607
1667
  <div class="description">
1608
1668
  <p>
@@ -1617,8 +1677,8 @@ Does a string end with the given suffix?
1617
1677
  </pre>
1618
1678
  </div>
1619
1679
  <div class="sourcecode">
1620
- <p class="source-link">[ <a href="javascript:toggleSource('M000541_source')" id="l_M000541_source">show source</a> ]</p>
1621
- <div id="M000541_source" class="dyn-source">
1680
+ <p class="source-link">[ <a href="javascript:toggleSource('M000519_source')" id="l_M000519_source">show source</a> ]</p>
1681
+ <div id="M000519_source" class="dyn-source">
1622
1682
  <pre>
1623
1683
  <span class="ruby-comment cmt"># File lib/core/facets/string/start_with.rb, line 25</span>
1624
1684
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">end_with?</span>(<span class="ruby-identifier">suffix</span>)
@@ -1630,7 +1690,7 @@ Does a string end with the given suffix?
1630
1690
  </div>
1631
1691
  <div class="method">
1632
1692
  <div class="title">
1633
- <a name="M000490"></a><b>end_with?</b>(suffix)
1693
+ <a name="M000462"></a><b>end_with?</b>(suffix)
1634
1694
  </div>
1635
1695
  <div class="description">
1636
1696
  <p>
@@ -1645,8 +1705,8 @@ Does a string end with the given suffix?
1645
1705
  </pre>
1646
1706
  </div>
1647
1707
  <div class="sourcecode">
1648
- <p class="source-link">[ <a href="javascript:toggleSource('M000490_source')" id="l_M000490_source">show source</a> ]</p>
1649
- <div id="M000490_source" class="dyn-source">
1708
+ <p class="source-link">[ <a href="javascript:toggleSource('M000462_source')" id="l_M000462_source">show source</a> ]</p>
1709
+ <div id="M000462_source" class="dyn-source">
1650
1710
  <pre>
1651
1711
  <span class="ruby-comment cmt"># File lib/core/facets/string/start_with.rb, line 25</span>
1652
1712
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">end_with?</span>(<span class="ruby-identifier">suffix</span>)
@@ -1658,7 +1718,7 @@ Does a string end with the given suffix?
1658
1718
  </div>
1659
1719
  <div class="method">
1660
1720
  <div class="title">
1661
- <a name="M000550"></a><b>expand_tabs</b>(n=8)
1721
+ <a name="M000473"></a><b>expand_tabs</b>(n=8)
1662
1722
  </div>
1663
1723
  <div class="description">
1664
1724
  <p>
@@ -1676,8 +1736,8 @@ Thanks to GGaramuno for a more efficient algorithm. Very nice.
1676
1736
  </pre>
1677
1737
  </div>
1678
1738
  <div class="sourcecode">
1679
- <p class="source-link">[ <a href="javascript:toggleSource('M000550_source')" id="l_M000550_source">show source</a> ]</p>
1680
- <div id="M000550_source" class="dyn-source">
1739
+ <p class="source-link">[ <a href="javascript:toggleSource('M000473_source')" id="l_M000473_source">show source</a> ]</p>
1740
+ <div id="M000473_source" class="dyn-source">
1681
1741
  <pre>
1682
1742
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 26</span>
1683
1743
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expand_tabs</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">8</span>)
@@ -1700,7 +1760,7 @@ Thanks to GGaramuno for a more efficient algorithm. Very nice.
1700
1760
  </div>
1701
1761
  <div class="method">
1702
1762
  <div class="title">
1703
- <a name="M000499"></a><b>expand_tabs</b>(n=8)
1763
+ <a name="M000530"></a><b>expand_tabs</b>(n=8)
1704
1764
  </div>
1705
1765
  <div class="description">
1706
1766
  <p>
@@ -1718,8 +1778,8 @@ Thanks to GGaramuno for a more efficient algorithm. Very nice.
1718
1778
  </pre>
1719
1779
  </div>
1720
1780
  <div class="sourcecode">
1721
- <p class="source-link">[ <a href="javascript:toggleSource('M000499_source')" id="l_M000499_source">show source</a> ]</p>
1722
- <div id="M000499_source" class="dyn-source">
1781
+ <p class="source-link">[ <a href="javascript:toggleSource('M000530_source')" id="l_M000530_source">show source</a> ]</p>
1782
+ <div id="M000530_source" class="dyn-source">
1723
1783
  <pre>
1724
1784
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 26</span>
1725
1785
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expand_tabs</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">8</span>)
@@ -1742,12 +1802,12 @@ Thanks to GGaramuno for a more efficient algorithm. Very nice.
1742
1802
  </div>
1743
1803
  <div class="method">
1744
1804
  <div class="title">
1745
- <a name="M000539"></a><b>fold</b>(ignore_indented=false)
1805
+ <a name="M000517"></a><b>fold</b>(ignore_indented=false)
1746
1806
  </div>
1747
1807
  <div class="description">
1748
1808
  <p>
1749
- Returns a new string with all new <a href="String.html#M000492">lines</a>
1750
- removed from adjacent <a href="String.html#M000492">lines</a> of text.
1809
+ Returns a new string with all new <a href="String.html#M000464">lines</a>
1810
+ removed from adjacent <a href="String.html#M000464">lines</a> of text.
1751
1811
  </p>
1752
1812
  <pre>
1753
1813
  s = &quot;This is\na test.\n\nIt clumps\nlines of text.&quot;
@@ -1768,8 +1828,8 @@ ends in a newline, it is replaced with a single space.
1768
1828
  </pre>
1769
1829
  </div>
1770
1830
  <div class="sourcecode">
1771
- <p class="source-link">[ <a href="javascript:toggleSource('M000539_source')" id="l_M000539_source">show source</a> ]</p>
1772
- <div id="M000539_source" class="dyn-source">
1831
+ <p class="source-link">[ <a href="javascript:toggleSource('M000517_source')" id="l_M000517_source">show source</a> ]</p>
1832
+ <div id="M000517_source" class="dyn-source">
1773
1833
  <pre>
1774
1834
  <span class="ruby-comment cmt"># File lib/core/facets/string/fold.rb, line 19</span>
1775
1835
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fold</span>(<span class="ruby-identifier">ignore_indented</span>=<span class="ruby-keyword kw">false</span>)
@@ -1796,12 +1856,12 @@ ends in a newline, it is replaced with a single space.
1796
1856
  </div>
1797
1857
  <div class="method">
1798
1858
  <div class="title">
1799
- <a name="M000488"></a><b>fold</b>(ignore_indented=false)
1859
+ <a name="M000460"></a><b>fold</b>(ignore_indented=false)
1800
1860
  </div>
1801
1861
  <div class="description">
1802
1862
  <p>
1803
- Returns a new string with all new <a href="String.html#M000492">lines</a>
1804
- removed from adjacent <a href="String.html#M000492">lines</a> of text.
1863
+ Returns a new string with all new <a href="String.html#M000464">lines</a>
1864
+ removed from adjacent <a href="String.html#M000464">lines</a> of text.
1805
1865
  </p>
1806
1866
  <pre>
1807
1867
  s = &quot;This is\na test.\n\nIt clumps\nlines of text.&quot;
@@ -1822,8 +1882,8 @@ ends in a newline, it is replaced with a single space.
1822
1882
  </pre>
1823
1883
  </div>
1824
1884
  <div class="sourcecode">
1825
- <p class="source-link">[ <a href="javascript:toggleSource('M000488_source')" id="l_M000488_source">show source</a> ]</p>
1826
- <div id="M000488_source" class="dyn-source">
1885
+ <p class="source-link">[ <a href="javascript:toggleSource('M000460_source')" id="l_M000460_source">show source</a> ]</p>
1886
+ <div id="M000460_source" class="dyn-source">
1827
1887
  <pre>
1828
1888
  <span class="ruby-comment cmt"># File lib/core/facets/string/fold.rb, line 19</span>
1829
1889
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fold</span>(<span class="ruby-identifier">ignore_indented</span>=<span class="ruby-keyword kw">false</span>)
@@ -1850,13 +1910,13 @@ ends in a newline, it is replaced with a single space.
1850
1910
  </div>
1851
1911
  <div class="method">
1852
1912
  <div class="title">
1853
- <a name="M000501"></a><b>indent</b>(n)
1913
+ <a name="M000475"></a><b>indent</b>(n)
1854
1914
  </div>
1855
1915
  <div class="description">
1856
1916
  <p>
1857
1917
  Indent left or right by n spaces. (This used to be called <a
1858
- href="String.html#M000497">tab</a> and aliased as <a
1859
- href="String.html#M000501">indent</a>.)
1918
+ href="String.html#M000471">tab</a> and aliased as <a
1919
+ href="String.html#M000475">indent</a>.)
1860
1920
  </p>
1861
1921
  <pre>
1862
1922
  CREDIT: Gavin Sinclair
@@ -1864,8 +1924,8 @@ href="String.html#M000501">indent</a>.)
1864
1924
  </pre>
1865
1925
  </div>
1866
1926
  <div class="sourcecode">
1867
- <p class="source-link">[ <a href="javascript:toggleSource('M000501_source')" id="l_M000501_source">show source</a> ]</p>
1868
- <div id="M000501_source" class="dyn-source">
1927
+ <p class="source-link">[ <a href="javascript:toggleSource('M000475_source')" id="l_M000475_source">show source</a> ]</p>
1928
+ <div id="M000475_source" class="dyn-source">
1869
1929
  <pre>
1870
1930
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 60</span>
1871
1931
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">indent</span>(<span class="ruby-identifier">n</span>)
@@ -1881,13 +1941,13 @@ href="String.html#M000501">indent</a>.)
1881
1941
  </div>
1882
1942
  <div class="method">
1883
1943
  <div class="title">
1884
- <a name="M000552"></a><b>indent</b>(n)
1944
+ <a name="M000532"></a><b>indent</b>(n)
1885
1945
  </div>
1886
1946
  <div class="description">
1887
1947
  <p>
1888
1948
  Indent left or right by n spaces. (This used to be called <a
1889
- href="String.html#M000497">tab</a> and aliased as <a
1890
- href="String.html#M000501">indent</a>.)
1949
+ href="String.html#M000471">tab</a> and aliased as <a
1950
+ href="String.html#M000475">indent</a>.)
1891
1951
  </p>
1892
1952
  <pre>
1893
1953
  CREDIT: Gavin Sinclair
@@ -1895,8 +1955,8 @@ href="String.html#M000501">indent</a>.)
1895
1955
  </pre>
1896
1956
  </div>
1897
1957
  <div class="sourcecode">
1898
- <p class="source-link">[ <a href="javascript:toggleSource('M000552_source')" id="l_M000552_source">show source</a> ]</p>
1899
- <div id="M000552_source" class="dyn-source">
1958
+ <p class="source-link">[ <a href="javascript:toggleSource('M000532_source')" id="l_M000532_source">show source</a> ]</p>
1959
+ <div id="M000532_source" class="dyn-source">
1900
1960
  <pre>
1901
1961
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 60</span>
1902
1962
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">indent</span>(<span class="ruby-identifier">n</span>)
@@ -1912,7 +1972,7 @@ href="String.html#M000501">indent</a>.)
1912
1972
  </div>
1913
1973
  <div class="method">
1914
1974
  <div class="title">
1915
- <a name="M000507"></a><b>index_all</b>(s, reuse=false)
1975
+ <a name="M000482"></a><b>index_all</b>(s, reuse=false)
1916
1976
  </div>
1917
1977
  <div class="description">
1918
1978
  <p>
@@ -1929,8 +1989,8 @@ allows the trailing portion of a match to be reused for subsquent matches.
1929
1989
  </pre>
1930
1990
  </div>
1931
1991
  <div class="sourcecode">
1932
- <p class="source-link">[ <a href="javascript:toggleSource('M000507_source')" id="l_M000507_source">show source</a> ]</p>
1933
- <div id="M000507_source" class="dyn-source">
1992
+ <p class="source-link">[ <a href="javascript:toggleSource('M000482_source')" id="l_M000482_source">show source</a> ]</p>
1993
+ <div id="M000482_source" class="dyn-source">
1934
1994
  <pre>
1935
1995
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 66</span>
1936
1996
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
@@ -1948,7 +2008,7 @@ allows the trailing portion of a match to be reused for subsquent matches.
1948
2008
  </div>
1949
2009
  <div class="method">
1950
2010
  <div class="title">
1951
- <a name="M000558"></a><b>index_all</b>(s, reuse=false)
2011
+ <a name="M000539"></a><b>index_all</b>(s, reuse=false)
1952
2012
  </div>
1953
2013
  <div class="description">
1954
2014
  <p>
@@ -1965,8 +2025,8 @@ allows the trailing portion of a match to be reused for subsquent matches.
1965
2025
  </pre>
1966
2026
  </div>
1967
2027
  <div class="sourcecode">
1968
- <p class="source-link">[ <a href="javascript:toggleSource('M000558_source')" id="l_M000558_source">show source</a> ]</p>
1969
- <div id="M000558_source" class="dyn-source">
2028
+ <p class="source-link">[ <a href="javascript:toggleSource('M000539_source')" id="l_M000539_source">show source</a> ]</p>
2029
+ <div id="M000539_source" class="dyn-source">
1970
2030
  <pre>
1971
2031
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 66</span>
1972
2032
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
@@ -1984,7 +2044,7 @@ allows the trailing portion of a match to be reused for subsquent matches.
1984
2044
  </div>
1985
2045
  <div class="method">
1986
2046
  <div class="title">
1987
- <a name="M000581"></a><b>lchomp</b>(match)
2047
+ <a name="M000564"></a><b>lchomp</b>(match)
1988
2048
  </div>
1989
2049
  <div class="description">
1990
2050
  <p>
@@ -1998,8 +2058,8 @@ Left chomp.
1998
2058
  </pre>
1999
2059
  </div>
2000
2060
  <div class="sourcecode">
2001
- <p class="source-link">[ <a href="javascript:toggleSource('M000581_source')" id="l_M000581_source">show source</a> ]</p>
2002
- <div id="M000581_source" class="dyn-source">
2061
+ <p class="source-link">[ <a href="javascript:toggleSource('M000564_source')" id="l_M000564_source">show source</a> ]</p>
2062
+ <div id="M000564_source" class="dyn-source">
2003
2063
  <pre>
2004
2064
  <span class="ruby-comment cmt"># File lib/core/facets/string/chomp.rb, line 10</span>
2005
2065
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp</span>(<span class="ruby-identifier">match</span>)
@@ -2015,7 +2075,7 @@ Left chomp.
2015
2075
  </div>
2016
2076
  <div class="method">
2017
2077
  <div class="title">
2018
- <a name="M000530"></a><b>lchomp</b>(match)
2078
+ <a name="M000507"></a><b>lchomp</b>(match)
2019
2079
  </div>
2020
2080
  <div class="description">
2021
2081
  <p>
@@ -2029,8 +2089,8 @@ Left chomp.
2029
2089
  </pre>
2030
2090
  </div>
2031
2091
  <div class="sourcecode">
2032
- <p class="source-link">[ <a href="javascript:toggleSource('M000530_source')" id="l_M000530_source">show source</a> ]</p>
2033
- <div id="M000530_source" class="dyn-source">
2092
+ <p class="source-link">[ <a href="javascript:toggleSource('M000507_source')" id="l_M000507_source">show source</a> ]</p>
2093
+ <div id="M000507_source" class="dyn-source">
2034
2094
  <pre>
2035
2095
  <span class="ruby-comment cmt"># File lib/core/facets/string/chomp.rb, line 10</span>
2036
2096
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp</span>(<span class="ruby-identifier">match</span>)
@@ -2046,7 +2106,7 @@ Left chomp.
2046
2106
  </div>
2047
2107
  <div class="method">
2048
2108
  <div class="title">
2049
- <a name="M000582"></a><b>lchomp!</b>(match)
2109
+ <a name="M000508"></a><b>lchomp!</b>(match)
2050
2110
  </div>
2051
2111
  <div class="description">
2052
2112
  <p>
@@ -2060,8 +2120,8 @@ In-place left chomp.
2060
2120
  </pre>
2061
2121
  </div>
2062
2122
  <div class="sourcecode">
2063
- <p class="source-link">[ <a href="javascript:toggleSource('M000582_source')" id="l_M000582_source">show source</a> ]</p>
2064
- <div id="M000582_source" class="dyn-source">
2123
+ <p class="source-link">[ <a href="javascript:toggleSource('M000508_source')" id="l_M000508_source">show source</a> ]</p>
2124
+ <div id="M000508_source" class="dyn-source">
2065
2125
  <pre>
2066
2126
  <span class="ruby-comment cmt"># File lib/core/facets/string/chomp.rb, line 25</span>
2067
2127
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp!</span>(<span class="ruby-identifier">match</span>)
@@ -2076,7 +2136,7 @@ In-place left chomp.
2076
2136
  </div>
2077
2137
  <div class="method">
2078
2138
  <div class="title">
2079
- <a name="M000531"></a><b>lchomp!</b>(match)
2139
+ <a name="M000565"></a><b>lchomp!</b>(match)
2080
2140
  </div>
2081
2141
  <div class="description">
2082
2142
  <p>
@@ -2090,8 +2150,8 @@ In-place left chomp.
2090
2150
  </pre>
2091
2151
  </div>
2092
2152
  <div class="sourcecode">
2093
- <p class="source-link">[ <a href="javascript:toggleSource('M000531_source')" id="l_M000531_source">show source</a> ]</p>
2094
- <div id="M000531_source" class="dyn-source">
2153
+ <p class="source-link">[ <a href="javascript:toggleSource('M000565_source')" id="l_M000565_source">show source</a> ]</p>
2154
+ <div id="M000565_source" class="dyn-source">
2095
2155
  <pre>
2096
2156
  <span class="ruby-comment cmt"># File lib/core/facets/string/chomp.rb, line 25</span>
2097
2157
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp!</span>(<span class="ruby-identifier">match</span>)
@@ -2106,7 +2166,7 @@ In-place left chomp.
2106
2166
  </div>
2107
2167
  <div class="method">
2108
2168
  <div class="title">
2109
- <a name="M000573"></a><b>line_wrap</b>(width, tabs=4)
2169
+ <a name="M000556"></a><b>line_wrap</b>(width, tabs=4)
2110
2170
  </div>
2111
2171
  <div class="description">
2112
2172
  <p>
@@ -2126,8 +2186,8 @@ Line wrap at width.
2126
2186
  </pre>
2127
2187
  </div>
2128
2188
  <div class="sourcecode">
2129
- <p class="source-link">[ <a href="javascript:toggleSource('M000573_source')" id="l_M000573_source">show source</a> ]</p>
2130
- <div id="M000573_source" class="dyn-source">
2189
+ <p class="source-link">[ <a href="javascript:toggleSource('M000556_source')" id="l_M000556_source">show source</a> ]</p>
2190
+ <div id="M000556_source" class="dyn-source">
2131
2191
  <pre>
2132
2192
  <span class="ruby-comment cmt"># File lib/core/facets/string/line_wrap.rb, line 14</span>
2133
2193
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">line_wrap</span>(<span class="ruby-identifier">width</span>, <span class="ruby-identifier">tabs</span>=<span class="ruby-value">4</span>)
@@ -2142,7 +2202,7 @@ Line wrap at width.
2142
2202
  </div>
2143
2203
  <div class="method">
2144
2204
  <div class="title">
2145
- <a name="M000522"></a><b>line_wrap</b>(width, tabs=4)
2205
+ <a name="M000499"></a><b>line_wrap</b>(width, tabs=4)
2146
2206
  </div>
2147
2207
  <div class="description">
2148
2208
  <p>
@@ -2162,8 +2222,8 @@ Line wrap at width.
2162
2222
  </pre>
2163
2223
  </div>
2164
2224
  <div class="sourcecode">
2165
- <p class="source-link">[ <a href="javascript:toggleSource('M000522_source')" id="l_M000522_source">show source</a> ]</p>
2166
- <div id="M000522_source" class="dyn-source">
2225
+ <p class="source-link">[ <a href="javascript:toggleSource('M000499_source')" id="l_M000499_source">show source</a> ]</p>
2226
+ <div id="M000499_source" class="dyn-source">
2167
2227
  <pre>
2168
2228
  <span class="ruby-comment cmt"># File lib/core/facets/string/line_wrap.rb, line 14</span>
2169
2229
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">line_wrap</span>(<span class="ruby-identifier">width</span>, <span class="ruby-identifier">tabs</span>=<span class="ruby-value">4</span>)
@@ -2178,7 +2238,7 @@ Line wrap at width.
2178
2238
  </div>
2179
2239
  <div class="method">
2180
2240
  <div class="title">
2181
- <a name="M000543"></a><b>lines</b>()
2241
+ <a name="M000521"></a><b>lines</b>()
2182
2242
  </div>
2183
2243
  <div class="description">
2184
2244
  <p>
@@ -2189,8 +2249,8 @@ Returns an array of characters.
2189
2249
  </pre>
2190
2250
  </div>
2191
2251
  <div class="sourcecode">
2192
- <p class="source-link">[ <a href="javascript:toggleSource('M000543_source')" id="l_M000543_source">show source</a> ]</p>
2193
- <div id="M000543_source" class="dyn-source">
2252
+ <p class="source-link">[ <a href="javascript:toggleSource('M000521_source')" id="l_M000521_source">show source</a> ]</p>
2253
+ <div id="M000521_source" class="dyn-source">
2194
2254
  <pre>
2195
2255
  <span class="ruby-comment cmt"># File lib/core/facets/string/lines.rb, line 9</span>
2196
2256
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lines</span>
@@ -2202,7 +2262,7 @@ Returns an array of characters.
2202
2262
  </div>
2203
2263
  <div class="method">
2204
2264
  <div class="title">
2205
- <a name="M000492"></a><b>lines</b>()
2265
+ <a name="M000464"></a><b>lines</b>()
2206
2266
  </div>
2207
2267
  <div class="description">
2208
2268
  <p>
@@ -2213,8 +2273,8 @@ Returns an array of characters.
2213
2273
  </pre>
2214
2274
  </div>
2215
2275
  <div class="sourcecode">
2216
- <p class="source-link">[ <a href="javascript:toggleSource('M000492_source')" id="l_M000492_source">show source</a> ]</p>
2217
- <div id="M000492_source" class="dyn-source">
2276
+ <p class="source-link">[ <a href="javascript:toggleSource('M000464_source')" id="l_M000464_source">show source</a> ]</p>
2277
+ <div id="M000464_source" class="dyn-source">
2218
2278
  <pre>
2219
2279
  <span class="ruby-comment cmt"># File lib/core/facets/string/lines.rb, line 9</span>
2220
2280
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lines</span>
@@ -2226,11 +2286,11 @@ Returns an array of characters.
2226
2286
  </div>
2227
2287
  <div class="method">
2228
2288
  <div class="title">
2229
- <a name="M000503"></a><b>margin</b>(n=0)
2289
+ <a name="M000534"></a><b>margin</b>(n=0)
2230
2290
  </div>
2231
2291
  <div class="description">
2232
2292
  <p>
2233
- Provides a <a href="String.html#M000503">margin</a> controlled string.
2293
+ Provides a <a href="String.html#M000477">margin</a> controlled string.
2234
2294
  </p>
2235
2295
  <pre>
2236
2296
  x = %Q{
@@ -2245,8 +2305,8 @@ Provides a <a href="String.html#M000503">margin</a> controlled string.
2245
2305
  </pre>
2246
2306
  </div>
2247
2307
  <div class="sourcecode">
2248
- <p class="source-link">[ <a href="javascript:toggleSource('M000503_source')" id="l_M000503_source">show source</a> ]</p>
2249
- <div id="M000503_source" class="dyn-source">
2308
+ <p class="source-link">[ <a href="javascript:toggleSource('M000534_source')" id="l_M000534_source">show source</a> ]</p>
2309
+ <div id="M000534_source" class="dyn-source">
2250
2310
  <pre>
2251
2311
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 89</span>
2252
2312
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">margin</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">0</span>)
@@ -2267,11 +2327,11 @@ Provides a <a href="String.html#M000503">margin</a> controlled string.
2267
2327
  </div>
2268
2328
  <div class="method">
2269
2329
  <div class="title">
2270
- <a name="M000554"></a><b>margin</b>(n=0)
2330
+ <a name="M000477"></a><b>margin</b>(n=0)
2271
2331
  </div>
2272
2332
  <div class="description">
2273
2333
  <p>
2274
- Provides a <a href="String.html#M000503">margin</a> controlled string.
2334
+ Provides a <a href="String.html#M000477">margin</a> controlled string.
2275
2335
  </p>
2276
2336
  <pre>
2277
2337
  x = %Q{
@@ -2286,8 +2346,8 @@ Provides a <a href="String.html#M000503">margin</a> controlled string.
2286
2346
  </pre>
2287
2347
  </div>
2288
2348
  <div class="sourcecode">
2289
- <p class="source-link">[ <a href="javascript:toggleSource('M000554_source')" id="l_M000554_source">show source</a> ]</p>
2290
- <div id="M000554_source" class="dyn-source">
2349
+ <p class="source-link">[ <a href="javascript:toggleSource('M000477_source')" id="l_M000477_source">show source</a> ]</p>
2350
+ <div id="M000477_source" class="dyn-source">
2291
2351
  <pre>
2292
2352
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 89</span>
2293
2353
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">margin</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">0</span>)
@@ -2308,30 +2368,23 @@ Provides a <a href="String.html#M000503">margin</a> controlled string.
2308
2368
  </div>
2309
2369
  <div class="method">
2310
2370
  <div class="title">
2311
- <a name="M000562"></a><b>mscan</b>(re) {|| ...}
2371
+ <a name="M000535"></a><b>methodize</b>()
2312
2372
  </div>
2313
2373
  <div class="description">
2314
2374
  <p>
2315
- Like scan but returns <a href="MatchData.html">MatchData</a> ($~) rather
2316
- then matched string ($&amp;).
2375
+ Translate a (class or module) name to a suitable method name.
2317
2376
  </p>
2318
2377
  <pre>
2319
- CREDIT: Trans
2378
+ My::CoolClass.name.methodize =&gt; &quot;my__cool_class&quot;
2320
2379
  </pre>
2321
2380
  </div>
2322
2381
  <div class="sourcecode">
2323
- <p class="source-link">[ <a href="javascript:toggleSource('M000562_source')" id="l_M000562_source">show source</a> ]</p>
2324
- <div id="M000562_source" class="dyn-source">
2382
+ <p class="source-link">[ <a href="javascript:toggleSource('M000535_source')" id="l_M000535_source">show source</a> ]</p>
2383
+ <div id="M000535_source" class="dyn-source">
2325
2384
  <pre>
2326
- <span class="ruby-comment cmt"># File lib/core/facets/string/mscan.rb, line 8</span>
2327
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mscan</span>(<span class="ruby-identifier">re</span>) <span class="ruby-comment cmt">#:yield:</span>
2328
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
2329
- <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">$~</span>) }
2330
- <span class="ruby-keyword kw">else</span>
2331
- <span class="ruby-identifier">m</span> = []
2332
- <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-identifier">m</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$~</span> }
2333
- <span class="ruby-identifier">m</span>
2334
- <span class="ruby-keyword kw">end</span>
2385
+ <span class="ruby-comment cmt"># File lib/core/facets/string/methodize.rb, line 7</span>
2386
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
2387
+ <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>
2335
2388
  <span class="ruby-keyword kw">end</span>
2336
2389
  </pre>
2337
2390
  </div>
@@ -2339,30 +2392,23 @@ then matched string ($&amp;).
2339
2392
  </div>
2340
2393
  <div class="method">
2341
2394
  <div class="title">
2342
- <a name="M000511"></a><b>mscan</b>(re) {|| ...}
2395
+ <a name="M000478"></a><b>methodize</b>()
2343
2396
  </div>
2344
2397
  <div class="description">
2345
2398
  <p>
2346
- Like scan but returns <a href="MatchData.html">MatchData</a> ($~) rather
2347
- then matched string ($&amp;).
2399
+ Translate a (class or module) name to a suitable method name.
2348
2400
  </p>
2349
2401
  <pre>
2350
- CREDIT: Trans
2402
+ My::CoolClass.name.methodize =&gt; &quot;my__cool_class&quot;
2351
2403
  </pre>
2352
2404
  </div>
2353
2405
  <div class="sourcecode">
2354
- <p class="source-link">[ <a href="javascript:toggleSource('M000511_source')" id="l_M000511_source">show source</a> ]</p>
2355
- <div id="M000511_source" class="dyn-source">
2406
+ <p class="source-link">[ <a href="javascript:toggleSource('M000478_source')" id="l_M000478_source">show source</a> ]</p>
2407
+ <div id="M000478_source" class="dyn-source">
2356
2408
  <pre>
2357
- <span class="ruby-comment cmt"># File lib/core/facets/string/mscan.rb, line 8</span>
2358
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mscan</span>(<span class="ruby-identifier">re</span>) <span class="ruby-comment cmt">#:yield:</span>
2359
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
2360
- <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">$~</span>) }
2361
- <span class="ruby-keyword kw">else</span>
2362
- <span class="ruby-identifier">m</span> = []
2363
- <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-identifier">m</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$~</span> }
2364
- <span class="ruby-identifier">m</span>
2365
- <span class="ruby-keyword kw">end</span>
2409
+ <span class="ruby-comment cmt"># File lib/core/facets/string/methodize.rb, line 7</span>
2410
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
2411
+ <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>
2366
2412
  <span class="ruby-keyword kw">end</span>
2367
2413
  </pre>
2368
2414
  </div>
@@ -2370,11 +2416,73 @@ then matched string ($&amp;).
2370
2416
  </div>
2371
2417
  <div class="method">
2372
2418
  <div class="title">
2373
- <a name="M000515"></a><b>natcmp</b>(str2, caseInsensitive=false)
2419
+ <a name="M000486"></a><b>mscan</b>(re) {|| ...}
2374
2420
  </div>
2375
2421
  <div class="description">
2376
2422
  <p>
2377
- &#8216;Natural order&#8217; comparison of strings, e.g.
2423
+ Like scan but returns <a href="MatchData.html">MatchData</a> ($~) rather
2424
+ then matched string ($&amp;).
2425
+ </p>
2426
+ <pre>
2427
+ CREDIT: Trans
2428
+ </pre>
2429
+ </div>
2430
+ <div class="sourcecode">
2431
+ <p class="source-link">[ <a href="javascript:toggleSource('M000486_source')" id="l_M000486_source">show source</a> ]</p>
2432
+ <div id="M000486_source" class="dyn-source">
2433
+ <pre>
2434
+ <span class="ruby-comment cmt"># File lib/core/facets/string/mscan.rb, line 8</span>
2435
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mscan</span>(<span class="ruby-identifier">re</span>) <span class="ruby-comment cmt">#:yield:</span>
2436
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
2437
+ <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">$~</span>) }
2438
+ <span class="ruby-keyword kw">else</span>
2439
+ <span class="ruby-identifier">m</span> = []
2440
+ <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-identifier">m</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$~</span> }
2441
+ <span class="ruby-identifier">m</span>
2442
+ <span class="ruby-keyword kw">end</span>
2443
+ <span class="ruby-keyword kw">end</span>
2444
+ </pre>
2445
+ </div>
2446
+ </div>
2447
+ </div>
2448
+ <div class="method">
2449
+ <div class="title">
2450
+ <a name="M000543"></a><b>mscan</b>(re) {|| ...}
2451
+ </div>
2452
+ <div class="description">
2453
+ <p>
2454
+ Like scan but returns <a href="MatchData.html">MatchData</a> ($~) rather
2455
+ then matched string ($&amp;).
2456
+ </p>
2457
+ <pre>
2458
+ CREDIT: Trans
2459
+ </pre>
2460
+ </div>
2461
+ <div class="sourcecode">
2462
+ <p class="source-link">[ <a href="javascript:toggleSource('M000543_source')" id="l_M000543_source">show source</a> ]</p>
2463
+ <div id="M000543_source" class="dyn-source">
2464
+ <pre>
2465
+ <span class="ruby-comment cmt"># File lib/core/facets/string/mscan.rb, line 8</span>
2466
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mscan</span>(<span class="ruby-identifier">re</span>) <span class="ruby-comment cmt">#:yield:</span>
2467
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
2468
+ <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">$~</span>) }
2469
+ <span class="ruby-keyword kw">else</span>
2470
+ <span class="ruby-identifier">m</span> = []
2471
+ <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-identifier">m</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$~</span> }
2472
+ <span class="ruby-identifier">m</span>
2473
+ <span class="ruby-keyword kw">end</span>
2474
+ <span class="ruby-keyword kw">end</span>
2475
+ </pre>
2476
+ </div>
2477
+ </div>
2478
+ </div>
2479
+ <div class="method">
2480
+ <div class="title">
2481
+ <a name="M000490"></a><b>natcmp</b>(str2, caseInsensitive=false)
2482
+ </div>
2483
+ <div class="description">
2484
+ <p>
2485
+ &#8216;Natural order&#8217; comparison of strings, e.g.
2378
2486
  </p>
2379
2487
  <pre>
2380
2488
  &quot;my_prog_v1.1.0&quot; &lt; &quot;my_prog_v1.2.0&quot; &lt; &quot;my_prog_v1.10.0&quot;
@@ -2393,8 +2501,8 @@ which does not follow alphabetically. A secondary parameter, if set to
2393
2501
  </pre>
2394
2502
  </div>
2395
2503
  <div class="sourcecode">
2396
- <p class="source-link">[ <a href="javascript:toggleSource('M000515_source')" id="l_M000515_source">show source</a> ]</p>
2397
- <div id="M000515_source" class="dyn-source">
2504
+ <p class="source-link">[ <a href="javascript:toggleSource('M000490_source')" id="l_M000490_source">show source</a> ]</p>
2505
+ <div id="M000490_source" class="dyn-source">
2398
2506
  <pre>
2399
2507
  <span class="ruby-comment cmt"># File lib/core/facets/string/natcmp.rb, line 47</span>
2400
2508
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">natcmp</span>(<span class="ruby-identifier">str2</span>, <span class="ruby-identifier">caseInsensitive</span>=<span class="ruby-keyword kw">false</span>)
@@ -2445,7 +2553,7 @@ which does not follow alphabetically. A secondary parameter, if set to
2445
2553
  </div>
2446
2554
  <div class="method">
2447
2555
  <div class="title">
2448
- <a name="M000566"></a><b>natcmp</b>(str2, caseInsensitive=false)
2556
+ <a name="M000547"></a><b>natcmp</b>(str2, caseInsensitive=false)
2449
2557
  </div>
2450
2558
  <div class="description">
2451
2559
  <p>
@@ -2468,8 +2576,8 @@ which does not follow alphabetically. A secondary parameter, if set to
2468
2576
  </pre>
2469
2577
  </div>
2470
2578
  <div class="sourcecode">
2471
- <p class="source-link">[ <a href="javascript:toggleSource('M000566_source')" id="l_M000566_source">show source</a> ]</p>
2472
- <div id="M000566_source" class="dyn-source">
2579
+ <p class="source-link">[ <a href="javascript:toggleSource('M000547_source')" id="l_M000547_source">show source</a> ]</p>
2580
+ <div id="M000547_source" class="dyn-source">
2473
2581
  <pre>
2474
2582
  <span class="ruby-comment cmt"># File lib/core/facets/string/natcmp.rb, line 47</span>
2475
2583
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">natcmp</span>(<span class="ruby-identifier">str2</span>, <span class="ruby-identifier">caseInsensitive</span>=<span class="ruby-keyword kw">false</span>)
@@ -2520,7 +2628,7 @@ which does not follow alphabetically. A secondary parameter, if set to
2520
2628
  </div>
2521
2629
  <div class="method">
2522
2630
  <div class="title">
2523
- <a name="M000585"></a><b>nchar</b>(n, replacement=nil)
2631
+ <a name="M000568"></a><b>nchar</b>(n, replacement=nil)
2524
2632
  </div>
2525
2633
  <div class="description">
2526
2634
  <p>
@@ -2542,8 +2650,8 @@ Alternatively a replacement string can be given, which will replace the
2542
2650
  </pre>
2543
2651
  </div>
2544
2652
  <div class="sourcecode">
2545
- <p class="source-link">[ <a href="javascript:toggleSource('M000585_source')" id="l_M000585_source">show source</a> ]</p>
2546
- <div id="M000585_source" class="dyn-source">
2653
+ <p class="source-link">[ <a href="javascript:toggleSource('M000568_source')" id="l_M000568_source">show source</a> ]</p>
2654
+ <div id="M000568_source" class="dyn-source">
2547
2655
  <pre>
2548
2656
  <span class="ruby-comment cmt"># File lib/core/facets/string/nchar.rb, line 17</span>
2549
2657
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nchar</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">replacement</span>=<span class="ruby-keyword kw">nil</span>)
@@ -2561,7 +2669,7 @@ Alternatively a replacement string can be given, which will replace the
2561
2669
  </div>
2562
2670
  <div class="method">
2563
2671
  <div class="title">
2564
- <a name="M000534"></a><b>nchar</b>(n, replacement=nil)
2672
+ <a name="M000511"></a><b>nchar</b>(n, replacement=nil)
2565
2673
  </div>
2566
2674
  <div class="description">
2567
2675
  <p>
@@ -2583,8 +2691,8 @@ Alternatively a replacement string can be given, which will replace the
2583
2691
  </pre>
2584
2692
  </div>
2585
2693
  <div class="sourcecode">
2586
- <p class="source-link">[ <a href="javascript:toggleSource('M000534_source')" id="l_M000534_source">show source</a> ]</p>
2587
- <div id="M000534_source" class="dyn-source">
2694
+ <p class="source-link">[ <a href="javascript:toggleSource('M000511_source')" id="l_M000511_source">show source</a> ]</p>
2695
+ <div id="M000511_source" class="dyn-source">
2588
2696
  <pre>
2589
2697
  <span class="ruby-comment cmt"># File lib/core/facets/string/nchar.rb, line 17</span>
2590
2698
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nchar</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">replacement</span>=<span class="ruby-keyword kw">nil</span>)
@@ -2602,7 +2710,7 @@ Alternatively a replacement string can be given, which will replace the
2602
2710
  </div>
2603
2711
  <div class="method">
2604
2712
  <div class="title">
2605
- <a name="M000553"></a><b>outdent</b>(n)
2713
+ <a name="M000476"></a><b>outdent</b>(n)
2606
2714
  </div>
2607
2715
  <div class="description">
2608
2716
  <p>
@@ -2613,8 +2721,8 @@ Outdent just indents a negative number of spaces.
2613
2721
  </pre>
2614
2722
  </div>
2615
2723
  <div class="sourcecode">
2616
- <p class="source-link">[ <a href="javascript:toggleSource('M000553_source')" id="l_M000553_source">show source</a> ]</p>
2617
- <div id="M000553_source" class="dyn-source">
2724
+ <p class="source-link">[ <a href="javascript:toggleSource('M000476_source')" id="l_M000476_source">show source</a> ]</p>
2725
+ <div id="M000476_source" class="dyn-source">
2618
2726
  <pre>
2619
2727
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 72</span>
2620
2728
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">outdent</span>(<span class="ruby-identifier">n</span>)
@@ -2626,7 +2734,7 @@ Outdent just indents a negative number of spaces.
2626
2734
  </div>
2627
2735
  <div class="method">
2628
2736
  <div class="title">
2629
- <a name="M000502"></a><b>outdent</b>(n)
2737
+ <a name="M000533"></a><b>outdent</b>(n)
2630
2738
  </div>
2631
2739
  <div class="description">
2632
2740
  <p>
@@ -2637,8 +2745,8 @@ Outdent just indents a negative number of spaces.
2637
2745
  </pre>
2638
2746
  </div>
2639
2747
  <div class="sourcecode">
2640
- <p class="source-link">[ <a href="javascript:toggleSource('M000502_source')" id="l_M000502_source">show source</a> ]</p>
2641
- <div id="M000502_source" class="dyn-source">
2748
+ <p class="source-link">[ <a href="javascript:toggleSource('M000533_source')" id="l_M000533_source">show source</a> ]</p>
2749
+ <div id="M000533_source" class="dyn-source">
2642
2750
  <pre>
2643
2751
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 72</span>
2644
2752
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">outdent</span>(<span class="ruby-identifier">n</span>)
@@ -2650,7 +2758,55 @@ Outdent just indents a negative number of spaces.
2650
2758
  </div>
2651
2759
  <div class="method">
2652
2760
  <div class="title">
2653
- <a name="M000527"></a><b>quote</b>(type=:s)
2761
+ <a name="M000493"></a><b>pathize</b>()
2762
+ </div>
2763
+ <div class="description">
2764
+ <p>
2765
+ Converts a (class or module) name to a unix path.
2766
+ </p>
2767
+ <pre>
2768
+ My::CoolClass.name.pathize #=&gt; &quot;/my/cool_class&quot;
2769
+ </pre>
2770
+ </div>
2771
+ <div class="sourcecode">
2772
+ <p class="source-link">[ <a href="javascript:toggleSource('M000493_source')" id="l_M000493_source">show source</a> ]</p>
2773
+ <div id="M000493_source" class="dyn-source">
2774
+ <pre>
2775
+ <span class="ruby-comment cmt"># File lib/core/facets/string/pathize.rb, line 7</span>
2776
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
2777
+ <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>
2778
+ <span class="ruby-keyword kw">end</span>
2779
+ </pre>
2780
+ </div>
2781
+ </div>
2782
+ </div>
2783
+ <div class="method">
2784
+ <div class="title">
2785
+ <a name="M000550"></a><b>pathize</b>()
2786
+ </div>
2787
+ <div class="description">
2788
+ <p>
2789
+ Converts a (class or module) name to a unix path.
2790
+ </p>
2791
+ <pre>
2792
+ My::CoolClass.name.pathize #=&gt; &quot;/my/cool_class&quot;
2793
+ </pre>
2794
+ </div>
2795
+ <div class="sourcecode">
2796
+ <p class="source-link">[ <a href="javascript:toggleSource('M000550_source')" id="l_M000550_source">show source</a> ]</p>
2797
+ <div id="M000550_source" class="dyn-source">
2798
+ <pre>
2799
+ <span class="ruby-comment cmt"># File lib/core/facets/string/pathize.rb, line 7</span>
2800
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
2801
+ <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>
2802
+ <span class="ruby-keyword kw">end</span>
2803
+ </pre>
2804
+ </div>
2805
+ </div>
2806
+ </div>
2807
+ <div class="method">
2808
+ <div class="title">
2809
+ <a name="M000561"></a><b>quote</b>(type=:s)
2654
2810
  </div>
2655
2811
  <div class="description">
2656
2812
  <p>
@@ -2665,8 +2821,8 @@ then assumes single quotes.
2665
2821
  </pre>
2666
2822
  </div>
2667
2823
  <div class="sourcecode">
2668
- <p class="source-link">[ <a href="javascript:toggleSource('M000527_source')" id="l_M000527_source">show source</a> ]</p>
2669
- <div id="M000527_source" class="dyn-source">
2824
+ <p class="source-link">[ <a href="javascript:toggleSource('M000561_source')" id="l_M000561_source">show source</a> ]</p>
2825
+ <div id="M000561_source" class="dyn-source">
2670
2826
  <pre>
2671
2827
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 69</span>
2672
2828
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quote</span>(<span class="ruby-identifier">type</span>=<span class="ruby-identifier">:s</span>)
@@ -2687,7 +2843,7 @@ then assumes single quotes.
2687
2843
  </div>
2688
2844
  <div class="method">
2689
2845
  <div class="title">
2690
- <a name="M000578"></a><b>quote</b>(type=:s)
2846
+ <a name="M000504"></a><b>quote</b>(type=:s)
2691
2847
  </div>
2692
2848
  <div class="description">
2693
2849
  <p>
@@ -2702,8 +2858,8 @@ then assumes single quotes.
2702
2858
  </pre>
2703
2859
  </div>
2704
2860
  <div class="sourcecode">
2705
- <p class="source-link">[ <a href="javascript:toggleSource('M000578_source')" id="l_M000578_source">show source</a> ]</p>
2706
- <div id="M000578_source" class="dyn-source">
2861
+ <p class="source-link">[ <a href="javascript:toggleSource('M000504_source')" id="l_M000504_source">show source</a> ]</p>
2862
+ <div id="M000504_source" class="dyn-source">
2707
2863
  <pre>
2708
2864
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 69</span>
2709
2865
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quote</span>(<span class="ruby-identifier">type</span>=<span class="ruby-identifier">:s</span>)
@@ -2724,7 +2880,7 @@ then assumes single quotes.
2724
2880
  </div>
2725
2881
  <div class="method">
2726
2882
  <div class="title">
2727
- <a name="M000504"></a><b>range</b>(s, offset=0)
2883
+ <a name="M000479"></a><b>range</b>(s, offset=0)
2728
2884
  </div>
2729
2885
  <div class="description">
2730
2886
  <p>
@@ -2737,8 +2893,8 @@ Like index but returns a <a href="Range.html">Range</a>.
2737
2893
  </pre>
2738
2894
  </div>
2739
2895
  <div class="sourcecode">
2740
- <p class="source-link">[ <a href="javascript:toggleSource('M000504_source')" id="l_M000504_source">show source</a> ]</p>
2741
- <div id="M000504_source" class="dyn-source">
2896
+ <p class="source-link">[ <a href="javascript:toggleSource('M000479_source')" id="l_M000479_source">show source</a> ]</p>
2897
+ <div id="M000479_source" class="dyn-source">
2742
2898
  <pre>
2743
2899
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 9</span>
2744
2900
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">offset</span>=<span class="ruby-value">0</span>)
@@ -2753,7 +2909,7 @@ Like index but returns a <a href="Range.html">Range</a>.
2753
2909
  </div>
2754
2910
  <div class="method">
2755
2911
  <div class="title">
2756
- <a name="M000555"></a><b>range</b>(s, offset=0)
2912
+ <a name="M000536"></a><b>range</b>(s, offset=0)
2757
2913
  </div>
2758
2914
  <div class="description">
2759
2915
  <p>
@@ -2766,8 +2922,8 @@ Like index but returns a <a href="Range.html">Range</a>.
2766
2922
  </pre>
2767
2923
  </div>
2768
2924
  <div class="sourcecode">
2769
- <p class="source-link">[ <a href="javascript:toggleSource('M000555_source')" id="l_M000555_source">show source</a> ]</p>
2770
- <div id="M000555_source" class="dyn-source">
2925
+ <p class="source-link">[ <a href="javascript:toggleSource('M000536_source')" id="l_M000536_source">show source</a> ]</p>
2926
+ <div id="M000536_source" class="dyn-source">
2771
2927
  <pre>
2772
2928
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 9</span>
2773
2929
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">offset</span>=<span class="ruby-value">0</span>)
@@ -2782,11 +2938,11 @@ Like index but returns a <a href="Range.html">Range</a>.
2782
2938
  </div>
2783
2939
  <div class="method">
2784
2940
  <div class="title">
2785
- <a name="M000556"></a><b>range_all</b>(s, reuse=false)
2941
+ <a name="M000537"></a><b>range_all</b>(s, reuse=false)
2786
2942
  </div>
2787
2943
  <div class="description">
2788
2944
  <p>
2789
- Like <a href="String.html#M000507">index_all</a> but returns an array of
2945
+ Like <a href="String.html#M000482">index_all</a> but returns an array of
2790
2946
  Ranges.
2791
2947
  </p>
2792
2948
  <pre>
@@ -2798,8 +2954,8 @@ Ranges.
2798
2954
  </pre>
2799
2955
  </div>
2800
2956
  <div class="sourcecode">
2801
- <p class="source-link">[ <a href="javascript:toggleSource('M000556_source')" id="l_M000556_source">show source</a> ]</p>
2802
- <div id="M000556_source" class="dyn-source">
2957
+ <p class="source-link">[ <a href="javascript:toggleSource('M000537_source')" id="l_M000537_source">show source</a> ]</p>
2958
+ <div id="M000537_source" class="dyn-source">
2803
2959
  <pre>
2804
2960
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 24</span>
2805
2961
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
@@ -2821,11 +2977,11 @@ Ranges.
2821
2977
  </div>
2822
2978
  <div class="method">
2823
2979
  <div class="title">
2824
- <a name="M000505"></a><b>range_all</b>(s, reuse=false)
2980
+ <a name="M000480"></a><b>range_all</b>(s, reuse=false)
2825
2981
  </div>
2826
2982
  <div class="description">
2827
2983
  <p>
2828
- Like <a href="String.html#M000507">index_all</a> but returns an array of
2984
+ Like <a href="String.html#M000482">index_all</a> but returns an array of
2829
2985
  Ranges.
2830
2986
  </p>
2831
2987
  <pre>
@@ -2837,8 +2993,8 @@ Ranges.
2837
2993
  </pre>
2838
2994
  </div>
2839
2995
  <div class="sourcecode">
2840
- <p class="source-link">[ <a href="javascript:toggleSource('M000505_source')" id="l_M000505_source">show source</a> ]</p>
2841
- <div id="M000505_source" class="dyn-source">
2996
+ <p class="source-link">[ <a href="javascript:toggleSource('M000480_source')" id="l_M000480_source">show source</a> ]</p>
2997
+ <div id="M000480_source" class="dyn-source">
2842
2998
  <pre>
2843
2999
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 24</span>
2844
3000
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
@@ -2860,7 +3016,7 @@ Ranges.
2860
3016
  </div>
2861
3017
  <div class="method">
2862
3018
  <div class="title">
2863
- <a name="M000557"></a><b>range_of_line</b>()
3019
+ <a name="M000538"></a><b>range_of_line</b>()
2864
3020
  </div>
2865
3021
  <div class="description">
2866
3022
  <p>
@@ -2874,8 +3030,8 @@ Returns an array of ranges mapping the characters per line.
2874
3030
  </pre>
2875
3031
  </div>
2876
3032
  <div class="sourcecode">
2877
- <p class="source-link">[ <a href="javascript:toggleSource('M000557_source')" id="l_M000557_source">show source</a> ]</p>
2878
- <div id="M000557_source" class="dyn-source">
3033
+ <p class="source-link">[ <a href="javascript:toggleSource('M000538_source')" id="l_M000538_source">show source</a> ]</p>
3034
+ <div id="M000538_source" class="dyn-source">
2879
3035
  <pre>
2880
3036
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 46</span>
2881
3037
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_of_line</span>
@@ -2892,7 +3048,7 @@ Returns an array of ranges mapping the characters per line.
2892
3048
  </div>
2893
3049
  <div class="method">
2894
3050
  <div class="title">
2895
- <a name="M000506"></a><b>range_of_line</b>()
3051
+ <a name="M000481"></a><b>range_of_line</b>()
2896
3052
  </div>
2897
3053
  <div class="description">
2898
3054
  <p>
@@ -2906,8 +3062,8 @@ Returns an array of ranges mapping the characters per line.
2906
3062
  </pre>
2907
3063
  </div>
2908
3064
  <div class="sourcecode">
2909
- <p class="source-link">[ <a href="javascript:toggleSource('M000506_source')" id="l_M000506_source">show source</a> ]</p>
2910
- <div id="M000506_source" class="dyn-source">
3065
+ <p class="source-link">[ <a href="javascript:toggleSource('M000481_source')" id="l_M000481_source">show source</a> ]</p>
3066
+ <div id="M000481_source" class="dyn-source">
2911
3067
  <pre>
2912
3068
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 46</span>
2913
3069
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_of_line</span>
@@ -2924,7 +3080,7 @@ Returns an array of ranges mapping the characters per line.
2924
3080
  </div>
2925
3081
  <div class="method">
2926
3082
  <div class="title">
2927
- <a name="M000584"></a><b>rewrite</b>(rules)
3083
+ <a name="M000567"></a><b>rewrite</b>(rules)
2928
3084
  </div>
2929
3085
  <div class="description">
2930
3086
  <p>
@@ -2948,8 +3104,8 @@ The rewritten string.
2948
3104
  </pre>
2949
3105
  </div>
2950
3106
  <div class="sourcecode">
2951
- <p class="source-link">[ <a href="javascript:toggleSource('M000584_source')" id="l_M000584_source">show source</a> ]</p>
2952
- <div id="M000584_source" class="dyn-source">
3107
+ <p class="source-link">[ <a href="javascript:toggleSource('M000567_source')" id="l_M000567_source">show source</a> ]</p>
3108
+ <div id="M000567_source" class="dyn-source">
2953
3109
  <pre>
2954
3110
  <span class="ruby-comment cmt"># File lib/core/facets/string/rewrite.rb, line 18</span>
2955
3111
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rewrite</span>(<span class="ruby-identifier">rules</span>)
@@ -2966,7 +3122,7 @@ The rewritten string.
2966
3122
  </div>
2967
3123
  <div class="method">
2968
3124
  <div class="title">
2969
- <a name="M000533"></a><b>rewrite</b>(rules)
3125
+ <a name="M000510"></a><b>rewrite</b>(rules)
2970
3126
  </div>
2971
3127
  <div class="description">
2972
3128
  <p>
@@ -2990,8 +3146,8 @@ The rewritten string.
2990
3146
  </pre>
2991
3147
  </div>
2992
3148
  <div class="sourcecode">
2993
- <p class="source-link">[ <a href="javascript:toggleSource('M000533_source')" id="l_M000533_source">show source</a> ]</p>
2994
- <div id="M000533_source" class="dyn-source">
3149
+ <p class="source-link">[ <a href="javascript:toggleSource('M000510_source')" id="l_M000510_source">show source</a> ]</p>
3150
+ <div id="M000510_source" class="dyn-source">
2995
3151
  <pre>
2996
3152
  <span class="ruby-comment cmt"># File lib/core/facets/string/rewrite.rb, line 18</span>
2997
3153
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rewrite</span>(<span class="ruby-identifier">rules</span>)
@@ -3008,7 +3164,7 @@ The rewritten string.
3008
3164
  </div>
3009
3165
  <div class="method">
3010
3166
  <div class="title">
3011
- <a name="M000485"></a><b>shatter</b>( re )
3167
+ <a name="M000514"></a><b>shatter</b>( re )
3012
3168
  </div>
3013
3169
  <div class="description">
3014
3170
  <p>
@@ -3029,8 +3185,8 @@ scan, but includes the matches.
3029
3185
  </pre>
3030
3186
  </div>
3031
3187
  <div class="sourcecode">
3032
- <p class="source-link">[ <a href="javascript:toggleSource('M000485_source')" id="l_M000485_source">show source</a> ]</p>
3033
- <div id="M000485_source" class="dyn-source">
3188
+ <p class="source-link">[ <a href="javascript:toggleSource('M000514_source')" id="l_M000514_source">show source</a> ]</p>
3189
+ <div id="M000514_source" class="dyn-source">
3034
3190
  <pre>
3035
3191
  <span class="ruby-comment cmt"># File lib/core/facets/string/shatter.rb, line 15</span>
3036
3192
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shatter</span>( <span class="ruby-identifier">re</span> )
@@ -3045,7 +3201,7 @@ scan, but includes the matches.
3045
3201
  </div>
3046
3202
  <div class="method">
3047
3203
  <div class="title">
3048
- <a name="M000536"></a><b>shatter</b>( re )
3204
+ <a name="M000457"></a><b>shatter</b>( re )
3049
3205
  </div>
3050
3206
  <div class="description">
3051
3207
  <p>
@@ -3066,8 +3222,8 @@ scan, but includes the matches.
3066
3222
  </pre>
3067
3223
  </div>
3068
3224
  <div class="sourcecode">
3069
- <p class="source-link">[ <a href="javascript:toggleSource('M000536_source')" id="l_M000536_source">show source</a> ]</p>
3070
- <div id="M000536_source" class="dyn-source">
3225
+ <p class="source-link">[ <a href="javascript:toggleSource('M000457_source')" id="l_M000457_source">show source</a> ]</p>
3226
+ <div id="M000457_source" class="dyn-source">
3071
3227
  <pre>
3072
3228
  <span class="ruby-comment cmt"># File lib/core/facets/string/shatter.rb, line 15</span>
3073
3229
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shatter</span>( <span class="ruby-identifier">re</span> )
@@ -3082,12 +3238,12 @@ scan, but includes the matches.
3082
3238
  </div>
3083
3239
  <div class="method">
3084
3240
  <div class="title">
3085
- <a name="M000508"></a><b>snakecase</b>()
3241
+ <a name="M000483"></a><b>snakecase</b>()
3086
3242
  </div>
3087
3243
  <div class="description">
3088
3244
  <p>
3089
- The reverse of <tt><a href="String.html#M000491">camelcase</a></tt>. Makes
3090
- an underscored of a <a href="String.html#M000491">camelcase</a> string.
3245
+ The reverse of <tt><a href="String.html#M000463">camelcase</a></tt>. Makes
3246
+ an underscored of a <a href="String.html#M000463">camelcase</a> string.
3091
3247
  </p>
3092
3248
  <p>
3093
3249
  Changes &#8217;::&#8217; to &#8217;/&#8217; to convert namespaces to paths.
@@ -3102,8 +3258,8 @@ Examples
3102
3258
  </pre>
3103
3259
  </div>
3104
3260
  <div class="sourcecode">
3105
- <p class="source-link">[ <a href="javascript:toggleSource('M000508_source')" id="l_M000508_source">show source</a> ]</p>
3106
- <div id="M000508_source" class="dyn-source">
3261
+ <p class="source-link">[ <a href="javascript:toggleSource('M000483_source')" id="l_M000483_source">show source</a> ]</p>
3262
+ <div id="M000483_source" class="dyn-source">
3107
3263
  <pre>
3108
3264
  <span class="ruby-comment cmt"># File lib/core/facets/string/snakecase.rb, line 12</span>
3109
3265
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snakecase</span>
@@ -3119,12 +3275,12 @@ Examples
3119
3275
  </div>
3120
3276
  <div class="method">
3121
3277
  <div class="title">
3122
- <a name="M000559"></a><b>snakecase</b>()
3278
+ <a name="M000540"></a><b>snakecase</b>()
3123
3279
  </div>
3124
3280
  <div class="description">
3125
3281
  <p>
3126
- The reverse of <tt><a href="String.html#M000491">camelcase</a></tt>. Makes
3127
- an underscored of a <a href="String.html#M000491">camelcase</a> string.
3282
+ The reverse of <tt><a href="String.html#M000463">camelcase</a></tt>. Makes
3283
+ an underscored of a <a href="String.html#M000463">camelcase</a> string.
3128
3284
  </p>
3129
3285
  <p>
3130
3286
  Changes &#8217;::&#8217; to &#8217;/&#8217; to convert namespaces to paths.
@@ -3139,8 +3295,8 @@ Examples
3139
3295
  </pre>
3140
3296
  </div>
3141
3297
  <div class="sourcecode">
3142
- <p class="source-link">[ <a href="javascript:toggleSource('M000559_source')" id="l_M000559_source">show source</a> ]</p>
3143
- <div id="M000559_source" class="dyn-source">
3298
+ <p class="source-link">[ <a href="javascript:toggleSource('M000540_source')" id="l_M000540_source">show source</a> ]</p>
3299
+ <div id="M000540_source" class="dyn-source">
3144
3300
  <pre>
3145
3301
  <span class="ruby-comment cmt"># File lib/core/facets/string/snakecase.rb, line 12</span>
3146
3302
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snakecase</span>
@@ -3156,7 +3312,7 @@ Examples
3156
3312
  </div>
3157
3313
  <div class="method">
3158
3314
  <div class="title">
3159
- <a name="M000583"></a><b>splice</b>(*args)
3315
+ <a name="M000566"></a><b>splice</b>(*args)
3160
3316
  </div>
3161
3317
  <div class="description">
3162
3318
  <p>
@@ -3172,8 +3328,8 @@ when given only one argument.
3172
3328
  </pre>
3173
3329
  </div>
3174
3330
  <div class="sourcecode">
3175
- <p class="source-link">[ <a href="javascript:toggleSource('M000583_source')" id="l_M000583_source">show source</a> ]</p>
3176
- <div id="M000583_source" class="dyn-source">
3331
+ <p class="source-link">[ <a href="javascript:toggleSource('M000566_source')" id="l_M000566_source">show source</a> ]</p>
3332
+ <div id="M000566_source" class="dyn-source">
3177
3333
  <pre>
3178
3334
  <span class="ruby-comment cmt"># File lib/core/facets/string/splice.rb, line 13</span>
3179
3335
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">splice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -3189,7 +3345,7 @@ when given only one argument.
3189
3345
  </div>
3190
3346
  <div class="method">
3191
3347
  <div class="title">
3192
- <a name="M000532"></a><b>splice</b>(*args)
3348
+ <a name="M000509"></a><b>splice</b>(*args)
3193
3349
  </div>
3194
3350
  <div class="description">
3195
3351
  <p>
@@ -3205,8 +3361,8 @@ when given only one argument.
3205
3361
  </pre>
3206
3362
  </div>
3207
3363
  <div class="sourcecode">
3208
- <p class="source-link">[ <a href="javascript:toggleSource('M000532_source')" id="l_M000532_source">show source</a> ]</p>
3209
- <div id="M000532_source" class="dyn-source">
3364
+ <p class="source-link">[ <a href="javascript:toggleSource('M000509_source')" id="l_M000509_source">show source</a> ]</p>
3365
+ <div id="M000509_source" class="dyn-source">
3210
3366
  <pre>
3211
3367
  <span class="ruby-comment cmt"># File lib/core/facets/string/splice.rb, line 13</span>
3212
3368
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">splice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -3222,7 +3378,7 @@ when given only one argument.
3222
3378
  </div>
3223
3379
  <div class="method">
3224
3380
  <div class="title">
3225
- <a name="M000489"></a><b>start_with?</b>(prefix)
3381
+ <a name="M000518"></a><b>start_with?</b>(prefix)
3226
3382
  </div>
3227
3383
  <div class="description">
3228
3384
  <p>
@@ -3237,8 +3393,8 @@ Does a string start with the given prefix.
3237
3393
  </pre>
3238
3394
  </div>
3239
3395
  <div class="sourcecode">
3240
- <p class="source-link">[ <a href="javascript:toggleSource('M000489_source')" id="l_M000489_source">show source</a> ]</p>
3241
- <div id="M000489_source" class="dyn-source">
3396
+ <p class="source-link">[ <a href="javascript:toggleSource('M000518_source')" id="l_M000518_source">show source</a> ]</p>
3397
+ <div id="M000518_source" class="dyn-source">
3242
3398
  <pre>
3243
3399
  <span class="ruby-comment cmt"># File lib/core/facets/string/start_with.rb, line 13</span>
3244
3400
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_with?</span>(<span class="ruby-identifier">prefix</span>)
@@ -3250,7 +3406,7 @@ Does a string start with the given prefix.
3250
3406
  </div>
3251
3407
  <div class="method">
3252
3408
  <div class="title">
3253
- <a name="M000540"></a><b>start_with?</b>(prefix)
3409
+ <a name="M000461"></a><b>start_with?</b>(prefix)
3254
3410
  </div>
3255
3411
  <div class="description">
3256
3412
  <p>
@@ -3265,8 +3421,8 @@ Does a string start with the given prefix.
3265
3421
  </pre>
3266
3422
  </div>
3267
3423
  <div class="sourcecode">
3268
- <p class="source-link">[ <a href="javascript:toggleSource('M000540_source')" id="l_M000540_source">show source</a> ]</p>
3269
- <div id="M000540_source" class="dyn-source">
3424
+ <p class="source-link">[ <a href="javascript:toggleSource('M000461_source')" id="l_M000461_source">show source</a> ]</p>
3425
+ <div id="M000461_source" class="dyn-source">
3270
3426
  <pre>
3271
3427
  <span class="ruby-comment cmt"># File lib/core/facets/string/start_with.rb, line 13</span>
3272
3428
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_with?</span>(<span class="ruby-identifier">prefix</span>)
@@ -3278,7 +3434,7 @@ Does a string start with the given prefix.
3278
3434
  </div>
3279
3435
  <div class="method">
3280
3436
  <div class="title">
3281
- <a name="M000548"></a><b>tab</b>(n)
3437
+ <a name="M000471"></a><b>tab</b>(n)
3282
3438
  </div>
3283
3439
  <div class="description">
3284
3440
  <p>
@@ -3288,9 +3444,14 @@ Aligns each line n spaces.
3288
3444
  CREDIT: Gavin Sinclair
3289
3445
  </pre>
3290
3446
  </div>
3447
+ <div class="aka">
3448
+ This method is also aliased as
3449
+ <a href="String.html#M000472">taballto</a>
3450
+ <a href="String.html#M000529">taballto</a>
3451
+ </div>
3291
3452
  <div class="sourcecode">
3292
- <p class="source-link">[ <a href="javascript:toggleSource('M000548_source')" id="l_M000548_source">show source</a> ]</p>
3293
- <div id="M000548_source" class="dyn-source">
3453
+ <p class="source-link">[ <a href="javascript:toggleSource('M000471_source')" id="l_M000471_source">show source</a> ]</p>
3454
+ <div id="M000471_source" class="dyn-source">
3294
3455
  <pre>
3295
3456
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 10</span>
3296
3457
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tab</span>(<span class="ruby-identifier">n</span>)
@@ -3302,7 +3463,7 @@ Aligns each line n spaces.
3302
3463
  </div>
3303
3464
  <div class="method">
3304
3465
  <div class="title">
3305
- <a name="M000497"></a><b>tab</b>(n)
3466
+ <a name="M000528"></a><b>tab</b>(n)
3306
3467
  </div>
3307
3468
  <div class="description">
3308
3469
  <p>
@@ -3312,14 +3473,9 @@ Aligns each line n spaces.
3312
3473
  CREDIT: Gavin Sinclair
3313
3474
  </pre>
3314
3475
  </div>
3315
- <div class="aka">
3316
- This method is also aliased as
3317
- <a href="String.html#M000498">taballto</a>
3318
- <a href="String.html#M000549">taballto</a>
3319
- </div>
3320
3476
  <div class="sourcecode">
3321
- <p class="source-link">[ <a href="javascript:toggleSource('M000497_source')" id="l_M000497_source">show source</a> ]</p>
3322
- <div id="M000497_source" class="dyn-source">
3477
+ <p class="source-link">[ <a href="javascript:toggleSource('M000528_source')" id="l_M000528_source">show source</a> ]</p>
3478
+ <div id="M000528_source" class="dyn-source">
3323
3479
  <pre>
3324
3480
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 10</span>
3325
3481
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tab</span>(<span class="ruby-identifier">n</span>)
@@ -3331,27 +3487,27 @@ Aligns each line n spaces.
3331
3487
  </div>
3332
3488
  <div class="method">
3333
3489
  <div class="title">
3334
- <a name="M000549"></a><b>taballto</b>(n)
3490
+ <a name="M000472"></a><b>taballto</b>(n)
3335
3491
  </div>
3336
3492
  <div class="description">
3337
3493
  <p>
3338
- Alias for <a href="String.html#M000497">tab</a>
3494
+ Alias for <a href="String.html#M000471">tab</a>
3339
3495
  </p>
3340
3496
  </div>
3341
3497
  </div>
3342
3498
  <div class="method">
3343
3499
  <div class="title">
3344
- <a name="M000498"></a><b>taballto</b>(n)
3500
+ <a name="M000529"></a><b>taballto</b>(n)
3345
3501
  </div>
3346
3502
  <div class="description">
3347
3503
  <p>
3348
- Alias for <a href="String.html#M000497">tab</a>
3504
+ Alias for <a href="String.html#M000471">tab</a>
3349
3505
  </p>
3350
3506
  </div>
3351
3507
  </div>
3352
3508
  <div class="method">
3353
3509
  <div class="title">
3354
- <a name="M000551"></a><b>tabto</b>(n)
3510
+ <a name="M000474"></a><b>tabto</b>(n)
3355
3511
  </div>
3356
3512
  <div class="description">
3357
3513
  <p>
@@ -3363,8 +3519,8 @@ before nonspace.
3363
3519
  </pre>
3364
3520
  </div>
3365
3521
  <div class="sourcecode">
3366
- <p class="source-link">[ <a href="javascript:toggleSource('M000551_source')" id="l_M000551_source">show source</a> ]</p>
3367
- <div id="M000551_source" class="dyn-source">
3522
+ <p class="source-link">[ <a href="javascript:toggleSource('M000474_source')" id="l_M000474_source">show source</a> ]</p>
3523
+ <div id="M000474_source" class="dyn-source">
3368
3524
  <pre>
3369
3525
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 46</span>
3370
3526
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tabto</span>(<span class="ruby-identifier">n</span>)
@@ -3380,7 +3536,7 @@ before nonspace.
3380
3536
  </div>
3381
3537
  <div class="method">
3382
3538
  <div class="title">
3383
- <a name="M000500"></a><b>tabto</b>(n)
3539
+ <a name="M000531"></a><b>tabto</b>(n)
3384
3540
  </div>
3385
3541
  <div class="description">
3386
3542
  <p>
@@ -3392,8 +3548,8 @@ before nonspace.
3392
3548
  </pre>
3393
3549
  </div>
3394
3550
  <div class="sourcecode">
3395
- <p class="source-link">[ <a href="javascript:toggleSource('M000500_source')" id="l_M000500_source">show source</a> ]</p>
3396
- <div id="M000500_source" class="dyn-source">
3551
+ <p class="source-link">[ <a href="javascript:toggleSource('M000531_source')" id="l_M000531_source">show source</a> ]</p>
3552
+ <div id="M000531_source" class="dyn-source">
3397
3553
  <pre>
3398
3554
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 46</span>
3399
3555
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tabto</span>(<span class="ruby-identifier">n</span>)
@@ -3409,7 +3565,7 @@ before nonspace.
3409
3565
  </div>
3410
3566
  <div class="method">
3411
3567
  <div class="title">
3412
- <a name="M000569"></a><b>titlecase</b>()
3568
+ <a name="M000494"></a><b>titlecase</b>()
3413
3569
  </div>
3414
3570
  <div class="description">
3415
3571
  <p>
@@ -3423,8 +3579,8 @@ Title case.
3423
3579
  </pre>
3424
3580
  </div>
3425
3581
  <div class="sourcecode">
3426
- <p class="source-link">[ <a href="javascript:toggleSource('M000569_source')" id="l_M000569_source">show source</a> ]</p>
3427
- <div id="M000569_source" class="dyn-source">
3582
+ <p class="source-link">[ <a href="javascript:toggleSource('M000494_source')" id="l_M000494_source">show source</a> ]</p>
3583
+ <div id="M000494_source" class="dyn-source">
3428
3584
  <pre>
3429
3585
  <span class="ruby-comment cmt"># File lib/core/facets/string/titlecase.rb, line 10</span>
3430
3586
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">titlecase</span>
@@ -3436,7 +3592,7 @@ Title case.
3436
3592
  </div>
3437
3593
  <div class="method">
3438
3594
  <div class="title">
3439
- <a name="M000518"></a><b>titlecase</b>()
3595
+ <a name="M000551"></a><b>titlecase</b>()
3440
3596
  </div>
3441
3597
  <div class="description">
3442
3598
  <p>
@@ -3450,8 +3606,8 @@ Title case.
3450
3606
  </pre>
3451
3607
  </div>
3452
3608
  <div class="sourcecode">
3453
- <p class="source-link">[ <a href="javascript:toggleSource('M000518_source')" id="l_M000518_source">show source</a> ]</p>
3454
- <div id="M000518_source" class="dyn-source">
3609
+ <p class="source-link">[ <a href="javascript:toggleSource('M000551_source')" id="l_M000551_source">show source</a> ]</p>
3610
+ <div id="M000551_source" class="dyn-source">
3455
3611
  <pre>
3456
3612
  <span class="ruby-comment cmt"># File lib/core/facets/string/titlecase.rb, line 10</span>
3457
3613
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">titlecase</span>
@@ -3463,7 +3619,7 @@ Title case.
3463
3619
  </div>
3464
3620
  <div class="method">
3465
3621
  <div class="title">
3466
- <a name="M000480"></a><b>to_b</b>()
3622
+ <a name="M000452"></a><b>to_b</b>()
3467
3623
  </div>
3468
3624
  <div class="description">
3469
3625
  <p>
@@ -3485,8 +3641,8 @@ Examples:
3485
3641
  </pre>
3486
3642
  </div>
3487
3643
  <div class="sourcecode">
3488
- <p class="source-link">[ <a href="javascript:toggleSource('M000480_source')" id="l_M000480_source">show source</a> ]</p>
3489
- <div id="M000480_source" class="dyn-source">
3644
+ <p class="source-link">[ <a href="javascript:toggleSource('M000452_source')" id="l_M000452_source">show source</a> ]</p>
3645
+ <div id="M000452_source" class="dyn-source">
3490
3646
  <pre>
3491
3647
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 43</span>
3492
3648
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
@@ -3505,7 +3661,7 @@ Examples:
3505
3661
  </div>
3506
3662
  <div class="method">
3507
3663
  <div class="title">
3508
- <a name="M000486"></a><b>to_re</b>(esc=false)
3664
+ <a name="M000458"></a><b>to_re</b>(esc=false)
3509
3665
  </div>
3510
3666
  <div class="description">
3511
3667
  <p>
@@ -3518,8 +3674,8 @@ Turns a string into a regular expression.
3518
3674
  </pre>
3519
3675
  </div>
3520
3676
  <div class="sourcecode">
3521
- <p class="source-link">[ <a href="javascript:toggleSource('M000486_source')" id="l_M000486_source">show source</a> ]</p>
3522
- <div id="M000486_source" class="dyn-source">
3677
+ <p class="source-link">[ <a href="javascript:toggleSource('M000458_source')" id="l_M000458_source">show source</a> ]</p>
3678
+ <div id="M000458_source" class="dyn-source">
3523
3679
  <pre>
3524
3680
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_re.rb, line 9</span>
3525
3681
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_re</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">false</span>)
@@ -3531,7 +3687,7 @@ Turns a string into a regular expression.
3531
3687
  </div>
3532
3688
  <div class="method">
3533
3689
  <div class="title">
3534
- <a name="M000537"></a><b>to_re</b>(esc=false)
3690
+ <a name="M000515"></a><b>to_re</b>(esc=false)
3535
3691
  </div>
3536
3692
  <div class="description">
3537
3693
  <p>
@@ -3544,8 +3700,8 @@ Turns a string into a regular expression.
3544
3700
  </pre>
3545
3701
  </div>
3546
3702
  <div class="sourcecode">
3547
- <p class="source-link">[ <a href="javascript:toggleSource('M000537_source')" id="l_M000537_source">show source</a> ]</p>
3548
- <div id="M000537_source" class="dyn-source">
3703
+ <p class="source-link">[ <a href="javascript:toggleSource('M000515_source')" id="l_M000515_source">show source</a> ]</p>
3704
+ <div id="M000515_source" class="dyn-source">
3549
3705
  <pre>
3550
3706
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_re.rb, line 9</span>
3551
3707
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_re</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">false</span>)
@@ -3557,7 +3713,7 @@ Turns a string into a regular expression.
3557
3713
  </div>
3558
3714
  <div class="method">
3559
3715
  <div class="title">
3560
- <a name="M000538"></a><b>to_rx</b>(esc=true)
3716
+ <a name="M000459"></a><b>to_rx</b>(esc=true)
3561
3717
  </div>
3562
3718
  <div class="description">
3563
3719
  <p>
@@ -3571,8 +3727,8 @@ characters. Use <tt>false</tt> argument to turn off escaping.
3571
3727
  </pre>
3572
3728
  </div>
3573
3729
  <div class="sourcecode">
3574
- <p class="source-link">[ <a href="javascript:toggleSource('M000538_source')" id="l_M000538_source">show source</a> ]</p>
3575
- <div id="M000538_source" class="dyn-source">
3730
+ <p class="source-link">[ <a href="javascript:toggleSource('M000459_source')" id="l_M000459_source">show source</a> ]</p>
3731
+ <div id="M000459_source" class="dyn-source">
3576
3732
  <pre>
3577
3733
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_re.rb, line 21</span>
3578
3734
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rx</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">true</span>)
@@ -3584,7 +3740,7 @@ characters. Use <tt>false</tt> argument to turn off escaping.
3584
3740
  </div>
3585
3741
  <div class="method">
3586
3742
  <div class="title">
3587
- <a name="M000487"></a><b>to_rx</b>(esc=true)
3743
+ <a name="M000516"></a><b>to_rx</b>(esc=true)
3588
3744
  </div>
3589
3745
  <div class="description">
3590
3746
  <p>
@@ -3598,8 +3754,8 @@ characters. Use <tt>false</tt> argument to turn off escaping.
3598
3754
  </pre>
3599
3755
  </div>
3600
3756
  <div class="sourcecode">
3601
- <p class="source-link">[ <a href="javascript:toggleSource('M000487_source')" id="l_M000487_source">show source</a> ]</p>
3602
- <div id="M000487_source" class="dyn-source">
3757
+ <p class="source-link">[ <a href="javascript:toggleSource('M000516_source')" id="l_M000516_source">show source</a> ]</p>
3758
+ <div id="M000516_source" class="dyn-source">
3603
3759
  <pre>
3604
3760
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_re.rb, line 21</span>
3605
3761
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rx</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">true</span>)
@@ -3611,11 +3767,11 @@ characters. Use <tt>false</tt> argument to turn off escaping.
3611
3767
  </div>
3612
3768
  <div class="method">
3613
3769
  <div class="title">
3614
- <a name="M000483"></a><b>to_s</b>()
3770
+ <a name="M000453"></a><b>to_s</b>()
3615
3771
  </div>
3616
3772
  <div class="sourcecode">
3617
- <p class="source-link">[ <a href="javascript:toggleSource('M000483_source')" id="l_M000483_source">show source</a> ]</p>
3618
- <div id="M000483_source" class="dyn-source">
3773
+ <p class="source-link">[ <a href="javascript:toggleSource('M000453_source')" id="l_M000453_source">show source</a> ]</p>
3774
+ <div id="M000453_source" class="dyn-source">
3619
3775
  <pre>
3620
3776
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 2</span>
3621
3777
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
@@ -3627,11 +3783,11 @@ characters. Use <tt>false</tt> argument to turn off escaping.
3627
3783
  </div>
3628
3784
  <div class="method">
3629
3785
  <div class="title">
3630
- <a name="M000481"></a><b>to_s</b>()
3786
+ <a name="M000455"></a><b>to_s</b>()
3631
3787
  </div>
3632
3788
  <div class="sourcecode">
3633
- <p class="source-link">[ <a href="javascript:toggleSource('M000481_source')" id="l_M000481_source">show source</a> ]</p>
3634
- <div id="M000481_source" class="dyn-source">
3789
+ <p class="source-link">[ <a href="javascript:toggleSource('M000455_source')" id="l_M000455_source">show source</a> ]</p>
3790
+ <div id="M000455_source" class="dyn-source">
3635
3791
  <pre>
3636
3792
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 2</span>
3637
3793
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
@@ -3643,7 +3799,7 @@ characters. Use <tt>false</tt> argument to turn off escaping.
3643
3799
  </div>
3644
3800
  <div class="method">
3645
3801
  <div class="title">
3646
- <a name="M000521"></a><b>to_time</b>()
3802
+ <a name="M000555"></a><b>to_time</b>()
3647
3803
  </div>
3648
3804
  <div class="description">
3649
3805
  <p>
@@ -3657,8 +3813,8 @@ TODO: This requires the external time.rb lib. Should we do this?
3657
3813
  </p>
3658
3814
  </div>
3659
3815
  <div class="sourcecode">
3660
- <p class="source-link">[ <a href="javascript:toggleSource('M000521_source')" id="l_M000521_source">show source</a> ]</p>
3661
- <div id="M000521_source" class="dyn-source">
3816
+ <p class="source-link">[ <a href="javascript:toggleSource('M000555_source')" id="l_M000555_source">show source</a> ]</p>
3817
+ <div id="M000555_source" class="dyn-source">
3662
3818
  <pre>
3663
3819
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_time.rb, line 9</span>
3664
3820
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_time</span>
@@ -3671,7 +3827,7 @@ TODO: This requires the external time.rb lib. Should we do this?
3671
3827
  </div>
3672
3828
  <div class="method">
3673
3829
  <div class="title">
3674
- <a name="M000572"></a><b>to_time</b>()
3830
+ <a name="M000498"></a><b>to_time</b>()
3675
3831
  </div>
3676
3832
  <div class="description">
3677
3833
  <p>
@@ -3685,8 +3841,8 @@ TODO: This requires the external time.rb lib. Should we do this?
3685
3841
  </p>
3686
3842
  </div>
3687
3843
  <div class="sourcecode">
3688
- <p class="source-link">[ <a href="javascript:toggleSource('M000572_source')" id="l_M000572_source">show source</a> ]</p>
3689
- <div id="M000572_source" class="dyn-source">
3844
+ <p class="source-link">[ <a href="javascript:toggleSource('M000498_source')" id="l_M000498_source">show source</a> ]</p>
3845
+ <div id="M000498_source" class="dyn-source">
3690
3846
  <pre>
3691
3847
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_time.rb, line 9</span>
3692
3848
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_time</span>
@@ -3699,12 +3855,12 @@ TODO: This requires the external time.rb lib. Should we do this?
3699
3855
  </div>
3700
3856
  <div class="method">
3701
3857
  <div class="title">
3702
- <a name="M000576"></a><b>unbracket</b>(bra=nil, ket=nil)
3858
+ <a name="M000559"></a><b>unbracket</b>(bra=nil, ket=nil)
3703
3859
  </div>
3704
3860
  <div class="description">
3705
3861
  <p>
3706
3862
  Return a new string embraced by given brakets. If only one <a
3707
- href="String.html#M000523">bracket</a> char is given it will be placed on
3863
+ href="String.html#M000500">bracket</a> char is given it will be placed on
3708
3864
  either side.
3709
3865
  </p>
3710
3866
  <pre>
@@ -3715,8 +3871,8 @@ either side.
3715
3871
  </pre>
3716
3872
  </div>
3717
3873
  <div class="sourcecode">
3718
- <p class="source-link">[ <a href="javascript:toggleSource('M000576_source')" id="l_M000576_source">show source</a> ]</p>
3719
- <div id="M000576_source" class="dyn-source">
3874
+ <p class="source-link">[ <a href="javascript:toggleSource('M000559_source')" id="l_M000559_source">show source</a> ]</p>
3875
+ <div id="M000559_source" class="dyn-source">
3720
3876
  <pre>
3721
3877
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 37</span>
3722
3878
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -3740,12 +3896,12 @@ either side.
3740
3896
  </div>
3741
3897
  <div class="method">
3742
3898
  <div class="title">
3743
- <a name="M000525"></a><b>unbracket</b>(bra=nil, ket=nil)
3899
+ <a name="M000502"></a><b>unbracket</b>(bra=nil, ket=nil)
3744
3900
  </div>
3745
3901
  <div class="description">
3746
3902
  <p>
3747
3903
  Return a new string embraced by given brakets. If only one <a
3748
- href="String.html#M000523">bracket</a> char is given it will be placed on
3904
+ href="String.html#M000500">bracket</a> char is given it will be placed on
3749
3905
  either side.
3750
3906
  </p>
3751
3907
  <pre>
@@ -3756,8 +3912,8 @@ either side.
3756
3912
  </pre>
3757
3913
  </div>
3758
3914
  <div class="sourcecode">
3759
- <p class="source-link">[ <a href="javascript:toggleSource('M000525_source')" id="l_M000525_source">show source</a> ]</p>
3760
- <div id="M000525_source" class="dyn-source">
3915
+ <p class="source-link">[ <a href="javascript:toggleSource('M000502_source')" id="l_M000502_source">show source</a> ]</p>
3916
+ <div id="M000502_source" class="dyn-source">
3761
3917
  <pre>
3762
3918
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 37</span>
3763
3919
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -3781,7 +3937,7 @@ either side.
3781
3937
  </div>
3782
3938
  <div class="method">
3783
3939
  <div class="title">
3784
- <a name="M000526"></a><b>unbracket!</b>(bra=nil, ket=nil)
3940
+ <a name="M000560"></a><b>unbracket!</b>(bra=nil, ket=nil)
3785
3941
  </div>
3786
3942
  <div class="description">
3787
3943
  <p>
@@ -3792,8 +3948,8 @@ Inplace version of debraket.
3792
3948
  </pre>
3793
3949
  </div>
3794
3950
  <div class="sourcecode">
3795
- <p class="source-link">[ <a href="javascript:toggleSource('M000526_source')" id="l_M000526_source">show source</a> ]</p>
3796
- <div id="M000526_source" class="dyn-source">
3951
+ <p class="source-link">[ <a href="javascript:toggleSource('M000560_source')" id="l_M000560_source">show source</a> ]</p>
3952
+ <div id="M000560_source" class="dyn-source">
3797
3953
  <pre>
3798
3954
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 57</span>
3799
3955
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket!</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -3805,7 +3961,7 @@ Inplace version of debraket.
3805
3961
  </div>
3806
3962
  <div class="method">
3807
3963
  <div class="title">
3808
- <a name="M000577"></a><b>unbracket!</b>(bra=nil, ket=nil)
3964
+ <a name="M000503"></a><b>unbracket!</b>(bra=nil, ket=nil)
3809
3965
  </div>
3810
3966
  <div class="description">
3811
3967
  <p>
@@ -3816,8 +3972,8 @@ Inplace version of debraket.
3816
3972
  </pre>
3817
3973
  </div>
3818
3974
  <div class="sourcecode">
3819
- <p class="source-link">[ <a href="javascript:toggleSource('M000577_source')" id="l_M000577_source">show source</a> ]</p>
3820
- <div id="M000577_source" class="dyn-source">
3975
+ <p class="source-link">[ <a href="javascript:toggleSource('M000503_source')" id="l_M000503_source">show source</a> ]</p>
3976
+ <div id="M000503_source" class="dyn-source">
3821
3977
  <pre>
3822
3978
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 57</span>
3823
3979
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket!</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -3829,7 +3985,7 @@ Inplace version of debraket.
3829
3985
  </div>
3830
3986
  <div class="method">
3831
3987
  <div class="title">
3832
- <a name="M000514"></a><b>upcase?</b>()
3988
+ <a name="M000489"></a><b>upcase?</b>()
3833
3989
  </div>
3834
3990
  <div class="description">
3835
3991
  <p>
@@ -3844,8 +4000,8 @@ Is the string upcase/uppercase?
3844
4000
  </pre>
3845
4001
  </div>
3846
4002
  <div class="sourcecode">
3847
- <p class="source-link">[ <a href="javascript:toggleSource('M000514_source')" id="l_M000514_source">show source</a> ]</p>
3848
- <div id="M000514_source" class="dyn-source">
4003
+ <p class="source-link">[ <a href="javascript:toggleSource('M000489_source')" id="l_M000489_source">show source</a> ]</p>
4004
+ <div id="M000489_source" class="dyn-source">
3849
4005
  <pre>
3850
4006
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 38</span>
3851
4007
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upcase?</span>
@@ -3857,7 +4013,7 @@ Is the string upcase/uppercase?
3857
4013
  </div>
3858
4014
  <div class="method">
3859
4015
  <div class="title">
3860
- <a name="M000565"></a><b>upcase?</b>()
4016
+ <a name="M000546"></a><b>upcase?</b>()
3861
4017
  </div>
3862
4018
  <div class="description">
3863
4019
  <p>
@@ -3872,8 +4028,8 @@ Is the string upcase/uppercase?
3872
4028
  </pre>
3873
4029
  </div>
3874
4030
  <div class="sourcecode">
3875
- <p class="source-link">[ <a href="javascript:toggleSource('M000565_source')" id="l_M000565_source">show source</a> ]</p>
3876
- <div id="M000565_source" class="dyn-source">
4031
+ <p class="source-link">[ <a href="javascript:toggleSource('M000546_source')" id="l_M000546_source">show source</a> ]</p>
4032
+ <div id="M000546_source" class="dyn-source">
3877
4033
  <pre>
3878
4034
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 38</span>
3879
4035
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upcase?</span>
@@ -3885,7 +4041,7 @@ Is the string upcase/uppercase?
3885
4041
  </div>
3886
4042
  <div class="method">
3887
4043
  <div class="title">
3888
- <a name="M000479"></a><b>variablize</b>()
4044
+ <a name="M000451"></a><b>variablize</b>()
3889
4045
  </div>
3890
4046
  <div class="description">
3891
4047
  <p>
@@ -3894,8 +4050,8 @@ variable name. This also replaces non-valid characters with underscores.
3894
4050
  </p>
3895
4051
  </div>
3896
4052
  <div class="sourcecode">
3897
- <p class="source-link">[ <a href="javascript:toggleSource('M000479_source')" id="l_M000479_source">show source</a> ]</p>
3898
- <div id="M000479_source" class="dyn-source">
4053
+ <p class="source-link">[ <a href="javascript:toggleSource('M000451_source')" id="l_M000451_source">show source</a> ]</p>
4054
+ <div id="M000451_source" class="dyn-source">
3899
4055
  <pre>
3900
4056
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 128</span>
3901
4057
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">variablize</span>
@@ -3905,6 +4061,190 @@ variable name. This also replaces non-valid characters with underscores.
3905
4061
  </div>
3906
4062
  </div>
3907
4063
  </div>
4064
+ <div class="method">
4065
+ <div class="title">
4066
+ <a name="M000522"></a><b>word_wrap</b>( col_width=80 )
4067
+ </div>
4068
+ <div class="description">
4069
+ <p>
4070
+ Word wrap a string not exceeding max width.
4071
+ </p>
4072
+ <pre>
4073
+ puts &quot;this is a test&quot;.word_wrap(4)
4074
+ </pre>
4075
+ <p>
4076
+ <em>produces</em>
4077
+ </p>
4078
+ <pre>
4079
+ this
4080
+ is a
4081
+ test
4082
+ </pre>
4083
+ <p>
4084
+ This is basic implementation of word wrap, but smart enough to suffice for
4085
+ most use cases.
4086
+ </p>
4087
+ <pre>
4088
+ CREDIT: Gavin Kistner
4089
+ CREDIT: Dayne Broderson
4090
+ </pre>
4091
+ </div>
4092
+ <div class="sourcecode">
4093
+ <p class="source-link">[ <a href="javascript:toggleSource('M000522_source')" id="l_M000522_source">show source</a> ]</p>
4094
+ <div id="M000522_source" class="dyn-source">
4095
+ <pre>
4096
+ <span class="ruby-comment cmt"># File lib/core/facets/string/word_wrap.rb, line 19</span>
4097
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">word_wrap</span>( <span class="ruby-identifier">col_width</span>=<span class="ruby-value">80</span> )
4098
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">word_wrap!</span>( <span class="ruby-identifier">col_width</span> )
4099
+ <span class="ruby-keyword kw">end</span>
4100
+ </pre>
4101
+ </div>
4102
+ </div>
4103
+ </div>
4104
+ <div class="method">
4105
+ <div class="title">
4106
+ <a name="M000465"></a><b>word_wrap</b>( col_width=80 )
4107
+ </div>
4108
+ <div class="description">
4109
+ <p>
4110
+ Word wrap a string not exceeding max width.
4111
+ </p>
4112
+ <pre>
4113
+ puts &quot;this is a test&quot;.word_wrap(4)
4114
+ </pre>
4115
+ <p>
4116
+ <em>produces</em>
4117
+ </p>
4118
+ <pre>
4119
+ this
4120
+ is a
4121
+ test
4122
+ </pre>
4123
+ <p>
4124
+ This is basic implementation of word wrap, but smart enough to suffice for
4125
+ most use cases.
4126
+ </p>
4127
+ <pre>
4128
+ CREDIT: Gavin Kistner
4129
+ CREDIT: Dayne Broderson
4130
+ </pre>
4131
+ </div>
4132
+ <div class="sourcecode">
4133
+ <p class="source-link">[ <a href="javascript:toggleSource('M000465_source')" id="l_M000465_source">show source</a> ]</p>
4134
+ <div id="M000465_source" class="dyn-source">
4135
+ <pre>
4136
+ <span class="ruby-comment cmt"># File lib/core/facets/string/word_wrap.rb, line 19</span>
4137
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">word_wrap</span>( <span class="ruby-identifier">col_width</span>=<span class="ruby-value">80</span> )
4138
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">word_wrap!</span>( <span class="ruby-identifier">col_width</span> )
4139
+ <span class="ruby-keyword kw">end</span>
4140
+ </pre>
4141
+ </div>
4142
+ </div>
4143
+ </div>
4144
+ <div class="method">
4145
+ <div class="title">
4146
+ <a name="M000466"></a><b>word_wrap!</b>( col_width=80 )
4147
+ </div>
4148
+ <div class="description">
4149
+ <p>
4150
+ As with <a href="String.html#M000465">word_wrap</a>, but modifies the
4151
+ string in place.
4152
+ </p>
4153
+ <pre>
4154
+ CREDIT: Gavin Kistner
4155
+ CREDIT: Dayne Broderson
4156
+ </pre>
4157
+ </div>
4158
+ <div class="sourcecode">
4159
+ <p class="source-link">[ <a href="javascript:toggleSource('M000466_source')" id="l_M000466_source">show source</a> ]</p>
4160
+ <div id="M000466_source" class="dyn-source">
4161
+ <pre>
4162
+ <span class="ruby-comment cmt"># File lib/core/facets/string/word_wrap.rb, line 28</span>
4163
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">word_wrap!</span>( <span class="ruby-identifier">col_width</span>=<span class="ruby-value">80</span> )
4164
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub!</span>( <span class="ruby-node">/(\S{#{col_width}})(?=\S)/</span>, <span class="ruby-value str">'\1 '</span> )
4165
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub!</span>( <span class="ruby-node">/(.{1,#{col_width}})(?:\s+|$)/</span>, <span class="ruby-value str">&quot;\\1\n&quot;</span> )
4166
+ <span class="ruby-keyword kw">self</span>
4167
+ <span class="ruby-keyword kw">end</span>
4168
+ </pre>
4169
+ </div>
4170
+ </div>
4171
+ </div>
4172
+ <div class="method">
4173
+ <div class="title">
4174
+ <a name="M000523"></a><b>word_wrap!</b>( col_width=80 )
4175
+ </div>
4176
+ <div class="description">
4177
+ <p>
4178
+ As with <a href="String.html#M000465">word_wrap</a>, but modifies the
4179
+ string in place.
4180
+ </p>
4181
+ <pre>
4182
+ CREDIT: Gavin Kistner
4183
+ CREDIT: Dayne Broderson
4184
+ </pre>
4185
+ </div>
4186
+ <div class="sourcecode">
4187
+ <p class="source-link">[ <a href="javascript:toggleSource('M000523_source')" id="l_M000523_source">show source</a> ]</p>
4188
+ <div id="M000523_source" class="dyn-source">
4189
+ <pre>
4190
+ <span class="ruby-comment cmt"># File lib/core/facets/string/word_wrap.rb, line 28</span>
4191
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">word_wrap!</span>( <span class="ruby-identifier">col_width</span>=<span class="ruby-value">80</span> )
4192
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub!</span>( <span class="ruby-node">/(\S{#{col_width}})(?=\S)/</span>, <span class="ruby-value str">'\1 '</span> )
4193
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub!</span>( <span class="ruby-node">/(.{1,#{col_width}})(?:\s+|$)/</span>, <span class="ruby-value str">&quot;\\1\n&quot;</span> )
4194
+ <span class="ruby-keyword kw">self</span>
4195
+ <span class="ruby-keyword kw">end</span>
4196
+ </pre>
4197
+ </div>
4198
+ </div>
4199
+ </div>
4200
+ <div class="method">
4201
+ <div class="title">
4202
+ <a name="M000552"></a><b>words</b>()
4203
+ </div>
4204
+ <div class="description">
4205
+ <p>
4206
+ Returns an array of characters.
4207
+ </p>
4208
+ <pre>
4209
+ &quot;abc 123&quot;.words #=&gt; [&quot;abc&quot;,&quot;123&quot;]
4210
+ </pre>
4211
+ </div>
4212
+ <div class="sourcecode">
4213
+ <p class="source-link">[ <a href="javascript:toggleSource('M000552_source')" id="l_M000552_source">show source</a> ]</p>
4214
+ <div id="M000552_source" class="dyn-source">
4215
+ <pre>
4216
+ <span class="ruby-comment cmt"># File lib/core/facets/string/words.rb, line 7</span>
4217
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">words</span>
4218
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\s+/</span>)
4219
+ <span class="ruby-keyword kw">end</span>
4220
+ </pre>
4221
+ </div>
4222
+ </div>
4223
+ </div>
4224
+ <div class="method">
4225
+ <div class="title">
4226
+ <a name="M000495"></a><b>words</b>()
4227
+ </div>
4228
+ <div class="description">
4229
+ <p>
4230
+ Returns an array of characters.
4231
+ </p>
4232
+ <pre>
4233
+ &quot;abc 123&quot;.words #=&gt; [&quot;abc&quot;,&quot;123&quot;]
4234
+ </pre>
4235
+ </div>
4236
+ <div class="sourcecode">
4237
+ <p class="source-link">[ <a href="javascript:toggleSource('M000495_source')" id="l_M000495_source">show source</a> ]</p>
4238
+ <div id="M000495_source" class="dyn-source">
4239
+ <pre>
4240
+ <span class="ruby-comment cmt"># File lib/core/facets/string/words.rb, line 7</span>
4241
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">words</span>
4242
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\s+/</span>)
4243
+ <span class="ruby-keyword kw">end</span>
4244
+ </pre>
4245
+ </div>
4246
+ </div>
4247
+ </div>
3908
4248
  </div>
3909
4249
 
3910
4250
  </div>