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
@@ -93,15 +93,15 @@ file is represented by a object which is populated with strings.
93
93
 
94
94
  <div class="sectiontitle">Methods</div>
95
95
  <ul>
96
- <li><a href="#M000401">[]</a></li>
97
- <li><a href="#M000402">[]=</a></li>
98
- <li><a href="#M000400">new</a></li>
99
- <li><a href="#M000406">read_comment_from_file</a></li>
100
- <li><a href="#M000405">read_from_file</a></li>
101
- <li><a href="#M000403">restore</a></li>
102
- <li><a href="#M000408">to_s</a></li>
103
- <li><a href="#M000404">update</a></li>
104
- <li><a href="#M000407">write_to_file</a></li>
96
+ <li><a href="#M000411">[]</a></li>
97
+ <li><a href="#M000412">[]=</a></li>
98
+ <li><a href="#M000410">new</a></li>
99
+ <li><a href="#M000416">read_comment_from_file</a></li>
100
+ <li><a href="#M000415">read_from_file</a></li>
101
+ <li><a href="#M000413">restore</a></li>
102
+ <li><a href="#M000418">to_s</a></li>
103
+ <li><a href="#M000414">update</a></li>
104
+ <li><a href="#M000417">write_to_file</a></li>
105
105
  </ul>
106
106
 
107
107
 
@@ -137,11 +137,11 @@ holds the comments on the top of the file
137
137
  <div class="sectiontitle">Public Class methods</div>
138
138
  <div class="method">
139
139
  <div class="title">
140
- <a name="M000400"></a><b>new</b>(path, load=nil)
140
+ <a name="M000410"></a><b>new</b>(path, load=nil)
141
141
  </div>
142
142
  <div class="description">
143
143
  <p>
144
- Creating a <a href="Ini.html#M000400">new</a> <a href="Ini.html">Ini</a>
144
+ Creating a <a href="Ini.html#M000410">new</a> <a href="Ini.html">Ini</a>
145
145
  object
146
146
  </p>
147
147
  <p>
@@ -154,8 +154,8 @@ data if possible
154
154
  </pre>
155
155
  </div>
156
156
  <div class="sourcecode">
157
- <p class="source-link">[ <a href="javascript:toggleSource('M000400_source')" id="l_M000400_source">show source</a> ]</p>
158
- <div id="M000400_source" class="dyn-source">
157
+ <p class="source-link">[ <a href="javascript:toggleSource('M000410_source')" id="l_M000410_source">show source</a> ]</p>
158
+ <div id="M000410_source" class="dyn-source">
159
159
  <pre>
160
160
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 105</span>
161
161
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">load</span>=<span class="ruby-keyword kw">nil</span>)
@@ -172,7 +172,7 @@ data if possible
172
172
  </div>
173
173
  <div class="method">
174
174
  <div class="title">
175
- <a name="M000406"></a><b>read_comment_from_file</b>(path)
175
+ <a name="M000416"></a><b>read_comment_from_file</b>(path)
176
176
  </div>
177
177
  <div class="description">
178
178
  <p>
@@ -186,8 +186,8 @@ Returns a string with comments from the beginning of the ini file.
186
186
  </p>
187
187
  </div>
188
188
  <div class="sourcecode">
189
- <p class="source-link">[ <a href="javascript:toggleSource('M000406_source')" id="l_M000406_source">show source</a> ]</p>
190
- <div id="M000406_source" class="dyn-source">
189
+ <p class="source-link">[ <a href="javascript:toggleSource('M000416_source')" id="l_M000416_source">show source</a> ]</p>
190
+ <div id="M000416_source" class="dyn-source">
191
191
  <pre>
192
192
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 198</span>
193
193
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">read_comment_from_file</span>(<span class="ruby-identifier">path</span>)
@@ -208,7 +208,7 @@ Returns a string with comments from the beginning of the ini file.
208
208
  </div>
209
209
  <div class="method">
210
210
  <div class="title">
211
- <a name="M000405"></a><b>read_from_file</b>(path)
211
+ <a name="M000415"></a><b>read_from_file</b>(path)
212
212
  </div>
213
213
  <div class="description">
214
214
  <p>
@@ -222,8 +222,8 @@ returns a hash which represents the data from the file
222
222
  </p>
223
223
  </div>
224
224
  <div class="sourcecode">
225
- <p class="source-link">[ <a href="javascript:toggleSource('M000405_source')" id="l_M000405_source">show source</a> ]</p>
226
- <div id="M000405_source" class="dyn-source">
225
+ <p class="source-link">[ <a href="javascript:toggleSource('M000415_source')" id="l_M000415_source">show source</a> ]</p>
226
+ <div id="M000415_source" class="dyn-source">
227
227
  <pre>
228
228
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 153</span>
229
229
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">read_from_file</span>(<span class="ruby-identifier">path</span>)
@@ -268,7 +268,7 @@ returns a hash which represents the data from the file
268
268
  </div>
269
269
  <div class="method">
270
270
  <div class="title">
271
- <a name="M000408"></a><b>to_s</b>(inihash={})
271
+ <a name="M000418"></a><b>to_s</b>(inihash={})
272
272
  </div>
273
273
  <div class="description">
274
274
  <p>
@@ -283,8 +283,8 @@ Returns a string in the ini file format.
283
283
  </p>
284
284
  </div>
285
285
  <div class="sourcecode">
286
- <p class="source-link">[ <a href="javascript:toggleSource('M000408_source')" id="l_M000408_source">show source</a> ]</p>
287
- <div id="M000408_source" class="dyn-source">
286
+ <p class="source-link">[ <a href="javascript:toggleSource('M000418_source')" id="l_M000418_source">show source</a> ]</p>
287
+ <div id="M000418_source" class="dyn-source">
288
288
  <pre>
289
289
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 243</span>
290
290
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">to_s</span>(<span class="ruby-identifier">inihash</span>={})
@@ -312,7 +312,7 @@ Returns a string in the ini file format.
312
312
  </div>
313
313
  <div class="method">
314
314
  <div class="title">
315
- <a name="M000407"></a><b>write_to_file</b>(path, inihash={}, comment=nil)
315
+ <a name="M000417"></a><b>write_to_file</b>(path, inihash={}, comment=nil)
316
316
  </div>
317
317
  <div class="description">
318
318
  <p>
@@ -329,8 +329,8 @@ string with comments which appear on the
329
329
  </pre>
330
330
  </div>
331
331
  <div class="sourcecode">
332
- <p class="source-link">[ <a href="javascript:toggleSource('M000407_source')" id="l_M000407_source">show source</a> ]</p>
333
- <div id="M000407_source" class="dyn-source">
332
+ <p class="source-link">[ <a href="javascript:toggleSource('M000417_source')" id="l_M000417_source">show source</a> ]</p>
333
+ <div id="M000417_source" class="dyn-source">
334
334
  <pre>
335
335
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 220</span>
336
336
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">write_to_file</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">inihash</span>={}, <span class="ruby-identifier">comment</span>=<span class="ruby-keyword kw">nil</span>)
@@ -355,7 +355,7 @@ string with comments which appear on the
355
355
  <div class="sectiontitle">Public Instance methods</div>
356
356
  <div class="method">
357
357
  <div class="title">
358
- <a name="M000401"></a><b>[]</b>(key)
358
+ <a name="M000411"></a><b>[]</b>(key)
359
359
  </div>
360
360
  <div class="description">
361
361
  <p>
