facets 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. data/AUTHORS +1 -1
  2. data/CHANGES +28 -45
  3. data/MANIFEST +35 -4
  4. data/README +3 -14
  5. data/RELEASE +36 -70
  6. data/VERSION +1 -1
  7. data/doc/archive/RELEASE-2.5.0 +83 -0
  8. data/doc/log/basic_stats/index.html +4 -4
  9. data/doc/log/changelog.html +509 -2
  10. data/doc/log/changelog.txt +130 -1522
  11. data/doc/rdoc/core/classes/Array.html +366 -141
  12. data/doc/rdoc/core/classes/Binding.html +45 -45
  13. data/doc/rdoc/core/classes/Class.html +38 -38
  14. data/doc/rdoc/core/classes/Comparable.html +26 -26
  15. data/doc/rdoc/core/classes/Enumerable.html +174 -170
  16. data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
  17. data/doc/rdoc/core/classes/Enumerator.html +132 -0
  18. data/doc/rdoc/core/classes/Exception.html +8 -8
  19. data/doc/rdoc/core/classes/File.html +58 -58
  20. data/doc/rdoc/core/classes/FileTest.html +4 -4
  21. data/doc/rdoc/core/classes/Float.html +8 -8
  22. data/doc/rdoc/core/classes/Functor.html +12 -12
  23. data/doc/rdoc/core/classes/Hash.html +447 -263
  24. data/doc/rdoc/core/classes/Indexable.html +110 -110
  25. data/doc/rdoc/core/classes/Integer.html +2 -2
  26. data/doc/rdoc/core/classes/Kernel.html +329 -329
  27. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  28. data/doc/rdoc/core/classes/MatchData.html +15 -15
  29. data/doc/rdoc/core/classes/Module.html +176 -157
  30. data/doc/rdoc/core/classes/NilClass.html +23 -23
  31. data/doc/rdoc/core/classes/Numeric.html +27 -27
  32. data/doc/rdoc/core/classes/Object.html +8 -8
  33. data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
  34. data/doc/rdoc/core/classes/Proc.html +22 -22
  35. data/doc/rdoc/core/classes/Regexp.html +1 -1
  36. data/doc/rdoc/core/classes/Stackable.html +31 -31
  37. data/doc/rdoc/core/classes/String.html +332 -291
  38. data/doc/rdoc/core/classes/Symbol.html +1 -1
  39. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  40. data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
  41. data/doc/rdoc/core/created.rid +1 -1
  42. data/doc/rdoc/core/files/README.html +7 -29
  43. data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
  44. data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
  45. data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
  46. data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
  47. data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
  48. data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
  49. data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
  50. data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
  51. data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
  52. data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
  53. data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
  54. data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
  55. data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
  56. data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
  57. data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
  58. data/doc/rdoc/core/fr_class_index.html +2 -0
  59. data/doc/rdoc/core/fr_file_index.html +6 -0
  60. data/doc/rdoc/core/fr_method_index.html +386 -373
  61. data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
  62. data/doc/rdoc/lore/created.rid +1 -1
  63. data/doc/rdoc/lore/files/README.html +7 -29
  64. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
  65. data/doc/rdoc/more/classes/ANSICode.html +66 -66
  66. data/doc/rdoc/more/classes/Advisable.html +37 -37
  67. data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
  68. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
  69. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
  70. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
  71. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
  72. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
  73. data/doc/rdoc/more/classes/Association.html +67 -53
  74. data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
  75. data/doc/rdoc/more/classes/BBCode.html +36 -36
  76. data/doc/rdoc/more/classes/BaseX.html +16 -16
  77. data/doc/rdoc/more/classes/BiCrypt.html +67 -67
  78. data/doc/rdoc/more/classes/BinReadable.html +85 -85
  79. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
  80. data/doc/rdoc/more/classes/Binding.html +8 -8
  81. data/doc/rdoc/more/classes/Buildable.html +4 -4
  82. data/doc/rdoc/more/classes/Cloneable.html +4 -4
  83. data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
  84. data/doc/rdoc/more/classes/Crypt.html +16 -16
  85. data/doc/rdoc/more/classes/CssTree.html +8 -8
  86. data/doc/rdoc/more/classes/Dictionary.html +52 -45
  87. data/doc/rdoc/more/classes/Enumerable.html +50 -50
  88. data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
  89. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
  90. data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
  91. data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
  92. data/doc/rdoc/more/classes/Equatable.html +16 -16
  93. data/doc/rdoc/more/classes/Expirable.html +17 -17
  94. data/doc/rdoc/more/classes/Fileable.html +14 -14
  95. data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
  96. data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
  97. data/doc/rdoc/more/classes/Hook.html +162 -0
  98. data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
  99. data/doc/rdoc/more/classes/Instantiable.html +9 -9
  100. data/doc/rdoc/more/classes/Instantize.html +8 -8
  101. data/doc/rdoc/more/classes/Interval.html +187 -187
  102. data/doc/rdoc/more/classes/It.html +12 -12
  103. data/doc/rdoc/more/classes/Matcher.html +38 -38
  104. data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
  105. data/doc/rdoc/more/classes/Memoizer.html +21 -21
  106. data/doc/rdoc/more/classes/Multiton.html +12 -12
  107. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
  108. data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
  109. data/doc/rdoc/more/classes/OpEsc.html +5 -5
  110. data/doc/rdoc/more/classes/OpenCascade.html +4 -4
  111. data/doc/rdoc/more/classes/OpenHash.html +9 -9
  112. data/doc/rdoc/more/classes/OpenStructable.html +36 -36
  113. data/doc/rdoc/more/classes/PQueue.html +84 -84
  114. data/doc/rdoc/more/classes/Paramix.html +16 -16
  115. data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
  116. data/doc/rdoc/more/classes/RWDelegator.html +16 -16
  117. data/doc/rdoc/more/classes/Random.html +5 -5
  118. data/doc/rdoc/more/classes/Random/Array.html +37 -37
  119. data/doc/rdoc/more/classes/Random/Hash.html +52 -52
  120. data/doc/rdoc/more/classes/Random/Object.html +4 -4
  121. data/doc/rdoc/more/classes/Random/String.html +34 -34
  122. data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
  123. data/doc/rdoc/more/classes/Registerable.html +13 -13
  124. data/doc/rdoc/more/classes/Stash.html +28 -28
  125. data/doc/rdoc/more/classes/String/Mask.html +72 -72
  126. data/doc/rdoc/more/classes/String/Words.html +31 -31
  127. data/doc/rdoc/more/classes/System.html +253 -253
  128. data/doc/rdoc/more/classes/Timer.html +48 -48
  129. data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
  130. data/doc/rdoc/more/classes/Tuple.html +170 -170
  131. data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
  132. data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
  133. data/doc/rdoc/more/classes/Uninheritable.html +6 -6
  134. data/doc/rdoc/more/classes/X.html +117 -0
  135. data/doc/rdoc/more/classes/XOXO.html +11 -11
  136. data/doc/rdoc/more/classes/ZipUtils.html +88 -88
  137. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
  138. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
  139. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
  140. data/doc/rdoc/more/created.rid +1 -1
  141. data/doc/rdoc/more/files/README.html +7 -29
  142. data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
  143. data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
  144. data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
  145. data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
  146. data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
  147. data/doc/rdoc/more/fr_class_index.html +2 -0
  148. data/doc/rdoc/more/fr_file_index.html +1 -0
  149. data/doc/rdoc/more/fr_method_index.html +686 -681
  150. data/lib/core/facets/array/product.rb +6 -23
  151. data/lib/core/facets/enumerable/collect.rb +3 -53
  152. data/lib/core/facets/enumerable/compact_map.rb +35 -0
  153. data/lib/core/facets/enumerable/map_with_index.rb +23 -0
  154. data/lib/core/facets/enumerable/split.rb +3 -3
  155. data/lib/core/facets/hash/collate.rb +45 -14
  156. data/lib/core/facets/hash/group_by_value.rb +65 -0
  157. data/lib/core/facets/hash/new_with.rb +15 -0
  158. data/lib/core/facets/module/extend.rb +11 -0
  159. data/lib/core/facets/string/align.rb +19 -18
  160. data/lib/core/facets/string/file.rb +17 -0
  161. data/lib/core/facets/string/xor.rb +9 -3
  162. data/lib/core/facets/to_hash.rb +274 -17
  163. data/lib/core/facets/unboundmethod/name.rb +4 -2
  164. data/lib/lore/facets/ostruct.rb +3 -0
  165. data/lib/more/facets/association.rb +28 -12
  166. data/lib/more/facets/dictionary.rb +10 -4
  167. data/lib/more/facets/hook.rb +65 -0
  168. data/lib/more/facets/paramix.rb +5 -5
  169. data/meta/abstract +13 -0
  170. data/meta/authors +1 -0
  171. data/meta/contact +1 -0
  172. data/meta/contributors +48 -0
  173. data/meta/created +1 -0
  174. data/meta/homepage +1 -0
  175. data/meta/license +1 -0
  176. data/meta/loadpath +3 -0
  177. data/meta/releases +14 -0
  178. data/meta/slogan +1 -0
  179. data/meta/summary +1 -0
  180. data/task/test.rake +116 -18
  181. data/test/core/array/test_product.rb +0 -6
  182. data/test/core/binding/test_local_variables.rb +9 -3
  183. data/test/core/enumerable/test_split.rb +19 -0
  184. data/test/core/module/test_conflict.rb +8 -3
  185. data/test/core/test_to_hash.rb +152 -0
  186. data/test/core/unboundmethod/test_arguments.rb +1 -1
  187. data/test/core/unboundmethod/test_name.rb +2 -2
  188. metadata +39 -8
  189. data/doc/log/bstats/stats.html +0 -39
  190. data/doc/log/stats.html +0 -25
  191. data/test/more/test_to_hash.rb +0 -58
