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
@@ -85,10 +85,10 @@ Object
85
85
 
86
86
  <div class="sectiontitle">Methods</div>
87
87
  <ul>
88
- <li><a href="#M000421">detail</a></li>
89
- <li><a href="#M000419">detail</a></li>
90
- <li><a href="#M000420">suppress</a></li>
91
- <li><a href="#M000418">suppress</a></li>
88
+ <li><a href="#M000397">detail</a></li>
89
+ <li><a href="#M000395">detail</a></li>
90
+ <li><a href="#M000396">suppress</a></li>
91
+ <li><a href="#M000394">suppress</a></li>
92
92
  </ul>
93
93
 
94
94
 
@@ -99,7 +99,7 @@ Object
99
99
  <div class="sectiontitle">Public Class methods</div>
100
100
  <div class="method">
101
101
  <div class="title">
102
- <a name="M000420"></a><b>suppress</b>(*exception_classes) {|| ...}
102
+ <a name="M000396"></a><b>suppress</b>(*exception_classes) {|| ...}
103
103
  </div>
104
104
  <div class="description">
105
105
  <p>
@@ -111,8 +111,8 @@ Supress errors while executing a block, with execptions.
111
111
  </pre>
112
112
  </div>
113
113
  <div class="sourcecode">
114
- <p class="source-link">[ <a href="javascript:toggleSource('M000420_source')" id="l_M000420_source">show source</a> ]</p>
115
- <div id="M000420_source" class="dyn-source">
114
+ <p class="source-link">[ <a href="javascript:toggleSource('M000396_source')" id="l_M000396_source">show source</a> ]</p>
115
+ <div id="M000396_source" class="dyn-source">
116
116
  <pre>
117
117
  <span class="ruby-comment cmt"># File lib/core/facets/exception/suppress.rb, line 8</span>
118
118
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">suppress</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">exception_classes</span>)
@@ -132,7 +132,7 @@ Supress errors while executing a block, with execptions.
132
132
  </div>
133
133
  <div class="method">
134
134
  <div class="title">
135
- <a name="M000418"></a><b>suppress</b>(*exception_classes) {|| ...}
135
+ <a name="M000394"></a><b>suppress</b>(*exception_classes) {|| ...}
136
136
  </div>
137
137
  <div class="description">
138
138
  <p>
@@ -144,8 +144,8 @@ Supress errors while executing a block, with execptions.
144
144
  </pre>
145
145
  </div>
146
146
  <div class="sourcecode">
147
- <p class="source-link">[ <a href="javascript:toggleSource('M000418_source')" id="l_M000418_source">show source</a> ]</p>
148
- <div id="M000418_source" class="dyn-source">
147
+ <p class="source-link">[ <a href="javascript:toggleSource('M000394_source')" id="l_M000394_source">show source</a> ]</p>
148
+ <div id="M000394_source" class="dyn-source">
149
149
  <pre>
150
150
  <span class="ruby-comment cmt"># File lib/core/facets/exception/suppress.rb, line 8</span>
151
151
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">suppress</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">exception_classes</span>)
@@ -166,7 +166,7 @@ Supress errors while executing a block, with execptions.
166
166
  <div class="sectiontitle">Public Instance methods</div>
167
167
  <div class="method">
168
168
  <div class="title">
169
- <a name="M000421"></a><b>detail</b>()
169
+ <a name="M000397"></a><b>detail</b>()
170
170
  </div>
171
171
  <div class="description">
172
172
  <p>
@@ -184,8 +184,8 @@ Output: The pretty printed string
184
184
  </pre>
185
185
  </div>
186
186
  <div class="sourcecode">
187
- <p class="source-link">[ <a href="javascript:toggleSource('M000421_source')" id="l_M000421_source">show source</a> ]</p>
188
- <div id="M000421_source" class="dyn-source">
187
+ <p class="source-link">[ <a href="javascript:toggleSource('M000397_source')" id="l_M000397_source">show source</a> ]</p>
188
+ <div id="M000397_source" class="dyn-source">
189
189
  <pre>
190
190
  <span class="ruby-comment cmt"># File lib/core/facets/exception/detail.rb, line 14</span>
191
191
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">detail</span>
@@ -197,7 +197,7 @@ Output: The pretty printed string
197
197
  </div>
198
198
  <div class="method">
199
199
  <div class="title">
200
- <a name="M000419"></a><b>detail</b>()
200
+ <a name="M000395"></a><b>detail</b>()
201
201
  </div>
202
202
  <div class="description">
203
203
  <p>
@@ -215,8 +215,8 @@ Output: The pretty printed string
215
215
  </pre>
216
216
  </div>
217
217
  <div class="sourcecode">
218
- <p class="source-link">[ <a href="javascript:toggleSource('M000419_source')" id="l_M000419_source">show source</a> ]</p>
219
- <div id="M000419_source" class="dyn-source">
218
+ <p class="source-link">[ <a href="javascript:toggleSource('M000395_source')" id="l_M000395_source">show source</a> ]</p>
219
+ <div id="M000395_source" class="dyn-source">
220
220
  <pre>