@@ -363,8 +363,8 @@ Retrive the ini data for the key <tt>key</tt>
363
363
  </p>
364
364
  </div>
365
365
  <div class="sourcecode">
366
- <p class="source-link">[ <a href="javascript:toggleSource('M000401_source')" id="l_M000401_source">show source</a> ]</p>
367
- <div id="M000401_source" class="dyn-source">
366
+ <p class="source-link">[ <a href="javascript:toggleSource('M000411_source')" id="l_M000411_source">show source</a> ]</p>
367
+ <div id="M000411_source" class="dyn-source">
368
368
  <pre>
369
369
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 117</span>
370
370
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">key</span>)
@@ -376,7 +376,7 @@ Retrive the ini data for the key <tt>key</tt>
376
376
  </div>
377
377
  <div class="method">
378
378
  <div class="title">
379
- <a name="M000402"></a><b>[]=</b>(key, value)
379
+ <a name="M000412"></a><b>[]=</b>(key, value)
380
380
  </div>
381
381
  <div class="description">
382
382
  <p>
@@ -384,8 +384,8 @@ Set the ini data for the key <tt>key</tt>
384
384
  </p>
385
385
  </div>
386
386
  <div class="sourcecode">
387
- <p class="source-link">[ <a href="javascript:toggleSource('M000402_source')" id="l_M000402_source">show source</a> ]</p>
388
- <div id="M000402_source" class="dyn-source">
387
+ <p class="source-link">[ <a href="javascript:toggleSource('M000412_source')" id="l_M000412_source">show source</a> ]</p>
388
+ <div id="M000412_source" class="dyn-source">
389
389
  <pre>
390
390
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 124</span>
391
391
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)
@@ -400,7 +400,7 @@ Set the ini data for the key <tt>key</tt>
400
400
  </div>
401
401
  <div class="method">
402
402
  <div class="title">
403
- <a name="M000403"></a><b>restore</b>()
403
+ <a name="M000413"></a><b>restore</b>()
404
404
  </div>
405
405
  <div class="description">
406
406
  <p>
@@ -408,8 +408,8 @@ Restores the data from file into the object
408
408
  </p>
409
409
  </div>
410
410
  <div class="sourcecode">
411
- <p class="source-link">[ <a href="javascript:toggleSource('M000403_source')" id="l_M000403_source">show source</a> ]</p>
412
- <div id="M000403_source" class="dyn-source">
411
+ <p class="source-link">[ <a href="javascript:toggleSource('M000413_source')" id="l_M000413_source">show source</a> ]</p>
412
+ <div id="M000413_source" class="dyn-source">
413
413
  <pre>
414
414
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 134</span>
415
415
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore</span>()
@@ -422,7 +422,7 @@ Restores the data from file into the object
422
422
  </div>
423
423
  <div class="method">
424
424
  <div class="title">
425
- <a name="M000404"></a><b>update</b>()
425
+ <a name="M000414"></a><b>update</b>()
426
426
  </div>
427
427
  <div class="description">
428
428
  <p>
@@ -430,8 +430,8 @@ Store data from the object in the file
430
430
  </p>
431
431
  </div>
432
432
  <div class="sourcecode">
433
- <p class="source-link">[ <a href="javascript:toggleSource('M000404_source')" id="l_M000404_source">show source</a> ]</p>
434
- <div id="M000404_source" class="dyn-source">
433
+ <p class="source-link">[ <a href="javascript:toggleSource('M000414_source')" id="l_M000414_source">show source</a> ]</p>
434
+ <div id="M000414_source" class="dyn-source">
435
435
  <pre>
436
436
  <span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 142</span>
437
437
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>()
@@ -75,7 +75,7 @@ Initialize modules, almost as if they were classes.
75
75
  </p>
76
76
  <p>
77
77
  Alows a module to be used much like a class, by defining a <a
78
- href="Instantiable.html#M000912">new</a> method that creates a class on
78
+ href="Instantiable.html#M000916">new</a> method that creates a class on
79
79
  demand.
80
80
  </p>
81
81
  </div>
@@ -84,8 +84,8 @@ demand.
84
84
 
85
85
  <div class="sectiontitle">Methods</div>
86
86
  <ul>
87
- <li><a href="#M000911">append_features</a></li>
88
- <li><a href="#M000912">new</a></li>
87
+ <li><a href="#M000915">append_features</a></li>
88
+ <li><a href="#M000916">new</a></li>
89
89
  </ul>
90
90
 
91
91
 
@@ -96,11 +96,11 @@ demand.
96
96
  <div class="sectiontitle">Public Class methods</div>
97
97
  <div class="method">
98
98
  <div class="title">
99
- <a name="M000911"></a><b>append_features</b>(mod)
99
+ <a name="M000915"></a><b>append_features</b>(mod)
100
100
  </div>
101
101
  <div class="sourcecode">
102
- <p class="source-link">[ <a href="javascript:toggleSource('M000911_source')" id="l_M000911_source">show source</a> ]</p>
103
- <div id="M000911_source" class="dyn-source">
102
+ <p class="source-link">[ <a href="javascript:toggleSource('M000915_source')" id="l_M000915_source">show source</a> ]</p>
103
+ <div id="M000915_source" class="dyn-source">
104
104
  <pre>
105
105
  <span class="ruby-comment cmt"># File lib/more/facets/instantiable.rb, line 32</span>
106
106
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
@@ -113,7 +113,7 @@ demand.
113
113
  <div class="sectiontitle">Public Instance methods</div>
114
114
  <div class="method">
115
115
  <div class="title">
116
- <a name="M000912"></a><b>new</b>(*args,&amp;blk)
116
+ <a name="M000916"></a><b>new</b>(*args,&amp;blk)
117
117
  </div>
118
118
  <div class="description">
119
119
  <p>
@@ -121,8 +121,8 @@ Never use a class agian! ;)
121
121
  </p>
122
122
  </div>
123
123
  <div class="sourcecode">
124
- <p class="source-link">[ <a href="javascript:toggleSource('M000912_source')" id="l_M000912_source">show source</a> ]</p>
125
- <div id="M000912_source" class="dyn-source">
124
+ <p class="source-link">[ <a href="javascript:toggleSource('M000916_source')" id="l_M000916_source">show source</a> ]</p>
125
+ <div id="M000916_source" class="dyn-source">
126
126
  <pre>
127
127
  <span class="ruby-comment cmt"># File lib/more/facets/instantiable.rb, line 38</span>
128
128
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -105,8 +105,8 @@ name is probably still out there.
105
105
 
106
106
  <div class="sectiontitle">Methods</div>
107
107
  <ul>
108
- <li><a href="#M000849">append_features</a></li>
109
- <li><a href="#M000850">singleton_method_added</a></li>
108
+ <li><a href="#M000853">append_features</a></li>
109
+ <li><a href="#M000854">singleton_method_added</a></li>
110
110
  </ul>
111
111
 
112
112
 
@@ -117,11 +117,11 @@ name is probably still out there.
117
117
  <div class="sectiontitle">Public Class methods</div>
118
118
  <div class="method">
119
119
  <div class="title">
120
- <a name="M000849"></a><b>append_features</b>(mod)
120
+ <a name="M000853"></a><b>append_features</b>(mod)
121
121
  </div>
122
122
  <div class="sourcecode">