@@ -79,8 +79,8 @@ Object
79
79
 
80
80
 
81
81
  <div class="sectiontitle">Methods</div>
82
- <span style="padding-right: 5px;"><a href="#M000703">[]</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000704">[]=</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000705">[]</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000706">[]=</a></span>
84
84
 
85
85
 
86
86
 
@@ -90,7 +90,7 @@ Object
90
90
  <div class="sectiontitle">Public Instance methods</div>
91
91
  <div class="method">
92
92
  <div class="title">
93
- <a name="M000703"></a><b>[]</b>( x )
93
+ <a name="M000705"></a><b>[]</b>( x )
94
94
  </div>
95
95
  <div class="description">
96
96
  <p>
@@ -102,8 +102,8 @@ Returns the value of some variable.
102
102
  </pre>
103
103
  </div>
104
104
  <div class="sourcecode">
105
- <p class="source-link">[ <a href="javascript:toggleSource('M000703_source')" id="l_M000703_source">+</a> ]</p>
106
- <div id="M000703_source" class="dyn-source">
105
+ <p class="source-link">[ <a href="javascript:toggleSource('M000705_source')" id="l_M000705_source">+</a> ]</p>
106
+ <div id="M000705_source" class="dyn-source">
107
107
  <pre>
108
108
  <span class="ruby-comment cmt"># File lib/more/facets/binding/opvars.rb, line 10</span>
109
109
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>( <span class="ruby-identifier">x</span> )
@@ -115,7 +115,7 @@ Returns the value of some variable.
115
115
  </div>
116
116
  <div class="method">
117
117
  <div class="title">
118
- <a name="M000704"></a><b>[]=</b>( l, v )
118
+ <a name="M000706"></a><b>[]=</b>( l, v )
119
119
  </div>
120
120
  <div class="description">
121
121
  <p>
@@ -127,8 +127,8 @@ Set the value of a local variable.
127
127
  </pre>
128
128
  </div>
129
129
  <div class="sourcecode">
130
- <p class="source-link">[ <a href="javascript:toggleSource('M000704_source')" id="l_M000704_source">+</a> ]</p>
131
- <div id="M000704_source" class="dyn-source">
130
+ <p class="source-link">[ <a href="javascript:toggleSource('M000706_source')" id="l_M000706_source">+</a> ]</p>
131
+ <div id="M000706_source" class="dyn-source">
132
132
  <pre>
