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
@@ -86,17 +86,17 @@ Object
86
86
 
87
87
 
88
88
  <div class="sectiontitle">Methods</div>
89
- <span style="padding-right: 5px;"><a href="#M000229">__DIR__</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000228">__FILE__</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000227">__LINE__</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000230">__callee__</a></span>
93
- <span style="padding-right: 5px;"><a href="#M000231">__method__</a></span>
94
- <span style="padding-right: 5px;"><a href="#M000226">caller</a></span>
95
- <span style="padding-right: 5px;"><a href="#M000236">callstack</a></span>
96
- <span style="padding-right: 5px;"><a href="#M000235">defined?</a></span>
97
- <span style="padding-right: 5px;"><a href="#M000232">eval</a></span>
98
- <span style="padding-right: 5px;"><a href="#M000234">local_variables</a></span>
99
- <span style="padding-right: 5px;"><a href="#M000233">self</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000240">__DIR__</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000239">__FILE__</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000238">__LINE__</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000241">__callee__</a></span>
93
+ <span style="padding-right: 5px;"><a href="#M000242">__method__</a></span>
94
+ <span style="padding-right: 5px;"><a href="#M000237">caller</a></span>
95
+ <span style="padding-right: 5px;"><a href="#M000247">callstack</a></span>
96
+ <span style="padding-right: 5px;"><a href="#M000246">defined?</a></span>
97
+ <span style="padding-right: 5px;"><a href="#M000243">eval</a></span>
98
+ <span style="padding-right: 5px;"><a href="#M000245">local_variables</a></span>
99
+ <span style="padding-right: 5px;"><a href="#M000244">self</a></span>
100
100
 
101
101
 
102
102
 
@@ -106,7 +106,7 @@ Object
106
106
  <div class="sectiontitle">Public Instance methods</div>
107
107
  <div class="method">
108
108
  <div class="title">
109
- <a name="M000229"></a><b>__DIR__</b>()
109
+ <a name="M000240"></a><b>__DIR__</b>()
110
110
  </div>
111
111
  <div class="description">
112
112
  <p>
@@ -114,8 +114,8 @@ Return the directory of the file.
114
114
  </p>
115
115
  </div>
116
116
  <div class="sourcecode">
117
- <p class="source-link">[ <a href="javascript:toggleSource('M000229_source')" id="l_M000229_source">+</a> ]</p>
118
- <div id="M000229_source" class="dyn-source">
117
+ <p class="source-link">[ <a href="javascript:toggleSource('M000240_source')" id="l_M000240_source">+</a> ]</p>
118
+ <div id="M000240_source" class="dyn-source">
119
119
  <pre>
120
120
  <span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 22</span>
121
121
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__DIR__</span>
@@ -127,7 +127,7 @@ Return the directory of the file.
127
127
  </div>
128
128
  <div class="method">
129
129
  <div class="title">
130
- <a name="M000228"></a><b>__FILE__</b>()
130
+ <a name="M000239"></a><b>__FILE__</b>()
131
131
  </div>
132
132
  <div class="description">
133
133
  <p>
@@ -135,8 +135,8 @@ Returns file name.
135
135
  </p>
136
136
  </div>
137
137
  <div class="sourcecode">
138
- <p class="source-link">[ <a href="javascript:toggleSource('M000228_source')" id="l_M000228_source">+</a> ]</p>
139
- <div id="M000228_source" class="dyn-source">
138
+ <p class="source-link">[ <a href="javascript:toggleSource('M000239_source')" id="l_M000239_source">+</a> ]</p>
139
+ <div id="M000239_source" class="dyn-source">
140
140
  <pre>
141
141
  <span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 17</span>
142
142
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">__FILE__</span>
@@ -148,7 +148,7 @@ Returns file name.
148
148
  </div>
149
149
  <div class="method">
150
150
  <div class="title">
151
- <a name="M000227"></a><b>__LINE__</b>()
151
+ <a name="M000238"></a><b>__LINE__</b>()
152
152
  </div>