123
- <p class="source-link">[ <a href="javascript:toggleSource('M000849_source')" id="l_M000849_source">show source</a> ]</p>
124
- <div id="M000849_source" class="dyn-source">
123
+ <p class="source-link">[ <a href="javascript:toggleSource('M000853_source')" id="l_M000853_source">show source</a> ]</p>
124
+ <div id="M000853_source" class="dyn-source">
125
125
  <pre>
126
126
  <span class="ruby-comment cmt"># File lib/more/facets/instantise.rb, line 77</span>
127
127
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
@@ -134,11 +134,11 @@ name is probably still out there.
134
134
  <div class="sectiontitle">Public Instance methods</div>
135
135
  <div class="method">
136
136
  <div class="title">
137
- <a name="M000850"></a><b>singleton_method_added</b>( meth )
137
+ <a name="M000854"></a><b>singleton_method_added</b>( meth )
138
138
  </div>
139
139
  <div class="sourcecode">
140
- <p class="source-link">[ <a href="javascript:toggleSource('M000850_source')" id="l_M000850_source">show source</a> ]</p>
141
- <div id="M000850_source" class="dyn-source">
140
+ <p class="source-link">[ <a href="javascript:toggleSource('M000854_source')" id="l_M000854_source">show source</a> ]</p>
141
+ <div id="M000854_source" class="dyn-source">
142
142
  <pre>
143
143
  <span class="ruby-comment cmt"># File lib/more/facets/instantise.rb, line 81</span>
144
144
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_added</span>( <span class="ruby-identifier">meth</span> )
@@ -115,42 +115,42 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
115
115
 
116
116
  <div class="sectiontitle">Methods</div>
117
117
  <ul>
118
- <li><a href="#M000527">+@</a></li>
119
- <li><a href="#M000528">-@</a></li>
120
- <li><a href="#M000537">===</a></li>
121
- <li><a href="#M000506">[]</a></li>
122
- <li><a href="#M000513">begin</a></li>
123
- <li><a href="#M000520">closed</a></li>
124
- <li><a href="#M000517">degenerate?</a></li>
125
- <li><a href="#M000519">direction</a></li>
126
- <li><a href="#M000531">distance</a></li>
127
- <li><a href="#M000539">each</a></li>
128
- <li><a href="#M000514">end</a></li>
129
- <li><a href="#M000541">eql?</a></li>
130
- <li><a href="#M000515">exclude_begin?</a></li>
131
- <li><a href="#M000516">exclude_end?</a></li>
132
- <li><a href="#M000511">exclude_first?</a></li>
133
- <li><a href="#M000512">exclude_last?</a></li>
134
- <li><a href="#M000509">first</a></li>
135
- <li><a href="#M000523">first_closed</a></li>
136
- <li><a href="#M000525">first_opened</a></li>
137
- <li><a href="#M000522">half_closed</a></li>
138
- <li><a href="#M000536">include?</a></li>
139
- <li><a href="#M000510">last</a></li>
140
- <li><a href="#M000524">last_closed</a></li>
141
- <li><a href="#M000526">last_opened</a></li>
142
- <li><a href="#M000532">length</a></li>
143
- <li><a href="#M000535">max</a></li>
144
- <li><a href="#M000538">member?</a></li>
145
- <li><a href="#M000534">min</a></li>
146
- <li><a href="#M000507">new</a></li>
147
- <li><a href="#M000518">null?</a></li>
148
- <li><a href="#M000521">opened</a></li>
149
- <li><a href="#M000530">reversed</a></li>
150
- <li><a href="#M000508">sentinels</a></li>
151
- <li><a href="#M000533">size</a></li>
152
- <li><a href="#M000540">step</a></li>
153
- <li><a href="#M000529">~</a></li>
118
+ <li><a href="#M000537">+@</a></li>
119
+ <li><a href="#M000538">-@</a></li>
120
+ <li><a href="#M000547">===</a></li>
121
+ <li><a href="#M000516">[]</a></li>
122
+ <li><a href="#M000523">begin</a></li>
123
+ <li><a href="#M000530">closed</a></li>
124
+ <li><a href="#M000527">degenerate?</a></li>
125
+ <li><a href="#M000529">direction</a></li>
126
+ <li><a href="#M000541">distance</a></li>
127
+ <li><a href="#M000549">each</a></li>
128
+ <li><a href="#M000524">end</a></li>
129
+ <li><a href="#M000551">eql?</a></li>
130
+ <li><a href="#M000525">exclude_begin?</a></li>
131
+ <li><a href="#M000526">exclude_end?</a></li>
132
+ <li><a href="#M000521">exclude_first?</a></li>
133
+ <li><a href="#M000522">exclude_last?</a></li>
134
+ <li><a href="#M000519">first</a></li>
135
+ <li><a href="#M000533">first_closed</a></li>
136
+ <li><a href="#M000535">first_opened</a></li>
137
+ <li><a href="#M000532">half_closed</a></li>
138
+ <li><a href="#M000546">include?</a></li>
139
+ <li><a href="#M000520">last</a></li>
140
+ <li><a href="#M000534">last_closed</a></li>
141
+ <li><a href="#M000536">last_opened</a></li>
142
+ <li><a href="#M000542">length</a></li>
143
+ <li><a href="#M000545">max</a></li>
144
+ <li><a href="#M000548">member?</a></li>
145
+ <li><a href="#M000544">min</a></li>
146
+ <li><a href="#M000517">new</a></li>
147
+ <li><a href="#M000528">null?</a></li>
148
+ <li><a href="#M000531">opened</a></li>
149
+ <li><a href="#M000540">reversed</a></li>
150
+ <li><a href="#M000518">sentinels</a></li>
151
+ <li><a href="#M000543">size</a></li>
152
+ <li><a href="#M000550">step</a></li>
153
+ <li><a href="#M000539">~</a></li>
154
154
  </ul>
155
155
 
156
156
  <div class="sectiontitle">Included Modules</div>
@@ -166,11 +166,11 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
166
166
  <div class="sectiontitle">Public Class methods</div>
167
167
  <div class="method">
168
168
  <div class="title">
169
- <a name="M000506"></a><b>[]</b>( *args )
169
+ <a name="M000516"></a><b>[]</b>( *args )
170
170
  </div>
171
171
  <div class="sourcecode">
172
- <p class="source-link">[ <a href="javascript:toggleSource('M000506_source')" id="l_M000506_source">show source</a> ]</p>
173
- <div id="M000506_source" class="dyn-source">
172
+ <p class="source-link">[ <a href="javascript:toggleSource('M000516_source')" id="l_M000516_source">show source</a> ]</p>
173
+ <div id="M000516_source" class="dyn-source">
174
174
  <pre>
175
175
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 89</span>
176
176
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-operator">[]</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
@@ -182,11 +182,11 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
182
182
  </div>
183
183
  <div class="method">
184
184
  <div class="title">
185
- <a name="M000507"></a><b>new</b>(first, last, exclude_first=false, exclude_last=false )
185
+ <a name="M000517"></a><b>new</b>(first, last, exclude_first=false, exclude_last=false )
186
186
  </div>
187
187
  <div class="sourcecode">
188
- <p class="source-link">[ <a href="javascript:toggleSource('M000507_source')" id="l_M000507_source">show source</a> ]</p>
189
- <div id="M000507_source" class="dyn-source">
188
+ <p class="source-link">[ <a href="javascript:toggleSource('M000517_source')" id="l_M000517_source">show source</a> ]</p>
189
+ <div id="M000517_source" class="dyn-source">
190
190
  <pre>
