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
@@ -77,11 +77,11 @@ Extensions for <a href="Method.html">Method</a> class.
77
77
 
78
78
 
79
79
  <div class="sectiontitle">Methods</div>
80
- <span style="padding-right: 5px;"><a href="#M000757">advice_after=</a></span>
81
- <span style="padding-right: 5px;"><a href="#M000758">advice_around=</a></span>
82
- <span style="padding-right: 5px;"><a href="#M000756">advice_before=</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000755">advised?</a></span>
84
- <span style="padding-right: 5px;"><a href="#M000759">call_with_advice</a></span>
80
+ <span style="padding-right: 5px;"><a href="#M000759">advice_after=</a></span>
81
+ <span style="padding-right: 5px;"><a href="#M000760">advice_around=</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000758">advice_before=</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000757">advised?</a></span>
84
+ <span style="padding-right: 5px;"><a href="#M000761">call_with_advice</a></span>
85
85
 
86
86
 
87
87
 
@@ -122,11 +122,11 @@ Extensions for <a href="Method.html">Method</a> class.
122
122
  <div class="sectiontitle">Public Instance methods</div>
123
123
  <div class="method">
124
124
  <div class="title">
125
- <a name="M000757"></a><b>advice_after=</b>(set)
125
+ <a name="M000759"></a><b>advice_after=</b>(set)
126
126
  </div>
127
127
  <div class="sourcecode">
128
- <p class="source-link">[ <a href="javascript:toggleSource('M000757_source')" id="l_M000757_source">+</a> ]</p>
129
- <div id="M000757_source" class="dyn-source">
128
+ <p class="source-link">[ <a href="javascript:toggleSource('M000759_source')" id="l_M000759_source">+</a> ]</p>
129
+ <div id="M000759_source" class="dyn-source">
130
130
  <pre>
131
131
  <span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 120</span>
132
132
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advice_after=</span>(<span class="ruby-identifier">set</span>) ; <span class="ruby-ivar">@advice_after</span> = <span class="ruby-identifier">set</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>; <span class="ruby-keyword kw">end</span>
@@ -136,11 +136,11 @@ Extensions for <a href="Method.html">Method</a> class.
136
136
  </div>
137
137
  <div class="method">
138
138
  <div class="title">
139
- <a name="M000758"></a><b>advice_around=</b>(set)
139
+ <a name="M000760"></a><b>advice_around=</b>(set)
140
140
  </div>
141
141
  <div class="sourcecode">
142
- <p class="source-link">[ <a href="javascript:toggleSource('M000758_source')" id="l_M000758_source">+</a> ]</p>
143
- <div id="M000758_source" class="dyn-source">
142
+ <p class="source-link">[ <a href="javascript:toggleSource('M000760_source')" id="l_M000760_source">+</a> ]</p>
143
+ <div id="M000760_source" class="dyn-source">
144
144
  <pre>
145
145
  <span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 121</span>
146
146
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advice_around=</span>(<span class="ruby-identifier">set</span>); <span class="ruby-ivar">@advice_around</span> = <span class="ruby-identifier">set</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>; <span class="ruby-keyword kw">end</span>
@@ -150,11 +150,11 @@ Extensions for <a href="Method.html">Method</a> class.
150
150
  </div>
151
151
  <div class="method">
152
152
  <div class="title">
153
- <a name="M000756"></a><b>advice_before=</b>(set)
153
+ <a name="M000758"></a><b>advice_before=</b>(set)
154
154
  </div>
155
155
  <div class="sourcecode">
156
- <p class="source-link">[ <a href="javascript:toggleSource('M000756_source')" id="l_M000756_source">+</a> ]</p>
157
- <div id="M000756_source" class="dyn-source">
156
+ <p class="source-link">[ <a href="javascript:toggleSource('M000758_source')" id="l_M000758_source">+</a> ]</p>
157
+ <div id="M000758_source" class="dyn-source">
158
158
  <pre>
159
159
  <span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 119</span>
160
160
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advice_before=</span>(<span class="ruby-identifier">set</span>); <span class="ruby-ivar">@advice_before</span> = <span class="ruby-identifier">set</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>; <span class="ruby-keyword kw">end</span>
@@ -164,11 +164,11 @@ Extensions for <a href="Method.html">Method</a> class.
164
164
  </div>