133
133
  <span class="ruby-comment cmt"># File lib/more/facets/binding/opvars.rb, line 19</span>
134
134
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>( <span class="ruby-identifier">l</span>, <span class="ruby-identifier">v</span> )
@@ -112,7 +112,7 @@ it for more information.
112
112
 
113
113
 
114
114
  <div class="sectiontitle">Methods</div>
115
- <span style="padding-right: 5px;"><a href="#M000789">included</a></span>
115
+ <span style="padding-right: 5px;"><a href="#M000791">included</a></span>
116
116
 
117
117
 
118
118
 
@@ -122,11 +122,11 @@ it for more information.
122
122
  <div class="sectiontitle">Public Class methods</div>
123
123
  <div class="method">
124
124
  <div class="title">
125
- <a name="M000789"></a><b>included</b>(base)
125
+ <a name="M000791"></a><b>included</b>(base)
126
126
  </div>
127
127
  <div class="sourcecode">
128
- <p class="source-link">[ <a href="javascript:toggleSource('M000789_source')" id="l_M000789_source">+</a> ]</p>
129
- <div id="M000789_source" class="dyn-source">
128
+ <p class="source-link">[ <a href="javascript:toggleSource('M000791_source')" id="l_M000791_source">+</a> ]</p>
129
+ <div id="M000791_source" class="dyn-source">
130
130
  <pre>
131
131
  <span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 144</span>
132
132
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">base</span>)
@@ -79,7 +79,7 @@ with deep cloneablity via the standard dup and clone methods.
79
79
 
80
80
 
81
81
  <div class="sectiontitle">Methods</div>
82
- <span style="padding-right: 5px;"><a href="#M000790">initialize_copy</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000792">initialize_copy</a></span>
83
83
 
84
84
 
85
85
 
@@ -89,11 +89,11 @@ with deep cloneablity via the standard dup and clone methods.
89
89
  <div class="sectiontitle">Public Instance methods</div>
90
90
  <div class="method">
91
91
  <div class="title">
92
- <a name="M000790"></a><b>initialize_copy</b>(sibling)
92
+ <a name="M000792"></a><b>initialize_copy</b>(sibling)
93
93
  </div>
94
94
  <div class="sourcecode">
95
- <p class="source-link">[ <a href="javascript:toggleSource('M000790_source')" id="l_M000790_source">+</a> ]</p>
96
- <div id="M000790_source" class="dyn-source">
95
+ <p class="source-link">[ <a href="javascript:toggleSource('M000792_source')" id="l_M000792_source">+</a> ]</p>
96
+ <div id="M000792_source" class="dyn-source">
97
97
  <pre>
98
98
  <span class="ruby-comment cmt"># File lib/more/facets/cloneable.rb, line 40</span>
99
99
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize_copy</span>(<span class="ruby-identifier">sibling</span>)
@@ -79,10 +79,10 @@ generally useful in the context of creating console output.
79
79
 
80
80
 
81
81
  <div class="sectiontitle">Methods</div>
82
- <span style="padding-right: 5px;"><a href="#M000966">ask</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000967">password</a></span>
84
- <span style="padding-right: 5px;"><a href="#M000969">print_justified</a></span>
85
- <span style="padding-right: 5px;"><a href="#M000968">screen_width</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000971">ask</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000972">password</a></span>
84
+ <span style="padding-right: 5px;"><a href="#M000974">print_justified</a></span>
85
+ <span style="padding-right: 5px;"><a href="#M000973">screen_width</a></span>
86
86
 
87
87
 
88
88
 
@@ -92,7 +92,7 @@ generally useful in the context of creating console output.
92
92
  <div class="sectiontitle">Public Instance methods</div>
93
93
  <div class="method">
94
94
  <div class="title">
95
- <a name="M000966"></a><b>ask</b>(question, answers=nil)
95
+ <a name="M000971"></a><b>ask</b>(question, answers=nil)
96
96
  </div>
97
97
  <div class="description">
98
98
  <p>
@@ -100,8 +100,8 @@ Convenient method to get simple console reply.
100
100
  </p>
101
101
  </div>
102
102
  <div class="sourcecode">
103
- <p class="source-link">[ <a href="javascript:toggleSource('M000966_source')" id="l_M000966_source">+</a> ]</p>
104
- <div id="M000966_source" class="dyn-source">
103
+ <p class="source-link">[ <a href="javascript:toggleSource('M000971_source')" id="l_M000971_source">+</a> ]</p>
104
+ <div id="M000971_source" class="dyn-source">
105
105
  <pre>
106
106
  <span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 15</span>
107
107
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ask</span>(<span class="ruby-identifier">question</span>, <span class="ruby-identifier">answers</span>=<span class="ruby-keyword kw">nil</span>)
@@ -116,17 +116,17 @@ Convenient method to get simple console reply.
116
116
  </div>
117
117
  <div class="method">
118
118
  <div class="title">
119
- <a name="M000967"></a><b>password</b>(msg=nil)
119
+ <a name="M000972"></a><b>password</b>(msg=nil)
120
120
  </div>
121
121
  <div class="description">
122
122
  <p>
123
- Ask for a <a href="ConsoleUtils.html#M000967">password</a>. (FIXME: only
123
+ Ask for a <a href="ConsoleUtils.html#M000972">password</a>. (FIXME: only
124
124
  for unix so far)
125
125
  </p>
126
126
  </div>
127
127
  <div class="sourcecode">
128
- <p class="source-link">[ <a href="javascript:toggleSource('M000967_source')" id="l_M000967_source">+</a> ]</p>
129
- <div id="M000967_source" class="dyn-source">
128
+ <p class="source-link">[ <a href="javascript:toggleSource('M000972_source')" id="l_M000972_source">+</a> ]</p>
129
+ <div id="M000972_source" class="dyn-source">
130
130
  <pre>
131
131
  <span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 32</span>
132
132
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">password</span>(<span class="ruby-identifier">msg</span>=<span class="ruby-keyword kw">nil</span>)
@@ -150,7 +150,7 @@ for unix so far)
150
150
  </div>