153
153
  <div class="description">
154
154
  <p>
@@ -156,8 +156,8 @@ Returns line number.
156
156
  </p>
157
157
  </div>
158
158
  <div class="sourcecode">
159
- <p class="source-link">[ <a href="javascript:toggleSource('M000227_source')" id="l_M000227_source">+</a> ]</p>
160
- <div id="M000227_source" class="dyn-source">
159
+ <p class="source-link">[ <a href="javascript:toggleSource('M000238_source')" id="l_M000238_source">+</a> ]</p>
160
+ <div id="M000238_source" class="dyn-source">
161
161
  <pre>
162
162
  <span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 12</span>
163
163
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">__LINE__</span>
@@ -169,7 +169,7 @@ Returns line number.
169
169
  </div>
170
170
  <div class="method">
171
171
  <div class="title">
172
- <a name="M000230"></a><b>__callee__</b>()
172
+ <a name="M000241"></a><b>__callee__</b>()
173
173
  </div>
174
174
  <div class="description">
175
175
  <p>
@@ -181,8 +181,8 @@ Retreive the current running method.
181
181
  </pre>
182
182
  </div>
183
183
  <div class="sourcecode">
184
- <p class="source-link">[ <a href="javascript:toggleSource('M000230_source')" id="l_M000230_source">+</a> ]</p>
185
- <div id="M000230_source" class="dyn-source">
184
+ <p class="source-link">[ <a href="javascript:toggleSource('M000241_source')" id="l_M000241_source">+</a> ]</p>
185
+ <div id="M000241_source" class="dyn-source">
186
186
  <pre>
187
187
  <span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 31</span>
188
188
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__callee__</span>
@@ -195,7 +195,7 @@ Retreive the current running method.
195
195
  </div>
196
196
  <div class="method">
197
197
  <div class="title">
198
- <a name="M000231"></a><b>__method__</b>()
198
+ <a name="M000242"></a><b>__method__</b>()
199
199
  </div>
200
200
  <div class="description">
201
201
  <p>
@@ -209,8 +209,8 @@ symbol.
209
209
  </pre>
210
210
  </div>
211
211
  <div class="sourcecode">
212
- <p class="source-link">[ <a href="javascript:toggleSource('M000231_source')" id="l_M000231_source">+</a> ]</p>
213
- <div id="M000231_source" class="dyn-source">
212
+ <p class="source-link">[ <a href="javascript:toggleSource('M000242_source')" id="l_M000242_source">+</a> ]</p>
213
+ <div id="M000242_source" class="dyn-source">
214
214
  <pre>
215
215
  <span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 43</span>
216
216
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__method__</span>
@@ -223,7 +223,7 @@ symbol.
223
223
  </div>
224
224
  <div class="method">
225
225
  <div class="title">
226
- <a name="M000226"></a><b>caller</b>( skip=0 )
226
+ <a name="M000237"></a><b>caller</b>( skip=0 )
227
227
  </div>
228
228
  <div class="description">
229
229
  <p>
@@ -231,8 +231,8 @@ Returns the call stack, same format as Kernel#caller()
231
231
  </p>
232
232
  </div>
233
233
  <div class="sourcecode">
234
- <p class="source-link">[ <a href="javascript:toggleSource('M000226_source')" id="l_M000226_source">+</a> ]</p>
235
- <div id="M000226_source" class="dyn-source">
234
+ <p class="source-link">[ <a href="javascript:toggleSource('M000237_source')" id="l_M000237_source">+</a> ]</p>
235
+ <div id="M000237_source" class="dyn-source">
236
236
  <pre>
237
237
  <span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 7</span>
238
238
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">caller</span>( <span class="ruby-identifier">skip</span>=<span class="ruby-value">0</span> )
@@ -244,7 +244,7 @@ Returns the call stack, same format as Kernel#caller()
244
244
  </div>
245
245
  <div class="method">
246
246
  <div class="title">