191
191
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 93</span>
192
192
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-identifier">exclude_first</span>=<span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">exclude_last</span>=<span class="ruby-keyword kw">false</span> )
@@ -204,19 +204,19 @@ href="Interval.html">Interval</a> depends on #+ and #&lt;=&gt;, as well as
204
204
  <div class="sectiontitle">Public Instance methods</div>
205
205
  <div class="method">
206
206
  <div class="title">
207
- <a name="M000527"></a><b>+@</b>()
207
+ <a name="M000537"></a><b>+@</b>()
208
208
  </div>
209
209
  <div class="description">
210
210
  <p>
211
- Unary shorthands. These return a <a href="Interval.html#M000507">new</a>
212
- interval exclusive of <a href="Interval.html#M000509">first</a>, <a
213
- href="Interval.html#M000510">last</a> or both <a
214
- href="Interval.html#M000508">sentinels</a>, repectively.
211
+ Unary shorthands. These return a <a href="Interval.html#M000517">new</a>
212
+ interval exclusive of <a href="Interval.html#M000519">first</a>, <a
213
+ href="Interval.html#M000520">last</a> or both <a
214
+ href="Interval.html#M000518">sentinels</a>, repectively.
215
215
  </p>
216
216
  </div>
217
217
  <div class="sourcecode">
218
- <p class="source-link">[ <a href="javascript:toggleSource('M000527_source')" id="l_M000527_source">show source</a> ]</p>
219
- <div id="M000527_source" class="dyn-source">
218
+ <p class="source-link">[ <a href="javascript:toggleSource('M000537_source')" id="l_M000537_source">show source</a> ]</p>
219
+ <div id="M000537_source" class="dyn-source">
220
220
  <pre>
221
221
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 159</span>
222
222
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
@@ -226,11 +226,11 @@ href="Interval.html#M000508">sentinels</a>, repectively.
226
226
  </div>
227
227
  <div class="method">
228
228
  <div class="title">
229
- <a name="M000528"></a><b>-@</b>()
229
+ <a name="M000538"></a><b>-@</b>()
230
230
  </div>
231
231
  <div class="sourcecode">
232
- <p class="source-link">[ <a href="javascript:toggleSource('M000528_source')" id="l_M000528_source">show source</a> ]</p>
233
- <div id="M000528_source" class="dyn-source">
232
+ <p class="source-link">[ <a href="javascript:toggleSource('M000538_source')" id="l_M000538_source">show source</a> ]</p>
233
+ <div id="M000538_source" class="dyn-source">
234
234
  <pre>
235
235
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 160</span>
236
236
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -240,7 +240,7 @@ href="Interval.html#M000508">sentinels</a>, repectively.
240
240
  </div>
241
241
  <div class="method">
242
242
  <div class="title">
243
- <a name="M000537"></a><b>===</b>(x)
243
+ <a name="M000547"></a><b>===</b>(x)
244
244
  </div>
245
245
  <div class="description">
246
246
  <p>
@@ -250,27 +250,27 @@ Alias for include?
250
250
  </div>
251
251
  <div class="method">
252
252
  <div class="title">
253
- <a name="M000513"></a><b>begin</b>()
253
+ <a name="M000523"></a><b>begin</b>()
254
254
  </div>
255
255
  <div class="description">
256
256
  <p>
257
- Alias for <a href="Interval.html#M000509">first</a>
257
+ Alias for <a href="Interval.html#M000519">first</a>
258
258
  </p>
259
259
  </div>
260
260
  </div>
261
261
  <div class="method">
262
262
  <div class="title">
263
- <a name="M000520"></a><b>closed</b>()
263
+ <a name="M000530"></a><b>closed</b>()
264
264
  </div>
265
265
  <div class="description">
266
266
  <p>
267
- Returns a <a href="Interval.html#M000507">new</a> interval inclusive of of
268
- both <a href="Interval.html#M000508">sentinels</a>.
267
+ Returns a <a href="Interval.html#M000517">new</a> interval inclusive of of
268
+ both <a href="Interval.html#M000518">sentinels</a>.
269
269
  </p>
270
270
  </div>
271
271
  <div class="sourcecode">
272
- <p class="source-link">[ <a href="javascript:toggleSource('M000520_source')" id="l_M000520_source">show source</a> ]</p>
273
- <div id="M000520_source" class="dyn-source">
272
+ <p class="source-link">[ <a href="javascript:toggleSource('M000530_source')" id="l_M000530_source">show source</a> ]</p>
273
+ <div id="M000530_source" class="dyn-source">
274
274
  <pre>
275
275
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 139</span>
276
276
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">closed</span>; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -280,19 +280,19 @@ both <a href="Interval.html#M000508">sentinels</a>.
280
280
  </div>
281
281
  <div class="method">
282
282
  <div class="title">
283
- <a name="M000517"></a><b>degenerate?</b>()
283
+ <a name="M000527"></a><b>degenerate?</b>()
284
284
  </div>
285
285
  <div class="description">
286
286
  <p>
287
287
  Returns <tt>true</tt> if the start and <a
288
- href="Interval.html#M000514">end</a> <a
289
- href="Interval.html#M000508">sentinels</a> are equal and the interval is <a
290
- href="Interval.html#M000520">closed</a>; otherwise <tt>false</tt>.
288
+ href="Interval.html#M000524">end</a> <a
289
+ href="Interval.html#M000518">sentinels</a> are equal and the interval is <a
290
+ href="Interval.html#M000530">closed</a>; otherwise <tt>false</tt>.
291
291
  </p>
292
292
  </div>
293
293
  <div class="sourcecode">
294
- <p class="source-link">[ <a href="javascript:toggleSource('M000517_source')" id="l_M000517_source">show source</a> ]</p>
295
- <div id="M000517_source" class="dyn-source">
294
+ <p class="source-link">[ <a href="javascript:toggleSource('M000527_source')" id="l_M000527_source">show source</a> ]</p>
295
+ <div id="M000527_source" class="dyn-source">
296
296
  <pre>
297
297
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 125</span>
298
298
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">degenerate?</span> ; <span class="ruby-ivar">@direction</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">and</span> <span class="ruby-operator">!</span> (<span class="ruby-ivar">@exclusive_first</span> <span class="ruby-keyword kw">or</span> <span class="ruby-ivar">@exclusive_last</span>) ; <span class="ruby-keyword kw">end</span>
@@ -302,11 +302,11 @@ href="Interval.html#M000520">closed</a>; otherwise <tt>false</tt>.
302
302
  </div>
303
303
  <div class="method">
304
304
  <div class="title">
305
- <a name="M000519"></a><b>direction</b>()
305
+ <a name="M000529"></a><b>direction</b>()
306
306
  </div>
307
307
  <div class="description">
308
308
  <p>
309
- Returns the <a href="Interval.html#M000519">direction</a> of the interval
309
+ Returns the <a href="Interval.html#M000529">direction</a> of the interval
310
310
  indicated by +1, 0 or -1.
311
311
  </p>
312
312
  <pre>
@@ -316,8 +316,8 @@ indicated by +1, 0 or -1.
316
316
  </pre>
317
317
  </div>
318
318
  <div class="sourcecode">
319
- <p class="source-link">[ <a href="javascript:toggleSource('M000519_source')" id="l_M000519_source">show source</a> ]</p>
320
- <div id="M000519_source" class="dyn-source">
319
+ <p class="source-link">[ <a href="javascript:toggleSource('M000529_source')" id="l_M000529_source">show source</a> ]</p>
320
+ <div id="M000529_source" class="dyn-source">
321
321
  <pre>
