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,7 +86,7 @@ look true to Ruby, even if the actual result object is nil or false.
86
86
  </p>
87
87
  <p>
88
88
  If you want to test the result for truth, get the unwrapped result object
89
- via <a href="../Kernel.html#M000350">Kernel.demand</a>.
89
+ via <a href="../Kernel.html#M000362">Kernel.demand</a>.
90
90
  </p>
91
91
  </div>
92
92
 
@@ -82,9 +82,9 @@ Object
82
82
 
83
83
 
84
84
  <div class="sectiontitle">Methods</div>
85
- <span style="padding-right: 5px;"><a href="#M000155">match</a></span>
86
- <span style="padding-right: 5px;"><a href="#M000156">matchset</a></span>
87
- <span style="padding-right: 5px;"><a href="#M000157">matchtree</a></span>
85
+ <span style="padding-right: 5px;"><a href="#M000164">match</a></span>
86
+ <span style="padding-right: 5px;"><a href="#M000165">matchset</a></span>
87
+ <span style="padding-right: 5px;"><a href="#M000166">matchtree</a></span>
88
88
 
89
89
 
90
90
 
@@ -94,11 +94,11 @@ Object
94
94
  <div class="sectiontitle">Public Instance methods</div>
95
95
  <div class="method">
96
96
  <div class="title">
97
- <a name="M000155"></a><b>match</b>(index=0)
97
+ <a name="M000164"></a><b>match</b>(index=0)
98
98
  </div>
99
99
  <div class="description">
100
100
  <p>
101
- Return the primary <a href="MatchData.html#M000155">match</a> string. This
101
+ Return the primary <a href="MatchData.html#M000164">match</a> string. This
102
102
  is equivalent to +md[0]+.
103
103
  </p>
104
104
  <pre>
@@ -110,8 +110,8 @@ CREDIT: Martin DeMello
110
110
  </p>
111
111
  </div>
112
112
  <div class="sourcecode">