165
165
  <div class="method">
166
166
  <div class="title">
167
- <a name="M000755"></a><b>advised?</b>()
167
+ <a name="M000757"></a><b>advised?</b>()
168
168
  </div>
169
169
  <div class="sourcecode">
170
- <p class="source-link">[ <a href="javascript:toggleSource('M000755_source')" id="l_M000755_source">+</a> ]</p>
171
- <div id="M000755_source" class="dyn-source">
170
+ <p class="source-link">[ <a href="javascript:toggleSource('M000757_source')" id="l_M000757_source">+</a> ]</p>
171
+ <div id="M000757_source" class="dyn-source">
172
172
  <pre>
173
173
  <span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 115</span>
174
174
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advised?</span>
@@ -180,7 +180,7 @@ Extensions for <a href="Method.html">Method</a> class.
180
180
  </div>
181
181
  <div class="method">
182
182
  <div class="title">
183
- <a name="M000759"></a><b>call_with_advice</b>(obj, *args, &amp;blk)
183
+ <a name="M000761"></a><b>call_with_advice</b>(obj, *args, &amp;blk)
184
184
  </div>
185
185
  <div class="description">
186
186
  <p>
@@ -188,8 +188,8 @@ Call with advice.
188
188
  </p>
189
189
  </div>
190
190
  <div class="sourcecode">
191
- <p class="source-link">[ <a href="javascript:toggleSource('M000759_source')" id="l_M000759_source">+</a> ]</p>
192
- <div id="M000759_source" class="dyn-source">
191
+ <p class="source-link">[ <a href="javascript:toggleSource('M000761_source')" id="l_M000761_source">+</a> ]</p>
192
+ <div id="M000761_source" class="dyn-source">
193
193
  <pre>
194
194
  <span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 125</span>
195
195
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call_with_advice</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -126,7 +126,7 @@ As the case above shows, one need not write to a file. However, it will
126
126
  sometimes require that one dive a little deeper into the API, as in the
127
127
  case of StringIO objects. Note that I&#8216;m not providing a block with <a
128
128
  href="Minitar/Output.html">Minitar::Output</a>, as <a
129
- href="Minitar/Output.html#M000920">Minitar::Output#close</a> automatically
129
+ href="Minitar/Output.html#M000925">Minitar::Output#close</a> automatically
130
130
  closes both the <a href="Minitar/Output.html">Output</a> object and the
131
131
  wrapped data stream object.
132
132
  </p>
@@ -166,11 +166,11 @@ later) or Ruby&#8216;s licence.
166
166
 
167
167
 
168
168
  <div class="sectiontitle">Methods</div>
169
- <span style="padding-right: 5px;"><a href="#M000912">dir?</a></span>
170
- <span style="padding-right: 5px;"><a href="#M000913">open</a></span>
171
- <span style="padding-right: 5px;"><a href="#M000915">pack</a></span>
172
- <span style="padding-right: 5px;"><a href="#M000914">pack_file</a></span>
173
- <span style="padding-right: 5px;"><a href="#M000916">unpack</a></span>
169
+ <span style="padding-right: 5px;"><a href="#M000917">dir?</a></span>
170
+ <span style="padding-right: 5px;"><a href="#M000918">open</a></span>
171
+ <span style="padding-right: 5px;"><a href="#M000920">pack</a></span>
172
+ <span style="padding-right: 5px;"><a href="#M000919">pack_file</a></span>
173
+ <span style="padding-right: 5px;"><a href="#M000921">unpack</a></span>
174
174
 
175
175
 
176
176
 
@@ -194,7 +194,7 @@ Class <a href="Minitar/Writer.html" class="link">Archive::Tar::Minitar::Writer</
194
194
  <div class="sectiontitle">Public Class methods</div>
195
195
  <div class="method">
196
196
  <div class="title">
197
- <a name="M000912"></a><b>dir?</b>(path)
197
+ <a name="M000917"></a><b>dir?</b>(path)
198
198
  </div>
199
199
  <div class="description">
200
200
  <p>
@@ -203,8 +203,8 @@ Tests if <tt>path</tt> refers to a directory. Fixes an apparently corrupted
203
203
  </p>