247
- <a name="M000236"></a><b>callstack</b>(level=1)
247
+ <a name="M000247"></a><b>callstack</b>(level=1)
248
248
  </div>
249
249
  <div class="description">
250
250
  <p>
@@ -252,8 +252,8 @@ Returns the call stack, in array format.
252
252
  </p>
253
253
  </div>
254
254
  <div class="sourcecode">
255
- <p class="source-link">[ <a href="javascript:toggleSource('M000236_source')" id="l_M000236_source">+</a> ]</p>
256
- <div id="M000236_source" class="dyn-source">
255
+ <p class="source-link">[ <a href="javascript:toggleSource('M000247_source')" id="l_M000247_source">+</a> ]</p>
256
+ <div id="M000247_source" class="dyn-source">
257
257
  <pre>
258
258
  <span class="ruby-comment cmt"># File lib/core/facets/kernel/callstack.rb, line 47</span>
259
259
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callstack</span>(<span class="ruby-identifier">level</span>=<span class="ruby-value">1</span>)
@@ -265,7 +265,7 @@ Returns the call stack, in array format.
265
265
  </div>
266
266
  <div class="method">
267
267
  <div class="title">
268
- <a name="M000235"></a><b>defined?</b>(x)
268
+ <a name="M000246"></a><b>defined?</b>(x)
269
269
  </div>
270
270
  <div class="description">
271
271
  <p>
@@ -274,8 +274,8 @@ nil if that thing is not defined.
274
274
  </p>
275
275
  </div>
276
276
  <div class="sourcecode">
277
- <p class="source-link">[ <a href="javascript:toggleSource('M000235_source')" id="l_M000235_source">+</a> ]</p>
278
- <div id="M000235_source" class="dyn-source">
277
+ <p class="source-link">[ <a href="javascript:toggleSource('M000246_source')" id="l_M000246_source">+</a> ]</p>
278
+ <div id="M000246_source" class="dyn-source">
279
279
  <pre>
280
280
  <span class="ruby-comment cmt"># File lib/core/facets/binding/defined.rb, line 7</span>
281
281
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-identifier">x</span>)
@@ -287,7 +287,7 @@ nil if that thing is not defined.
287
287
  </div>
288
288
  <div class="method">
289
289
  <div class="title">
290
- <a name="M000232"></a><b>eval</b>(str)
290
+ <a name="M000243"></a><b>eval</b>(str)
291
291
  </div>
292
292
  <div class="description">
293
293
  <p>
@@ -295,8 +295,8 @@ Evaluate a Ruby source code string (or block) in the binding context.
295
295
  </p>
296
296
  </div>
297
297
  <div class="sourcecode">
298
- <p class="source-link">[ <a href="javascript:toggleSource('M000232_source')" id="l_M000232_source">+</a> ]</p>
299
- <div id="M000232_source" class="dyn-source">
298
+ <p class="source-link">[ <a href="javascript:toggleSource('M000243_source')" id="l_M000243_source">+</a> ]</p>
299
+ <div id="M000243_source" class="dyn-source">
300
300
  <pre>
301
301
  <span class="ruby-comment cmt"># File lib/core/facets/binding/eval.rb, line 7</span>
302
302
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eval</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt">#='', &amp;blk )</span>
@@ -312,7 +312,7 @@ Evaluate a Ruby source code string (or block) in the binding context.
312
312
  </div>
313
313
  <div class="method">
314
314
  <div class="title">
315
- <a name="M000234"></a><b>local_variables</b>()
315
+ <a name="M000245"></a><b>local_variables</b>()
316
316
  </div>
317
317
  <div class="description">
318
318
  <p>
@@ -324,8 +324,8 @@ Returns the local variables defined in the binding context
324
324
  </pre>
325
325
  </div>
326
326
  <div class="sourcecode">
327
- <p class="source-link">[ <a href="javascript:toggleSource('M000234_source')" id="l_M000234_source">+</a> ]</p>
328
- <div id="M000234_source" class="dyn-source">
327
+ <p class="source-link">[ <a href="javascript:toggleSource('M000245_source')" id="l_M000245_source">+</a> ]</p>
328
+ <div id="M000245_source" class="dyn-source">
329
329
  <pre>