322
322
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 136</span>
323
323
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">direction</span> ; <span class="ruby-ivar">@direction</span> ; <span class="ruby-keyword kw">end</span>
@@ -327,28 +327,28 @@ indicated by +1, 0 or -1.
327
327
  </div>
328
328
  <div class="method">
329
329
  <div class="title">
330
- <a name="M000531"></a><b>distance</b>()
330
+ <a name="M000541"></a><b>distance</b>()
331
331
  </div>
332
332
  <div class="description">
333
333
  <p>
334
- Returns the <a href="Interval.html#M000532">length</a> of the interval as
335
- the difference between the <a href="Interval.html#M000509">first</a> and <a
336
- href="Interval.html#M000510">last</a> elements. Returns <tt>nil</tt> if the
334
+ Returns the <a href="Interval.html#M000542">length</a> of the interval as
335
+ the difference between the <a href="Interval.html#M000519">first</a> and <a
336
+ href="Interval.html#M000520">last</a> elements. Returns <tt>nil</tt> if the
337
337
  sentinal objects do not support <a
338
- href="Interval.html#M000531">distance</a> comparison (<a
339
- href="Interval.html#M000531">distance</a>). TODO: Add <tt>n</tt> parameter
338
+ href="Interval.html#M000541">distance</a> comparison (<a
339
+ href="Interval.html#M000541">distance</a>). TODO: Add <tt>n</tt> parameter
340
340
  to count segmentations like those produced by <a
341
- href="Interval.html#M000539">each</a>.
341
+ href="Interval.html#M000549">each</a>.
342
342
  </p>
343
343
  </div>
344
344
  <div class="aka">
345
345
  This method is also aliased as
346
- <a href="Interval.html#M000532">length</a>
347
- <a href="Interval.html#M000533">size</a>
346
+ <a href="Interval.html#M000542">length</a>
347
+ <a href="Interval.html#M000543">size</a>
348
348
  </div>
349
349
  <div class="sourcecode">
350
- <p class="source-link">[ <a href="javascript:toggleSource('M000531_source')" id="l_M000531_source">show source</a> ]</p>
351
- <div id="M000531_source" class="dyn-source">
350
+ <p class="source-link">[ <a href="javascript:toggleSource('M000541_source')" id="l_M000541_source">show source</a> ]</p>
351
+ <div id="M000541_source" class="dyn-source">
352
352
  <pre>
353
353
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 175</span>
354
354
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">distance</span>
@@ -365,20 +365,20 @@ href="Interval.html#M000539">each</a>.
365
365
  </div>
366
366
  <div class="method">
367
367
  <div class="title">
368
- <a name="M000539"></a><b>each</b>(n=1, d=nil) {|| ...}
368
+ <a name="M000549"></a><b>each</b>(n=1, d=nil) {|| ...}
369
369
  </div>
370
370
  <div class="description">
371
371
  <p>
372
372
  Iterates over the interval, passing <a
373
- href="Interval.html#M000539">each</a> _n_th element to the block. If n is
373
+ href="Interval.html#M000549">each</a> _n_th element to the block. If n is
374
374
  not given then n defaults to 1. Each _n_th <a
375
- href="Interval.html#M000540">step</a> is determined by invoking +++ or +\-+
376
- n, depending on the <a href="Interval.html#M000519">direction</a> of the
375
+ href="Interval.html#M000550">step</a> is determined by invoking +++ or +\-+
376
+ n, depending on the <a href="Interval.html#M000529">direction</a> of the
377
377
  interval. If n is negative the iteration is preformed in reverse form <a
378
- href="Interval.html#M000514">end</a> sentinal to front sentinal. A second
378
+ href="Interval.html#M000524">end</a> sentinal to front sentinal. A second
379
379
  parameter, d, can be given in which case the applied <a
380
- href="Interval.html#M000540">step</a> is calculated as a fraction of the
381
- interval&#8216;s <a href="Interval.html#M000532">length</a> times n / d.
380
+ href="Interval.html#M000550">step</a> is calculated as a fraction of the
381
+ interval&#8216;s <a href="Interval.html#M000542">length</a> times n / d.
382
382
  This allows iteration over the whole interval in equal sized segments.
383
383
  </p>
384
384
  <pre>
@@ -389,11 +389,11 @@ This allows iteration over the whole interval in equal sized segments.
389
389
  </div>
390
390
  <div class="aka">
391
391
  This method is also aliased as
392
- <a href="Interval.html#M000540">step</a>
392
+ <a href="Interval.html#M000550">step</a>
393
393
  </div>
394
394
  <div class="sourcecode">
395
- <p class="source-link">[ <a href="javascript:toggleSource('M000539_source')" id="l_M000539_source">show source</a> ]</p>
396
- <div id="M000539_source" class="dyn-source">
395
+ <p class="source-link">[ <a href="javascript:toggleSource('M000549_source')" id="l_M000549_source">show source</a> ]</p>
396
+ <div id="M000549_source" class="dyn-source">
397
397
  <pre>
398
398
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 239</span>
399
399
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">d</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt"># :yield:</span>
@@ -429,17 +429,17 @@ This allows iteration over the whole interval in equal sized segments.
429
429
  </div>
430
430
  <div class="method">
431
431
  <div class="title">
432
- <a name="M000514"></a><b>end</b>()
432
+ <a name="M000524"></a><b>end</b>()
433
433
  </div>
434
434
  <div class="description">
435
435
  <p>
436
- Alias for <a href="Interval.html#M000510">last</a>
436
+ Alias for <a href="Interval.html#M000520">last</a>
437
437
  </p>
438
438
  </div>
439
439
  </div>
440
440
  <div class="method">
441
441
  <div class="title">
442
- <a name="M000541"></a><b>eql?</b>(other)
442
+ <a name="M000551"></a><b>eql?</b>(other)
443
443
  </div>
444
444
  <div class="description">
445
445
  <p>
@@ -447,8 +447,8 @@ Compares two intervals to see if they are equal
447
447
  </p>
448
448
  </div>
449
449
  <div class="sourcecode">
450
- <p class="source-link">[ <a href="javascript:toggleSource('M000541_source')" id="l_M000541_source">show source</a> ]</p>
451
- <div id="M000541_source" class="dyn-source">
450
+ <p class="source-link">[ <a href="javascript:toggleSource('M000551_source')" id="l_M000551_source">show source</a> ]</p>
451
+ <div id="M000551_source" class="dyn-source">
452
452
  <pre>
453
453
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 274</span>
454
454
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>(<span class="ruby-identifier">other</span>)
@@ -464,7 +464,7 @@ Compares two intervals to see if they are equal
464
464
  </div>
465
465
  <div class="method">
466
466
  <div class="title">
467
- <a name="M000515"></a><b>exclude_begin?</b>()
467
+ <a name="M000525"></a><b>exclude_begin?</b>()
468
468
  </div>
469
469
  <div class="description">
470
470
  <p>
@@ -474,7 +474,7 @@ Alias for exclude_first?
474
474
  </div>
475
475
  <div class="method">
476
476
  <div class="title">
477
- <a name="M000516"></a><b>exclude_end?</b>()
477
+ <a name="M000526"></a><b>exclude_end?</b>()
478
478
  </div>
479
479
  <div class="description">
480
480
  <p>
@@ -484,15 +484,15 @@ Alias for exclude_last?
484
484
  </div>
485
485
  <div class="method">
486
486
  <div class="title">
