facets 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +28 -45
- data/MANIFEST +35 -4
- data/README +3 -14
- data/RELEASE +36 -70
- data/VERSION +1 -1
- data/doc/archive/RELEASE-2.5.0 +83 -0
- data/doc/log/basic_stats/index.html +4 -4
- data/doc/log/changelog.html +509 -2
- data/doc/log/changelog.txt +130 -1522
- data/doc/rdoc/core/classes/Array.html +366 -141
- data/doc/rdoc/core/classes/Binding.html +45 -45
- data/doc/rdoc/core/classes/Class.html +38 -38
- data/doc/rdoc/core/classes/Comparable.html +26 -26
- data/doc/rdoc/core/classes/Enumerable.html +174 -170
- data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
- data/doc/rdoc/core/classes/Enumerator.html +132 -0
- data/doc/rdoc/core/classes/Exception.html +8 -8
- data/doc/rdoc/core/classes/File.html +58 -58
- data/doc/rdoc/core/classes/FileTest.html +4 -4
- data/doc/rdoc/core/classes/Float.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +447 -263
- data/doc/rdoc/core/classes/Indexable.html +110 -110
- data/doc/rdoc/core/classes/Integer.html +2 -2
- data/doc/rdoc/core/classes/Kernel.html +329 -329
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +15 -15
- data/doc/rdoc/core/classes/Module.html +176 -157
- data/doc/rdoc/core/classes/NilClass.html +23 -23
- data/doc/rdoc/core/classes/Numeric.html +27 -27
- data/doc/rdoc/core/classes/Object.html +8 -8
- data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
- data/doc/rdoc/core/classes/Proc.html +22 -22
- data/doc/rdoc/core/classes/Regexp.html +1 -1
- data/doc/rdoc/core/classes/Stackable.html +31 -31
- data/doc/rdoc/core/classes/String.html +332 -291
- data/doc/rdoc/core/classes/Symbol.html +1 -1
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +7 -29
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
- data/doc/rdoc/core/fr_class_index.html +2 -0
- data/doc/rdoc/core/fr_file_index.html +6 -0
- data/doc/rdoc/core/fr_method_index.html +386 -373
- data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +7 -29
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +67 -53
- data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
- data/doc/rdoc/more/classes/BBCode.html +36 -36
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +8 -8
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +52 -45
- data/doc/rdoc/more/classes/Enumerable.html +50 -50
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/Hook.html +162 -0
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantize.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Matcher.html +38 -38
- data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Memoizer.html +21 -21
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenStructable.html +36 -36
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +16 -16
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +5 -5
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Stash.html +28 -28
- data/doc/rdoc/more/classes/String/Mask.html +72 -72
- data/doc/rdoc/more/classes/String/Words.html +31 -31
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/X.html +117 -0
- data/doc/rdoc/more/classes/XOXO.html +11 -11
- data/doc/rdoc/more/classes/ZipUtils.html +88 -88
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +7 -29
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
- data/doc/rdoc/more/fr_class_index.html +2 -0
- data/doc/rdoc/more/fr_file_index.html +1 -0
- data/doc/rdoc/more/fr_method_index.html +686 -681
- data/lib/core/facets/array/product.rb +6 -23
- data/lib/core/facets/enumerable/collect.rb +3 -53
- data/lib/core/facets/enumerable/compact_map.rb +35 -0
- data/lib/core/facets/enumerable/map_with_index.rb +23 -0
- data/lib/core/facets/enumerable/split.rb +3 -3
- data/lib/core/facets/hash/collate.rb +45 -14
- data/lib/core/facets/hash/group_by_value.rb +65 -0
- data/lib/core/facets/hash/new_with.rb +15 -0
- data/lib/core/facets/module/extend.rb +11 -0
- data/lib/core/facets/string/align.rb +19 -18
- data/lib/core/facets/string/file.rb +17 -0
- data/lib/core/facets/string/xor.rb +9 -3
- data/lib/core/facets/to_hash.rb +274 -17
- data/lib/core/facets/unboundmethod/name.rb +4 -2
- data/lib/lore/facets/ostruct.rb +3 -0
- data/lib/more/facets/association.rb +28 -12
- data/lib/more/facets/dictionary.rb +10 -4
- data/lib/more/facets/hook.rb +65 -0
- data/lib/more/facets/paramix.rb +5 -5
- data/meta/abstract +13 -0
- data/meta/authors +1 -0
- data/meta/contact +1 -0
- data/meta/contributors +48 -0
- data/meta/created +1 -0
- data/meta/homepage +1 -0
- data/meta/license +1 -0
- data/meta/loadpath +3 -0
- data/meta/releases +14 -0
- data/meta/slogan +1 -0
- data/meta/summary +1 -0
- data/task/test.rake +116 -18
- data/test/core/array/test_product.rb +0 -6
- data/test/core/binding/test_local_variables.rb +9 -3
- data/test/core/enumerable/test_split.rb +19 -0
- data/test/core/module/test_conflict.rb +8 -3
- data/test/core/test_to_hash.rb +152 -0
- data/test/core/unboundmethod/test_arguments.rb +1 -1
- data/test/core/unboundmethod/test_name.rb +2 -2
- metadata +39 -8
- data/doc/log/bstats/stats.html +0 -39
- data/doc/log/stats.html +0 -25
- data/test/more/test_to_hash.rb +0 -58
@@ -77,7 +77,7 @@ Typecast method extensions for <a href="Class.html">Class</a> class.
|
|
77
77
|
|
78
78
|
|
79
79
|
<div class="sectiontitle">Methods</div>
|
80
|
-
<span style="padding-right: 5px;"><a href="#
|
80
|
+
<span style="padding-right: 5px;"><a href="#M000969">cast_from</a></span>
|
81
81
|
|
82
82
|
|
83
83
|
|
@@ -87,7 +87,7 @@ Typecast method extensions for <a href="Class.html">Class</a> class.
|
|
87
87
|
<div class="sectiontitle">Public Instance methods</div>
|
88
88
|
<div class="method">
|
89
89
|
<div class="title">
|
90
|
-
<a name="
|
90
|
+
<a name="M000969"></a><b>cast_from</b>(object)
|
91
91
|
</div>
|
92
92
|
<div class="description">
|
93
93
|
<p>
|
@@ -98,8 +98,8 @@ Cast on object from another.
|
|
98
98
|
</pre>
|
99
99
|
</div>
|
100
100
|
<div class="sourcecode">
|
101
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
102
|
-
<div id="
|
101
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000969_source')" id="l_M000969_source">+</a> ]</p>
|
102
|
+
<div id="M000969_source" class="dyn-source">
|
103
103
|
<pre>
|
104
104
|
<span class="ruby-comment cmt"># File lib/more/facets/typecast.rb, line 161</span>
|
105
105
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_from</span>(<span class="ruby-identifier">object</span>)
|
@@ -77,7 +77,7 @@ Typecast method extensions for <a href="Object.html">Object</a> class.
|
|
77
77
|
|
78
78
|
|
79
79
|
<div class="sectiontitle">Methods</div>
|
80
|
-
<span style="padding-right: 5px;"><a href="#
|
80
|
+
<span style="padding-right: 5px;"><a href="#M000970">cast_to</a></span>
|
81
81
|
|
82
82
|
|
83
83
|
|
@@ -87,7 +87,7 @@ Typecast method extensions for <a href="Object.html">Object</a> class.
|
|
87
87
|
<div class="sectiontitle">Public Instance methods</div>
|
88
88
|
<div class="method">
|
89
89
|
<div class="title">
|
90
|
-
<a name="
|
90
|
+
<a name="M000970"></a><b>cast_to</b>(klass)
|
91
91
|
</div>
|
92
92
|
<div class="description">
|
93
93
|
<p>
|
@@ -98,8 +98,8 @@ Cast an object to another
|
|
98
98
|
</pre>
|
99
99
|
</div>
|
100
100
|
<div class="sourcecode">
|
101
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
102
|
-
<div id="
|
101
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000970_source')" id="l_M000970_source">+</a> ]</p>
|
102
|
+
<div id="M000970_source" class="dyn-source">
|
103
103
|
<pre>
|
104
104
|
<span class="ruby-comment cmt"># File lib/more/facets/typecast.rb, line 149</span>
|
105
105
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_to</span>(<span class="ruby-identifier">klass</span>)
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<p>
|
74
74
|
Allows an object to declare itself as unable to be subclassed. The
|
75
75
|
technique behind this is very simple (redefinition of <a
|
76
|
-
href="Uninheritable.html#
|
76
|
+
href="Uninheritable.html#M001086">inherited</a>), so this just provides an
|
77
77
|
easier way to do the same thing with a consistent error message.
|
78
78
|
</p>
|
79
79
|
</div>
|
@@ -81,7 +81,7 @@ easier way to do the same thing with a consistent error message.
|
|
81
81
|
|
82
82
|
|
83
83
|
<div class="sectiontitle">Methods</div>
|
84
|
-
<span style="padding-right: 5px;"><a href="#
|
84
|
+
<span style="padding-right: 5px;"><a href="#M001086">inherited</a></span>
|
85
85
|
|
86
86
|
|
87
87
|
|
@@ -91,18 +91,18 @@ easier way to do the same thing with a consistent error message.
|
|
91
91
|
<div class="sectiontitle">Public Instance methods</div>
|
92
92
|
<div class="method">
|
93
93
|
<div class="title">
|
94
|
-
<a name="
|
94
|
+
<a name="M001086"></a><b>inherited</b>(klass)
|
95
95
|
</div>
|
96
96
|
<div class="description">
|
97
97
|
<p>
|
98
98
|
Redefines a class‘s <a
|
99
|
-
href="Uninheritable.html#
|
99
|
+
href="Uninheritable.html#M001086">inherited</a> definition to prevent
|
100
100
|
subclassing of the class extended by this module.
|
101
101
|
</p>
|
102
102
|
</div>
|
103
103
|
<div class="sourcecode">
|
104
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
105
|
-
<div id="
|
104
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001086_source')" id="l_M001086_source">+</a> ]</p>
|
105
|
+
<div id="M001086_source" class="dyn-source">
|
106
106
|
<pre>
|
107
107
|
<span class="ruby-comment cmt"># File lib/more/facets/uninheritable.rb, line 46</span>
|
108
108
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inherited</span>(<span class="ruby-identifier">klass</span>)
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Class: X</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "+"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "-"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />X</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/more/facets/hook_rb.html">lib/more/facets/hook.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
Object
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</table>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
<div class="description"><h1>begin demo</h1>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
<div class="sectiontitle">Methods</div>
|
84
|
+
<span style="padding-right: 5px;"><a href="#M000530">boom</a></span>
|
85
|
+
|
86
|
+
<div class="sectiontitle">Included Modules</div>
|
87
|
+
<ul>
|
88
|
+
<li><a href="Hook.html">Hook</a></li>
|
89
|
+
</ul>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<div class="sectiontitle">Public Instance methods</div>
|
96
|
+
<div class="method">
|
97
|
+
<div class="title">
|
98
|
+
<a name="M000530"></a><b>boom</b>(event, message)
|
99
|
+
</div>
|
100
|
+
<div class="sourcecode">
|
101
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000530_source')" id="l_M000530_source">+</a> ]</p>
|
102
|
+
<div id="M000530_source" class="dyn-source">
|
103
|
+
<pre>
|
104
|
+
<span class="ruby-comment cmt"># File lib/more/facets/hook.rb, line 46</span>
|
105
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">boom</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">message</span>)
|
106
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"Kaboom!"</span>
|
107
|
+
<span class="ruby-keyword kw">end</span>
|
108
|
+
</pre>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|
@@ -74,18 +74,18 @@
|
|
74
74
|
<a href="XOXO.html">XOXO</a> is a Ruby <a href="XOXO.html">XOXO</a> parser
|
75
75
|
and generator. <a href="It.html">It</a> provides a Ruby API similar to
|
76
76
|
Marshal and YAML (though more specific) to <a
|
77
|
-
href="XOXO.html#
|
77
|
+
href="XOXO.html#M000832">load</a> and <a href="XOXO.html#M000833">dump</a>
|
78
78
|
<a href="http://microformats.org/wiki/xoxo">XOXO</a>, an simple, open
|
79
|
-
outline format written in standard XHTML and suitable for embedding in
|
80
|
-
|
79
|
+
outline format written in standard XHTML and suitable for embedding in (<a
|
80
|
+
href="X.html">X</a>)HTML, Atom, RSS, and arbitrary XML.
|
81
81
|
</p>
|
82
82
|
</div>
|
83
83
|
|
84
84
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000833">dump</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000832">load</a></span>
|
89
89
|
|
90
90
|
|
91
91
|
|
@@ -95,7 +95,7 @@ outline format written in standard XHTML and suitable for embedding in
|
|
95
95
|
<div class="sectiontitle">Public Class methods</div>
|
96
96
|
<div class="method">
|
97
97
|
<div class="title">
|
98
|
-
<a name="
|
98
|
+
<a name="M000833"></a><b>dump</b>(struct, options={})
|
99
99
|
</div>
|
100
100
|
<div class="description">
|
101
101
|
<p>
|
@@ -131,8 +131,8 @@ wrapped <a href="XOXO.html">XOXO</a> document.
|
|
131
131
|
</table>
|
132
132
|
</div>
|
133
133
|
<div class="sourcecode">
|
134
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
135
|
-
<div id="
|
134
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000833_source')" id="l_M000833_source">+</a> ]</p>
|
135
|
+
<div id="M000833_source" class="dyn-source">
|
136
136
|
<pre>
|
137
137
|
<span class="ruby-comment cmt"># File lib/more/facets/xoxo.rb, line 71</span>
|
138
138
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dump</span>(<span class="ruby-identifier">struct</span>, <span class="ruby-identifier">options</span>={})
|
@@ -157,7 +157,7 @@ wrapped <a href="XOXO.html">XOXO</a> document.
|
|
157
157
|
</div>
|
158
158
|
<div class="method">
|
159
159
|
<div class="title">
|
160
|
-
<a name="
|
160
|
+
<a name="M000832"></a><b>load</b>(xoxo)
|
161
161
|
</div>
|
162
162
|
<div class="description">
|
163
163
|
<p>
|
@@ -166,8 +166,8 @@ IO or StringIO or <em>xoxo</em>.
|
|
166
166
|
</p>
|
167
167
|
</div>
|
168
168
|
<div class="sourcecode">
|
169
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
170
|
-
<div id="
|
169
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000832_source')" id="l_M000832_source">+</a> ]</p>
|
170
|
+
<div id="M000832_source" class="dyn-source">
|
171
171
|
<pre>
|
172
172
|
<span class="ruby-comment cmt"># File lib/more/facets/xoxo.rb, line 48</span>
|
173
173
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">xoxo</span>)
|
@@ -82,27 +82,27 @@ internalize.
|
|
82
82
|
|
83
83
|
|
84
84
|
<div class="sectiontitle">Methods</div>
|
85
|
-
<span style="padding-right: 5px;"><a href="#
|
86
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
89
|
-
<span style="padding-right: 5px;"><a href="#
|
90
|
-
<span style="padding-right: 5px;"><a href="#
|
91
|
-
<span style="padding-right: 5px;"><a href="#
|
92
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
95
|
-
<span style="padding-right: 5px;"><a href="#
|
96
|
-
<span style="padding-right: 5px;"><a href="#
|
97
|
-
<span style="padding-right: 5px;"><a href="#
|
98
|
-
<span style="padding-right: 5px;"><a href="#
|
99
|
-
<span style="padding-right: 5px;"><a href="#
|
100
|
-
<span style="padding-right: 5px;"><a href="#
|
101
|
-
<span style="padding-right: 5px;"><a href="#
|
102
|
-
<span style="padding-right: 5px;"><a href="#
|
103
|
-
<span style="padding-right: 5px;"><a href="#
|
104
|
-
<span style="padding-right: 5px;"><a href="#
|
105
|
-
<span style="padding-right: 5px;"><a href="#
|
85
|
+
<span style="padding-right: 5px;"><a href="#M001004">bzip</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M001003">bzip2</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M001000">compress</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M001001">gzip</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M001007">tar</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M001014">tar_bzip</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M001013">tar_bzip2</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M001009">tar_gzip</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M001015">tar_j</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M001010">tar_z</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M001006">unbzip</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M001005">unbzip2</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M001002">ungzip</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M001008">untar</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M001017">untar_bzip</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M001016">untar_bzip2</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M001011">untar_gzip</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M001018">untar_j</a></span>
|
103
|
+
<span style="padding-right: 5px;"><a href="#M001012">untar_z</a></span>
|
104
|
+
<span style="padding-right: 5px;"><a href="#M001020">unzip</a></span>
|
105
|
+
<span style="padding-right: 5px;"><a href="#M001019">zip</a></span>
|
106
106
|
|
107
107
|
|
108
108
|
|
@@ -125,25 +125,25 @@ Module <a href="ZipUtils/Verbose.html" class="link">ZipUtils::Verbose</a><br />
|
|
125
125
|
<div class="sectiontitle">Public Instance methods</div>
|
126
126
|
<div class="method">
|
127
127
|
<div class="title">
|
128
|
-
<a name="
|
128
|
+
<a name="M001004"></a><b>bzip</b>(file, option={})
|
129
129
|
</div>
|
130
130
|
<div class="description">
|
131
131
|
<p>
|
132
|
-
Alias for <a href="ZipUtils.html#
|
132
|
+
Alias for <a href="ZipUtils.html#M001003">bzip2</a>
|
133
133
|
</p>
|
134
134
|
</div>
|
135
135
|
</div>
|
136
136
|
<div class="method">
|
137
137
|
<div class="title">
|
138
|
-
<a name="
|
138
|
+
<a name="M001003"></a><b>bzip2</b>(file, option={})
|
139
139
|
</div>
|
140
140
|
<div class="aka">
|
141
141
|
This method is also aliased as
|
142
|
-
<a href="ZipUtils.html#
|
142
|
+
<a href="ZipUtils.html#M001004">bzip</a>
|
143
143
|
</div>
|
144
144
|
<div class="sourcecode">
|
145
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
146
|
-
<div id="
|
145
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001003_source')" id="l_M001003_source">+</a> ]</p>
|
146
|
+
<div id="M001003_source" class="dyn-source">
|
147
147
|
<pre>
|
148
148
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 70</span>
|
149
149
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">option</span>={})
|
@@ -158,7 +158,7 @@ Alias for <a href="ZipUtils.html#M000998">bzip2</a>
|
|
158
158
|
</div>
|
159
159
|
<div class="method">
|
160
160
|
<div class="title">
|
161
|
-
<a name="
|
161
|
+
<a name="M001000"></a><b>compress</b>(folder, file, options={})
|
162
162
|
</div>
|
163
163
|
<div class="description">
|
164
164
|
<p>
|
@@ -174,18 +174,18 @@ Compress folder or file based on given extension. Supported extensions are:
|
|
174
174
|
<li>.tar.bz2
|
175
175
|
|
176
176
|
</li>
|
177
|
-
<li>.<a href="ZipUtils.html#
|
177
|
+
<li>.<a href="ZipUtils.html#M001019">zip</a>
|
178
178
|
|
179
179
|
</li>
|
180
180
|
</ul>
|
181
181
|
<p>
|
182
|
-
TODO: support <a href="ZipUtils.html#
|
183
|
-
href="ZipUtils.html#
|
182
|
+
TODO: support <a href="ZipUtils.html#M001001">gzip</a> and <a
|
183
|
+
href="ZipUtils.html#M001003">bzip2</a> as well.
|
184
184
|
</p>
|
185
185
|
</div>
|
186
186
|
<div class="sourcecode">
|
187
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
188
|
-
<div id="
|
187
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001000_source')" id="l_M001000_source">+</a> ]</p>
|
188
|
+
<div id="M001000_source" class="dyn-source">
|
189
189
|
<pre>
|
190
190
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 31</span>
|
191
191
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compress</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -202,11 +202,11 @@ href="ZipUtils.html#M000998">bzip2</a> as well.
|
|
202
202
|
</div>
|
203
203
|
<div class="method">
|
204
204
|
<div class="title">
|
205
|
-
<a name="
|
205
|
+
<a name="M001001"></a><b>gzip</b>(file, option={})
|
206
206
|
</div>
|
207
207
|
<div class="sourcecode">
|
208
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
209
|
-
<div id="
|
208
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001001_source')" id="l_M001001_source">+</a> ]</p>
|
209
|
+
<div id="M001001_source" class="dyn-source">
|
210
210
|
<pre>
|
211
211
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 42</span>
|
212
212
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">option</span>={})
|
@@ -226,11 +226,11 @@ href="ZipUtils.html#M000998">bzip2</a> as well.
|
|
226
226
|
</div>
|
227
227
|
<div class="method">
|
228
228
|
<div class="title">
|
229
|
-
<a name="
|
229
|
+
<a name="M001007"></a><b>tar</b>(folder, file=nil, options={})
|
230
230
|
</div>
|
231
231
|
<div class="sourcecode">
|
232
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
233
|
-
<div id="
|
232
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001007_source')" id="l_M001007_source">+</a> ]</p>
|
233
|
+
<div id="M001007_source" class="dyn-source">
|
234
234
|
<pre>
|
235
235
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 92</span>
|
236
236
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -250,17 +250,17 @@ href="ZipUtils.html#M000998">bzip2</a> as well.
|
|
250
250
|
</div>
|
251
251
|
<div class="method">
|
252
252
|
<div class="title">
|
253
|
-
<a name="
|
253
|
+
<a name="M001014"></a><b>tar_bzip</b>(folder, file=nil, options={})
|
254
254
|
</div>
|
255
255
|
<div class="description">
|
256
256
|
<p>
|
257
|
-
Alias for <a href="ZipUtils.html#
|
257
|
+
Alias for <a href="ZipUtils.html#M001013">tar_bzip2</a>
|
258
258
|
</p>
|
259
259
|
</div>
|
260
260
|
</div>
|
261
261
|
<div class="method">
|
262
262
|
<div class="title">
|
263
|
-
<a name="
|
263
|
+
<a name="M001013"></a><b>tar_bzip2</b>(folder, file=nil, options={})
|
264
264
|
</div>
|
265
265
|
<div class="description">
|
266
266
|
<p>
|
@@ -269,12 +269,12 @@ Tar Bzip2
|
|
269
269
|
</div>
|
270
270
|
<div class="aka">
|
271
271
|
This method is also aliased as
|
272
|
-
<a href="ZipUtils.html#
|
273
|
-
<a href="ZipUtils.html#
|
272
|
+
<a href="ZipUtils.html#M001014">tar_bzip</a>
|
273
|
+
<a href="ZipUtils.html#M001015">tar_j</a>
|
274
274
|
</div>
|
275
275
|
<div class="sourcecode">
|
276
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
277
|
-
<div id="
|
276
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001013_source')" id="l_M001013_source">+</a> ]</p>
|
277
|
+
<div id="M001013_source" class="dyn-source">
|
278
278
|
<pre>
|
279
279
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 151</span>
|
280
280
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_bzip2</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -291,7 +291,7 @@ Tar Bzip2
|
|
291
291
|
</div>
|
292
292
|
<div class="method">
|
293
293
|
<div class="title">
|
294
|
-
<a name="
|
294
|
+
<a name="M001009"></a><b>tar_gzip</b>(folder, file=nil, options={})
|
295
295
|
</div>
|
296
296
|
<div class="description">
|
297
297
|
<p>
|
@@ -300,11 +300,11 @@ Tar Gzip
|
|
300
300
|
</div>
|
301
301
|
<div class="aka">
|
302
302
|
This method is also aliased as
|
303
|
-
<a href="ZipUtils.html#
|
303
|
+
<a href="ZipUtils.html#M001010">tar_z</a>
|
304
304
|
</div>
|
305
305
|
<div class="sourcecode">
|
306
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
307
|
-
<div id="
|
306
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001009_source')" id="l_M001009_source">+</a> ]</p>
|
307
|
+
<div id="M001009_source" class="dyn-source">
|
308
308
|
<pre>
|
309
309
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 120</span>
|
310
310
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_gzip</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -325,45 +325,45 @@ Tar Gzip
|
|
325
325
|
</div>
|
326
326
|
<div class="method">
|
327
327
|
<div class="title">
|
328
|
-
<a name="
|
328
|
+
<a name="M001015"></a><b>tar_j</b>(folder, file=nil, options={})
|
329
329
|
</div>
|
330
330
|
<div class="description">
|
331
331
|
<p>
|
332
|
-
Alias for <a href="ZipUtils.html#
|
332
|
+
Alias for <a href="ZipUtils.html#M001013">tar_bzip2</a>
|
333
333
|
</p>
|
334
334
|
</div>
|
335
335
|
</div>
|
336
336
|
<div class="method">
|
337
337
|
<div class="title">
|
338
|
-
<a name="
|
338
|
+
<a name="M001010"></a><b>tar_z</b>(folder, file=nil, options={})
|
339
339
|
</div>
|
340
340
|
<div class="description">
|
341
341
|
<p>
|
342
|
-
Alias for <a href="ZipUtils.html#
|
342
|
+
Alias for <a href="ZipUtils.html#M001009">tar_gzip</a>
|
343
343
|
</p>
|
344
344
|
</div>
|
345
345
|
</div>
|
346
346
|
<div class="method">
|
347
347
|
<div class="title">
|
348
|
-
<a name="
|
348
|
+
<a name="M001006"></a><b>unbzip</b>(file, options={})
|
349
349
|
</div>
|
350
350
|
<div class="description">
|
351
351
|
<p>
|
352
|
-
Alias for <a href="ZipUtils.html#
|
352
|
+
Alias for <a href="ZipUtils.html#M001005">unbzip2</a>
|
353
353
|
</p>
|
354
354
|
</div>
|
355
355
|
</div>
|
356
356
|
<div class="method">
|
357
357
|
<div class="title">
|
358
|
-
<a name="
|
358
|
+
<a name="M001005"></a><b>unbzip2</b>(file, options={})
|
359
359
|
</div>
|
360
360
|
<div class="aka">
|
361
361
|
This method is also aliased as
|
362
|
-
<a href="ZipUtils.html#
|
362
|
+
<a href="ZipUtils.html#M001006">unbzip</a>
|
363
363
|
</div>
|
364
364
|
<div class="sourcecode">
|
365
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
366
|
-
<div id="
|
365
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001005_source')" id="l_M001005_source">+</a> ]</p>
|
366
|
+
<div id="M001005_source" class="dyn-source">
|
367
367
|
<pre>
|
368
368
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 81</span>
|
369
369
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -378,11 +378,11 @@ Alias for <a href="ZipUtils.html#M001000">unbzip2</a>
|
|
378
378
|
</div>
|
379
379
|
<div class="method">
|
380
380
|
<div class="title">
|
381
|
-
<a name="
|
381
|
+
<a name="M001002"></a><b>ungzip</b>(file, options={})
|
382
382
|
</div>
|
383
383
|
<div class="sourcecode">
|
384
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
385
|
-
<div id="
|
384
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001002_source')" id="l_M001002_source">+</a> ]</p>
|
385
|
+
<div id="M001002_source" class="dyn-source">
|
386
386
|
<pre>
|
387
387
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 56</span>
|
388
388
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ungzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -402,11 +402,11 @@ Alias for <a href="ZipUtils.html#M001000">unbzip2</a>
|
|
402
402
|
</div>
|
403
403
|
<div class="method">
|
404
404
|
<div class="title">
|
405
|
-
<a name="
|
405
|
+
<a name="M001008"></a><b>untar</b>(file, options={})
|
406
406
|
</div>
|
407
407
|
<div class="sourcecode">
|
408
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
409
|
-
<div id="
|
408
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001008_source')" id="l_M001008_source">+</a> ]</p>
|
409
|
+
<div id="M001008_source" class="dyn-source">
|
410
410
|
<pre>
|
411
411
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 106</span>
|
412
412
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -426,17 +426,17 @@ Alias for <a href="ZipUtils.html#M001000">unbzip2</a>
|
|
426
426
|
</div>
|
427
427
|
<div class="method">
|
428
428
|
<div class="title">
|
429
|
-
<a name="
|
429
|
+
<a name="M001017"></a><b>untar_bzip</b>(file, options={})
|
430
430
|
</div>
|
431
431
|
<div class="description">
|
432
432
|
<p>
|
433
|
-
Alias for <a href="ZipUtils.html#
|
433
|
+
Alias for <a href="ZipUtils.html#M001016">untar_bzip2</a>
|
434
434
|
</p>
|
435
435
|
</div>
|
436
436
|
</div>
|
437
437
|
<div class="method">
|
438
438
|
<div class="title">
|
439
|
-
<a name="
|
439
|
+
<a name="M001016"></a><b>untar_bzip2</b>(file, options={})
|
440
440
|
</div>
|
441
441
|
<div class="description">
|
442
442
|
<p>
|
@@ -445,12 +445,12 @@ Untar Bzip2
|
|
445
445
|
</div>
|
446
446
|
<div class="aka">
|
447
447
|
This method is also aliased as
|
448
|
-
<a href="ZipUtils.html#
|
449
|
-
<a href="ZipUtils.html#
|
448
|
+
<a href="ZipUtils.html#M001017">untar_bzip</a>
|
449
|
+
<a href="ZipUtils.html#M001018">untar_j</a>
|
450
450
|
</div>
|
451
451
|
<div class="sourcecode">
|
452
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
453
|
-
<div id="
|
452
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001016_source')" id="l_M001016_source">+</a> ]</p>
|
453
|
+
<div id="M001016_source" class="dyn-source">
|
454
454
|
<pre>
|
455
455
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 166</span>
|
456
456
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar_bzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -464,24 +464,24 @@ Untar Bzip2
|
|
464
464
|
</div>
|
465
465
|
<div class="method">
|
466
466
|
<div class="title">
|
467
|
-
<a name="
|
467
|
+
<a name="M001011"></a><b>untar_gzip</b>(file, options={})
|
468
468
|
</div>
|
469
469
|
<div class="description">
|
470
470
|
<p>
|
471
471
|
Untar Gzip
|
472
472
|
</p>
|
473
473
|
<p>
|
474
|
-
TODO: Write unified <a href="ZipUtils.html#
|
474
|
+
TODO: Write unified <a href="ZipUtils.html#M001011">untar_gzip</a>
|
475
475
|
function.
|
476
476
|
</p>
|
477
477
|
</div>
|
478
478
|
<div class="aka">
|
479
479
|
This method is also aliased as
|
480
|
-
<a href="ZipUtils.html#
|
480
|
+
<a href="ZipUtils.html#M001012">untar_z</a>
|
481
481
|
</div>
|
482
482
|
<div class="sourcecode">
|
483
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
484
|
-
<div id="
|
483
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001011_source')" id="l_M001011_source">+</a> ]</p>
|
484
|
+
<div id="M001011_source" class="dyn-source">
|
485
485
|
<pre>
|
486
486
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 143</span>
|
487
487
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar_gzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -493,27 +493,27 @@ function.
|
|
493
493
|
</div>
|
494
494
|
<div class="method">
|
495
495
|
<div class="title">
|
496
|
-
<a name="
|
496
|
+
<a name="M001018"></a><b>untar_j</b>(file, options={})
|
497
497
|
</div>
|
498
498
|
<div class="description">
|
499
499
|
<p>
|
500
|
-
Alias for <a href="ZipUtils.html#
|
500
|
+
Alias for <a href="ZipUtils.html#M001016">untar_bzip2</a>
|
501
501
|
</p>
|
502
502
|
</div>
|
503
503
|
</div>
|
504
504
|
<div class="method">
|
505
505
|
<div class="title">
|
506
|
-
<a name="
|
506
|
+
<a name="M001012"></a><b>untar_z</b>(file, options={})
|
507
507
|
</div>
|
508
508
|
<div class="description">
|
509
509
|
<p>
|
510
|
-
Alias for <a href="ZipUtils.html#
|
510
|
+
Alias for <a href="ZipUtils.html#M001011">untar_gzip</a>
|
511
511
|
</p>
|
512
512
|
</div>
|
513
513
|
</div>
|
514
514
|
<div class="method">
|
515
515
|
<div class="title">
|
516
|
-
<a name="
|
516
|
+
<a name="M001020"></a><b>unzip</b>(file, options={})
|
517
517
|
</div>
|
518
518
|
<div class="description">
|
519
519
|
<p>
|
@@ -521,8 +521,8 @@ Unzip
|
|
521
521
|
</p>
|
522
522
|
</div>
|
523
523
|
<div class="sourcecode">
|
524
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
525
|
-
<div id="
|
524
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001020_source')" id="l_M001020_source">+</a> ]</p>
|
525
|
+
<div id="M001020_source" class="dyn-source">
|
526
526
|
<pre>
|
527
527
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 189</span>
|
528
528
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -536,7 +536,7 @@ Unzip
|
|
536
536
|
</div>
|
537
537
|
<div class="method">
|
538
538
|
<div class="title">
|
539
|
-
<a name="
|
539
|
+
<a name="M001019"></a><b>zip</b>(folder, file=nil, options={})
|
540
540
|
</div>
|
541
541
|
<div class="description">
|
542
542
|
<p>
|
@@ -544,8 +544,8 @@ Zip
|
|
544
544
|
</p>
|
545
545
|
</div>
|
546
546
|
<div class="sourcecode">
|
547
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
548
|
-
<div id="
|
547
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001019_source')" id="l_M001019_source">+</a> ]</p>
|
548
|
+
<div id="M001019_source" class="dyn-source">
|
549
549
|
<pre>
|
550
550
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 178</span>
|
551
551
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">zip</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|