330
330
  <span class="ruby-comment cmt"># File lib/core/facets/binding/local_variables.rb, line 10</span>
331
331
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">local_variables</span>()
@@ -337,16 +337,16 @@ Returns the local variables defined in the binding context
337
337
  </div>
338
338
  <div class="method">
339
339
  <div class="title">
340
- <a name="M000233"></a><b>self</b>()
340
+ <a name="M000244"></a><b>self</b>()
341
341
  </div>
342
342
  <div class="description">
343
343
  <p>
344
- Returns <a href="Binding.html#M000233">self</a> of the binding context.
344
+ Returns <a href="Binding.html#M000244">self</a> of the binding context.
345
345
  </p>
346
346
  </div>
347
347
  <div class="sourcecode">
348
- <p class="source-link">[ <a href="javascript:toggleSource('M000233_source')" id="l_M000233_source">+</a> ]</p>
349
- <div id="M000233_source" class="dyn-source">
348
+ <p class="source-link">[ <a href="javascript:toggleSource('M000244_source')" id="l_M000244_source">+</a> ]</p>
349
+ <div id="M000244_source" class="dyn-source">
350
350
  <pre>
351
351
  <span class="ruby-comment cmt"># File lib/core/facets/binding/self.rb, line 7</span>
352
352
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>()
@@ -86,15 +86,15 @@ Object
86
86
 
87
87
 
88
88
  <div class="sectiontitle">Methods</div>
89
- <span style="padding-right: 5px;"><a href="#M000198">cattr</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000201">cattr_accessor</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000199">cattr_reader</a></span>
92
- <span style="padding-right: 5px;"><a href="#M000200">cattr_writer</a></span>
93
- <span style="padding-right: 5px;"><a href="#M000204">descendents</a></span>
94
- <span style="padding-right: 5px;"><a href="#M000202">methodize</a></span>
95
- <span style="padding-right: 5px;"><a href="#M000203">pathize</a></span>
96
- <span style="padding-right: 5px;"><a href="#M000197">prepend</a></span>
97
- <span style="padding-right: 5px;"><a href="#M000205">to_proc</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000209">cattr</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000212">cattr_accessor</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000210">cattr_reader</a></span>
92
+ <span style="padding-right: 5px;"><a href="#M000211">cattr_writer</a></span>
93
+ <span style="padding-right: 5px;"><a href="#M000215">descendents</a></span>
94
+ <span style="padding-right: 5px;"><a href="#M000213">methodize</a></span>
95
+ <span style="padding-right: 5px;"><a href="#M000214">pathize</a></span>
96
+ <span style="padding-right: 5px;"><a href="#M000208">prepend</a></span>
97
+ <span style="padding-right: 5px;"><a href="#M000216">to_proc</a></span>
98
98
 
99
99
 
100
100
 
@@ -104,7 +104,7 @@ Object
104
104
  <div class="sectiontitle">Public Instance methods</div>
105
105
  <div class="method">
106
106
  <div class="title">
107
- <a name="M000198"></a><b>cattr</b>( *syms )
107
+ <a name="M000209"></a><b>cattr</b>( *syms )
108
108
  </div>
109
109
  <div class="description">
110
110
  <p>
@@ -122,8 +122,8 @@ CREDIT: David Heinemeier Hansson
122
122
  </p>
123
123
  </div>
124
124
  <div class="sourcecode">
125
- <p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">+</a> ]</p>
126
- <div id="M000198_source" class="dyn-source">
125
+ <p class="source-link">[ <a href="javascript:toggleSource('M000209_source')" id="l_M000209_source">+</a> ]</p>
126
+ <div id="M000209_source" class="dyn-source">
127
127
  <pre>
128
128
  <span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 12</span>