204
204
  </div>
205
205
  <div class="sourcecode">
206
- <p class="source-link">[ <a href="javascript:toggleSource('M000912_source')" id="l_M000912_source">+</a> ]</p>
207
- <div id="M000912_source" class="dyn-source">
206
+ <p class="source-link">[ <a href="javascript:toggleSource('M000917_source')" id="l_M000917_source">+</a> ]</p>
207
+ <div id="M000917_source" class="dyn-source">
208
208
  <pre>
209
209
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 914</span>
210
210
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dir?</span>(<span class="ruby-identifier">path</span>)
@@ -216,20 +216,20 @@ Tests if <tt>path</tt> refers to a directory. Fixes an apparently corrupted
216
216
  </div>
217
217
  <div class="method">
218
218
  <div class="title">
219
- <a name="M000913"></a><b>open</b>(dest, mode = &quot;r&quot;, &amp;block)
219
+ <a name="M000918"></a><b>open</b>(dest, mode = &quot;r&quot;, &amp;block)
220
220
  </div>
221
221
  <div class="description">
222
222
  <p>
223
223
  A convenience method for wrapping <a
224
- href="Minitar/Input.html#M000921">Archive::Tar::Minitar::Input.open</a>
224
+ href="Minitar/Input.html#M000926">Archive::Tar::Minitar::Input.open</a>
225
225
  (mode <tt>r</tt>) and <a
226
- href="Minitar/Output.html#M000917">Archive::Tar::Minitar::Output.open</a>
226
+ href="Minitar/Output.html#M000922">Archive::Tar::Minitar::Output.open</a>
227
227
  (mode <tt>w</tt>). No other modes are currently supported.
228
228
  </p>
229
229
  </div>
230
230
  <div class="sourcecode">
231
- <p class="source-link">[ <a href="javascript:toggleSource('M000913_source')" id="l_M000913_source">+</a> ]</p>
232
- <div id="M000913_source" class="dyn-source">
231
+ <p class="source-link">[ <a href="javascript:toggleSource('M000918_source')" id="l_M000918_source">+</a> ]</p>
232
+ <div id="M000918_source" class="dyn-source">
233
233
  <pre>
234
234
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 921</span>
235
235
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">open</span>(<span class="ruby-identifier">dest</span>, <span class="ruby-identifier">mode</span> = <span class="ruby-value str">&quot;r&quot;</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -248,11 +248,11 @@ href="Minitar/Output.html#M000917">Archive::Tar::Minitar::Output.open</a>
248
248
  </div>
249
249
  <div class="method">
250
250
  <div class="title">
251
- <a name="M000915"></a><b>pack</b>(src, dest, recurse_dirs = true, &amp;block)
251
+ <a name="M000920"></a><b>pack</b>(src, dest, recurse_dirs = true, &amp;block)
252
252
  </div>
253
253
  <div class="description">
254
254
  <p>
255
- A convenience method to <a href="Minitar.html#M000915">pack</a> files
255
+ A convenience method to <a href="Minitar.html#M000920">pack</a> files
256
256
  specified by <tt>src</tt> into <tt>dest</tt>. If <tt>src</tt> is an Array,
257
257
  then each file detailed therein will be packed into the resulting <a
258
258
  href="Minitar/Output.html">Archive::Tar::Minitar::Output</a> stream; if
@@ -264,8 +264,8 @@ Find.find; all files matching will be packed.
264
264
  </p>
265
265
  </div>
266
266
  <div class="sourcecode">
267
- <p class="source-link">[ <a href="javascript:toggleSource('M000915_source')" id="l_M000915_source">+</a> ]</p>
268
- <div id="M000915_source" class="dyn-source">
267
+ <p class="source-link">[ <a href="javascript:toggleSource('M000920_source')" id="l_M000920_source">+</a> ]</p>
268
+ <div id="M000920_source" class="dyn-source">
269
269
  <pre>
270
270
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 1023</span>
271
271
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pack</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">recurse_dirs</span> = <span class="ruby-keyword kw">true</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -292,7 +292,7 @@ Find.find; all files matching will be packed.
292
292
  </div>
293
293
  <div class="method">