113
- <p class="source-link">[ <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">+</a> ]</p>
114
- <div id="M000155_source" class="dyn-source">
113
+ <p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">+</a> ]</p>
114
+ <div id="M000164_source" class="dyn-source">
115
115
  <pre>
116
116
  <span class="ruby-comment cmt"># File lib/core/facets/matchdata/match.rb, line 10</span>
117
117
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">match</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
@@ -123,12 +123,12 @@ CREDIT: Martin DeMello
123
123
  </div>
124
124
  <div class="method">
125
125
  <div class="title">
126
- <a name="M000156"></a><b>matchset</b>()
126
+ <a name="M000165"></a><b>matchset</b>()
127
127
  </div>
128
128
  <div class="description">
129
129
  <p>
130
- Returns [ pre_match, <a href="MatchData.html#M000157">matchtree</a>,
131
- post_match ]. (see <a href="MatchData.html#M000157">matchtree</a>)
130
+ Returns [ pre_match, <a href="MatchData.html#M000166">matchtree</a>,
131
+ post_match ]. (see <a href="MatchData.html#M000166">matchtree</a>)
132
132
  </p>
133
133
  <pre>
134
134
  md = /(bb)(cc(dd))(ee)/.match &quot;XXaabbccddeeffXX&quot;
@@ -140,8 +140,8 @@ CREDIT: Trans
140
140
  </p>
141
141
  </div>
142
142
  <div class="sourcecode">
143
- <p class="source-link">[ <a href="javascript:toggleSource('M000156_source')" id="l_M000156_source">+</a> ]</p>
144
- <div id="M000156_source" class="dyn-source">
143
+ <p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">+</a> ]</p>
144
+ <div id="M000165_source" class="dyn-source">
145
145
  <pre>
146
146
  <span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 11</span>
147
147
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchset</span>
@@ -153,7 +153,7 @@ CREDIT: Trans
153
153
  </div>
154
154
  <div class="method">
155
155
  <div class="title">
156
- <a name="M000157"></a><b>matchtree</b>(index=0)
156
+ <a name="M000166"></a><b>matchtree</b>(index=0)
157
157
  </div>
158
158
  <div class="description">
159
159
  <p>
@@ -170,8 +170,8 @@ CREDIT: Trans
170
170
  </p>
171
171
  </div>
172
172
  <div class="sourcecode">
173
- <p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">+</a> ]</p>
174
- <div id="M000157_source" class="dyn-source">
173
+ <p class="source-link">[ <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">+</a> ]</p>
174
+ <div id="M000166_source" class="dyn-source">
175
175
  <pre>
176
176
  <span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 24</span>
177
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchtree</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
@@ -81,6 +81,7 @@
81
81
  <a href="../files/lib/core/facets/module/rename_method_rb.html">lib/core/facets/module/rename_method.rb</a>
82
82
  <a href="../files/lib/core/facets/module/alias_method_chain_rb.html">lib/core/facets/module/alias_method_chain.rb</a>
83
83
  <a href="../files/lib/core/facets/module/revise_rb.html">lib/core/facets/module/revise.rb</a>
84
+ <a href="../files/lib/core/facets/module/extend_rb.html">lib/core/facets/module/extend.rb</a>
84
85
  <a href="../files/lib/core/facets/module/spacename_rb.html">lib/core/facets/module/spacename.rb</a>
85
86
  <a href="../files/lib/core/facets/module/wrap_method_rb.html">lib/core/facets/module/wrap_method.rb</a>
86
87
  <a href="../files/lib/core/facets/module/basename_rb.html">lib/core/facets/module/basename.rb</a>
@@ -105,7 +106,7 @@ Object
105
106
 
106
107
  <div class="description"><p>
107
108
  It would nice if we could the following. Then the middle portion of the <a
108
- href="Module.html#M000164">Comparable</a> method would not be needed. But I
109
+ href="Module.html#M000174">Comparable</a> method would not be needed. But I
109
110
  fear it might break others code.
110
111
  </p>
111
112
  <pre>
@@ -124,40 +125,41 @@ fear it might break others code.
124
125
 
125
126
 
126
127
  <div class="sectiontitle">Methods</div>
127
- <span style="padding-right: 5px;"><a href="#M000174">*</a></span>
128
- <span style="padding-right: 5px;"><a href="#M000172">+</a></span>
129
- <span style="padding-right: 5px;"><a href="#M000173">-</a></span>
130
- <span style="padding-right: 5px;"><a href="#M000164">Comparable</a></span>
131
- <span style="padding-right: 5px;"><a href="#M000188">abstract</a></span>
132
- <span style="padding-right: 5px;"><a href="#M000189">alias_method_chain</a></span>
133
- <span style="padding-right: 5px;"><a href="#M000176">all_instance_methods</a></span>
134
- <span style="padding-right: 5px;"><a href="#M000166">ancestor?</a></span>
135
- <span style="padding-right: 5px;"><a href="#M000196">basename</a></span>
136
- <span style="padding-right: 5px;"><a href="#M000163">class_def</a></span>
137
- <span style="padding-right: 5px;"><a href="#M000183">class_load</a></span>
138
- <span style="padding-right: 5px;"><a href="#M000182">class_require</a></span>
139
- <span style="padding-right: 5px;"><a href="#M000168">conflict?</a></span>
140
- <span style="padding-right: 5px;"><a href="#M000177">instance_method_defined?</a></span>
141
- <span style="padding-right: 5px;"><a href="#M000192">integrate</a></span>
142
- <span style="padding-right: 5px;"><a href="#M000185">is</a></span>
143
- <span style="padding-right: 5px;"><a href="#M000184">is?</a></span>
144
- <span style="padding-right: 5px;"><a href="#M000167">methodize</a></span>
145
- <span style="padding-right: 5px;"><a href="#M000187">modspace</a></span>
146
- <span style="padding-right: 5px;"><a href="#M000180">module_load</a></span>
147
- <span style="padding-right: 5px;"><a href="#M000179">module_method_defined?</a></span>
148
- <span style="padding-right: 5px;"><a href="#M000181">module_require</a></span>
149
- <span style="padding-right: 5px;"><a href="#M000186">nesting</a></span>
150
- <span style="padding-right: 5px;"><a href="#M000175">pathize</a></span>
151
- <span style="padding-right: 5px;"><a href="#M000165">prepend</a></span>
152
- <span style="padding-right: 5px;"><a href="#M000170">private_conflict?</a></span>
153
- <span style="padding-right: 5px;"><a href="#M000171">protected_conflict?</a></span>
154
- <span style="padding-right: 5px;"><a href="#M000169">public_conflict?</a></span>
155
- <span style="padding-right: 5px;"><a href="#M000191">revisal</a></span>
156
- <span style="padding-right: 5px;"><a href="#M000190">revise</a></span>
157
- <span style="padding-right: 5px;"><a href="#M000178">singleton_method_defined?</a></span>
158
- <span style="padding-right: 5px;"><a href="#M000193">spacename</a></span>
159
- <span style="padding-right: 5px;"><a href="#M000195">wrap</a></span>
160
- <span style="padding-right: 5px;"><a href="#M000194">wrap_method</a></span>
128
+ <span style="padding-right: 5px;"><a href="#M000184">*</a></span>
129
+ <span style="padding-right: 5px;"><a href="#M000182">+</a></span>
130
+ <span style="padding-right: 5px;"><a href="#M000183">-</a></span>
131
+ <span style="padding-right: 5px;"><a href="#M000174">Comparable</a></span>
132
+ <span style="padding-right: 5px;"><a href="#M000198">abstract</a></span>
133
+ <span style="padding-right: 5px;"><a href="#M000199">alias_method_chain</a></span>
134
+ <span style="padding-right: 5px;"><a href="#M000186">all_instance_methods</a></span>
135
+ <span style="padding-right: 5px;"><a href="#M000176">ancestor?</a></span>
136
+ <span style="padding-right: 5px;"><a href="#M000207">basename</a></span>
137
+ <span style="padding-right: 5px;"><a href="#M000173">class_def</a></span>
138
+ <span style="padding-right: 5px;"><a href="#M000193">class_load</a></span>
139
+ <span style="padding-right: 5px;"><a href="#M000192">class_require</a></span>
140
+ <span style="padding-right: 5px;"><a href="#M000178">conflict?</a></span>
141
+ <span style="padding-right: 5px;"><a href="#M000203">extend</a></span>
142
+ <span style="padding-right: 5px;"><a href="#M000187">instance_method_defined?</a></span>
143
+ <span style="padding-right: 5px;"><a href="#M000202">integrate</a></span>
144
+ <span style="padding-right: 5px;"><a href="#M000195">is</a></span>
145
+ <span style="padding-right: 5px;"><a href="#M000194">is?</a></span>
146
+ <span style="padding-right: 5px;"><a href="#M000177">methodize</a></span>
147
+ <span style="padding-right: 5px;"><a href="#M000197">modspace</a></span>
148
+ <span style="padding-right: 5px;"><a href="#M000190">module_load</a></span>
149
+ <span style="padding-right: 5px;"><a href="#M000189">module_method_defined?</a></span>
150
+ <span style="padding-right: 5px;"><a href="#M000191">module_require</a></span>
151
+ <span style="padding-right: 5px;"><a href="#M000196">nesting</a></span>
152
+ <span style="padding-right: 5px;"><a href="#M000185">pathize</a></span>
153
+ <span style="padding-right: 5px;"><a href="#M000175">prepend</a></span>
154
+ <span style="padding-right: 5px;"><a href="#M000180">private_conflict?</a></span>
155
+ <span style="padding-right: 5px;"><a href="#M000181">protected_conflict?</a></span>
156
+ <span style="padding-right: 5px;"><a href="#M000179">public_conflict?</a></span>
157
+ <span style="padding-right: 5px;"><a href="#M000201">revisal</a></span>
158
+ <span style="padding-right: 5px;"><a href="#M000200">revise</a></span>
159
+ <span style="padding-right: 5px;"><a href="#M000188">singleton_method_defined?</a></span>
160
+ <span style="padding-right: 5px;"><a href="#M000204">spacename</a></span>
161
+ <span style="padding-right: 5px;"><a href="#M000206">wrap</a></span>
162
+ <span style="padding-right: 5px;"><a href="#M000205">wrap_method</a></span>
161
163
 
162
164
 
163
165
 
@@ -167,7 +169,7 @@ fear it might break others code.
167
169
  <div class="sectiontitle">Public Instance methods</div>
168
170
  <div class="method">
169
171
  <div class="title">
170
- <a name="M000174"></a><b>*</b>(rename_map)
172
+ <a name="M000184"></a><b>*</b>(rename_map)
171
173
  </div>
172
174
  <div class="description">
173
175
  <p>
@@ -189,8 +191,8 @@ Thomas Sawyer, Robert Dober
189
191
  </p>
190
192
  </div>
191
193
  <div class="sourcecode">
192
- <p class="source-link">[ <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">+</a> ]</p>
193
- <div id="M000174_source" class="dyn-source">
194
+ <p class="source-link">[ <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">+</a> ]</p>
195
+ <div id="M000184_source" class="dyn-source">
194
196
  <pre>
195
197
  <span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 80</span>
196
198
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">rename_map</span>)
@@ -209,7 +211,7 @@ Thomas Sawyer, Robert Dober
209
211
  </div>
210
212
  <div class="method">
211
213
  <div class="title">
212
- <a name="M000172"></a><b>+</b>(other)
214
+ <a name="M000182"></a><b>+</b>(other)
213
215
  </div>
214
216
  <div class="description">
215
217
  <p>
@@ -251,8 +253,8 @@ CREDIT: Thomas Sawyer, Robert Dober
251
253
  </p>
252
254
  </div>
253
255
  <div class="sourcecode">
254
- <p class="source-link">[ <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">+</a> ]</p>
255
- <div id="M000172_source" class="dyn-source">
256
+ <p class="source-link">[ <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">+</a> ]</p>
257
+ <div id="M000182_source" class="dyn-source">
256
258
  <pre>
257
259
  <span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 35</span>
258
260
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
@@ -268,7 +270,7 @@ CREDIT: Thomas Sawyer, Robert Dober
268
270
  </div>
269
271
  <div class="method">
270
272
  <div class="title">
271
- <a name="M000173"></a><b>-</b>(other)
273
+ <a name="M000183"></a><b>-</b>(other)
272
274
  </div>
273
275
  <div class="description">
274
276
  <p>
@@ -282,8 +284,8 @@ CREDIT: Thomas Sawyer, Robert Dober
282
284
  </p>
283
285
  </div>
284
286
  <div class="sourcecode">
285
- <p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">+</a> ]</p>
286
- <div id="M000173_source" class="dyn-source">
287
+ <p class="source-link">[ <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">+</a> ]</p>
288
+ <div id="M000183_source" class="dyn-source">
287
289
  <pre>
288
290
  <span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 49</span>
289
291
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
@@ -307,7 +309,7 @@ CREDIT: Thomas Sawyer, Robert Dober
307
309
  </div>
308
310
  <div class="method">
309
311
  <div class="title">
310
- <a name="M000164"></a><b>Comparable</b>(*accessors)
312
+ <a name="M000174"></a><b>Comparable</b>(*accessors)
311
313
  </div>
312
314
  <div class="description">
313
315
  <p>
@@ -317,7 +319,7 @@ Automatically generate sorting defintions base on attribute fields.
317
319
  include SortOn(:a, :b)
318
320
  </pre>
319
321
  <p>
320
- <a href="Module.html#M000185">is</a> equivalent to including a module
322
+ <a href="Module.html#M000195">is</a> equivalent to including a module
321
323
  containing:
322
324
  </p>
323
325
  <pre>
@@ -329,8 +331,8 @@ containing:
329
331
  </pre>
330
332
  </div>
331
333
  <div class="sourcecode">
332
- <p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">+</a> ]</p>
333
- <div id="M000164_source" class="dyn-source">
334
+ <p class="source-link">[ <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">+</a> ]</p>
335
+ <div id="M000174_source" class="dyn-source">
334
336
  <pre>
335
337
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/comparable.rb, line 28</span>
336
338
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Comparable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
@@ -351,12 +353,12 @@ containing:
351
353
  </div>
352
354
  <div class="method">
353
355
  <div class="title">
354
- <a name="M000188"></a><b>abstract</b>( *sym )
356
+ <a name="M000198"></a><b>abstract</b>( *sym )
355
357
  </div>
356
358
  <div class="description">
357
359
  <p>
358
- Create an <a href="Module.html#M000188">abstract</a> method. If it <a
359
- href="Module.html#M000185">is</a> not overridden, it will raise a TypeError
360
+ Create an <a href="Module.html#M000198">abstract</a> method. If it <a
361
+ href="Module.html#M000195">is</a> not overridden, it will raise a TypeError
360
362
  when called.
361
363
  </p>
362
364
  <pre>
@@ -372,8 +374,8 @@ CREDIT: Trans
372
374
  </p>
373
375
  </div>
374
376
  <div class="sourcecode">
375
- <p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">+</a> ]</p>
376
- <div id="M000188_source" class="dyn-source">
377
+ <p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">+</a> ]</p>
378
+ <div id="M000198_source" class="dyn-source">
377
379
  <pre>
378
380
  <span class="ruby-comment cmt"># File lib/core/facets/module/abstract.rb, line 15</span>
379
381
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abstract</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">sym</span> )
@@ -387,7 +389,7 @@ CREDIT: Trans
387
389
  </div>
388
390
  <div class="method">
389
391
  <div class="title">
390
- <a name="M000189"></a><b>alias_method_chain</b>(target, feature) {|aliased_target, punctuation| ...}
392
+ <a name="M000199"></a><b>alias_method_chain</b>(target, feature) {|aliased_target, punctuation| ...}
391
393
  </div>
392
394
  <div class="description">
393
395
  <p>
@@ -413,7 +415,7 @@ Query and bang methods (foo?, foo!) keep the same punctuation:
413
415
  alias_method_chain :foo?, :feature
414
416
  </pre>
415
417
  <p>
416
- <a href="Module.html#M000185">is</a> equivalent to
418
+ <a href="Module.html#M000195">is</a> equivalent to
417
419
  </p>
418
420
  <pre>
419
421
  alias_method :foo_without_feature?, :foo?
@@ -427,8 +429,8 @@ CREDIT: Bitsweat, Rails Team
427
429
  </p>
428
430
  </div>
429
431
  <div class="sourcecode">
430
- <p class="source-link">[ <a href="javascript:toggleSource('M000189_source')" id="l_M000189_source">+</a> ]</p>
431
- <div id="M000189_source" class="dyn-source">
432
+ <p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">+</a> ]</p>
433
+ <div id="M000199_source" class="dyn-source">
432
434
  <pre>
433
435
  <span class="ruby-comment cmt"># File lib/core/facets/module/alias_method_chain.rb, line 27</span>
434
436
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_method_chain</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">feature</span>)
@@ -457,7 +459,7 @@ CREDIT: Bitsweat, Rails Team
457
459
  </div>
458
460
  <div class="method">
459
461
  <div class="title">
460
- <a name="M000176"></a><b>all_instance_methods</b>(include_super=true)
462
+ <a name="M000186"></a><b>all_instance_methods</b>(include_super=true)
461
463
  </div>
462
464
  <div class="description">
463
465
  <p>
@@ -470,15 +472,15 @@ List all instance methods, equivalent to
470
472
  </pre>
471
473
  <p>
472
474
  TODO: Better name for <a
473
- href="Module.html#M000176">all_instance_methods</a>?
475
+ href="Module.html#M000186">all_instance_methods</a>?
474
476
  </p>
475
477
  <p>
476
478
  CREDIT: Trans
477
479
  </p>
478
480
  </div>
479
481
  <div class="sourcecode">
480
- <p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">+</a> ]</p>
481
- <div id="M000176_source" class="dyn-source">
482
+ <p class="source-link">[ <a href="javascript:toggleSource('M000186_source')" id="l_M000186_source">+</a> ]</p>
483
+ <div id="M000186_source" class="dyn-source">
482
484
  <pre>
483
485
  <span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 13</span>
484
486
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">all_instance_methods</span>(<span class="ruby-identifier">include_super</span>=<span class="ruby-keyword kw">true</span>)
@@ -492,7 +494,7 @@ CREDIT: Trans
492
494
  </div>
493
495
  <div class="method">
494
496
  <div class="title">
495
- <a name="M000166"></a><b>ancestor?</b>( mod )
497
+ <a name="M000176"></a><b>ancestor?</b>( mod )
496
498
  </div>
497
499
  <div class="description">
498
500
  <p>
@@ -506,8 +508,8 @@ Is a given class or module an ancestor of this class or module?
506
508
  </pre>
507
509
  </div>
508
510
  <div class="sourcecode">
509
- <p class="source-link">[ <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">+</a> ]</p>
510
- <div id="M000166_source" class="dyn-source">
511
+ <p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">+</a> ]</p>
512
+ <div id="M000176_source" class="dyn-source">
511
513
  <pre>
512
514
  <span class="ruby-comment cmt"># File lib/core/facets/module/ancestor.rb, line 11</span>
513
515
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ancestor?</span>( <span class="ruby-identifier">mod</span> )
@@ -519,7 +521,7 @@ Is a given class or module an ancestor of this class or module?
519
521
  </div>
520
522
  <div class="method">
521
523
  <div class="title">
522
- <a name="M000196"></a><b>basename</b>()
524
+ <a name="M000207"></a><b>basename</b>()
523
525
  </div>
524
526
  <div class="description">
525
527
  <p>
@@ -536,7 +538,7 @@ Returns the root name of the module/class.
536
538
  </pre>
537
539
  <p>
538
540
  For anonymous modules this will provide a <a
539
- href="Module.html#M000196">basename</a> based on Module#inspect.
541
+ href="Module.html#M000207">basename</a> based on Module#inspect.
540
542
  </p>
541
543
  <pre>
542
544
  m = Module.new
@@ -548,8 +550,8 @@ CREDIT: Trans
548
550
  </p>
549
551
  </div>
550
552
  <div class="sourcecode">
551
- <p class="source-link">[ <a href="javascript:toggleSource('M000196_source')" id="l_M000196_source">+</a> ]</p>
552
- <div id="M000196_source" class="dyn-source">
553
+ <p class="source-link">[ <a href="javascript:toggleSource('M000207_source')" id="l_M000207_source">+</a> ]</p>
554
+ <div id="M000207_source" class="dyn-source">
553
555
  <pre>
554
556
  <span class="ruby-comment cmt"># File lib/core/facets/module/basename.rb, line 22</span>
555
557
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">basename</span>
@@ -565,7 +567,7 @@ CREDIT: Trans
565
567
  </div>
566
568
  <div class="method">
567
569
  <div class="title">
568
- <a name="M000163"></a><b>class_def</b>(name, &amp;blk)
570
+ <a name="M000173"></a><b>class_def</b>(name, &amp;blk)
569
571
  </div>
570
572
  <div class="description">
571
573
  <p>
@@ -576,8 +578,8 @@ CREDIT: WhyTheLuckyStiff
576
578
  </p>
577
579
  </div>
578
580
  <div class="sourcecode">
579
- <p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">+</a> ]</p>
580
- <div id="M000163_source" class="dyn-source">
581
+ <p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">+</a> ]</p>
582
+ <div id="M000173_source" class="dyn-source">
581
583
  <pre>
582
584
  <span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 82</span>
583
585
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_def</span> <span class="ruby-identifier">name</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>
@@ -589,27 +591,27 @@ CREDIT: WhyTheLuckyStiff
589
591
  </div>
590
592
  <div class="method">
591
593
  <div class="title">
592
- <a name="M000183"></a><b>class_load</b>( path )
594
+ <a name="M000193"></a><b>class_load</b>( path )
593
595
  </div>
594
596
  <div class="description">
595
597
  <p>
596
- Alias for <a href="Module.html#M000180">module_load</a>
598
+ Alias for <a href="Module.html#M000190">module_load</a>
597
599
  </p>
598
600
  </div>
599
601
  </div>
600
602
  <div class="method">
601
603
  <div class="title">
602
- <a name="M000182"></a><b>class_require</b>( path )
604
+ <a name="M000192"></a><b>class_require</b>( path )
603
605
  </div>
604
606
  <div class="description">
605
607
  <p>
606
- Alias for <a href="Module.html#M000181">module_require</a>
608
+ Alias for <a href="Module.html#M000191">module_require</a>
607
609
  </p>
608
610
  </div>
609
611
  </div>
610
612
  <div class="method">
611
613
  <div class="title">
612
- <a name="M000168"></a><b>conflict?</b>(other)
614
+ <a name="M000178"></a><b>conflict?</b>(other)
613
615
  </div>
614
616
  <div class="description">
615
617
  <p>
@@ -633,8 +635,8 @@ CREDIT: Thomas Sawyer, Robert Dober
633
635
  </p>
634
636
  </div>
635
637
  <div class="sourcecode">
636
- <p class="source-link">[ <a href="javascript:toggleSource('M000168_source')" id="l_M000168_source">+</a> ]</p>
637
- <div id="M000168_source" class="dyn-source">
638
+ <p class="source-link">[ <a href="javascript:toggleSource('M000178_source')" id="l_M000178_source">+</a> ]</p>
639
+ <div id="M000178_source" class="dyn-source">
638
640
  <pre>
639
641
  <span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 20</span>
640
642
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conflict?</span>(<span class="ruby-identifier">other</span>)
@@ -654,11 +656,28 @@ CREDIT: Thomas Sawyer, Robert Dober
654
656
  </div>
655
657
  <div class="method">
656
658
  <div class="title">
657
- <a name="M000177"></a><b>instance_method_defined?</b>(meth)
659
+ <a name="M000203"></a><b>extend</b>(mod=nil, &amp;blk)
660
+ </div>
661
+ <div class="sourcecode">
662
+ <p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">+</a> ]</p>
663
+ <div id="M000203_source" class="dyn-source">
664
+ <pre>
665
+ <span class="ruby-comment cmt"># File lib/core/facets/module/extend.rb, line 5</span>
666
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extend</span>(<span class="ruby-identifier">mod</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
667
+ <span class="ruby-identifier">_extend</span> <span class="ruby-identifier">mod</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mod</span>
668
+ <span class="ruby-identifier">_extend</span> <span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">blk</span>
669
+ <span class="ruby-keyword kw">end</span>
670
+ </pre>
671
+ </div>
672
+ </div>
673
+ </div>
674
+ <div class="method">
675
+ <div class="title">
676
+ <a name="M000187"></a><b>instance_method_defined?</b>(meth)
658
677
  </div>
659
678
  <div class="description">
660
679
  <p>
661
- Query whether a public instance method <a href="Module.html#M000185">is</a>
680
+ Query whether a public instance method <a href="Module.html#M000195">is</a>
662
681
  defined for the module.
663
682
  </p>
664
683
  <p>
@@ -666,8 +685,8 @@ CREDIT: Gavin Sinclair, Noah Gibbs
666
685
  </p>
667
686
  </div>
668
687
  <div class="sourcecode">
669
- <p class="source-link">[ <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">+</a> ]</p>
670
- <div id="M000177_source" class="dyn-source">
688
+ <p class="source-link">[ <a href="javascript:toggleSource('M000187_source')" id="l_M000187_source">+</a> ]</p>
689
+ <div id="M000187_source" class="dyn-source">
671
690
  <pre>
672
691
  <span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 23</span>
673
692
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_method_defined?</span>(<span class="ruby-identifier">meth</span>)
@@ -679,18 +698,18 @@ CREDIT: Gavin Sinclair, Noah Gibbs
679
698
  </div>
680
699
  <div class="method">
681
700
  <div class="title">
682
- <a name="M000192"></a><b>integrate</b>(mod, &amp;block)
701
+ <a name="M000202"></a><b>integrate</b>(mod, &amp;block)
683
702
  </div>
684
703
  <div class="description">
685
704
  <p>
686
- Using <a href="Module.html#M000192">integrate</a> <a
687
- href="Module.html#M000185">is</a> just like using include except the module
688
- included <a href="Module.html#M000185">is</a> a reconstruction of the one
705
+ Using <a href="Module.html#M000202">integrate</a> <a
706
+ href="Module.html#M000195">is</a> just like using include except the module
707
+ included <a href="Module.html#M000195">is</a> a reconstruction of the one
689
708
  given altered by the commands given in the block.
690
709
  </p>
691
710
  <p>
692
711
  Convenient commands available are: rename, redef, remove, nodef and <a
693
- href="Module.html#M000195">wrap</a>. But any module method can be used.
712
+ href="Module.html#M000206">wrap</a>. But any module method can be used.
694
713
  </p>
695
714
  <pre>
696
715
  module W
@@ -709,9 +728,9 @@ href="Module.html#M000195">wrap</a>. But any module method can be used.
709
728
  x.y #=&gt; missing method error
710
729
  </pre>
711
730
  <p>
712
- This <a href="Module.html#M000185">is</a> like <a
713
- href="Module.html#M000191">revisal</a>, but <a
714
- href="Module.html#M000191">revisal</a> only returns the reconstructred
731
+ This <a href="Module.html#M000195">is</a> like <a
732
+ href="Module.html#M000201">revisal</a>, but <a
733
+ href="Module.html#M000201">revisal</a> only returns the reconstructred
715
734
  module. It does not include it.
716
735
  </p>
717
736
  <p>
@@ -719,8 +738,8 @@ CREDIT: Trans
719
738
  </p>
720
739
  </div>
721
740
  <div class="sourcecode">
722
- <p class="source-link">[ <a href="javascript:toggleSource('M000192_source')" id="l_M000192_source">+</a> ]</p>
723
- <div id="M000192_source" class="dyn-source">
741
+ <p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">+</a> ]</p>
742
+ <div id="M000202_source" class="dyn-source">
724
743
  <pre>
725
744
  <span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 51</span>
726
745
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">integrate</span>(<span class="ruby-identifier">mod</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -735,16 +754,16 @@ CREDIT: Trans
735
754
  </div>
736
755
  <div class="method">
737
756
  <div class="title">
738
- <a name="M000185"></a><b>is</b>(*mods)
757
+ <a name="M000195"></a><b>is</b>(*mods)
739
758
  </div>
740
759
  <div class="description">
741
760
  <p>
742
- alias_method :<a href="Module.html#M000185">is</a>, :include
761
+ alias_method :<a href="Module.html#M000195">is</a>, :include
743
762
  </p>
744
763
  </div>
745
764
  <div class="sourcecode">
746
- <p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">+</a> ]</p>
747
- <div id="M000185_source" class="dyn-source">
765
+ <p class="source-link">[ <a href="javascript:toggleSource('M000195_source')" id="l_M000195_source">+</a> ]</p>
766
+ <div id="M000195_source" class="dyn-source">
748
767
  <pre>
749
768
  <span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 27</span>
750
769
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">mods</span>)
@@ -766,7 +785,7 @@ alias_method :<a href="Module.html#M000185">is</a>, :include
766
785
  </div>
767
786
  <div class="method">
768
787
  <div class="title">
769
- <a name="M000184"></a><b>is?</b>(base)
788
+ <a name="M000194"></a><b>is?</b>(base)
770
789
  </div>
771
790
  <div class="description">
772
791
  <p>
@@ -783,8 +802,8 @@ CREDIT: Trans
783
802
  </p>
784
803
  </div>
785
804
  <div class="sourcecode">
786
- <p class="source-link">[ <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">+</a> ]</p>
787
- <div id="M000184_source" class="dyn-source">
805
+ <p class="source-link">[ <a href="javascript:toggleSource('M000194_source')" id="l_M000194_source">+</a> ]</p>
806
+ <div id="M000194_source" class="dyn-source">
788
807
  <pre>
789
808
  <span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 13</span>
790
809
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is?</span>(<span class="ruby-identifier">base</span>)
@@ -796,7 +815,7 @@ CREDIT: Trans
796
815
  </div>
797
816
  <div class="method">
798
817
  <div class="title">
799
- <a name="M000167"></a><b>methodize</b>()
818
+ <a name="M000177"></a><b>methodize</b>()
800
819
  </div>
801
820
  <div class="description">
802
821
  <p>
@@ -807,8 +826,8 @@ Translate a module name to a suitable method name.
807
826
  </pre>
808
827
  </div>
809
828
  <div class="sourcecode">
810
- <p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">+</a> ]</p>
811
- <div id="M000167_source" class="dyn-source">
829
+ <p class="source-link">[ <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">+</a> ]</p>
830
+ <div id="M000177_source" class="dyn-source">
812
831
  <pre>
813
832
  <span class="ruby-comment cmt"># File lib/core/facets/module/methodize.rb, line 9</span>
814
833
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
@@ -820,7 +839,7 @@ Translate a module name to a suitable method name.
820
839
  </div>
821
840
  <div class="method">
822
841
  <div class="title">
823
- <a name="M000187"></a><b>modspace</b>()
842
+ <a name="M000197"></a><b>modspace</b>()
824
843
  </div>
825
844
  <div class="description">
826
845
  <p>
@@ -835,15 +854,15 @@ Returns the module&#8216;s container module.
835
854
  Example::Demo.modspace #=&gt; Example
836
855
  </pre>
837
856
  <p>
838
- See also <a href="Module.html#M000196">Module#basename</a>.
857
+ See also <a href="Module.html#M000207">Module#basename</a>.
839
858
  </p>
840
859
  <p>
841
860
  CREDIT: Trans
842
861
  </p>
843
862
  </div>
844
863
  <div class="sourcecode">
845
- <p class="source-link">[ <a href="javascript:toggleSource('M000187_source')" id="l_M000187_source">+</a> ]</p>
846
- <div id="M000187_source" class="dyn-source">
864
+ <p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">+</a> ]</p>
865
+ <div id="M000197_source" class="dyn-source">
847
866
  <pre>
848
867
  <span class="ruby-comment cmt"># File lib/core/facets/module/modspace.rb, line 16</span>
849
868
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modspace</span>
@@ -856,7 +875,7 @@ CREDIT: Trans
856
875
  </div>
857
876
  <div class="method">
858
877
  <div class="title">
859
- <a name="M000180"></a><b>module_load</b>( path )
878
+ <a name="M000190"></a><b>module_load</b>( path )
860
879
  </div>
861
880
  <div class="description">
862
881
  <p>
@@ -868,11 +887,11 @@ CREDIT: Trans
868
887
  </div>
869
888
  <div class="aka">
870
889
  This method is also aliased as
871
- <a href="Module.html#M000183">class_load</a>
890
+ <a href="Module.html#M000193">class_load</a>
872
891
  </div>
873
892
  <div class="sourcecode">
874
- <p class="source-link">[ <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">+</a> ]</p>
875
- <div id="M000180_source" class="dyn-source">
893
+ <p class="source-link">[ <a href="javascript:toggleSource('M000190_source')" id="l_M000190_source">+</a> ]</p>
894
+ <div id="M000190_source" class="dyn-source">
876
895
  <pre>
877
896
  <span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 9</span>
878
897
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_load</span>( <span class="ruby-identifier">path</span> )
@@ -894,7 +913,7 @@ CREDIT: Trans
894
913
  </div>
895
914
  <div class="method">
896
915
  <div class="title">
897
- <a name="M000179"></a><b>module_method_defined?</b>(meth)
916
+ <a name="M000189"></a><b>module_method_defined?</b>(meth)
898
917
  </div>
899
918
  <div class="description">
900
919
  <p>
@@ -904,7 +923,7 @@ Alias for singleton_method_defined?
904
923
  </div>
905
924
  <div class="method">
906
925
  <div class="title">
907
- <a name="M000181"></a><b>module_require</b>( path )
926
+ <a name="M000191"></a><b>module_require</b>( path )
908
927
  </div>
909
928
  <div class="description">
910
929
  <p>
@@ -916,11 +935,11 @@ CREDIT: Trans
916
935
  </div>
917
936
  <div class="aka">
918
937
  This method is also aliased as
919
- <a href="Module.html#M000182">class_require</a>
938
+ <a href="Module.html#M000192">class_require</a>
920
939
  </div>
921
940
  <div class="sourcecode">
922
- <p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">+</a> ]</p>
923
- <div id="M000181_source" class="dyn-source">
941
+ <p class="source-link">[ <a href="javascript:toggleSource('M000191_source')" id="l_M000191_source">+</a> ]</p>
942
+ <div id="M000191_source" class="dyn-source">
924
943
  <pre>
925
944
  <span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 27</span>
926
945
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_require</span>( <span class="ruby-identifier">path</span> )
@@ -952,11 +971,11 @@ CREDIT: Trans
952
971
  </div>
953
972
  <div class="method">
954
973
  <div class="title">
955
- <a name="M000186"></a><b>nesting</b>()
974
+ <a name="M000196"></a><b>nesting</b>()
956
975
  </div>
957
976
  <div class="description">
958
977
  <p>
959
- Show a modules <a href="Module.html#M000186">nesting</a> in module
978
+ Show a modules <a href="Module.html#M000196">nesting</a> in module
960
979
  namespaces.
961
980
  </p>
962
981
  <pre>
@@ -967,8 +986,8 @@ CREDIT: Trans
967
986
  </p>
968
987
  </div>
969
988
  <div class="sourcecode">
970
- <p class="source-link">[ <a href="javascript:toggleSource('M000186_source')" id="l_M000186_source">+</a> ]</p>
971
- <div id="M000186_source" class="dyn-source">
989
+ <p class="source-link">[ <a href="javascript:toggleSource('M000196_source')" id="l_M000196_source">+</a> ]</p>
990
+ <div id="M000196_source" class="dyn-source">
972
991
  <pre>
973
992
  <span class="ruby-comment cmt"># File lib/core/facets/module/nesting.rb, line 9</span>
974
993
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nesting</span>
@@ -984,7 +1003,7 @@ CREDIT: Trans
984
1003
  </div>
985
1004
  <div class="method">
986
1005
  <div class="title">
987
- <a name="M000175"></a><b>pathize</b>()
1006
+ <a name="M000185"></a><b>pathize</b>()
988
1007
  </div>
989
1008
  <div class="description">
990
1009
  <p>
@@ -999,8 +1018,8 @@ Examples
999
1018
  </pre>
1000
1019
  </div>
1001
1020
  <div class="sourcecode">
1002
- <p class="source-link">[ <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">+</a> ]</p>
1003
- <div id="M000175_source" class="dyn-source">
1021
+ <p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">+</a> ]</p>
1022
+ <div id="M000185_source" class="dyn-source">
1004
1023
  <pre>
1005
1024
  <span class="ruby-comment cmt"># File lib/core/facets/module/pathize.rb, line 11</span>
1006
1025
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
@@ -1018,7 +1037,7 @@ Examples
1018
1037
  </div>
1019
1038
  <div class="method">
1020
1039
  <div class="title">
1021
- <a name="M000165"></a><b>prepend</b>(aspect)
1040
+ <a name="M000175"></a><b>prepend</b>(aspect)
1022
1041
  </div>
1023
1042
  <div class="description">
1024
1043
  <p>
@@ -1043,8 +1062,8 @@ CREDIT Trans
1043
1062
  </p>
1044
1063
  </div>
1045
1064
  <div class="sourcecode">
1046
- <p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">+</a> ]</p>
1047
- <div id="M000165_source" class="dyn-source">
1065
+ <p class="source-link">[ <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">+</a> ]</p>
1066
+ <div id="M000175_source" class="dyn-source">
1048
1067
  <pre>
1049
1068
  <span class="ruby-comment cmt"># File lib/core/facets/module/prepend.rb, line 20</span>
1050
1069
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>(<span class="ruby-identifier">aspect</span>)
@@ -1057,7 +1076,7 @@ CREDIT Trans
1057
1076
  </div>
1058
1077
  <div class="method">
1059
1078
  <div class="title">
1060
- <a name="M000170"></a><b>private_conflict?</b>(other)
1079
+ <a name="M000180"></a><b>private_conflict?</b>(other)
1061
1080
  </div>
1062
1081
  <div class="description">
1063
1082
  <p>
@@ -1065,8 +1084,8 @@ Like conflict?, but checks only private methods.
1065
1084
  </p>
1066
1085
  </div>
1067
1086
  <div class="sourcecode">
1068
- <p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">+</a> ]</p>
1069
- <div id="M000170_source" class="dyn-source">
1087
+ <p class="source-link">[ <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">+</a> ]</p>
1088
+ <div id="M000180_source" class="dyn-source">
1070
1089
  <pre>
1071
1090
  <span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 46</span>
1072
1091
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">private_conflict?</span>(<span class="ruby-identifier">other</span>)
@@ -1081,7 +1100,7 @@ Like conflict?, but checks only private methods.
1081
1100
  </div>
1082
1101
  <div class="method">
1083
1102
  <div class="title">
1084
- <a name="M000171"></a><b>protected_conflict?</b>(other)
1103
+ <a name="M000181"></a><b>protected_conflict?</b>(other)
1085
1104
  </div>
1086
1105
  <div class="description">
1087
1106
  <p>
@@ -1089,8 +1108,8 @@ Like conflict?, but checks only protected methods.
1089
1108
  </p>
1090
1109
  </div>
1091
1110
  <div class="sourcecode">
1092
- <p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">+</a> ]</p>
1093
- <div id="M000171_source" class="dyn-source">
1111
+ <p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">+</a> ]</p>
1112
+ <div id="M000181_source" class="dyn-source">
1094
1113
  <pre>
1095
1114
  <span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 54</span>
1096
1115
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protected_conflict?</span>(<span class="ruby-identifier">other</span>)
@@ -1105,7 +1124,7 @@ Like conflict?, but checks only protected methods.
1105
1124
  </div>
1106
1125
  <div class="method">
1107
1126
  <div class="title">
1108
- <a name="M000169"></a><b>public_conflict?</b>(other)
1127
+ <a name="M000179"></a><b>public_conflict?</b>(other)
1109
1128
  </div>
1110
1129
  <div class="description">
1111
1130
  <p>
@@ -1113,8 +1132,8 @@ Like conflict?, but checks only public methods.
1113
1132
  </p>
1114
1133
  </div>
1115
1134
  <div class="sourcecode">
1116
- <p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">+</a> ]</p>
1117
- <div id="M000169_source" class="dyn-source">
1135
+ <p class="source-link">[ <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">+</a> ]</p>
1136
+ <div id="M000179_source" class="dyn-source">
1118
1137
  <pre>
1119
1138
  <span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 38</span>
1120
1139
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">public_conflict?</span>(<span class="ruby-identifier">other</span>)
@@ -1129,17 +1148,17 @@ Like conflict?, but checks only public methods.
1129
1148
  </div>
1130
1149
  <div class="method">
1131
1150
  <div class="title">
1132
- <a name="M000191"></a><b>revisal</b>(&amp;blk)
1151
+ <a name="M000201"></a><b>revisal</b>(&amp;blk)
1133
1152
  </div>
1134
1153
  <div class="description">
1135
1154
  <p>
1136
- Alias for <a href="Module.html#M000190">revise</a>
1155
+ Alias for <a href="Module.html#M000200">revise</a>
1137
1156
  </p>
1138
1157
  </div>
1139
1158
  </div>
1140
1159
  <div class="method">
1141
1160
  <div class="title">
1142
- <a name="M000190"></a><b>revise</b>(&amp;blk)
1161
+ <a name="M000200"></a><b>revise</b>(&amp;blk)
1143
1162
  </div>
1144
1163
  <div class="description">
1145
1164
  <p>
@@ -1152,11 +1171,11 @@ CREDIT: Trans
1152
1171
  </div>
1153
1172
  <div class="aka">
1154
1173
  This method is also aliased as
1155
- <a href="Module.html#M000191">revisal</a>
1174
+ <a href="Module.html#M000201">revisal</a>
1156
1175
  </div>
1157
1176
  <div class="sourcecode">
1158
- <p class="source-link">[ <a href="javascript:toggleSource('M000190_source')" id="l_M000190_source">+</a> ]</p>
1159
- <div id="M000190_source" class="dyn-source">
1177
+ <p class="source-link">[ <a href="javascript:toggleSource('M000200_source')" id="l_M000200_source">+</a> ]</p>
1178
+ <div id="M000200_source" class="dyn-source">
1160
1179
  <pre>
1161
1180
  <span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 13</span>
1162
1181
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revise</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
@@ -1171,12 +1190,12 @@ CREDIT: Trans
1171
1190
  </div>
1172
1191
  <div class="method">
1173
1192
  <div class="title">
1174
- <a name="M000178"></a><b>singleton_method_defined?</b>(meth)
1193
+ <a name="M000188"></a><b>singleton_method_defined?</b>(meth)
1175
1194
  </div>
1176
1195
  <div class="description">
1177
1196
  <p>
1178
1197
  Query whether a normal (singleton) method <a
1179
- href="Module.html#M000185">is</a> defined for the module.
1198
+ href="Module.html#M000195">is</a> defined for the module.
1180
1199
  </p>
1181
1200
  <p>
1182
1201
  CREDIT: Gavin Sinclair, Noah Gibbs
@@ -1184,11 +1203,11 @@ CREDIT: Gavin Sinclair, Noah Gibbs
1184
1203
  </div>
1185
1204
  <div class="aka">
1186
1205
  This method is also aliased as
1187
- <a href="Module.html#M000179">module_method_defined?</a>
1206
+ <a href="Module.html#M000189">module_method_defined?</a>
1188
1207
  </div>
1189
1208
  <div class="sourcecode">
1190
- <p class="source-link">[ <a href="javascript:toggleSource('M000178_source')" id="l_M000178_source">+</a> ]</p>
1191
- <div id="M000178_source" class="dyn-source">
1209
+ <p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">+</a> ]</p>
1210
+ <div id="M000188_source" class="dyn-source">
1192
1211
  <pre>
1193
1212
  <span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 31</span>
1194
1213
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_defined?</span>(<span class="ruby-identifier">meth</span>)
@@ -1200,7 +1219,7 @@ CREDIT: Gavin Sinclair, Noah Gibbs
1200
1219
  </div>
1201
1220
  <div class="method">
1202
1221
  <div class="title">
1203
- <a name="M000193"></a><b>spacename</b>()
1222
+ <a name="M000204"></a><b>spacename</b>()
1204
1223
  </div>
1205
1224
  <div class="description">
1206
1225
  <p>
@@ -1219,15 +1238,15 @@ Returns the name of module&#8216;s container module.
1219
1238
  This used to be called <tt>dirname</tt>.
1220
1239
  </p>
1221
1240
  <p>
1222
- See also <a href="Module.html#M000196">Module#basename</a>.
1241
+ See also <a href="Module.html#M000207">Module#basename</a>.
1223
1242
  </p>
1224
1243
  <p>
1225
1244
  CREDIT: Trans
1226
1245
  </p>
1227
1246
  </div>
1228
1247
  <div class="sourcecode">
1229
- <p class="source-link">[ <a href="javascript:toggleSource('M000193_source')" id="l_M000193_source">+</a> ]</p>
1230
- <div id="M000193_source" class="dyn-source">
1248
+ <p class="source-link">[ <a href="javascript:toggleSource('M000204_source')" id="l_M000204_source">+</a> ]</p>
1249
+ <div id="M000204_source" class="dyn-source">
1231
1250
  <pre>
1232
1251
  <span class="ruby-comment cmt"># File lib/core/facets/module/spacename.rb, line 19</span>
1233
1252
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spacename</span>
@@ -1240,22 +1259,22 @@ CREDIT: Trans
1240
1259
  </div>
1241
1260
  <div class="method">
1242
1261
  <div class="title">
1243
- <a name="M000195"></a><b>wrap</b>( sym, &amp;blk )
1262
+ <a name="M000206"></a><b>wrap</b>( sym, &amp;blk )
1244
1263
  </div>
1245
1264
  <div class="description">
1246
1265
  <p>
1247
- Alias for <a href="Module.html#M000194">wrap_method</a>
1266
+ Alias for <a href="Module.html#M000205">wrap_method</a>
1248
1267
  </p>
1249
1268
  </div>
1250
1269
  </div>
1251
1270
  <div class="method">
1252
1271
  <div class="title">
1253
- <a name="M000194"></a><b>wrap_method</b>( sym, &amp;blk )
1272
+ <a name="M000205"></a><b>wrap_method</b>( sym, &amp;blk )
1254
1273
  </div>
1255
1274
  <div class="description">
1256
1275
  <p>
1257
1276
  Creates a new method wrapping the previous of the same name. Reference to
1258
- the old method <a href="Module.html#M000185">is</a> passed into the new
1277
+ the old method <a href="Module.html#M000195">is</a> passed into the new
1259
1278
  definition block as the first parameter.
1260
1279
  </p>
1261
1280
  <pre>
@@ -1266,7 +1285,7 @@ definition block as the first parameter.
1266
1285
  </pre>
1267
1286
  <p>
1268
1287
  Keep in mind that this can not be used to <a
1269
- href="Module.html#M000195">wrap</a> methods that take a block.
1288
+ href="Module.html#M000206">wrap</a> methods that take a block.
1270
1289
  </p>
1271
1290
  <p>
1272
1291
  CREDIT: Trans
@@ -1274,11 +1293,11 @@ CREDIT: Trans
1274
1293
  </div>
1275
1294
  <div class="aka">
1276
1295
  This method is also aliased as
1277
- <a href="Module.html#M000195">wrap</a>
1296
+ <a href="Module.html#M000206">wrap</a>
1278
1297
  </div>
1279
1298
  <div class="sourcecode">
1280
- <p class="source-link">[ <a href="javascript:toggleSource('M000194_source')" id="l_M000194_source">+</a> ]</p>
1281
- <div id="M000194_source" class="dyn-source">
1299
+ <p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">+</a> ]</p>
1300
+ <div id="M000205_source" class="dyn-source">
1282
1301
  <pre>
1283
1302
  <span class="ruby-comment cmt"># File lib/core/facets/module/wrap_method.rb, line 20</span>
1284
1303
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">wrap_method</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span> )