129
129
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">syms</span> )
@@ -140,7 +140,7 @@ CREDIT: David Heinemeier Hansson
140
140
  </div>
141
141
  <div class="method">
142
142
  <div class="title">
143
- <a name="M000201"></a><b>cattr_accessor</b>(*syms)
143
+ <a name="M000212"></a><b>cattr_accessor</b>(*syms)
144
144
  </div>
145
145
  <div class="description">
146
146
  <p>
@@ -162,8 +162,8 @@ CREDIT: David Heinemeier Hansson
162
162
  </p>
163
163
  </div>
164
164
  <div class="sourcecode">
165
- <p class="source-link">[ <a href="javascript:toggleSource('M000201_source')" id="l_M000201_source">+</a> ]</p>
166
- <div id="M000201_source" class="dyn-source">
165
+ <p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">+</a> ]</p>
166
+ <div id="M000212_source" class="dyn-source">
167
167
  <pre>
168
168
  <span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 102</span>
169
169
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr_accessor</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
@@ -175,7 +175,7 @@ CREDIT: David Heinemeier Hansson
175
175
  </div>
176
176
  <div class="method">
177
177
  <div class="title">
178
- <a name="M000199"></a><b>cattr_reader</b>( *syms )
178
+ <a name="M000210"></a><b>cattr_reader</b>( *syms )
179
179
  </div>
180
180
  <div class="description">
181
181
  <p>
@@ -196,8 +196,8 @@ CREDIT: David Heinemeier Hansson
196
196
  </p>
197
197
  </div>
198
198
  <div class="sourcecode">
199
- <p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">+</a> ]</p>
200
- <div id="M000199_source" class="dyn-source">
199
+ <p class="source-link">[ <a href="javascript:toggleSource('M000210_source')" id="l_M000210_source">+</a> ]</p>
200
+ <div id="M000210_source" class="dyn-source">
201
201
  <pre>
202
202
  <span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 33</span>
203
203
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr_reader</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">syms</span> )
@@ -212,7 +212,7 @@ CREDIT: David Heinemeier Hansson
212
212
  </div>
213
213
  <div class="method">
214
214
  <div class="title">
215
- <a name="M000200"></a><b>cattr_writer</b>(*syms)
215
+ <a name="M000211"></a><b>cattr_writer</b>(*syms)
216
216
  </div>
217
217
  <div class="description">
218
218
  <p>
@@ -237,8 +237,8 @@ CREDIT: David Heinemeier Hansson
237
237
  </p>
238
238
  </div>
239
239
  <div class="sourcecode">
240
- <p class="source-link">[ <a href="javascript:toggleSource('M000200_source')" id="l_M000200_source">+</a> ]</p>
241
- <div id="M000200_source" class="dyn-source">
240
+ <p class="source-link">[ <a href="javascript:toggleSource('M000211_source')" id="l_M000211_source">+</a> ]</p>
241
+ <div id="M000211_source" class="dyn-source">
242
242
  <pre>
243
243
  <span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 69</span>
244
244
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr_writer</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
@@ -253,7 +253,7 @@ CREDIT: David Heinemeier Hansson
253
253
  </div>
254
254
  <div class="method">
255
255
  <div class="title">
256
- <a name="M000204"></a><b>descendents</b>()
256
+ <a name="M000215"></a><b>descendents</b>()
257
257
  </div>
258
258
  <div class="description">
259
259
  <p>
@@ -270,8 +270,8 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
270
270
  </p>
271
271
  </div>
272
272
  <div class="sourcecode">
273
- <p class="source-link">[ <a href="javascript:toggleSource('M000204_source')" id="l_M000204_source">+</a> ]</p>
274
- <div id="M000204_source" class="dyn-source">
273
+ <p class="source-link">[ <a href="javascript:toggleSource('M000215_source')" id="l_M000215_source">+</a> ]</p>
274
+ <div id="M000215_source" class="dyn-source">
275
275
  <pre>
276
276
  <span class="ruby-comment cmt"># File lib/core/facets/class/descendents.rb, line 12</span>