294
294
  <div class="title">
295
- <a name="M000914"></a><b>pack_file</b>(entry, outputter) {|:file_start, name, stats if block_given?| ...}
295
+ <a name="M000919"></a><b>pack_file</b>(entry, outputter) {|:file_start, name, stats if block_given?| ...}
296
296
  </div>
297
297
  <div class="description">
298
298
  <p>
@@ -320,10 +320,10 @@ href="../../Hash.html">Hash</a> with the fields:
320
320
  </table>
321
321
  <p>
322
322
  During packing, if a block is provided, <a
323
- href="Minitar.html#M000914">pack_file</a> yields an <tt>action</tt> Symol,
323
+ href="Minitar.html#M000919">pack_file</a> yields an <tt>action</tt> Symol,
324
324
  the full name of the file being packed, and a <a
325
325
  href="../../Hash.html">Hash</a> of statistical information, just as with <a
326
- href="Minitar/Input.html#M000924">Archive::Tar::Minitar::Input#extract_entry</a>.
326
+ href="Minitar/Input.html#M000929">Archive::Tar::Minitar::Input#extract_entry</a>.
327
327
  </p>
328
328
  <p>
329
329
  The <tt>action</tt> will be one of:
@@ -370,8 +370,8 @@ The <tt>stats</tt> hash contains the following keys:
370
370
  </table>
371
371
  </div>
372
372
  <div class="sourcecode">
373
- <p class="source-link">[ <a href="javascript:toggleSource('M000914_source')" id="l_M000914_source">+</a> ]</p>
374
- <div id="M000914_source" class="dyn-source">
373
+ <p class="source-link">[ <a href="javascript:toggleSource('M000919_source')" id="l_M000919_source">+</a> ]</p>
374
+ <div id="M000919_source" class="dyn-source">
375
375
  <pre>
376
376
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 967</span>
377
377
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pack_file</span>(<span class="ruby-identifier">entry</span>, <span class="ruby-identifier">outputter</span>) <span class="ruby-comment cmt">#:yields action, name, stats:</span>
@@ -428,18 +428,18 @@ The <tt>stats</tt> hash contains the following keys:
428
428
  </div>
429
429
  <div class="method">
430
430
  <div class="title">
431
- <a name="M000916"></a><b>unpack</b>(src, dest, files = [], &amp;block)
431
+ <a name="M000921"></a><b>unpack</b>(src, dest, files = [], &amp;block)
432
432
  </div>
433
433
  <div class="description">
434
434
  <p>
435
- A convenience method to <a href="Minitar.html#M000916">unpack</a> files
435
+ A convenience method to <a href="Minitar.html#M000921">unpack</a> files
436
436
  from <tt>src</tt> into the directory specified by <tt>dest</tt>. Only those
437
437
  files named explicitly in <tt>files</tt> will be extracted.
438
438
  </p>
439
439
  </div>
440
440
  <div class="sourcecode">
441
- <p class="source-link">[ <a href="javascript:toggleSource('M000916_source')" id="l_M000916_source">+</a> ]</p>
442
- <div id="M000916_source" class="dyn-source">
441
+ <p class="source-link">[ <a href="javascript:toggleSource('M000921_source')" id="l_M000921_source">+</a> ]</p>
442
+ <div id="M000921_source" class="dyn-source">
443
443
  <pre>
444
444
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 1045</span>
445
445
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unpack</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">files</span> = [], <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -86,12 +86,12 @@ Input::new for details.
86
86
 
87
87
 
88
88
  <div class="sectiontitle">Methods</div>
89
- <span style="padding-right: 5px;"><a href="#M000926">close</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000923">each</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000924">extract_entry</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000922">new</a></span>
93
- <span style="padding-right: 5px;"><a href="#M000921">open</a></span>
94
- <span style="padding-right: 5px;"><a href="#M000925">tar</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000931">close</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000928">each</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000929">extract_entry</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000927">new</a></span>
93
+ <span style="padding-right: 5px;"><a href="#M000926">open</a></span>
94
+ <span style="padding-right: 5px;"><a href="#M000930">tar</a></span>
95
95
 
96
96
  <div class="sectiontitle">Included Modules</div>
97
97
  <ul>
