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
@@ -82,8 +82,8 @@ Object
|
|
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="#
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000262">blank?</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000261">to_bool</a></span>
|
87
87
|
|
88
88
|
|
89
89
|
|
@@ -93,11 +93,11 @@ Object
|
|
93
93
|
<div class="sectiontitle">Public Instance methods</div>
|
94
94
|
<div class="method">
|
95
95
|
<div class="title">
|
96
|
-
<a name="
|
96
|
+
<a name="M000262"></a><b>blank?</b>()
|
97
97
|
</div>
|
98
98
|
<div class="sourcecode">
|
99
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
100
|
-
<div id="
|
99
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000262_source')" id="l_M000262_source">+</a> ]</p>
|
100
|
+
<div id="M000262_source" class="dyn-source">
|
101
101
|
<pre>
|
102
102
|
<span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 32</span>
|
103
103
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
|
@@ -109,11 +109,11 @@ Object
|
|
109
109
|
</div>
|
110
110
|
<div class="method">
|
111
111
|
<div class="title">
|
112
|
-
<a name="
|
112
|
+
<a name="M000261"></a><b>to_bool</b>()
|
113
113
|
</div>
|
114
114
|
<div class="sourcecode">
|
115
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
116
|
-
<div id="
|
115
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000261_source')" id="l_M000261_source">+</a> ]</p>
|
116
|
+
<div id="M000261_source" class="dyn-source">
|
117
117
|
<pre>
|
118
118
|
<span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 141</span>
|
119
119
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_bool</span>
|
@@ -82,8 +82,8 @@ Object
|
|
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="#
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000327">arguments</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000326">name</a></span>
|
87
87
|
|
88
88
|
|
89
89
|
|
@@ -93,11 +93,11 @@ Object
|
|
93
93
|
<div class="sectiontitle">Public Instance methods</div>
|
94
94
|
<div class="method">
|
95
95
|
<div class="title">
|
96
|
-
<a name="
|
96
|
+
<a name="M000327"></a><b>arguments</b>()
|
97
97
|
</div>
|
98
98
|
<div class="description">
|
99
99
|
<p>
|
100
|
-
Resolves the <a href="UnboundMethod.html#
|
100
|
+
Resolves the <a href="UnboundMethod.html#M000327">arguments</a> of the
|
101
101
|
method to have an identical signiture —useful for preserving arity.
|
102
102
|
</p>
|
103
103
|
<pre>
|
@@ -114,7 +114,7 @@ method to have an identical signiture —useful for preserving arity.
|
|
114
114
|
</pre>
|
115
115
|
<p>
|
116
116
|
When defaults are used the <a
|
117
|
-
href="UnboundMethod.html#
|
117
|
+
href="UnboundMethod.html#M000327">arguments</a> must end in
|
118
118
|
"*args".
|
119
119
|
</p>
|
120
120
|
<p>
|
@@ -122,8 +122,8 @@ CREDIT: Trans
|
|
122
122
|
</p>
|
123
123
|
</div>
|
124
124
|
<div class="sourcecode">
|
125
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
126
|
-
<div id="
|
125
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000327_source')" id="l_M000327_source">+</a> ]</p>
|
126
|
+
<div id="M000327_source" class="dyn-source">
|
127
127
|
<pre>
|
128
128
|
<span class="ruby-comment cmt"># File lib/core/facets/unboundmethod/arguments.rb, line 21</span>
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arguments</span>
|
@@ -154,12 +154,17 @@ CREDIT: Trans
|
|
154
154
|
</div>
|
155
155
|
<div class="method">
|
156
156
|
<div class="title">
|
157
|
-
<a name="
|
157
|
+
<a name="M000326"></a><b>name</b>()
|
158
158
|
</div>
|
159
159
|
<div class="description">
|
160
160
|
<p>
|
161
|
-
Return the <a href="UnboundMethod.html#
|
162
|
-
|
161
|
+
Return the <a href="UnboundMethod.html#M000326">name</a> of the method.
|
162
|
+
</p>
|
163
|
+
<p>
|
164
|
+
Be aware that in ruby 1.9 <a
|
165
|
+
href="UnboundMethod.html#M000326">UnboundMethod#name</a> is defined
|
166
|
+
already, but it returns a <a href="Symbol.html">Symbol</a> not a <a
|
167
|
+
href="String.html">String</a>.
|
163
168
|
</p>
|
164
169
|
<pre>
|
165
170
|
class X
|
@@ -175,10 +180,10 @@ CREDIT: Trans
|
|
175
180
|
</p>
|
176
181
|
</div>
|
177
182
|
<div class="sourcecode">
|
178
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
179
|
-
<div id="
|
183
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000326_source')" id="l_M000326_source">+</a> ]</p>
|
184
|
+
<div id="M000326_source" class="dyn-source">
|
180
185
|
<pre>
|
181
|
-
<span class="ruby-comment cmt"># File lib/core/facets/unboundmethod/name.rb, line
|
186
|
+
<span class="ruby-comment cmt"># File lib/core/facets/unboundmethod/name.rb, line 20</span>
|
182
187
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
183
188
|
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-value str">'#'</span>)
|
184
189
|
<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">slice</span>(<span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span><span class="ruby-operator">...</span><span class="ruby-value">-1</span>)
|
data/doc/rdoc/core/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Thu,
|
1
|
+
Thu, 05 Mar 2009 17:45:40 -0500
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tr>
|
64
64
|
<tr>
|
65
65
|
<td>Modified:</td>
|
66
|
-
<td>
|
66
|
+
<td>Thu Nov 27 07:44:01 -0500 2008</td>
|
67
67
|
</tr>
|
68
68
|
</table>
|
69
69
|
</td></tr>
|
@@ -134,24 +134,15 @@ The easiest way to install is via RubyGems.
|
|
134
134
|
$ gem install facets
|
135
135
|
</pre>
|
136
136
|
<p>
|
137
|
-
To install manually,
|
138
|
-
|
137
|
+
To install manually, your will need Ruby Setup (<a
|
138
|
+
href="http::/setup.rubyforge.org">:/setup.rubyforge.org</a>). Then download
|
139
|
+
and unpack the .tar.gz package and run:
|
139
140
|
</p>
|
140
141
|
<pre>
|
141
142
|
$ tar -xvzf facets-2.x.x.tar.gz
|
142
143
|
$ cd facets-2.x.x
|
143
|
-
$ sudo
|
144
|
+
$ sudo setup.rb
|
144
145
|
</pre>
|
145
|
-
<p>
|
146
|
-
On Window the last step will be:
|
147
|
-
</p>
|
148
|
-
<pre>
|
149
|
-
C:\> ruby task/setup
|
150
|
-
</pre>
|
151
|
-
<p>
|
152
|
-
IMPORTANT! Note that setup.rb is no longer used b/c of Facets’ new
|
153
|
-
layout.
|
154
|
-
</p>
|
155
146
|
<h2>Compatibility with 1.x series.</h2>
|
156
147
|
<p>
|
157
148
|
Prior to 2.0, Facets was divided between CORE and MORE —standalone
|
@@ -162,19 +153,6 @@ loaded automatically when using ++require "facets"++. While still
|
|
162
153
|
primarily made up of extension methods modules and classes may now belong
|
163
154
|
to core as well.
|
164
155
|
</p>
|
165
|
-
<p>
|
166
|
-
The other significant change from 1.x to 2.0 is the removal of some
|
167
|
-
libraries that were considered too extraneous for a general purpose
|
168
|
-
library. Most of these were spun-off to their own projects. In particular,
|
169
|
-
the web-related libs are now part of Blow (<a
|
170
|
-
href="http://blow.rubyforge.org">blow.rubyforge.org</a>), inflection
|
171
|
-
libraries are in English (<a
|
172
|
-
href="http://english.rubyforge.org">english.rubyforge.org</a>), units.rb
|
173
|
-
along with constants.rb are in Stick (<a
|
174
|
-
href="http://stick.rubyforge.org">stick.rubyforge.org</a>), and the
|
175
|
-
persistance system in Opod (<a
|
176
|
-
href="http://opod.rubyforge.org">opod.rubyforge.org</a>).
|
177
|
-
</p>
|
178
156
|
<h2>Mission</h2>
|
179
157
|
<p>
|
180
158
|
Facets holds to the notion that the more we can reasonably integrate into a
|
@@ -283,10 +261,10 @@ the Ruby license (namely the GPL) or the original author has given
|
|
283
261
|
permission for inclusion of their code under such license.
|
284
262
|
</p>
|
285
263
|
<p>
|
286
|
-
|
264
|
+
Ruby Facets, Copyright (c)2005,2006,2007,2008 Thomas Sawyer / Tiger Ops
|
287
265
|
</p>
|
288
266
|
<p>
|
289
|
-
|
267
|
+
ALL YOUR BASE ARE BELONG TO RUBY!
|
290
268
|
</p>
|
291
269
|
<p>
|
292
270
|
Do you Ruby? (<a href="http://ruby-lang.org">ruby-lang.org</a>)
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tr>
|
64
64
|
<tr>
|
65
65
|
<td>Modified:</td>
|
66
|
-
<td>
|
66
|
+
<td>Sun Nov 30 19:25:17 -0500 2008</td>
|
67
67
|
</tr>
|
68
68
|
</table>
|
69
69
|
</td></tr>
|
@@ -75,7 +75,16 @@
|
|
75
75
|
<div id="bodyContent">
|
76
76
|
<div id="content">
|
77
77
|
|
78
|
+
<div class="description"><p>
|
79
|
+
to be deprecated
|
80
|
+
</p>
|
81
|
+
</div>
|
78
82
|
|
83
|
+
<div class="sectiontitle">Required Files</div>
|
84
|
+
<ul>
|
85
|
+
<li>facets/enumerable/map_with_index</li>
|
86
|
+
<li>facets/enumerable/compact_map</li>
|
87
|
+
</ul>
|
79
88
|
|
80
89
|
|
81
90
|
|
@@ -0,0 +1,92 @@
|
|
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>File: compact_map.rb</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 border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
|
54
|
+
<tr><td>
|
55
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
|
56
|
+
<td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />compact_map.rb</td>
|
57
|
+
<td align="right">
|
58
|
+
<table border='0' cellspacing="0" cellpadding="2">
|
59
|
+
<tr>
|
60
|
+
<td>Path:</td>
|
61
|
+
<td>lib/core/facets/enumerable/compact_map.rb
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Modified:</td>
|
66
|
+
<td>Sun Nov 30 19:25:17 -0500 2008</td>
|
67
|
+
</tr>
|
68
|
+
</table>
|
69
|
+
</td></tr>
|
70
|
+
</table>
|
71
|
+
</td></tr>
|
72
|
+
</table><br />
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
</body>
|
92
|
+
</html>
|
@@ -0,0 +1,92 @@
|
|
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>File: map_with_index.rb</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 border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
|
54
|
+
<tr><td>
|
55
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
|
56
|
+
<td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />map_with_index.rb</td>
|
57
|
+
<td align="right">
|
58
|
+
<table border='0' cellspacing="0" cellpadding="2">
|
59
|
+
<tr>
|
60
|
+
<td>Path:</td>
|
61
|
+
<td>lib/core/facets/enumerable/map_with_index.rb
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Modified:</td>
|
66
|
+
<td>Sun Nov 30 19:25:17 -0500 2008</td>
|
67
|
+
</tr>
|
68
|
+
</table>
|
69
|
+
</td></tr>
|
70
|
+
</table>
|
71
|
+
</td></tr>
|
72
|
+
</table><br />
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
</body>
|
92
|
+
</html>
|
@@ -0,0 +1,92 @@
|
|
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>File: group_by_value.rb</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 border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
|
54
|
+
<tr><td>
|
55
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
|
56
|
+
<td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />group_by_value.rb</td>
|
57
|
+
<td align="right">
|
58
|
+
<table border='0' cellspacing="0" cellpadding="2">
|
59
|
+
<tr>
|
60
|
+
<td>Path:</td>
|
61
|
+
<td>lib/core/facets/hash/group_by_value.rb
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Modified:</td>
|
66
|
+
<td>Tue Jan 27 15:15:02 -0500 2009</td>
|
67
|
+
</tr>
|
68
|
+
</table>
|
69
|
+
</td></tr>
|
70
|
+
</table>
|
71
|
+
</td></tr>
|
72
|
+
</table><br />
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
</body>
|
92
|
+
</html>
|