277
277
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">descendents</span>
@@ -289,7 +289,7 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
289
289
  </div>
290
290
  <div class="method">
291
291
  <div class="title">
292
- <a name="M000202"></a><b>methodize</b>()
292
+ <a name="M000213"></a><b>methodize</b>()
293
293
  </div>
294
294
  <div class="description">
295
295
  <p>
@@ -300,8 +300,8 @@ Translate a class name to a suitable method name.
300
300
  </pre>
301
301
  </div>
302
302
  <div class="sourcecode">
303
- <p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">+</a> ]</p>
304
- <div id="M000202_source" class="dyn-source">
303
+ <p class="source-link">[ <a href="javascript:toggleSource('M000213_source')" id="l_M000213_source">+</a> ]</p>
304
+ <div id="M000213_source" class="dyn-source">
305
305
  <pre>
306
306
  <span class="ruby-comment cmt"># File lib/core/facets/class/methodize.rb, line 9</span>
307
307
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
@@ -313,7 +313,7 @@ Translate a class name to a suitable method name.
313
313
  </div>
314
314
  <div class="method">
315
315
  <div class="title">
316
- <a name="M000203"></a><b>pathize</b>()
316
+ <a name="M000214"></a><b>pathize</b>()
317
317
  </div>
318
318
  <div class="description">
319
319
  <p>
@@ -324,8 +324,8 @@ Converts a class name to a unix path.
324
324
  </pre>
325
325
  </div>
326
326
  <div class="sourcecode">
327
- <p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">+</a> ]</p>
328
- <div id="M000203_source" class="dyn-source">
327
+ <p class="source-link">[ <a href="javascript:toggleSource('M000214_source')" id="l_M000214_source">+</a> ]</p>
328
+ <div id="M000214_source" class="dyn-source">
329
329
  <pre>
330
330
  <span class="ruby-comment cmt"># File lib/core/facets/class/pathize.rb, line 9</span>
331
331
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
@@ -337,7 +337,7 @@ Converts a class name to a unix path.
337
337
  </div>
338
338
  <div class="method">
339
339
  <div class="title">
340
- <a name="M000197"></a><b>prepend</b>( aspect )
340
+ <a name="M000208"></a><b>prepend</b>( aspect )
341
341
  </div>
342
342
  <div class="description">
343
343
  <p>
@@ -370,13 +370,13 @@ CREDIT: Trans
370
370
  </p>
371
371
  <p>
372
372
  TODO: Perhaps rename this to preallocate, b/c of the way it works. It is
373
- not really a clean <a href="Class.html#M000197">prepend</a>, like that of
374
- <a href="Module.html#M000165">Module#prepend</a>.
373
+ not really a clean <a href="Class.html#M000208">prepend</a>, like that of
374
+ <a href="Module.html#M000175">Module#prepend</a>.
375
375
  </p>
376
376
  </div>
377
377
  <div class="sourcecode">
378
- <p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">+</a> ]</p>
379
- <div id="M000197_source" class="dyn-source">
378
+ <p class="source-link">[ <a href="javascript:toggleSource('M000208_source')" id="l_M000208_source">+</a> ]</p>
379
+ <div id="M000208_source" class="dyn-source">
380
380
  <pre>
381
381
  <span class="ruby-comment cmt"># File lib/core/facets/class/prepend.rb, line 30</span>
382
382
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>( <span class="ruby-identifier">aspect</span> )
@@ -401,7 +401,7 @@ not really a clean <a href="Class.html#M000197">prepend</a>, like that of
401
401
  </div>
402
402
  <div class="method">
403
403
  <div class="title">
404
- <a name="M000205"></a><b>to_proc</b>()
404
+ <a name="M000216"></a><b>to_proc</b>()
405
405
  </div>
406
406
  <div class="description">
407
407
  <p>
@@ -425,8 +425,8 @@ CREDIT: Daniel Schierbeck
425
425
  </p>
426
426
  </div>
427
427
  <div class="sourcecode">