151
151
  <div class="method">
152
152
  <div class="title">
153
- <a name="M000969"></a><b>print_justified</b>(left, right, options={})
153
+ <a name="M000974"></a><b>print_justified</b>(left, right, options={})
154
154
  </div>
155
155
  <div class="description">
156
156
  <p>
@@ -162,8 +162,8 @@ a ratio option can be given which defaults to 0.8 (eg. 80/20)
162
162
  </p>
163
163
  </div>
164
164
  <div class="sourcecode">
165
- <p class="source-link">[ <a href="javascript:toggleSource('M000969_source')" id="l_M000969_source">+</a> ]</p>
166
- <div id="M000969_source" class="dyn-source">
165
+ <p class="source-link">[ <a href="javascript:toggleSource('M000974_source')" id="l_M000974_source">+</a> ]</p>
166
+ <div id="M000974_source" class="dyn-source">
167
167
  <pre>
168
168
  <span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 74</span>
169
169
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">print_justified</span>(<span class="ruby-identifier">left</span>, <span class="ruby-identifier">right</span>, <span class="ruby-identifier">options</span>={})
@@ -195,7 +195,7 @@ a ratio option can be given which defaults to 0.8 (eg. 80/20)
195
195
  </div>
196
196
  <div class="method">
197
197
  <div class="title">
198
- <a name="M000968"></a><b>screen_width</b>(out=STDERR)
198
+ <a name="M000973"></a><b>screen_width</b>(out=STDERR)
199
199
  </div>
200
200
  <div class="description">
201
201
  <p>
@@ -203,12 +203,12 @@ Console screen width (taken from progress bar)
203
203
  </p>
204
204
  <p>
205
205
  TODO: Don&#8216;t know how portable <a
206
- href="ConsoleUtils.html#M000968">screen_width</a> is.
206
+ href="ConsoleUtils.html#M000973">screen_width</a> is.
207
207
  </p>
208
208
  </div>
209
209
  <div class="sourcecode">
210
- <p class="source-link">[ <a href="javascript:toggleSource('M000968_source')" id="l_M000968_source">+</a> ]</p>
211
- <div id="M000968_source" class="dyn-source">
210
+ <p class="source-link">[ <a href="javascript:toggleSource('M000973_source')" id="l_M000973_source">+</a> ]</p>
211
+ <div id="M000973_source" class="dyn-source">
212
212
  <pre>
213
213
  <span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 52</span>
214
214
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">screen_width</span>(<span class="ruby-identifier">out</span>=<span class="ruby-constant">STDERR</span>)
@@ -71,7 +71,7 @@
71
71
 
72
72
  <div class="description"><h1><a href="Crypt.html">Crypt</a></h1>
73
73
  <p>
74
- A pure ruby version of <a href="Crypt.html#M000950">crypt</a>(3), a salted
74
+ A pure ruby version of <a href="Crypt.html#M000955">crypt</a>(3), a salted
75
75
  one-way hashing of a password.
76
76
  </p>
77
77
  </div>
@@ -79,9 +79,9 @@ one-way hashing of a password.
79
79
 
80
80
 
81
81
  <div class="sectiontitle">Methods</div>
82
- <span style="padding-right: 5px;"><a href="#M000951">check</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000950">crypt</a></span>
84
- <span style="padding-right: 5px;"><a href="#M000952">generate_salt</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000956">check</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000955">crypt</a></span>
84
+ <span style="padding-right: 5px;"><a href="#M000957">generate_salt</a></span>
85
85
 
86
86
 
87
87
 
@@ -99,17 +99,17 @@ one-way hashing of a password.
99
99
  <div class="sectiontitle">Public Class methods</div>
100
100
  <div class="method">
101
101
  <div class="title">
102
- <a name="M000951"></a><b>check</b>(password, hash, algo = :md5)
102
+ <a name="M000956"></a><b>check</b>(password, hash, algo = :md5)
103
103
  </div>
104
104
  <div class="description">
105
105
  <p>
106
- <a href="Crypt.html#M000951">check</a> the validity of a password against
106
+ <a href="Crypt.html#M000956">check</a> the validity of a password against
107
107
  an hashed string
108
108
  </p>
109
109
  </div>
110
110
  <div class="sourcecode">
111
- <p class="source-link">[ <a href="javascript:toggleSource('M000951_source')" id="l_M000951_source">+</a> ]</p>
112
- <div id="M000951_source" class="dyn-source">
111
+ <p class="source-link">[ <a href="javascript:toggleSource('M000956_source')" id="l_M000956_source">+</a> ]</p>
112
+ <div id="M000956_source" class="dyn-source">
113
113
  <pre>
114
114
  <span class="ruby-comment cmt"># File lib/more/facets/crypt.rb, line 153</span>
115
115
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">check</span>(<span class="ruby-identifier">password</span>, <span class="ruby-identifier">hash</span>, <span class="ruby-identifier">algo</span> = <span class="ruby-identifier">:md5</span>)
@@ -123,11 +123,11 @@ an hashed string
123
123
  </div>
124
124
  <div class="method">
125
125
  <div class="title">
126
- <a name="M000950"></a><b>crypt</b>(password, algo = :md5, salt = nil, magic='$1$')
126
+ <a name="M000955"></a><b>crypt</b>(password, algo = :md5, salt = nil, magic='$1$')
127
127
  </div>
128
128
  <div class="description">
129
129
  <p>
130
- A pure ruby version of <a href="Crypt.html#M000950">crypt</a>(3), a salted
130
+ A pure ruby version of <a href="Crypt.html#M000955">crypt</a>(3), a salted
131
131
  one-way hashing of a password.
132
132
  </p>
133
133
  <p>
@@ -136,7 +136,7 @@ rmd160.
136
136
  </p>
137
137
  <p>
138
138
  Only the md5 hashing algorithm is standard and compatible with <a
139
- href="Crypt.html#M000950">crypt</a>(3), the others are not standard.
139
+ href="Crypt.html#M000955">crypt</a>(3), the others are not standard.
140
140
  </p>
141
141
  <p>
142
142
  Automatically generate a 8-bytes salt if nil.