487
- <a name="M000511"></a><b>exclude_first?</b>()
487
+ <a name="M000521"></a><b>exclude_first?</b>()
488
488
  </div>
489
489
  <div class="aka">
490
490
  This method is also aliased as
491
- <a href="Interval.html#M000515">exclude_begin?</a>
491
+ <a href="Interval.html#M000525">exclude_begin?</a>
492
492
  </div>
493
493
  <div class="sourcecode">
494
- <p class="source-link">[ <a href="javascript:toggleSource('M000511_source')" id="l_M000511_source">show source</a> ]</p>
495
- <div id="M000511_source" class="dyn-source">
494
+ <p class="source-link">[ <a href="javascript:toggleSource('M000521_source')" id="l_M000521_source">show source</a> ]</p>
495
+ <div id="M000521_source" class="dyn-source">
496
496
  <pre>
497
497
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 115</span>
498
498
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude_first?</span> ; <span class="ruby-ivar">@exclude_first</span> ; <span class="ruby-keyword kw">end</span>
@@ -502,15 +502,15 @@ Alias for exclude_last?
502
502
  </div>
503
503
  <div class="method">
504
504
  <div class="title">
505
- <a name="M000512"></a><b>exclude_last?</b>()
505
+ <a name="M000522"></a><b>exclude_last?</b>()
506
506
  </div>
507
507
  <div class="aka">
508
508
  This method is also aliased as
509
- <a href="Interval.html#M000516">exclude_end?</a>
509
+ <a href="Interval.html#M000526">exclude_end?</a>
510
510
  </div>
511
511
  <div class="sourcecode">
512
- <p class="source-link">[ <a href="javascript:toggleSource('M000512_source')" id="l_M000512_source">show source</a> ]</p>
513
- <div id="M000512_source" class="dyn-source">
512
+ <p class="source-link">[ <a href="javascript:toggleSource('M000522_source')" id="l_M000522_source">show source</a> ]</p>
513
+ <div id="M000522_source" class="dyn-source">
514
514
  <pre>
515
515
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 116</span>
516
516
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude_last?</span> ; <span class="ruby-ivar">@exclude_last</span> ; <span class="ruby-keyword kw">end</span>
@@ -520,21 +520,21 @@ Alias for exclude_last?
520
520
  </div>
521
521
  <div class="method">
522
522
  <div class="title">
523
- <a name="M000509"></a><b>first</b>()
523
+ <a name="M000519"></a><b>first</b>()
524
524
  </div>
525
525
  <div class="description">
526
526
  <p>
527
- Returns the <a href="Interval.html#M000509">first</a> or <a
528
- href="Interval.html#M000510">last</a> sentinal of the interval.
527
+ Returns the <a href="Interval.html#M000519">first</a> or <a
528
+ href="Interval.html#M000520">last</a> sentinal of the interval.
529
529
  </p>
530
530
  </div>
531
531
  <div class="aka">
532
532
  This method is also aliased as
533
- <a href="Interval.html#M000513">begin</a>
533
+ <a href="Interval.html#M000523">begin</a>
534
534
  </div>
535
535
  <div class="sourcecode">
536
- <p class="source-link">[ <a href="javascript:toggleSource('M000509_source')" id="l_M000509_source">show source</a> ]</p>
537
- <div id="M000509_source" class="dyn-source">
536
+ <p class="source-link">[ <a href="javascript:toggleSource('M000519_source')" id="l_M000519_source">show source</a> ]</p>
537
+ <div id="M000519_source" class="dyn-source">
538
538
  <pre>
539
539
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 111</span>
540
540
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span> ; <span class="ruby-ivar">@first</span> ; <span class="ruby-keyword kw">end</span>
@@ -544,19 +544,19 @@ href="Interval.html#M000510">last</a> sentinal of the interval.
544
544
  </div>
545
545
  <div class="method">
546
546
  <div class="title">
547
- <a name="M000523"></a><b>first_closed</b>()
547
+ <a name="M000533"></a><b>first_closed</b>()
548
548
  </div>
549
549
  <div class="description">
550
550
  <p>
551
- Returns a <a href="Interval.html#M000507">new</a> interval with one of the
552
- two <a href="Interval.html#M000508">sentinels</a> <a
553
- href="Interval.html#M000521">opened</a> or <a
554
- href="Interval.html#M000520">closed</a>
551
+ Returns a <a href="Interval.html#M000517">new</a> interval with one of the
552
+ two <a href="Interval.html#M000518">sentinels</a> <a
553
+ href="Interval.html#M000531">opened</a> or <a
554
+ href="Interval.html#M000530">closed</a>
555
555
  </p>
556
556
  </div>
557
557
  <div class="sourcecode">
558
- <p class="source-link">[ <a href="javascript:toggleSource('M000523_source')" id="l_M000523_source">show source</a> ]</p>
559
- <div id="M000523_source" class="dyn-source">
558
+ <p class="source-link">[ <a href="javascript:toggleSource('M000533_source')" id="l_M000533_source">show source</a> ]</p>
559
+ <div id="M000533_source" class="dyn-source">
560
560
  <pre>
561
561
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 152</span>
562
562
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first_closed</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -566,11 +566,11 @@ href="Interval.html#M000520">closed</a>
566
566
  </div>
567
567
  <div class="method">
568
568
  <div class="title">
569
- <a name="M000525"></a><b>first_opened</b>()
569
+ <a name="M000535"></a><b>first_opened</b>()
570
570
  </div>
571
571
  <div class="sourcecode">
572
- <p class="source-link">[ <a href="javascript:toggleSource('M000525_source')" id="l_M000525_source">show source</a> ]</p>
573
- <div id="M000525_source" class="dyn-source">
572
+ <p class="source-link">[ <a href="javascript:toggleSource('M000535_source')" id="l_M000535_source">show source</a> ]</p>
573
+ <div id="M000535_source" class="dyn-source">
574
574
  <pre>
575
575
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 154</span>
576
576
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first_opened</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
@@ -580,21 +580,21 @@ href="Interval.html#M000520">closed</a>
580
580
  </div>
581
581
  <div class="method">
582
582
  <div class="title">
583
- <a name="M000522"></a><b>half_closed</b>(e=false)
583
+ <a name="M000532"></a><b>half_closed</b>(e=false)
584
584
  </div>
585
585
  <div class="description">
586
586
  <p>
587
- Returns a <a href="Interval.html#M000507">new</a> interval with either the
588
- <a href="Interval.html#M000509">first</a> or the <a
589
- href="Interval.html#M000510">last</a> sentinel exclusive. If the parameter
590
- is false, the deafult, then the <a href="Interval.html#M000509">first</a>
587
+ Returns a <a href="Interval.html#M000517">new</a> interval with either the
588
+ <a href="Interval.html#M000519">first</a> or the <a
589
+ href="Interval.html#M000520">last</a> sentinel exclusive. If the parameter
590
+ is false, the deafult, then the <a href="Interval.html#M000519">first</a>
591
591
  sentinel is excluded; if the parameter is true, the <a
592
- href="Interval.html#M000510">last</a> sentinel is excluded.
592
+ href="Interval.html#M000520">last</a> sentinel is excluded.
593
593
  </p>
594
594
  </div>
595
595
  <div class="sourcecode">
596
- <p class="source-link">[ <a href="javascript:toggleSource('M000522_source')" id="l_M000522_source">show source</a> ]</p>
597
- <div id="M000522_source" class="dyn-source">
596
+ <p class="source-link">[ <a href="javascript:toggleSource('M000532_source')" id="l_M000532_source">show source</a> ]</p>
597
+ <div id="M000532_source" class="dyn-source">
598
598
  <pre>