@@ -105,21 +105,21 @@ Input::new for details.
105
105
  <div class="sectiontitle">Public Class methods</div>
106
106
  <div class="method">
107
107
  <div class="title">
108
- <a name="M000922"></a><b>new</b>(input)
108
+ <a name="M000927"></a><b>new</b>(input)
109
109
  </div>
110
110
  <div class="description">
111
111
  <p>
112
- Creates a <a href="Input.html#M000922">new</a> <a
112
+ Creates a <a href="Input.html#M000927">new</a> <a
113
113
  href="Input.html">Input</a> object. If <tt>input</tt> is a stream object
114
114
  that responds to read), then it will simply be wrapped. Otherwise, one will
115
115
  be created and opened using Kernel#open. When <a
116
- href="Input.html#M000926">Input#close</a> is called, the stream object
116
+ href="Input.html#M000931">Input#close</a> is called, the stream object
117
117
  wrapped will be closed.
118
118
  </p>
119
119
  </div>
120
120
  <div class="sourcecode">
121
- <p class="source-link">[ <a href="javascript:toggleSource('M000922_source')" id="l_M000922_source">+</a> ]</p>
122
- <div id="M000922_source" class="dyn-source">
121
+ <p class="source-link">[ <a href="javascript:toggleSource('M000927_source')" id="l_M000927_source">+</a> ]</p>
122
+ <div id="M000927_source" class="dyn-source">
123
123
  <pre>
124
124
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 749</span>
125
125
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">input</span>)
@@ -136,21 +136,21 @@ wrapped will be closed.
136
136
  </div>
137
137
  <div class="method">
138
138
  <div class="title">
139
- <a name="M000921"></a><b>open</b>(input) {|stream| ...}
139
+ <a name="M000926"></a><b>open</b>(input) {|stream| ...}
140
140
  </div>
141
141
  <div class="description">
142
142
  <p>
143
143
  With no associated block, +Input::open+ is a synonym for +Input::new+. If
144
144
  the optional code block is given, it will be passed the <a
145
- href="Input.html#M000922">new</a> <em>writer</em> as an argument and the <a
145
+ href="Input.html#M000927">new</a> <em>writer</em> as an argument and the <a
146
146
  href="Input.html">Input</a> object will automatically be closed when the
147
147
  block terminates. In this instance, +Input::open+ returns the value of the
148
148
  block.
149
149
  </p>
150
150
  </div>
151
151
  <div class="sourcecode">
152
- <p class="source-link">[ <a href="javascript:toggleSource('M000921_source')" id="l_M000921_source">+</a> ]</p>
153
- <div id="M000921_source" class="dyn-source">
152
+ <p class="source-link">[ <a href="javascript:toggleSource('M000926_source')" id="l_M000926_source">+</a> ]</p>
153
+ <div id="M000926_source" class="dyn-source">
154
154
  <pre>
155
155
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 732</span>
156
156
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">input</span>)
@@ -172,7 +172,7 @@ block.
172
172
  <div class="sectiontitle">Public Instance methods</div>
173
173
  <div class="method">
174
174
  <div class="title">
175
- <a name="M000926"></a><b>close</b>()
175
+ <a name="M000931"></a><b>close</b>()
176
176
  </div>
177
177
  <div class="description">
178
178
  <p>
@@ -181,8 +181,8 @@ stream.
181
181
  </p>
182
182
  </div>
183
183
  <div class="sourcecode">
184
- <p class="source-link">[ <a href="javascript:toggleSource('M000926_source')" id="l_M000926_source">+</a> ]</p>
185
- <div id="M000926_source" class="dyn-source">
184
+ <p class="source-link">[ <a href="javascript:toggleSource('M000931_source')" id="l_M000931_source">+</a> ]</p>
185
+ <div id="M000931_source" class="dyn-source">
186
186
  <pre>
187
187
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 847</span>
188
188
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
@@ -195,17 +195,17 @@ stream.
195
195
  </div>
196
196
  <div class="method">
197
197
  <div class="title">
198
- <a name="M000923"></a><b>each</b>() {|entry| ...}
198
+ <a name="M000928"></a><b>each</b>() {|entry| ...}
199
199
  </div>
200
200
  <div class="description">