@@ -147,8 +147,8 @@ salt.size + 23.
147
147
  </p>
148
148
  </div>
149
149
  <div class="sourcecode">
150
- <p class="source-link">[ <a href="javascript:toggleSource('M000950_source')" id="l_M000950_source">+</a> ]</p>
151
- <div id="M000950_source" class="dyn-source">
150
+ <p class="source-link">[ <a href="javascript:toggleSource('M000955_source')" id="l_M000955_source">+</a> ]</p>
151
+ <div id="M000955_source" class="dyn-source">
152
152
  <pre>
153
153
  <span class="ruby-comment cmt"># File lib/more/facets/crypt.rb, line 58</span>
154
154
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">crypt</span>(<span class="ruby-identifier">password</span>, <span class="ruby-identifier">algo</span> = <span class="ruby-identifier">:md5</span>, <span class="ruby-identifier">salt</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">magic</span>=<span class="ruby-value str">'$1$'</span>)
@@ -248,7 +248,7 @@ salt.size + 23.
248
248
  </div>
249
249
  <div class="method">
250
250
  <div class="title">
251
- <a name="M000952"></a><b>generate_salt</b>(size)
251
+ <a name="M000957"></a><b>generate_salt</b>(size)
252
252
  </div>
253
253
  <div class="description">
254
254
  <p>
@@ -256,8 +256,8 @@ generate a <tt>size</tt> length random salt
256
256
  </p>
257
257
  </div>
258
258
  <div class="sourcecode">
259
- <p class="source-link">[ <a href="javascript:toggleSource('M000952_source')" id="l_M000952_source">+</a> ]</p>
260
- <div id="M000952_source" class="dyn-source">
259
+ <p class="source-link">[ <a href="javascript:toggleSource('M000957_source')" id="l_M000957_source">+</a> ]</p>
260
+ <div id="M000957_source" class="dyn-source">
261
261
  <pre>
262
262
  <span class="ruby-comment cmt"># File lib/more/facets/crypt.rb, line 162</span>
263
263
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">generate_salt</span>(<span class="ruby-identifier">size</span>)
@@ -85,8 +85,8 @@ CSS parse tree. This is for a &quot;deep filtering&quot;.
85
85
 
86
86
 
87
87
  <div class="sectiontitle">Methods</div>
88
- <span style="padding-right: 5px;"><a href="#M000562">new</a></span>
89
- <span style="padding-right: 5px;"><a href="#M000563">to_css</a></span>
88
+ <span style="padding-right: 5px;"><a href="#M000564">new</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000565">to_css</a></span>
90
90
 
91
91
 
92
92
 
@@ -96,11 +96,11 @@ CSS parse tree. This is for a &quot;deep filtering&quot;.
96
96
  <div class="sectiontitle">Public Class methods</div>
97
97
  <div class="method">
98
98
  <div class="title">
99
- <a name="M000562"></a><b>new</b>(options=nil)
99
+ <a name="M000564"></a><b>new</b>(options=nil)
100
100
  </div>
101
101
  <div class="sourcecode">
102
- <p class="source-link">[ <a href="javascript:toggleSource('M000562_source')" id="l_M000562_source">+</a> ]</p>
103
- <div id="M000562_source" class="dyn-source">
102
+ <p class="source-link">[ <a href="javascript:toggleSource('M000564_source')" id="l_M000564_source">+</a> ]</p>
103
+ <div id="M000564_source" class="dyn-source">
104
104
  <pre>
105
105
  <span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 204</span>
106
106
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
@@ -114,7 +114,7 @@ CSS parse tree. This is for a &quot;deep filtering&quot;.
114
114
  <div class="sectiontitle">Public Instance methods</div>
115
115
  <div class="method">
116
116
  <div class="title">
117
- <a name="M000563"></a><b>to_css</b>()
117
+ <a name="M000565"></a><b>to_css</b>()
118
118
  </div>
119
119
  <div class="description">
120
120
  <p>
@@ -122,8 +122,8 @@ Re-output the CSS, all tidy ;)
122
122
  </p>
123
123
  </div>
124
124
  <div class="sourcecode">
125
- <p class="source-link">[ <a href="javascript:toggleSource('M000563_source')" id="l_M000563_source">+</a> ]</p>
126
- <div id="M000563_source" class="dyn-source">
125
+ <p class="source-link">[ <a href="javascript:toggleSource('M000565_source')" id="l_M000565_source">+</a> ]</p>
126
+ <div id="M000565_source" class="dyn-source">
127
127
  <pre>
128
128
  <span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 211</span>