428
- <p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">+</a> ]</p>
429
- <div id="M000205_source" class="dyn-source">
428
+ <p class="source-link">[ <a href="javascript:toggleSource('M000216_source')" id="l_M000216_source">+</a> ]</p>
429
+ <div id="M000216_source" class="dyn-source">
430
430
  <pre>
431
431
  <span class="ruby-comment cmt"># File lib/core/facets/class/to_proc.rb, line 18</span>
432
432
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
@@ -75,12 +75,12 @@
75
75
 
76
76
 
77
77
  <div class="sectiontitle">Methods</div>
78
- <span style="padding-right: 5px;"><a href="#M000409">at_least</a></span>
79
- <span style="padding-right: 5px;"><a href="#M000410">at_most</a></span>
80
- <span style="padding-right: 5px;"><a href="#M000414">bound</a></span>
81
- <span style="padding-right: 5px;"><a href="#M000411">cap</a></span>
82
- <span style="padding-right: 5px;"><a href="#M000413">clip</a></span>
83
- <span style="padding-right: 5px;"><a href="#M000412">cmp</a></span>
78
+ <span style="padding-right: 5px;"><a href="#M000421">at_least</a></span>
79
+ <span style="padding-right: 5px;"><a href="#M000422">at_most</a></span>
80
+ <span style="padding-right: 5px;"><a href="#M000426">bound</a></span>
81
+ <span style="padding-right: 5px;"><a href="#M000423">cap</a></span>
82
+ <span style="padding-right: 5px;"><a href="#M000425">clip</a></span>
83
+ <span style="padding-right: 5px;"><a href="#M000424">cmp</a></span>
84
84
 
85
85
 
86
86
 
@@ -90,7 +90,7 @@
90
90
  <div class="sectiontitle">Public Instance methods</div>
91
91
  <div class="method">
92
92
  <div class="title">
93
- <a name="M000409"></a><b>at_least</b>(lower)
93
+ <a name="M000421"></a><b>at_least</b>(lower)
94
94
  </div>
95
95
  <div class="description">
96
96
  <p>
@@ -105,8 +105,8 @@ CREDIT: Florian Gross
105
105
  </p>
106
106
  </div>
107
107
  <div class="sourcecode">
108
- <p class="source-link">[ <a href="javascript:toggleSource('M000409_source')" id="l_M000409_source">+</a> ]</p>
109
- <div id="M000409_source" class="dyn-source">
108
+ <p class="source-link">[ <a href="javascript:toggleSource('M000421_source')" id="l_M000421_source">+</a> ]</p>
109
+ <div id="M000421_source" class="dyn-source">
110
110
  <pre>
111
111
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cap.rb, line 10</span>
112
112
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_least</span>(<span class="ruby-identifier">lower</span>)
@@ -118,7 +118,7 @@ CREDIT: Florian Gross
118
118
  </div>
119
119
  <div class="method">
120
120
  <div class="title">
121
- <a name="M000410"></a><b>at_most</b>(upper)
121
+ <a name="M000422"></a><b>at_most</b>(upper)
122
122
  </div>
123
123
  <div class="description">
124
124
  <p>
@@ -134,11 +134,11 @@ CREDIT: Florian Gross
134
134
  </div>
135
135
  <div class="aka">
136
136
  This method is also aliased as
137
- <a href="Comparable.html#M000411">cap</a>
137
+ <a href="Comparable.html#M000423">cap</a>
138
138
  </div>
139
139
  <div class="sourcecode">
140
- <p class="source-link">[ <a href="javascript:toggleSource('M000410_source')" id="l_M000410_source">+</a> ]</p>
141
- <div id="M000410_source" class="dyn-source">
140
+ <p class="source-link">[ <a href="javascript:toggleSource('M000422_source')" id="l_M000422_source">+</a> ]</p>
141
+ <div id="M000422_source" class="dyn-source">
142
142
  <pre>