201
201
  <p>
202
- Iterates through <a href="Input.html#M000923">each</a> entry and rewinds to
202
+ Iterates through <a href="Input.html#M000928">each</a> entry and rewinds to
203
203
  the beginning of the stream when finished.
204
204
  </p>
205
205
  </div>
206
206
  <div class="sourcecode">
207
- <p class="source-link">[ <a href="javascript:toggleSource('M000923_source')" id="l_M000923_source">+</a> ]</p>
208
- <div id="M000923_source" class="dyn-source">
207
+ <p class="source-link">[ <a href="javascript:toggleSource('M000928_source')" id="l_M000928_source">+</a> ]</p>
208
+ <div id="M000928_source" class="dyn-source">
209
209
  <pre>
210
210
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 760</span>
211
211
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -219,7 +219,7 @@ the beginning of the stream when finished.
219
219
  </div>
220
220
  <div class="method">
221
221
  <div class="title">
222
- <a name="M000924"></a><b>extract_entry</b>(destdir, entry) {|:dir, entry.full_name, stats if block_given?| ...}
222
+ <a name="M000929"></a><b>extract_entry</b>(destdir, entry) {|:dir, entry.full_name, stats if block_given?| ...}
223
223
  </div>
224
224
  <div class="description">
225
225
  <p>
@@ -263,8 +263,8 @@ thereof.
263
263
  </table>
264
264
  </div>
265
265
  <div class="sourcecode">
266
- <p class="source-link">[ <a href="javascript:toggleSource('M000924_source')" id="l_M000924_source">+</a> ]</p>
267
- <div id="M000924_source" class="dyn-source">
266
+ <p class="source-link">[ <a href="javascript:toggleSource('M000929_source')" id="l_M000929_source">+</a> ]</p>
267
+ <div id="M000929_source" class="dyn-source">
268
268
  <pre>
269
269
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 785</span>
270
270
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extract_entry</span>(<span class="ruby-identifier">destdir</span>, <span class="ruby-identifier">entry</span>) <span class="ruby-comment cmt"># :yields action, name, stats:</span>
@@ -328,7 +328,7 @@ thereof.
328
328
  </div>
329
329
  <div class="method">
330
330
  <div class="title">
331
- <a name="M000925"></a><b>tar</b>()
331
+ <a name="M000930"></a><b>tar</b>()
332
332
  </div>
333
333
  <div class="description">
334
334
  <p>
@@ -336,8 +336,8 @@ Returns the <a href="Reader.html">Reader</a> object for direct access.
336
336
  </p>
337
337
  </div>
338
338
  <div class="sourcecode">
339
- <p class="source-link">[ <a href="javascript:toggleSource('M000925_source')" id="l_M000925_source">+</a> ]</p>
340
- <div id="M000925_source" class="dyn-source">
339
+ <p class="source-link">[ <a href="javascript:toggleSource('M000930_source')" id="l_M000930_source">+</a> ]</p>
340
+ <div id="M000930_source" class="dyn-source">
341
341
  <pre>
342
342
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 842</span>
343
343
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar</span>
@@ -86,10 +86,10 @@ See Output::new for details.
86
86
 
87
87
 
88
88
  <div class="sectiontitle">Methods</div>
89
- <span style="padding-right: 5px;"><a href="#M000920">close</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000918">new</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000917">open</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000919">tar</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000925">close</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000923">new</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000922">open</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000924">tar</a></span>
93
93
 
94
94
 
95
95
 
@@ -99,21 +99,21 @@ See Output::new for details.
99
99
  <div class="sectiontitle">Public Class methods</div>
100
100
  <div class="method">
101
101
  <div class="title">
102
- <a name="M000918"></a><b>new</b>(output)
102
+ <a name="M000923"></a><b>new</b>(output)
103
103
  </div>
104
104
  <div class="description">
105
105
  <p>
106
- Creates a <a href="Output.html#M000918">new</a> <a
106
+ Creates a <a href="Output.html#M000923">new</a> <a
107
107
  href="Output.html">Output</a> object. If <tt>output</tt> is a stream object
108
108
  that responds to read), then it will simply be wrapped. Otherwise, one will
109
109
  be created and opened using Kernel#open. When <a