129
129
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_css</span>
@@ -353,7 +353,7 @@ href="Dictionary.html#M000116">order</a>.
353
353
  <p class="source-link">[ <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">+</a> ]</p>
354
354
  <div id="M000142_source" class="dyn-source">
355
355
  <pre>
356
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 375</span>
356
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 381</span>
357
357
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">kv</span>)
358
358
  <span class="ruby-identifier">push</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">kv</span>)
359
359
  <span class="ruby-keyword kw">end</span>
@@ -381,7 +381,7 @@ end
381
381
  <p class="source-link">[ <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">+</a> ]</p>
382
382
  <div id="M000121_source" class="dyn-source">
383
383
  <pre>
384
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 256</span>
384
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 255</span>
385
385
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">hsh2</span>)
386
386
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">is_a?</span>( <span class="ruby-constant">Dictionary</span> )
387
387
  <span class="ruby-ivar">@order</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">order</span> <span class="ruby-operator">&amp;&amp;</span>
@@ -402,7 +402,7 @@ end
402
402
  <p class="source-link">[ <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">+</a> ]</p>
403
403
  <div id="M000122_source" class="dyn-source">
404
404
  <pre>
405
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 265</span>
405
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 264</span>
406
406
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span> <span class="ruby-identifier">k</span>
407
407
  <span class="ruby-ivar">@hash</span>[ <span class="ruby-identifier">k</span> ]
408
408
  <span class="ruby-keyword kw">end</span>
@@ -432,7 +432,7 @@ Or with additional index.
432
432
  <p class="source-link">[ <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">+</a> ]</p>
433
433
  <div id="M000124_source" class="dyn-source">
434
434
  <pre>
435
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 281</span>
435
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 280</span>
436
436
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">k</span>, <span class="ruby-identifier">i</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">v</span>=<span class="ruby-keyword kw">nil</span>)
437
437
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span>
438
438
  <span class="ruby-identifier">insert</span>(<span class="ruby-identifier">i</span>,<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)
@@ -452,7 +452,7 @@ Or with additional index.
452
452
  <p class="source-link">[ <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">+</a> ]</p>
453
453
  <div id="M000127_source" class="dyn-source">
454
454
  <pre>
455
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 299</span>
455
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 298</span>
456
456
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
457
457
  <span class="ruby-ivar">@order</span> = []
458
458
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">clear</span>
@@ -469,7 +469,7 @@ Or with additional index.
469
469
  <p class="source-link">[ <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">+</a> ]</p>
470
470
  <div id="M000128_source" class="dyn-source">
471
471
  <pre>
472
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 304</span>
472
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 303</span>
473
473
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>( <span class="ruby-identifier">key</span> )
474
474
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">delete</span>( <span class="ruby-identifier">key</span> )
475
475
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">delete</span>( <span class="ruby-identifier">key</span> )
@@ -486,7 +486,7 @@ Or with additional index.
486
486
  <p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">+</a> ]</p>
487
487
  <div id="M000133_source" class="dyn-source">
488
488
  <pre>
489
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 325</span>
489
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 324</span>
490
490
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_if</span>
491
491
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">clone</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">delete</span> <span class="ruby-identifier">k</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>,<span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>]) }
492
492
  <span class="ruby-keyword kw">self</span>
@@ -503,7 +503,7 @@ Or with additional index.
503
503
  <p class="source-link">[ <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">+</a> ]</p>
504
504
  <div id="M000146_source" class="dyn-source">
505
505
  <pre>
506
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 400</span>
506
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 406</span>
507
507
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dup</span>
508
508
  <span class="ruby-identifier">a</span> = []
509
509
  <span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">k</span>; <span class="ruby-identifier">a</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">v</span> }
@@ -525,7 +525,7 @@ Or with additional index.
525
525
  <p class="source-link">[ <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">+</a> ]</p>
526
526
  <div id="M000131_source" class="dyn-source">
527
527
  <pre>
528
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 319</span>
528
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 318</span>
529
529
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
530
530
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span>( <span class="ruby-identifier">k</span>,<span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>] ) }
531
531
  <span class="ruby-keyword kw">self</span>
@@ -542,7 +542,7 @@ Or with additional index.
542
542
  <p class="source-link">[ <a href="javascript:toggleSource('M000129_source')" id="l_M000129_source">+</a> ]</p>
543
543
  <div id="M000129_source" class="dyn-source">
544
544
  <pre>
545
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 309</span>
545
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 308</span>
546
546
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_key</span>
547
547
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span>( <span class="ruby-identifier">k</span> ) }
548
548
  <span class="ruby-keyword kw">self</span>
@@ -569,7 +569,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
569
569
  <p class="source-link">[ <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">+</a> ]</p>
570
570
  <div id="M000130_source" class="dyn-source">
571
571
  <pre>
572
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 314</span>
572
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 313</span>
573
573
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_value</span>
574
574
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span>( <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>] ) }
575
575
  <span class="ruby-keyword kw">self</span>
@@ -586,7 +586,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
586
586
  <p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">+</a> ]</p>
587
587
  <div id="M000157_source" class="dyn-source">
588
588
  <pre>
589
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 449</span>
589
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 455</span>
590
590
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">empty?</span>
591
591
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">empty?</span>
592
592
  <span class="ruby-keyword kw">end</span>
@@ -602,7 +602,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
602
602
  <p class="source-link">[ <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">+</a> ]</p>
603
603
  <div id="M000123_source" class="dyn-source">
604
604
  <pre>
605
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 269</span>
605
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 268</span>
606
606
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">k</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
607
607
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">k</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">b</span>)
608
608
  <span class="ruby-keyword kw">end</span>
@@ -618,7 +618,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
618
618
  <p class="source-link">[ <a href="javascript:toggleSource('M000153_source')" id="l_M000153_source">+</a> ]</p>
619
619
  <div id="M000153_source" class="dyn-source">
620
620
  <pre>
621
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 433</span>
621
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 439</span>
622
622
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span>(<span class="ruby-identifier">x</span>=<span class="ruby-keyword kw">nil</span>)
623
623
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">order</span>.<span class="ruby-identifier">first</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">x</span>
624
624
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">first</span>(<span class="ruby-identifier">x</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>] }
@@ -635,7 +635,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
635
635
  <p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">+</a> ]</p>
636
636
  <div id="M000158_source" class="dyn-source">
637
637
  <pre>
638
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 453</span>
638
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 459</span>
639
639
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">key</span>)
640
640
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">key</span>)
641
641
  <span class="ruby-keyword kw">end</span>
@@ -651,7 +651,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
651
651
  <p class="source-link">[ <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">+</a> ]</p>
652
652
  <div id="M000125_source" class="dyn-source">
653
653
  <pre>
654
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 289</span>
654
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 288</span>
655
655
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span>( <span class="ruby-identifier">i</span>,<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
656
656
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">insert</span>( <span class="ruby-identifier">i</span>,<span class="ruby-identifier">k</span> )
657
657
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">store</span>( <span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
@@ -668,7 +668,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
668
668
  <p class="source-link">[ <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">+</a> ]</p>
669
669
  <div id="M000145_source" class="dyn-source">
670
670
  <pre>
671
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 394</span>
671
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 400</span>
672
672
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
673
673
  <span class="ruby-identifier">ary</span> = []
674
674
  <span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ary</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">k</span>.<span class="ruby-identifier">inspect</span> <span class="ruby-operator">+</span> <span class="ruby-value str">&quot;=&gt;&quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">inspect</span>}
@@ -686,7 +686,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
686
686
  <p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">+</a> ]</p>
687
687
  <div id="M000136_source" class="dyn-source">
688
688
  <pre>
689
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 340</span>
689
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 339</span>
690
690
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invert</span>
691
691
  <span class="ruby-identifier">hsh2</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>
692
692
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hsh2</span>[<span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>]] = <span class="ruby-identifier">k</span> }
@@ -704,7 +704,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
704
704
  <p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">+</a> ]</p>