143
143
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cap.rb, line 21</span>
144
144
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_most</span>(<span class="ruby-identifier">upper</span>)
@@ -150,34 +150,34 @@ CREDIT: Florian Gross
150
150
  </div>
151
151
  <div class="method">
152
152
  <div class="title">
153
- <a name="M000414"></a><b>bound</b>(lower, upper=nil)
153
+ <a name="M000426"></a><b>bound</b>(lower, upper=nil)
154
154
  </div>
155
155
  <div class="description">
156
156
  <p>
157
- Alias for <a href="Comparable.html#M000413">clip</a>
157
+ Alias for <a href="Comparable.html#M000425">clip</a>
158
158
  </p>
159
159
  </div>
160
160
  </div>
161
161
  <div class="method">
162
162
  <div class="title">
163
- <a name="M000411"></a><b>cap</b>(upper)
163
+ <a name="M000423"></a><b>cap</b>(upper)
164
164
  </div>
165
165
  <div class="description">
166
166
  <p>
167
- Alias for <a href="Comparable.html#M000410">at_most</a>
167
+ Alias for <a href="Comparable.html#M000422">at_most</a>
168
168
  </p>
169
169
  </div>
170
170
  </div>
171
171
  <div class="method">
172
172
  <div class="title">
173
- <a name="M000413"></a><b>clip</b>(lower, upper=nil)
173
+ <a name="M000425"></a><b>clip</b>(lower, upper=nil)
174
174
  </div>
175
175
  <div class="description">
176
176
  <p>
177
177
  Returns self if above the given lower <a
178
- href="Comparable.html#M000414">bound</a>, or within the given lower and
178
+ href="Comparable.html#M000426">bound</a>, or within the given lower and
179
179
  upper bounds, otherwise returns the the <a
180
- href="Comparable.html#M000414">bound</a> of which the value falls outside.
180
+ href="Comparable.html#M000426">bound</a> of which the value falls outside.
181
181
  </p>
182
182
  <pre>
183
183
  4.clip(3) #=&gt; 4
@@ -192,11 +192,11 @@ CREDIT Florian Gross, Trans
192
192
  </div>
193
193
  <div class="aka">
194
194
  This method is also aliased as
195
- <a href="Comparable.html#M000414">bound</a>
195
+ <a href="Comparable.html#M000426">bound</a>
196
196
  </div>
197
197
  <div class="sourcecode">
198
- <p class="source-link">[ <a href="javascript:toggleSource('M000413_source')" id="l_M000413_source">+</a> ]</p>
199
- <div id="M000413_source" class="dyn-source">
198
+ <p class="source-link">[ <a href="javascript:toggleSource('M000425_source')" id="l_M000425_source">+</a> ]</p>
199
+ <div id="M000425_source" class="dyn-source">
200
200
  <pre>
201
201
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/clip.rb, line 16</span>
202
202
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clip</span>(<span class="ruby-identifier">lower</span>, <span class="ruby-identifier">upper</span>=<span class="ruby-keyword kw">nil</span>)
@@ -211,7 +211,7 @@ CREDIT Florian Gross, Trans
211
211
  </div>
212
212
  <div class="method">
213
213
  <div class="title">
214
- <a name="M000412"></a><b>cmp</b>(o)
214
+ <a name="M000424"></a><b>cmp</b>(o)
215
215
  </div>
216
216
  <div class="description">
217
217
  <p>
@@ -231,8 +231,8 @@ CREDIT: Peter Vanbroekhoven
231
231
  </p>
232
232
  </div>
233
233
  <div class="sourcecode">
234
- <p class="source-link">[ <a href="javascript:toggleSource('M000412_source')" id="l_M000412_source">+</a> ]</p>
235
- <div id="M000412_source" class="dyn-source">
234
+ <p class="source-link">[ <a href="javascript:toggleSource('M000424_source')" id="l_M000424_source">+</a> ]</p>
235
+ <div id="M000424_source" class="dyn-source">
236
236
  <pre>
237
237
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 14</span>
238
238
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">o</span>)