599
599
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 147</span>
600
600
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">half_closed</span>(<span class="ruby-identifier">e</span>=<span class="ruby-keyword kw">false</span>)
@@ -606,7 +606,7 @@ href="Interval.html#M000510">last</a> sentinel is excluded.
606
606
  </div>
607
607
  <div class="method">
608
608
  <div class="title">
609
- <a name="M000536"></a><b>include?</b>(x)
609
+ <a name="M000546"></a><b>include?</b>(x)
610
610
  </div>
611
611
  <div class="description">
612
612
  <p>
@@ -615,12 +615,12 @@ Returns true or false if the element is part of the interval.
615
615
  </div>
616
616
  <div class="aka">
617
617
  This method is also aliased as
618
- <a href="Interval.html#M000537">===</a>
619
- <a href="Interval.html#M000538">member?</a>
618
+ <a href="Interval.html#M000547">===</a>
619
+ <a href="Interval.html#M000548">member?</a>
620
620
  </div>
621
621
  <div class="sourcecode">
622
- <p class="source-link">[ <a href="javascript:toggleSource('M000536_source')" id="l_M000536_source">show source</a> ]</p>
623
- <div id="M000536_source" class="dyn-source">
622
+ <p class="source-link">[ <a href="javascript:toggleSource('M000546_source')" id="l_M000546_source">show source</a> ]</p>
623
+ <div id="M000546_source" class="dyn-source">
624
624
  <pre>
625
625
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 197</span>
626
626
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">x</span>)
@@ -635,15 +635,15 @@ Returns true or false if the element is part of the interval.
635
635
  </div>
636
636
  <div class="method">
637
637
  <div class="title">
638
- <a name="M000510"></a><b>last</b>()
638
+ <a name="M000520"></a><b>last</b>()
639
639
  </div>
640
640
  <div class="aka">
641
641
  This method is also aliased as
642
- <a href="Interval.html#M000514">end</a>
642
+ <a href="Interval.html#M000524">end</a>
643
643
  </div>
644
644
  <div class="sourcecode">
645
- <p class="source-link">[ <a href="javascript:toggleSource('M000510_source')" id="l_M000510_source">show source</a> ]</p>
646
- <div id="M000510_source" class="dyn-source">
645
+ <p class="source-link">[ <a href="javascript:toggleSource('M000520_source')" id="l_M000520_source">show source</a> ]</p>
646
+ <div id="M000520_source" class="dyn-source">
647
647
  <pre>
648
648
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 112</span>
649
649
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span> ; <span class="ruby-ivar">@last</span> ; <span class="ruby-keyword kw">end</span>
@@ -653,11 +653,11 @@ Returns true or false if the element is part of the interval.
653
653
  </div>
654
654
  <div class="method">
655
655
  <div class="title">
656
- <a name="M000524"></a><b>last_closed</b>()
656
+ <a name="M000534"></a><b>last_closed</b>()
657
657
  </div>
658
658
  <div class="sourcecode">
659
- <p class="source-link">[ <a href="javascript:toggleSource('M000524_source')" id="l_M000524_source">show source</a> ]</p>
660
- <div id="M000524_source" class="dyn-source">
659
+ <p class="source-link">[ <a href="javascript:toggleSource('M000534_source')" id="l_M000534_source">show source</a> ]</p>
660
+ <div id="M000534_source" class="dyn-source">
661
661
  <pre>
662
662
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 153</span>
663
663
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_closed</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
@@ -667,11 +667,11 @@ Returns true or false if the element is part of the interval.
667
667
  </div>
668
668
  <div class="method">
669
669
  <div class="title">
670
- <a name="M000526"></a><b>last_opened</b>()
670
+ <a name="M000536"></a><b>last_opened</b>()
671
671
  </div>
672
672
  <div class="sourcecode">
673
- <p class="source-link">[ <a href="javascript:toggleSource('M000526_source')" id="l_M000526_source">show source</a> ]</p>
674
- <div id="M000526_source" class="dyn-source">
673
+ <p class="source-link">[ <a href="javascript:toggleSource('M000536_source')" id="l_M000536_source">show source</a> ]</p>
674
+ <div id="M000536_source" class="dyn-source">
675
675
  <pre>
676
676
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 155</span>
677
677
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_opened</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -681,27 +681,27 @@ Returns true or false if the element is part of the interval.
681
681
  </div>
682
682
  <div class="method">
683
683
  <div class="title">
684
- <a name="M000532"></a><b>length</b>()
684
+ <a name="M000542"></a><b>length</b>()
685
685
  </div>
686
686
  <div class="description">
687
687
  <p>
688
- Alias for <a href="Interval.html#M000531">distance</a>
688
+ Alias for <a href="Interval.html#M000541">distance</a>
689
689
  </p>
690
690
  </div>
691
691
  </div>
692
692
  <div class="method">
693
693
  <div class="title">
694
- <a name="M000535"></a><b>max</b>()
694
+ <a name="M000545"></a><b>max</b>()
695
695
  </div>
696
696
  <div class="description">
697
697
  <p>
698
- Returns the greater of the <a href="Interval.html#M000509">first</a> and <a
699
- href="Interval.html#M000510">last</a> sentinals.
698
+ Returns the greater of the <a href="Interval.html#M000519">first</a> and <a
699
+ href="Interval.html#M000520">last</a> sentinals.
700
700
  </p>
701
701
  </div>
702
702
  <div class="sourcecode">
703
- <p class="source-link">[ <a href="javascript:toggleSource('M000535_source')" id="l_M000535_source">show source</a> ]</p>
704
- <div id="M000535_source" class="dyn-source">
703
+ <p class="source-link">[ <a href="javascript:toggleSource('M000545_source')" id="l_M000545_source">show source</a> ]</p>
704
+ <div id="M000545_source" class="dyn-source">
705
705
  <pre>
706
706
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 192</span>
707
707
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">max</span>
@@ -713,7 +713,7 @@ href="Interval.html#M000510">last</a> sentinals.
713
713
  </div>
714
714
  <div class="method">
715
715
  <div class="title">
716
- <a name="M000538"></a><b>member?</b>(x)
716
+ <a name="M000548"></a><b>member?</b>(x)
717
717
  </div>
718
718
  <div class="description">
719
719
  <p>
@@ -723,17 +723,17 @@ Alias for include?
723
723
  </div>
724
724
  <div class="method">
725
725
  <div class="title">
726
- <a name="M000534"></a><b>min</b>()
726
+ <a name="M000544"></a><b>min</b>()
727
727
  </div>
728
728
  <div class="description">
729
729
  <p>
730
- Returns the lesser of the <a href="Interval.html#M000509">first</a> and <a
731
- href="Interval.html#M000510">last</a> sentinals.
730
+ Returns the lesser of the <a href="Interval.html#M000519">first</a> and <a
731
+ href="Interval.html#M000520">last</a> sentinals.
732
732
  </p>
733
733
  </div>
734
734
  <div class="sourcecode">
735
- <p class="source-link">[ <a href="javascript:toggleSource('M000534_source')" id="l_M000534_source">show source</a> ]</p>
736
- <div id="M000534_source" class="dyn-source">
735
+ <p class="source-link">[ <a href="javascript:toggleSource('M000544_source')" id="l_M000544_source">show source</a> ]</p>
736
+ <div id="M000544_source" class="dyn-source">
737
737
  <pre>