705
705
  <div id="M000159_source" class="dyn-source">
706
706
  <pre>
707
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 457</span>
707
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 463</span>
708
708
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">key?</span>(<span class="ruby-identifier">key</span>)
709
709
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">key</span>)
710
710
  <span class="ruby-keyword kw">end</span>
@@ -720,7 +720,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
720
720
  <p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">+</a> ]</p>
721
721
  <div id="M000135_source" class="dyn-source">
722
722
  <pre>
723
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 336</span>
723
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 335</span>
724
724
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">keys</span>
725
725
  <span class="ruby-identifier">order</span>
726
726
  <span class="ruby-keyword kw">end</span>
@@ -736,7 +736,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
736
736
  <p class="source-link">[ <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">+</a> ]</p>
737
737
  <div id="M000154_source" class="dyn-source">
738
738
  <pre>
739
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 439</span>
739
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 445</span>
740
740
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span>(<span class="ruby-identifier">x</span>=<span class="ruby-keyword kw">nil</span>)
741
741
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">order</span>.<span class="ruby-identifier">last</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">x</span>
742
742
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">last</span>(<span class="ruby-identifier">x</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>] }
@@ -757,7 +757,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
757
757
  <p class="source-link">[ <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">+</a> ]</p>
758
758
  <div id="M000155_source" class="dyn-source">
759
759
  <pre>
760
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 444</span>
760
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 450</span>
761
761
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
762
762
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">length</span>
763
763
  <span class="ruby-keyword kw">end</span>
@@ -773,7 +773,7 @@ Alias for <a href="Dictionary.html#M000131">each</a>
773
773
  <p class="source-link">[ <a href="javascript:toggleSource('M000149_source')" id="l_M000149_source">+</a> ]</p>
774
774
  <div id="M000149_source" class="dyn-source">
775
775
  <pre>
776
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 413</span>
776
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 419</span>
777
777
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>( <span class="ruby-identifier">hsh2</span> )
778
778
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">update</span>(<span class="ruby-identifier">hsh2</span>)
779
779
  <span class="ruby-keyword kw">end</span>
@@ -916,7 +916,7 @@ This is equivalent to:
916
916
  <p class="source-link">[ <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">+</a> ]</p>
917
917
  <div id="M000144_source" class="dyn-source">
918
918
  <pre>
919
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 389</span>
919
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 395</span>
920
920
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
921
921
  <span class="ruby-identifier">key</span> = <span class="ruby-identifier">order</span>.<span class="ruby-identifier">last</span>
922
922
  <span class="ruby-identifier">key</span> <span class="ruby-value">? </span>[<span class="ruby-identifier">key</span>,<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>)] <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span>
@@ -933,7 +933,7 @@ This is equivalent to:
933
933
  <p class="source-link">[ <a href="javascript:toggleSource('M000143_source')" id="l_M000143_source">+</a> ]</p>
934
934
  <div id="M000143_source" class="dyn-source">
935
935
  <pre>
936
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 379</span>
936
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 385</span>
937
937
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>( <span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
938
938
  <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">include?</span>( <span class="ruby-identifier">k</span> )
939
939
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">push</span>( <span class="ruby-identifier">k</span> )
@@ -955,7 +955,7 @@ This is equivalent to:
955
955
  <p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">+</a> ]</p>
956
956
  <div id="M000137_source" class="dyn-source">
957
957
  <pre>
958
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 346</span>
958
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 345</span>
959
959
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reject</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
960
960
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">delete_if</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
961
961
  <span class="ruby-keyword kw">end</span>
@@ -971,7 +971,7 @@ This is equivalent to:
971
971
  <p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">+</a> ]</p>
972
972
  <div id="M000138_source" class="dyn-source">
973
973
  <pre>
974
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 350</span>
974
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 349</span>
975
975
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reject!</span>( <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> )
976
976
  <span class="ruby-identifier">hsh2</span> = <span class="ruby-identifier">reject</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
977
977
  <span class="ruby-keyword kw">self</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">hsh2</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">hsh2</span>
@@ -988,7 +988,7 @@ This is equivalent to:
988
988
  <p class="source-link">[ <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">+</a> ]</p>
989
989
  <div id="M000120_source" class="dyn-source">
990
990
  <pre>
991
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 243</span>
991
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 242</span>
992
992
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reorder</span>
993
993
  <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@order_by</span>
994
994
  <span class="ruby-identifier">assoc</span> = <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">collect</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> [<span class="ruby-identifier">k</span>,<span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>]] }.<span class="ruby-identifier">sort_by</span>(<span class="ruby-operator">&amp;</span><span class="ruby-ivar">@order_by</span>)
@@ -1002,16 +1002,23 @@ This is equivalent to:
1002
1002
  </div>
1003
1003
  <div class="method">
1004
1004
  <div class="title">
1005
- <a name="M000139"></a><b>replace</b>( hsh2 )
1005
+ <a name="M000139"></a><b>replace</b>(hsh2)
1006
1006
  </div>
1007
1007
  <div class="sourcecode">
1008
1008
  <p class="source-link">[ <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">+</a> ]</p>
1009
1009
  <div id="M000139_source" class="dyn-source">
1010
1010
  <pre>
1011
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 355</span>
1012
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace</span>( <span class="ruby-identifier">hsh2</span> )
1013
- <span class="ruby-ivar">@order</span> = <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">order</span>
1014
- <span class="ruby-ivar">@hash</span> = <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">hash</span>
1011
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 354</span>
1012
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">hsh2</span>)
1013
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">hsh2</span>
1014
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Hash</span>
1015
+ <span class="ruby-ivar">@order</span> = <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">keys</span>
1016
+ <span class="ruby-ivar">@hash</span> = <span class="ruby-identifier">hsh2</span>
1017
+ <span class="ruby-keyword kw">else</span>
1018
+ <span class="ruby-ivar">@order</span> = <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">order</span>
1019
+ <span class="ruby-ivar">@hash</span> = <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">hash</span>
1020
+ <span class="ruby-keyword kw">end</span>
1021
+ <span class="ruby-identifier">reorder</span>
1015
1022
  <span class="ruby-keyword kw">end</span>
1016
1023
  </pre>
1017
1024
  </div>
@@ -1025,7 +1032,7 @@ This is equivalent to:
1025
1032
  <p class="source-link">[ <a href="javascript:toggleSource('M000152_source')" id="l_M000152_source">+</a> ]</p>
1026
1033
  <div id="M000152_source" class="dyn-source">
1027
1034
  <pre>
1028
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 428</span>
1035
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 434</span>
1029
1036
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse</span>
1030
1037
  <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">reverse!</span>
1031
1038
  <span class="ruby-keyword kw">end</span>
@@ -1041,7 +1048,7 @@ This is equivalent to:
1041
1048
  <p class="source-link">[ <a href="javascript:toggleSource('M000151_source')" id="l_M000151_source">+</a> ]</p>
1042
1049
  <div id="M000151_source" class="dyn-source">
1043
1050
  <pre>
1044
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 423</span>
1051
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 429</span>
1045
1052
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse!</span>
1046
1053
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">reverse!</span>
1047
1054
  <span class="ruby-keyword kw">self</span>
@@ -1058,7 +1065,7 @@ This is equivalent to:
1058
1065
  <p class="source-link">[ <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">+</a> ]</p>
1059
1066
  <div id="M000150_source" class="dyn-source">
1060
1067
  <pre>
1061
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 417</span>
1068
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 423</span>
1062
1069
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select</span>
1063
1070
  <span class="ruby-identifier">ary</span> = []
1064
1071
  <span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ary</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> }
@@ -1076,7 +1083,7 @@ This is equivalent to:
1076
1083
  <p class="source-link">[ <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">+</a> ]</p>
1077
1084
  <div id="M000140_source" class="dyn-source">
1078
1085
  <pre>
1079
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 360</span>
1086
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 366</span>
1080
1087
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shift</span>
1081
1088
  <span class="ruby-identifier">key</span> = <span class="ruby-identifier">order</span>.<span class="ruby-identifier">first</span>
1082
1089
  <span class="ruby-identifier">key</span> <span class="ruby-value">? </span>[<span class="ruby-identifier">key</span>,<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>)] <span class="ruby-operator">:</span> <span class="ruby-keyword kw">super</span>
@@ -1103,7 +1110,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1103
1110
  <p class="source-link">[ <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">+</a> ]</p>
1104
1111
  <div id="M000126_source" class="dyn-source">
1105
1112
  <pre>
1106
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 294</span>
1113
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 293</span>
1107
1114
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>( <span class="ruby-identifier">a</span>,<span class="ruby-identifier">b</span> )
1108
1115
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">push</span>( <span class="ruby-identifier">a</span> ) <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">has_key?</span>( <span class="ruby-identifier">a</span> )
1109
1116
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">store</span>( <span class="ruby-identifier">a</span>,<span class="ruby-identifier">b</span> )
@@ -1120,7 +1127,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1120
1127
  <p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">+</a> ]</p>
1121
1128
  <div id="M000160_source" class="dyn-source">
1122
1129
  <pre>
1123
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 461</span>
1130
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 467</span>
1124
1131
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
1125
1132
  <span class="ruby-identifier">ary</span> = []
1126
1133
  <span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ary</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>] }
@@ -1138,7 +1145,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1138
1145
  <p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">+</a> ]</p>
1139
1146
  <div id="M000163_source" class="dyn-source">
1140
1147
  <pre>
1141
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 475</span>
1148
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 481</span>
1142
1149
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
1143
1150
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">dup</span>
1144
1151
  <span class="ruby-keyword kw">end</span>
@@ -1154,7 +1161,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1154
1161
  <p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">+</a> ]</p>
1155
1162
  <div id="M000162_source" class="dyn-source">
1156
1163
  <pre>
1157
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 471</span>
1164
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 477</span>
1158
1165
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>
1159
1166
  <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">dup</span>
1160
1167
  <span class="ruby-keyword kw">end</span>
@@ -1170,7 +1177,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1170
1177
  <p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">+</a> ]</p>
1171
1178
  <div id="M000161_source" class="dyn-source">
1172
1179
  <pre>
1173
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 467</span>
1180
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 473</span>
1174
1181
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
1175
1182
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">to_s</span>
1176
1183
  <span class="ruby-keyword kw">end</span>
@@ -1186,7 +1193,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1186
1193
  <p class="source-link">[ <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">+</a> ]</p>
1187
1194
  <div id="M000141_source" class="dyn-source">
1188
1195
  <pre>
1189
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 365</span>
1196
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 371</span>
1190
1197
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span>( <span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
1191
1198
  <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@hash</span>.<span class="ruby-identifier">include?</span>( <span class="ruby-identifier">k</span> )
1192
1199
  <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">unshift</span>( <span class="ruby-identifier">k</span> )
@@ -1212,7 +1219,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1212
1219
  <p class="source-link">[ <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">+</a> ]</p>
1213
1220
  <div id="M000147_source" class="dyn-source">
1214
1221
  <pre>
1215
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 406</span>
1222
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 412</span>
1216
1223
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>( <span class="ruby-identifier">hsh2</span> )
1217
1224
  <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">v</span> }
1218
1225
  <span class="ruby-identifier">reorder</span>
@@ -1230,7 +1237,7 @@ Alias for <a href="Dictionary.html#M000155">length</a>
1230
1237
  <p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">+</a> ]</p>
1231
1238
  <div id="M000134_source" class="dyn-source">
1232
1239
  <pre>
1233
- <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 330</span>
1240
+ <span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 329</span>
1234
1241
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">values</span>
1235
1242
  <span class="ruby-identifier">ary</span> = []
1236
1243
  <span class="ruby-identifier">order</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ary</span>.<span class="ruby-identifier">push</span> <span class="ruby-ivar">@hash</span>[<span class="ruby-identifier">k</span>] }