221
221
  <span class="ruby-comment cmt"># File lib/core/facets/exception/detail.rb, line 14</span>
222
222
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">detail</span>
@@ -83,8 +83,8 @@ Object
83
83
 
84
84
  <div class="sectiontitle">Methods</div>
85
85
  <ul>
86
- <li><a href="#M000130">blank?</a></li>
87
- <li><a href="#M000129">to_bool</a></li>
86
+ <li><a href="#M000128">blank?</a></li>
87
+ <li><a href="#M000127">to_bool</a></li>
88
88
  </ul>
89
89
 
90
90
 
@@ -95,11 +95,11 @@ Object
95
95
  <div class="sectiontitle">Public Instance methods</div>
96
96
  <div class="method">
97
97
  <div class="title">
98
- <a name="M000130"></a><b>blank?</b>()
98
+ <a name="M000128"></a><b>blank?</b>()
99
99
  </div>
100
100
  <div class="sourcecode">
101
- <p class="source-link">[ <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show source</a> ]</p>
102
- <div id="M000130_source" class="dyn-source">
101
+ <p class="source-link">[ <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">show source</a> ]</p>
102
+ <div id="M000128_source" class="dyn-source">
103
103
  <pre>
104
104
  <span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 26</span>
105
105
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
@@ -111,11 +111,11 @@ Object
111
111
  </div>
112
112
  <div class="method">
113
113
  <div class="title">
114
- <a name="M000129"></a><b>to_bool</b>()
114
+ <a name="M000127"></a><b>to_bool</b>()
115
115
  </div>
116
116
  <div class="sourcecode">
117
- <p class="source-link">[ <a href="javascript:toggleSource('M000129_source')" id="l_M000129_source">show source</a> ]</p>
118
- <div id="M000129_source" class="dyn-source">
117
+ <p class="source-link">[ <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show source</a> ]</p>
118
+ <div id="M000127_source" class="dyn-source">
119
119
  <pre>
120
120
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 147</span>
121
121
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_bool</span>
@@ -91,28 +91,28 @@ Object
91
91
 
92
92
  <div class="sectiontitle">Methods</div>
93
93
  <ul>
94
- <li><a href="#M000464">append</a></li>
95
- <li><a href="#M000453">append</a></li>
96
- <li><a href="#M000454">create</a></li>
97
- <li><a href="#M000465">create</a></li>
98
- <li><a href="#M000463">null</a></li>
99
- <li><a href="#M000452">null</a></li>
100
- <li><a href="#M000460">read_binary</a></li>
101
- <li><a href="#M000471">read_binary</a></li>
102
- <li><a href="#M000461">read_list</a></li>
103
- <li><a href="#M000472">read_list</a></li>
104
- <li><a href="#M000468">rewrite</a></li>
105
- <li><a href="#M000457">rewrite</a></li>
106
- <li><a href="#M000469">rewrite!</a></li>
107
- <li><a href="#M000458">rewrite!</a></li>
108
- <li><a href="#M000462">rootname</a></li>
109
- <li><a href="#M000451">rootname</a></li>
110
- <li><a href="#M000459">sanitize</a></li>
111
- <li><a href="#M000470">sanitize</a></li>
112
- <li><a href="#M000455">write</a></li>
113
- <li><a href="#M000466">write</a></li>
114
- <li><a href="#M000467">writelines</a></li>
115
- <li><a href="#M000456">writelines</a></li>
94
+ <li><a href="#M000436">append</a></li>
95
+ <li><a href="#M000425">append</a></li>
96
+ <li><a href="#M000426">create</a></li>
97
+ <li><a href="#M000437">create</a></li>
98
+ <li><a href="#M000435">null</a></li>
99
+ <li><a href="#M000424">null</a></li>
100
+ <li><a href="#M000432">read_binary</a></li>
101
+ <li><a href="#M000443">read_binary</a></li>
102
+ <li><a href="#M000433">read_list</a></li>
103
+ <li><a href="#M000444">read_list</a></li>
104
+ <li><a href="#M000440">rewrite</a></li>
105
+ <li><a href="#M000429">rewrite</a></li>
106
+ <li><a href="#M000441">rewrite!</a></li>
107
+ <li><a href="#M000430">rewrite!</a></li>
108
+ <li><a href="#M000434">rootname</a></li>
109
+ <li><a href="#M000423">rootname</a></li>
110
+ <li><a href="#M000431">sanitize</a></li>
111
+ <li><a href="#M000442">sanitize</a></li>
112
+ <li><a href="#M000427">write</a></li>
113
+ <li><a href="#M000438">write</a></li>
114
+ <li><a href="#M000439">writelines</a></li>
115
+ <li><a href="#M000428">writelines</a></li>
116
116
  </ul>
117
117
 
118
118
 
@@ -123,7 +123,7 @@ Object
123
123
  <div class="sectiontitle">Public Class methods</div>
124
124
  <div class="method">
125
125
  <div class="title">
126
- <a name="M000464"></a><b>append</b>( file, str )
126
+ <a name="M000436"></a><b>append</b>( file, str )
127
127
  </div>
128
128
  <div class="description">
129
129
  <p>
@@ -134,8 +134,8 @@ Append to a file.
134
134
  </pre>
135
135
  </div>
136
136
  <div class="sourcecode">
137
- <p class="source-link">[ <a href="javascript:toggleSource('M000464_source')" id="l_M000464_source">show source</a> ]</p>
138
- <div id="M000464_source" class="dyn-source">
137
+ <p class="source-link">[ <a href="javascript:toggleSource('M000436_source')" id="l_M000436_source">show source</a> ]</p>
138
+ <div id="M000436_source" class="dyn-source">
139
139
  <pre>
140
140
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 7</span>
141
141
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append</span>( <span class="ruby-identifier">file</span>, <span class="ruby-identifier">str</span> )
@@ -149,7 +149,7 @@ Append to a file.
149
149
  </div>
150
150
  <div class="method">
151
151
  <div class="title">
152
- <a name="M000453"></a><b>append</b>( file, str )
152
+ <a name="M000425"></a><b>append</b>( file, str )
153
153
  </div>
154
154
  <div class="description">
155
155
  <p>
@@ -160,8 +160,8 @@ Append to a file.
160
160
  </pre>
161
161
  </div>
162
162
  <div class="sourcecode">
163
- <p class="source-link">[ <a href="javascript:toggleSource('M000453_source')" id="l_M000453_source">show source</a> ]</p>
164
- <div id="M000453_source" class="dyn-source">
163
+ <p class="source-link">[ <a href="javascript:toggleSource('M000425_source')" id="l_M000425_source">show source</a> ]</p>
164
+ <div id="M000425_source" class="dyn-source">
165
165
  <pre>
166
166
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 7</span>
167
167
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append</span>( <span class="ruby-identifier">file</span>, <span class="ruby-identifier">str</span> )
@@ -175,7 +175,7 @@ Append to a file.
175
175
  </div>
176
176
  <div class="method">
177
177
  <div class="title">
178
- <a name="M000454"></a><b>create</b>(path, str='', &amp;blk)
178
+ <a name="M000426"></a><b>create</b>(path, str='', &amp;blk)
179
179
  </div>
180
180
  <div class="description">
181
181
  <p>
@@ -191,8 +191,8 @@ into it. Can also take a block just like File#open, which is yielded
191
191
  </pre>
192
192
  </div>
193
193
  <div class="sourcecode">
194
- <p class="source-link">[ <a href="javascript:toggleSource('M000454_source')" id="l_M000454_source">show source</a> ]</p>
195
- <div id="M000454_source" class="dyn-source">
194
+ <p class="source-link">[ <a href="javascript:toggleSource('M000426_source')" id="l_M000426_source">show source</a> ]</p>
195
+ <div id="M000426_source" class="dyn-source">
196
196
  <pre>
197
197
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 23</span>
198
198
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">str</span>=<span class="ruby-value str">''</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -207,7 +207,7 @@ into it. Can also take a block just like File#open, which is yielded
207
207
  </div>
208
208
  <div class="method">
209
209
  <div class="title">
210
- <a name="M000465"></a><b>create</b>(path, str='', &amp;blk)
210
+ <a name="M000437"></a><b>create</b>(path, str='', &amp;blk)
211
211
  </div>
212
212
  <div class="description">
213
213
  <p>
@@ -223,8 +223,8 @@ into it. Can also take a block just like File#open, which is yielded
223
223
  </pre>
224
224
  </div>
225
225
  <div class="sourcecode">
226
- <p class="source-link">[ <a href="javascript:toggleSource('M000465_source')" id="l_M000465_source">show source</a> ]</p>
227
- <div id="M000465_source" class="dyn-source">
226
+ <p class="source-link">[ <a href="javascript:toggleSource('M000437_source')" id="l_M000437_source">show source</a> ]</p>
227
+ <div id="M000437_source" class="dyn-source">
228
228
  <pre>
229
229
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 23</span>
230
230
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">str</span>=<span class="ruby-value str">''</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -239,19 +239,19 @@ into it. Can also take a block just like File#open, which is yielded
239
239
  </div>
240
240
  <div class="method">
241
241
  <div class="title">
242
- <a name="M000463"></a><b>null</b>()
242
+ <a name="M000435"></a><b>null</b>()
243
243
  </div>
244
244
  <div class="description">
245
245
  <p>
246
- Platform dependent <a href="File.html#M000452">null</a> device.
246
+ Platform dependent <a href="File.html#M000424">null</a> device.
247
247
  </p>
248
248
  <pre>
249
249
  CREDIT: Daniel Burger
250
250
  </pre>
251
251
  </div>
252
252
  <div class="sourcecode">
253
- <p class="source-link">[ <a href="javascript:toggleSource('M000463_source')" id="l_M000463_source">show source</a> ]</p>
254
- <div id="M000463_source" class="dyn-source">
253
+ <p class="source-link">[ <a href="javascript:toggleSource('M000435_source')" id="l_M000435_source">show source</a> ]</p>
254
+ <div id="M000435_source" class="dyn-source">
255
255
  <pre>
256
256
  <span class="ruby-comment cmt"># File lib/core/facets/file/null.rb, line 7</span>
257
257
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">null</span>
@@ -272,19 +272,19 @@ Platform dependent <a href="File.html#M000452">null</a> device.
272
272
  </div>
273
273
  <div class="method">
274
274
  <div class="title">
275
- <a name="M000452"></a><b>null</b>()
275
+ <a name="M000424"></a><b>null</b>()
276
276
  </div>
277
277
  <div class="description">
278
278
  <p>
279
- Platform dependent <a href="File.html#M000452">null</a> device.
279
+ Platform dependent <a href="File.html#M000424">null</a> device.
280
280
  </p>
281
281
  <pre>
282
282
  CREDIT: Daniel Burger
283
283
  </pre>
284
284
  </div>
285
285
  <div class="sourcecode">
286
- <p class="source-link">[ <a href="javascript:toggleSource('M000452_source')" id="l_M000452_source">show source</a> ]</p>
287
- <div id="M000452_source" class="dyn-source">
286
+ <p class="source-link">[ <a href="javascript:toggleSource('M000424_source')" id="l_M000424_source">show source</a> ]</p>
287
+ <div id="M000424_source" class="dyn-source">
288
288
  <pre>
289
289
  <span class="ruby-comment cmt"># File lib/core/facets/file/null.rb, line 7</span>
290
290
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">null</span>
@@ -305,7 +305,7 @@ Platform dependent <a href="File.html#M000452">null</a> device.
305
305
  </div>
306
306
  <div class="method">
307
307
  <div class="title">
308
- <a name="M000460"></a><b>read_binary</b>(fname)
308
+ <a name="M000432"></a><b>read_binary</b>(fname)
309
309
  </div>
310
310
  <div class="description">
311
311
  <p>
@@ -316,8 +316,8 @@ Read in a file as binary data.
316
316
  </pre>
317
317
  </div>
318
318
  <div class="sourcecode">
319
- <p class="source-link">[ <a href="javascript:toggleSource('M000460_source')" id="l_M000460_source">show source</a> ]</p>
320
- <div id="M000460_source" class="dyn-source">
319
+ <p class="source-link">[ <a href="javascript:toggleSource('M000432_source')" id="l_M000432_source">show source</a> ]</p>
320
+ <div id="M000432_source" class="dyn-source">
321
321
  <pre>
322
322
  <span class="ruby-comment cmt"># File lib/core/facets/file/read.rb, line 18</span>
323
323
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">read_binary</span>(<span class="ruby-identifier">fname</span>)
@@ -331,7 +331,7 @@ Read in a file as binary data.
331
331
  </div>
332
332
  <div class="method">
333
333
  <div class="title">
334
- <a name="M000471"></a><b>read_binary</b>(fname)
334
+ <a name="M000443"></a><b>read_binary</b>(fname)
335
335
  </div>
336
336
  <div class="description">
337
337
  <p>
@@ -342,8 +342,8 @@ Read in a file as binary data.
342
342
  </pre>
343
343
  </div>
344
344
  <div class="sourcecode">
345
- <p class="source-link">[ <a href="javascript:toggleSource('M000471_source')" id="l_M000471_source">show source</a> ]</p>
346
- <div id="M000471_source" class="dyn-source">
345
+ <p class="source-link">[ <a href="javascript:toggleSource('M000443_source')" id="l_M000443_source">show source</a> ]</p>
346
+ <div id="M000443_source" class="dyn-source">
347
347
  <pre>
348
348
  <span class="ruby-comment cmt"># File lib/core/facets/file/read.rb, line 18</span>
349
349
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">read_binary</span>(<span class="ruby-identifier">fname</span>)
@@ -357,7 +357,7 @@ Read in a file as binary data.
357
357
  </div>
358
358
  <div class="method">
359
359
  <div class="title">
360
- <a name="M000461"></a><b>read_list</b>(filepath, chomp_string='')
360
+ <a name="M000433"></a><b>read_list</b>(filepath, chomp_string='')
361
361
  </div>
362
362
  <div class="description">
363
363
  <p>
@@ -369,8 +369,8 @@ Reads in a file, removes blank lines and remarks (lines starting with
369
369
  </pre>
370
370
  </div>
371
371
  <div class="sourcecode">
372
- <p class="source-link">[ <a href="javascript:toggleSource('M000461_source')" id="l_M000461_source">show source</a> ]</p>
373
- <div id="M000461_source" class="dyn-source">
372
+ <p class="source-link">[ <a href="javascript:toggleSource('M000433_source')" id="l_M000433_source">show source</a> ]</p>
373
+ <div id="M000433_source" class="dyn-source">
374
374
  <pre>
375
375
  <span class="ruby-comment cmt"># File lib/core/facets/file/read.rb, line 30</span>
376
376
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">read_list</span>(<span class="ruby-identifier">filepath</span>, <span class="ruby-identifier">chomp_string</span>=<span class="ruby-value str">''</span>)
@@ -388,7 +388,7 @@ Reads in a file, removes blank lines and remarks (lines starting with
388
388
  </div>
389
389
  <div class="method">
390
390
  <div class="title">
391
- <a name="M000472"></a><b>read_list</b>(filepath, chomp_string='')
391
+ <a name="M000444"></a><b>read_list</b>(filepath, chomp_string='')
392
392
  </div>
393
393
  <div class="description">
394
394
  <p>
@@ -400,8 +400,8 @@ Reads in a file, removes blank lines and remarks (lines starting with
400
400
  </pre>
401
401
  </div>
402
402
  <div class="sourcecode">
403
- <p class="source-link">[ <a href="javascript:toggleSource('M000472_source')" id="l_M000472_source">show source</a> ]</p>
404
- <div id="M000472_source" class="dyn-source">
403
+ <p class="source-link">[ <a href="javascript:toggleSource('M000444_source')" id="l_M000444_source">show source</a> ]</p>
404
+ <div id="M000444_source" class="dyn-source">
405
405
  <pre>
406
406
  <span class="ruby-comment cmt"># File lib/core/facets/file/read.rb, line 30</span>
407
407
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">read_list</span>(<span class="ruby-identifier">filepath</span>, <span class="ruby-identifier">chomp_string</span>=<span class="ruby-value str">''</span>)
@@ -419,7 +419,7 @@ Reads in a file, removes blank lines and remarks (lines starting with
419
419
  </div>
420
420
  <div class="method">
421
421
  <div class="title">
422
- <a name="M000468"></a><b>rewrite</b>(name, mode = &quot;&quot;) {|| ...}
422
+ <a name="M000440"></a><b>rewrite</b>(name, mode = &quot;&quot;) {|| ...}
423
423
  </div>
424
424
  <div class="description">
425
425
  <p>
@@ -437,7 +437,7 @@ exception.
437
437
  <p>
438
438
  Mode can either be &quot;b&quot; or &quot;+&quot; and specifies to open the
439
439
  file in binary mode (no mapping of the plattform&#8216;s newlines to
440
- &quot;\n&quot; is done) or to <a href="File.html#M000453">append</a> to it.
440
+ &quot;\n&quot; is done) or to <a href="File.html#M000425">append</a> to it.
441
441
  </p>
442
442
  <pre>
443
443
  # Reverse contents of &quot;message&quot;
@@ -448,7 +448,7 @@ file in binary mode (no mapping of the plattform&#8216;s newlines to
448
448
  </pre>
449
449
  <p>
450
450
  IMPORTANT: The old version of this method required in place modification of
451
- the file string. The new version will <a href="File.html#M000455">write</a>
451
+ the file string. The new version will <a href="File.html#M000427">write</a>
452
452
  whatever the block returns instead!!!
453
453
  </p>
454
454
  <pre>
@@ -456,8 +456,8 @@ whatever the block returns instead!!!
456
456
  </pre>
457
457
  </div>
458
458
  <div class="sourcecode">
459
- <p class="source-link">[ <a href="javascript:toggleSource('M000468_source')" id="l_M000468_source">show source</a> ]</p>
460
- <div id="M000468_source" class="dyn-source">
459
+ <p class="source-link">[ <a href="javascript:toggleSource('M000440_source')" id="l_M000440_source">show source</a> ]</p>
460
+ <div id="M000440_source" class="dyn-source">
461
461
  <pre>
462
462
  <span class="ruby-comment cmt"># File lib/core/facets/file/rewrite.rb, line 28</span>
463
463
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rewrite</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">mode</span> = <span class="ruby-value str">&quot;&quot;</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -490,7 +490,7 @@ whatever the block returns instead!!!
490
490
  </div>
491
491
  <div class="method">
492
492
  <div class="title">
493
- <a name="M000457"></a><b>rewrite</b>(name, mode = &quot;&quot;) {|| ...}
493
+ <a name="M000429"></a><b>rewrite</b>(name, mode = &quot;&quot;) {|| ...}
494
494
  </div>
495
495
  <div class="description">
496
496
  <p>
@@ -508,7 +508,7 @@ exception.
508
508
  <p>
509
509
  Mode can either be &quot;b&quot; or &quot;+&quot; and specifies to open the
510
510
  file in binary mode (no mapping of the plattform&#8216;s newlines to
511
- &quot;\n&quot; is done) or to <a href="File.html#M000453">append</a> to it.
511
+ &quot;\n&quot; is done) or to <a href="File.html#M000425">append</a> to it.
512
512
  </p>
513
513
  <pre>
514
514
  # Reverse contents of &quot;message&quot;
@@ -519,7 +519,7 @@ file in binary mode (no mapping of the plattform&#8216;s newlines to
519
519
  </pre>
520
520
  <p>
521
521
  IMPORTANT: The old version of this method required in place modification of
522
- the file string. The new version will <a href="File.html#M000455">write</a>
522
+ the file string. The new version will <a href="File.html#M000427">write</a>
523
523
  whatever the block returns instead!!!
524
524
  </p>
525
525
  <pre>
@@ -527,8 +527,8 @@ whatever the block returns instead!!!
527
527
  </pre>
528
528
  </div>
529
529
  <div class="sourcecode">
530
- <p class="source-link">[ <a href="javascript:toggleSource('M000457_source')" id="l_M000457_source">show source</a> ]</p>
531
- <div id="M000457_source" class="dyn-source">
530
+ <p class="source-link">[ <a href="javascript:toggleSource('M000429_source')" id="l_M000429_source">show source</a> ]</p>
531
+ <div id="M000429_source" class="dyn-source">
532
532
  <pre>
533
533
  <span class="ruby-comment cmt"># File lib/core/facets/file/rewrite.rb, line 28</span>
534
534
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rewrite</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">mode</span> = <span class="ruby-value str">&quot;&quot;</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -561,11 +561,11 @@ whatever the block returns instead!!!
561
561
  </div>
562
562
  <div class="method">
563
563
  <div class="title">
564
- <a name="M000469"></a><b>rewrite!</b>(name, mode = &quot;&quot;) {|| ...}
564
+ <a name="M000441"></a><b>rewrite!</b>(name, mode = &quot;&quot;) {|| ...}
565
565
  </div>
566
566
  <div class="description">
567
567
  <p>
568
- In place version of <a href="File.html#M000457">rewrite</a>. This version
568
+ In place version of <a href="File.html#M000429">rewrite</a>. This version
569
569
  of method requires that the string be modified in place within the block.
570
570
  </p>
571
571
  <pre>
@@ -577,8 +577,8 @@ of method requires that the string be modified in place within the block.
577
577
  </pre>
578
578
  </div>
579
579
  <div class="sourcecode">
580
- <p class="source-link">[ <a href="javascript:toggleSource('M000469_source')" id="l_M000469_source">show source</a> ]</p>
581
- <div id="M000469_source" class="dyn-source">
580
+ <p class="source-link">[ <a href="javascript:toggleSource('M000441_source')" id="l_M000441_source">show source</a> ]</p>
581
+ <div id="M000441_source" class="dyn-source">
582
582
  <pre>
583
583
  <span class="ruby-comment cmt"># File lib/core/facets/file/rewrite.rb, line 62</span>
584
584
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rewrite!</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">mode</span> = <span class="ruby-value str">&quot;&quot;</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -611,11 +611,11 @@ of method requires that the string be modified in place within the block.
611
611
  </div>
612
612
  <div class="method">
613
613
  <div class="title">
614
- <a name="M000458"></a><b>rewrite!</b>(name, mode = &quot;&quot;) {|| ...}
614
+ <a name="M000430"></a><b>rewrite!</b>(name, mode = &quot;&quot;) {|| ...}
615
615
  </div>
616
616
  <div class="description">
617
617
  <p>
618
- In place version of <a href="File.html#M000457">rewrite</a>. This version
618
+ In place version of <a href="File.html#M000429">rewrite</a>. This version
619
619
  of method requires that the string be modified in place within the block.
620
620
  </p>
621
621
  <pre>
@@ -627,8 +627,8 @@ of method requires that the string be modified in place within the block.
627
627
  </pre>
628
628
  </div>
629
629
  <div class="sourcecode">
630
- <p class="source-link">[ <a href="javascript:toggleSource('M000458_source')" id="l_M000458_source">show source</a> ]</p>
631
- <div id="M000458_source" class="dyn-source">
630
+ <p class="source-link">[ <a href="javascript:toggleSource('M000430_source')" id="l_M000430_source">show source</a> ]</p>
631
+ <div id="M000430_source" class="dyn-source">
632
632
  <pre>
633
633
  <span class="ruby-comment cmt"># File lib/core/facets/file/rewrite.rb, line 62</span>
634
634
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rewrite!</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">mode</span> = <span class="ruby-value str">&quot;&quot;</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -661,7 +661,7 @@ of method requires that the string be modified in place within the block.
661
661
  </div>
662
662
  <div class="method">
663
663
  <div class="title">
664
- <a name="M000462"></a><b>rootname</b>(path)
664
+ <a name="M000434"></a><b>rootname</b>(path)
665
665
  </div>
666
666
  <div class="description">
667
667
  <p>
@@ -676,8 +676,8 @@ Returns onlt the first portion of the directory of a file path name.
676
676
  </pre>
677
677
  </div>
678
678
  <div class="sourcecode">
679
- <p class="source-link">[ <a href="javascript:toggleSource('M000462_source')" id="l_M000462_source">show source</a> ]</p>
680
- <div id="M000462_source" class="dyn-source">
679
+ <p class="source-link">[ <a href="javascript:toggleSource('M000434_source')" id="l_M000434_source">show source</a> ]</p>
680
+ <div id="M000434_source" class="dyn-source">
681
681
  <pre>
682
682
  <span class="ruby-comment cmt"># File lib/core/facets/file/rootname.rb, line 12</span>
683
683
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rootname</span>(<span class="ruby-identifier">path</span>)
@@ -695,7 +695,7 @@ Returns onlt the first portion of the directory of a file path name.
695
695
  </div>
696
696
  <div class="method">
697
697
  <div class="title">
698
- <a name="M000451"></a><b>rootname</b>(path)
698
+ <a name="M000423"></a><b>rootname</b>(path)
699
699
  </div>
700
700
  <div class="description">
701
701
  <p>
@@ -710,8 +710,8 @@ Returns onlt the first portion of the directory of a file path name.
710
710
  </pre>
711
711
  </div>
712
712
  <div class="sourcecode">
713
- <p class="source-link">[ <a href="javascript:toggleSource('M000451_source')" id="l_M000451_source">show source</a> ]</p>
714
- <div id="M000451_source" class="dyn-source">
713
+ <p class="source-link">[ <a href="javascript:toggleSource('M000423_source')" id="l_M000423_source">show source</a> ]</p>
714
+ <div id="M000423_source" class="dyn-source">
715
715
  <pre>
716
716
  <span class="ruby-comment cmt"># File lib/core/facets/file/rootname.rb, line 12</span>
717
717
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rootname</span>(<span class="ruby-identifier">path</span>)
@@ -729,7 +729,7 @@ Returns onlt the first portion of the directory of a file path name.
729
729
  </div>
730
730
  <div class="method">
731
731
  <div class="title">
732
- <a name="M000459"></a><b>sanitize</b>(filename)
732
+ <a name="M000431"></a><b>sanitize</b>(filename)
733
733
  </div>
734
734
  <div class="description">
735
735
  <p>
@@ -740,8 +740,8 @@ Cleans up a filename to ensure it will work on filesystem.
740
740
  </pre>
741
741
  </div>
742
742
  <div class="sourcecode">
743
- <p class="source-link">[ <a href="javascript:toggleSource('M000459_source')" id="l_M000459_source">show source</a> ]</p>
744
- <div id="M000459_source" class="dyn-source">
743
+ <p class="source-link">[ <a href="javascript:toggleSource('M000431_source')" id="l_M000431_source">show source</a> ]</p>
744
+ <div id="M000431_source" class="dyn-source">
745
745
  <pre>
746
746
  <span class="ruby-comment cmt"># File lib/core/facets/file/read.rb, line 7</span>
747
747
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">sanitize</span>(<span class="ruby-identifier">filename</span>)
@@ -756,7 +756,7 @@ Cleans up a filename to ensure it will work on filesystem.
756
756
  </div>
757
757
  <div class="method">
758
758
  <div class="title">
759
- <a name="M000470"></a><b>sanitize</b>(filename)
759
+ <a name="M000442"></a><b>sanitize</b>(filename)
760
760
  </div>
761
761
  <div class="description">
762
762
  <p>
@@ -767,8 +767,8 @@ Cleans up a filename to ensure it will work on filesystem.
767
767
  </pre>
768
768
  </div>
769
769
  <div class="sourcecode">
770
- <p class="source-link">[ <a href="javascript:toggleSource('M000470_source')" id="l_M000470_source">show source</a> ]</p>
771
- <div id="M000470_source" class="dyn-source">
770
+ <p class="source-link">[ <a href="javascript:toggleSource('M000442_source')" id="l_M000442_source">show source</a> ]</p>
771
+ <div id="M000442_source" class="dyn-source">
772
772
  <pre>
773
773
  <span class="ruby-comment cmt"># File lib/core/facets/file/read.rb, line 7</span>
774
774
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">sanitize</span>(<span class="ruby-identifier">filename</span>)
@@ -783,7 +783,7 @@ Cleans up a filename to ensure it will work on filesystem.
783
783
  </div>
784
784
  <div class="method">
785
785
  <div class="title">
786
- <a name="M000455"></a><b>write</b>(path, data)
786
+ <a name="M000427"></a><b>write</b>(path, data)
787
787
  </div>
788
788
  <div class="description">
789
789
  <p>
@@ -798,8 +798,8 @@ Returns the number of bytes written.
798
798
  </pre>
799
799
  </div>
800
800
  <div class="sourcecode">
801
- <p class="source-link">[ <a href="javascript:toggleSource('M000455_source')" id="l_M000455_source">show source</a> ]</p>
802
- <div id="M000455_source" class="dyn-source">
801
+ <p class="source-link">[ <a href="javascript:toggleSource('M000427_source')" id="l_M000427_source">show source</a> ]</p>
802
+ <div id="M000427_source" class="dyn-source">
803
803
  <pre>
804
804
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 37</span>
805
805
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">data</span>)
@@ -813,7 +813,7 @@ Returns the number of bytes written.
813
813
  </div>
814
814
  <div class="method">
815
815
  <div class="title">
816
- <a name="M000466"></a><b>write</b>(path, data)
816
+ <a name="M000438"></a><b>write</b>(path, data)
817
817
  </div>
818
818
  <div class="description">
819
819
  <p>
@@ -828,8 +828,8 @@ Returns the number of bytes written.
828
828
  </pre>
829
829
  </div>
830
830
  <div class="sourcecode">
831
- <p class="source-link">[ <a href="javascript:toggleSource('M000466_source')" id="l_M000466_source">show source</a> ]</p>
832
- <div id="M000466_source" class="dyn-source">
831
+ <p class="source-link">[ <a href="javascript:toggleSource('M000438_source')" id="l_M000438_source">show source</a> ]</p>
832
+ <div id="M000438_source" class="dyn-source">
833
833
  <pre>
834
834
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 37</span>
835
835
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">data</span>)
@@ -843,7 +843,7 @@ Returns the number of bytes written.
843
843
  </div>
844
844
  <div class="method">
845
845
  <div class="title">
846
- <a name="M000467"></a><b>writelines</b>(path, data)
846
+ <a name="M000439"></a><b>writelines</b>(path, data)
847
847
  </div>
848
848
  <div class="description">
849
849
  <p>
@@ -854,9 +854,9 @@ Ruby.
854
854
  <p>
855
855
  Note that <tt>readlines</tt> (the standard Ruby method) returns an array of
856
856
  lines <em>with newlines intact</em>, whereas <tt><a
857
- href="File.html#M000456">writelines</a></tt> uses <tt>puts</tt>, and so
857
+ href="File.html#M000428">writelines</a></tt> uses <tt>puts</tt>, and so
858
858
  appends newlines if necessary. In this small way, <tt>readlines</tt> and
859
- <tt><a href="File.html#M000456">writelines</a></tt> are not exact
859
+ <tt><a href="File.html#M000428">writelines</a></tt> are not exact
860
860
  opposites.
861
861
  </p>
862
862
  <p>
@@ -868,8 +868,8 @@ Returns <tt>nil</tt>.
868
868
  </pre>
869
869
  </div>
870
870
  <div class="sourcecode">
871
- <p class="source-link">[ <a href="javascript:toggleSource('M000467_source')" id="l_M000467_source">show source</a> ]</p>
872
- <div id="M000467_source" class="dyn-source">
871
+ <p class="source-link">[ <a href="javascript:toggleSource('M000439_source')" id="l_M000439_source">show source</a> ]</p>
872
+ <div id="M000439_source" class="dyn-source">
873
873
  <pre>
874
874
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 57</span>
875
875
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">writelines</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">data</span>)
@@ -883,7 +883,7 @@ Returns <tt>nil</tt>.
883
883
  </div>
884
884
  <div class="method">
885
885
  <div class="title">
886
- <a name="M000456"></a><b>writelines</b>(path, data)
886
+ <a name="M000428"></a><b>writelines</b>(path, data)
887
887
  </div>
888
888
  <div class="description">
889
889
  <p>
@@ -894,9 +894,9 @@ Ruby.
894
894
  <p>
895
895
  Note that <tt>readlines</tt> (the standard Ruby method) returns an array of
896
896
  lines <em>with newlines intact</em>, whereas <tt><a
897
- href="File.html#M000456">writelines</a></tt> uses <tt>puts</tt>, and so
897
+ href="File.html#M000428">writelines</a></tt> uses <tt>puts</tt>, and so
898
898
  appends newlines if necessary. In this small way, <tt>readlines</tt> and
899
- <tt><a href="File.html#M000456">writelines</a></tt> are not exact
899
+ <tt><a href="File.html#M000428">writelines</a></tt> are not exact
900
900
  opposites.
901
901
  </p>
902
902
  <p>
@@ -908,8 +908,8 @@ Returns <tt>nil</tt>.
908
908
  </pre>
909
909
  </div>
910
910
  <div class="sourcecode">
911
- <p class="source-link">[ <a href="javascript:toggleSource('M000456_source')" id="l_M000456_source">show source</a> ]</p>
912
- <div id="M000456_source" class="dyn-source">
911
+ <p class="source-link">[ <a href="javascript:toggleSource('M000428_source')" id="l_M000428_source">show source</a> ]</p>
912
+ <div id="M000428_source" class="dyn-source">
913
913
  <pre>
914
914
  <span class="ruby-comment cmt"># File lib/core/facets/file/write.rb, line 57</span>
915
915
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">writelines</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">data</span>)