110
- href="Output.html#M000920">Output#close</a> is called, the stream object
110
+ href="Output.html#M000925">Output#close</a> is called, the stream object
111
111
  wrapped will be closed.
112
112
  </p>
113
113
  </div>
114
114
  <div class="sourcecode">
115
- <p class="source-link">[ <a href="javascript:toggleSource('M000918_source')" id="l_M000918_source">+</a> ]</p>
116
- <div id="M000918_source" class="dyn-source">
115
+ <p class="source-link">[ <a href="javascript:toggleSource('M000923_source')" id="l_M000923_source">+</a> ]</p>
116
+ <div id="M000923_source" class="dyn-source">
117
117
  <pre>
118
118
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 890</span>
119
119
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">output</span>)
@@ -130,21 +130,21 @@ wrapped will be closed.
130
130
  </div>
131
131
  <div class="method">
132
132
  <div class="title">
133
- <a name="M000917"></a><b>open</b>(output) {|stream| ...}
133
+ <a name="M000922"></a><b>open</b>(output) {|stream| ...}
134
134
  </div>
135
135
  <div class="description">
136
136
  <p>
137
137
  With no associated block, +Output::open+ is a synonym for +Output::new+. If
138
138
  the optional code block is given, it will be passed the <a
139
- href="Output.html#M000918">new</a> <em>writer</em> as an argument and the
139
+ href="Output.html#M000923">new</a> <em>writer</em> as an argument and the
140
140
  <a href="Output.html">Output</a> object will automatically be closed when
141
141
  the block terminates. In this instance, +Output::open+ returns the value of
142
142
  the block.
143
143
  </p>
144
144
  </div>
145
145
  <div class="sourcecode">
146
- <p class="source-link">[ <a href="javascript:toggleSource('M000917_source')" id="l_M000917_source">+</a> ]</p>
147
- <div id="M000917_source" class="dyn-source">
146
+ <p class="source-link">[ <a href="javascript:toggleSource('M000922_source')" id="l_M000922_source">+</a> ]</p>
147
+ <div id="M000922_source" class="dyn-source">
148
148
  <pre>
149
149
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 873</span>
150
150
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">output</span>)
@@ -166,7 +166,7 @@ the block.
166
166
  <div class="sectiontitle">Public Instance methods</div>
167
167
  <div class="method">
168
168
  <div class="title">
169
- <a name="M000920"></a><b>close</b>()
169
+ <a name="M000925"></a><b>close</b>()
170
170
  </div>
171
171
  <div class="description">
172
172
  <p>
@@ -175,8 +175,8 @@ stream.
175
175
  </p>
176
176
  </div>
177
177
  <div class="sourcecode">
178
- <p class="source-link">[ <a href="javascript:toggleSource('M000920_source')" id="l_M000920_source">+</a> ]</p>
179
- <div id="M000920_source" class="dyn-source">
178
+ <p class="source-link">[ <a href="javascript:toggleSource('M000925_source')" id="l_M000925_source">+</a> ]</p>
179
+ <div id="M000925_source" class="dyn-source">
180
180
  <pre>
181
181
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 905</span>
182
182
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
@@ -189,7 +189,7 @@ stream.
189
189
  </div>
190
190
  <div class="method">
191
191
  <div class="title">
192
- <a name="M000919"></a><b>tar</b>()
192
+ <a name="M000924"></a><b>tar</b>()
193
193
  </div>
194
194
  <div class="description">
195
195
  <p>
@@ -197,8 +197,8 @@ Returns the <a href="Writer.html">Writer</a> object for direct access.
197
197
  </p>
198
198
  </div>
199
199
  <div class="sourcecode">
200
- <p class="source-link">[ <a href="javascript:toggleSource('M000919_source')" id="l_M000919_source">+</a> ]</p>
201
- <div id="M000919_source" class="dyn-source">
200
+ <p class="source-link">[ <a href="javascript:toggleSource('M000924_source')" id="l_M000924_source">+</a> ]</p>
201
+ <div id="M000924_source" class="dyn-source">
202
202
  <pre>
203
203
  <span class="ruby-comment cmt"># File lib/more/facets/minitar.rb, line 900</span>
204
204
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar</span>