738
738
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 187</span>
739
739
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">min</span>
@@ -745,19 +745,19 @@ href="Interval.html#M000510">last</a> sentinals.
745
745
  </div>
746
746
  <div class="method">
747
747
  <div class="title">
748
- <a name="M000518"></a><b>null?</b>()
748
+ <a name="M000528"></a><b>null?</b>()
749
749
  </div>
750
750
  <div class="description">
751
751
  <p>
752
752
  Returns <tt>true</tt> if the start and <a
753
- href="Interval.html#M000514">end</a> <a
754
- href="Interval.html#M000508">sentinels</a> are equal and the interval is
753
+ href="Interval.html#M000524">end</a> <a
754
+ href="Interval.html#M000518">sentinels</a> are equal and the interval is
755
755
  open; otherwise <tt>false</tt>.
756
756
  </p>
757
757
  </div>
758
758
  <div class="sourcecode">
759
- <p class="source-link">[ <a href="javascript:toggleSource('M000518_source')" id="l_M000518_source">show source</a> ]</p>
760
- <div id="M000518_source" class="dyn-source">
759
+ <p class="source-link">[ <a href="javascript:toggleSource('M000528_source')" id="l_M000528_source">show source</a> ]</p>
760
+ <div id="M000528_source" class="dyn-source">
761
761
  <pre>
762
762
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 128</span>
763
763
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">null?</span> ; <span class="ruby-ivar">@direction</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@exclusive_first</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@exclusive_last</span> ; <span class="ruby-keyword kw">end</span>
@@ -767,17 +767,17 @@ open; otherwise <tt>false</tt>.
767
767
  </div>
768
768
  <div class="method">
769
769
  <div class="title">
770
- <a name="M000521"></a><b>opened</b>()
770
+ <a name="M000531"></a><b>opened</b>()
771
771
  </div>
772
772
  <div class="description">
773
773
  <p>
774
- Returns a <a href="Interval.html#M000507">new</a> interval exclusive of
775
- both <a href="Interval.html#M000508">sentinels</a>.
774
+ Returns a <a href="Interval.html#M000517">new</a> interval exclusive of
775
+ both <a href="Interval.html#M000518">sentinels</a>.
776
776
  </p>
777
777
  </div>
778
778
  <div class="sourcecode">
779
- <p class="source-link">[ <a href="javascript:toggleSource('M000521_source')" id="l_M000521_source">show source</a> ]</p>
780
- <div id="M000521_source" class="dyn-source">
779
+ <p class="source-link">[ <a href="javascript:toggleSource('M000531_source')" id="l_M000531_source">show source</a> ]</p>
780
+ <div id="M000531_source" class="dyn-source">
781
781
  <pre>
782
782
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 142</span>
783
783
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">opened</span>; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
@@ -787,21 +787,21 @@ both <a href="Interval.html#M000508">sentinels</a>.
787
787
  </div>
788
788
  <div class="method">
789
789
  <div class="title">
790
- <a name="M000530"></a><b>reversed</b>()
790
+ <a name="M000540"></a><b>reversed</b>()
791
791
  </div>
792
792
  <div class="description">
793
793
  <p>
794
- Returns a <a href="Interval.html#M000507">new</a> interval with the <a
795
- href="Interval.html#M000508">sentinels</a> <a
796
- href="Interval.html#M000530">reversed</a>.
794
+ Returns a <a href="Interval.html#M000517">new</a> interval with the <a
795
+ href="Interval.html#M000518">sentinels</a> <a
796
+ href="Interval.html#M000540">reversed</a>.
797
797
  </p>
798
798
  <pre>
799
799
  (0..10).reversed #=&gt; 10..0
800
800
  </pre>
801
801
  </div>
802
802
  <div class="sourcecode">
803
- <p class="source-link">[ <a href="javascript:toggleSource('M000530_source')" id="l_M000530_source">show source</a> ]</p>
804
- <div id="M000530_source" class="dyn-source">
803
+ <p class="source-link">[ <a href="javascript:toggleSource('M000540_source')" id="l_M000540_source">show source</a> ]</p>
804
+ <div id="M000540_source" class="dyn-source">
805
805
  <pre>
806
806
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 167</span>
807
807
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reversed</span>
@@ -813,21 +813,21 @@ href="Interval.html#M000530">reversed</a>.
813
813
  </div>
814
814
  <div class="method">
815
815
  <div class="title">
816
- <a name="M000508"></a><b>sentinels</b>()
816
+ <a name="M000518"></a><b>sentinels</b>()
817
817
  </div>
818
818
  <div class="description">
819
819
  <p>
820
- Returns a two element array of <a href="Interval.html#M000509">first</a>
821
- and <a href="Interval.html#M000510">last</a> <a
822
- href="Interval.html#M000508">sentinels</a>.
820
+ Returns a two element array of <a href="Interval.html#M000519">first</a>
821
+ and <a href="Interval.html#M000520">last</a> <a
822
+ href="Interval.html#M000518">sentinels</a>.
823
823
  </p>
824
824
  <pre>
825
825
  (0..10).sentinels #=&gt; [0,10]
826
826
  </pre>
827
827
  </div>
828
828
  <div class="sourcecode">
829
- <p class="source-link">[ <a href="javascript:toggleSource('M000508_source')" id="l_M000508_source">show source</a> ]</p>
830
- <div id="M000508_source" class="dyn-source">
829
+ <p class="source-link">[ <a href="javascript:toggleSource('M000518_source')" id="l_M000518_source">show source</a> ]</p>
830
+ <div id="M000518_source" class="dyn-source">
831
831
  <pre>
832
832
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 106</span>
833
833
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sentinels</span>
@@ -839,31 +839,31 @@ href="Interval.html#M000508">sentinels</a>.
839
839
  </div>
840
840
  <div class="method">
841
841
  <div class="title">
842
- <a name="M000533"></a><b>size</b>()
842
+ <a name="M000543"></a><b>size</b>()
843
843
  </div>
844
844
  <div class="description">
845
845
  <p>
846
- Alias for <a href="Interval.html#M000531">distance</a>
846
+ Alias for <a href="Interval.html#M000541">distance</a>
847
847
  </p>
848
848
  </div>
849
849
  </div>
850
850
  <div class="method">
851
851
  <div class="title">
852
- <a name="M000540"></a><b>step</b>(n=1, d=nil)
852
+ <a name="M000550"></a><b>step</b>(n=1, d=nil)
853
853
  </div>
854
854
  <div class="description">
855
855
  <p>
856
- Alias for <a href="Interval.html#M000539">each</a>
856
+ Alias for <a href="Interval.html#M000549">each</a>
857
857
  </p>
858
858
  </div>
859
859
  </div>
860
860
  <div class="method">
861
861
  <div class="title">
862
- <a name="M000529"></a><b>~</b>()
862
+ <a name="M000539"></a><b>~</b>()
863
863
  </div>
864
864
  <div class="sourcecode">
865
- <p class="source-link">[ <a href="javascript:toggleSource('M000529_source')" id="l_M000529_source">show source</a> ]</p>
866
- <div id="M000529_source" class="dyn-source">
865
+ <p class="source-link">[ <a href="javascript:toggleSource('M000539_source')" id="l_M000539_source">show source</a> ]</p>
866
+ <div id="M000539_source" class="dyn-source">
867
867
  <pre>
868
868
  <span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 161</span>
869
869
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">~@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>