module-cluster 1.3.7 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +146 -1
- data/README.rdoc +146 -1
- data/lib/module-cluster.rb +54 -12
- data/lib/module-cluster/ModuleCluster/Define/Block.rb +3 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/Class.rb +16 -4
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrInstance.rb +63 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModule.rb +2 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrInstance.rb +63 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/Instance.rb +32 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/Module.rb +16 -4
- data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrInstance.rb +63 -0
- data/lib/module-cluster/ModuleCluster/Define/ClassCluster.rb +200 -0
- data/lib/module-cluster/ModuleCluster/Define/ClassOrInstanceCluster.rb +127 -0
- data/lib/module-cluster/ModuleCluster/Define/Cluster.rb +7 -19
- data/lib/module-cluster/ModuleCluster/Define/ClusterCascades.rb +5 -20
- data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToClass.rb +9 -26
- data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToModule.rb +9 -26
- data/lib/module-cluster/ModuleCluster/Define/InstanceCluster.rb +46 -0
- data/lib/module-cluster/ModuleCluster/Define/ModuleCluster.rb +200 -0
- data/lib/module-cluster/ModuleCluster/Define/ModuleOrClassCluster.rb +208 -0
- data/lib/module-cluster/ModuleCluster/Define/ModuleOrInstanceCluster.rb +127 -0
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures.rb +54 -0
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/ClusterStack.rb +44 -0
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/PerformCascades.rb +209 -0
- data/lib/module-cluster/{ModuleCluster → _private_/ModuleCluster}/ClusterStack.rb +0 -2
- data/lib/module-cluster/{ModuleCluster → _private_/ModuleCluster}/ClusterStack/Block.rb +1 -2
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Class.rb +36 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Instance.rb +20 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Module.rb +36 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Set.rb +2 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Extends.rb +108 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Includes.rb +84 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/PrependsExtends.rb +108 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/PrependsIncludes.rb +84 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Set.rb +7 -0
- data/lib/module-cluster/{ModuleCluster → _private_/ModuleCluster}/ExtendForCascade.rb +0 -0
- data/spec/ModuleCluster/Define/Block/ClassOrInstance_spec.rb +230 -0
- data/spec/ModuleCluster/Define/Block/ClassOrModuleOrInstance_spec.rb +238 -0
- data/spec/ModuleCluster/Define/Block/ClassOrModule_spec.rb +231 -0
- data/spec/ModuleCluster/Define/Block/Class_spec.rb +224 -0
- data/spec/ModuleCluster/Define/Block/Instance_spec.rb +78 -0
- data/spec/ModuleCluster/Define/Block/ModuleOrInstance_spec.rb +54 -0
- data/spec/ModuleCluster/Define/Block/Module_spec.rb +224 -0
- data/spec/ModuleCluster/Define/Block_spec.rb +18 -0
- data/spec/ModuleCluster/Define/ClassCluster_spec.rb +728 -0
- data/spec/ModuleCluster/Define/ClassOrInstanceCluster_spec.rb +576 -0
- data/spec/ModuleCluster/Define/ClusterCascadesToClass_spec.rb +298 -60
- data/spec/ModuleCluster/Define/ClusterCascadesToModule_spec.rb +307 -61
- data/spec/ModuleCluster/Define/ClusterCascades_spec.rb +335 -36
- data/spec/ModuleCluster/Define/Cluster_spec.rb +447 -14
- data/spec/ModuleCluster/Define/InstanceCluster_spec.rb +102 -0
- data/spec/ModuleCluster/Define/ModuleCluster_spec.rb +728 -0
- data/spec/ModuleCluster/Define/ModuleOrClassCluster_spec.rb +728 -0
- data/spec/ModuleCluster/Define/ModuleOrInstanceCluster_spec.rb +576 -0
- data/spec/_private_/ModuleCluster/CascadeFeatures/PerformCascades_spec.rb +278 -0
- metadata +42 -13
- data/lib/module-cluster/ModuleCluster/CascadeFeatures.rb +0 -197
- data/lib/module-cluster/ModuleCluster/ClusterStack/Block/Class.rb +0 -36
- data/lib/module-cluster/ModuleCluster/ClusterStack/Block/Module.rb +0 -36
- data/lib/module-cluster/ModuleCluster/ClusterStack/Extends.rb +0 -29
- data/lib/module-cluster/ModuleCluster/ClusterStack/Includes.rb +0 -28
- data/lib/module-cluster/ModuleCluster/ClusterStack/PrependsExtends.rb +0 -28
- data/lib/module-cluster/ModuleCluster/ClusterStack/PrependsIncludes.rb +0 -28
- data/lib/module-cluster/ModuleCluster/Define/ClusterStack.rb +0 -26
data/README.md
CHANGED
@@ -92,6 +92,113 @@ Cluster methods:
|
|
92
92
|
* include_or_extend_prepends_extends
|
93
93
|
* include_or_extend_prepends_includes_and_extends
|
94
94
|
|
95
|
+
Module cluster methods:
|
96
|
+
|
97
|
+
* module_include_also_includes
|
98
|
+
* module_include_also_extends
|
99
|
+
* module_include_also_includes_and_extends
|
100
|
+
* module_extend_also_includes
|
101
|
+
* module_extend_also_extends
|
102
|
+
* module_extend_also_includes_and_extends
|
103
|
+
* module_include_prepends_includes
|
104
|
+
* module_include_prepends_extends
|
105
|
+
* module_include_prepends_includes_and_extends
|
106
|
+
* module_extend_prepends_includes
|
107
|
+
* module_extend_prepends_extends
|
108
|
+
* module_extend_prepends_includes_and_extends
|
109
|
+
* module_include_or_extend_also_includes
|
110
|
+
* module_include_or_extend_also_extends
|
111
|
+
* module_include_or_extend_also_includes_and_extends
|
112
|
+
* module_include_or_extend_prepends_includes
|
113
|
+
* module_include_or_extend_prepends_extends
|
114
|
+
* module_include_or_extend_prepends_includes_and_extends
|
115
|
+
|
116
|
+
Class cluster methods:
|
117
|
+
|
118
|
+
* class_include_also_includes
|
119
|
+
* class_include_also_extends
|
120
|
+
* class_include_also_includes_and_extends
|
121
|
+
* class_extend_also_includes
|
122
|
+
* class_extend_also_extends
|
123
|
+
* class_extend_also_includes_and_extends
|
124
|
+
* class_include_prepends_includes
|
125
|
+
* class_include_prepends_extends
|
126
|
+
* class_include_prepends_includes_and_extends
|
127
|
+
* class_extend_prepends_includes
|
128
|
+
* class_extend_prepends_extends
|
129
|
+
* class_extend_prepends_includes_and_extends
|
130
|
+
* class_include_or_extend_also_includes
|
131
|
+
* class_include_or_extend_also_extends
|
132
|
+
* class_include_or_extend_also_includes_and_extends
|
133
|
+
* class_include_or_extend_prepends_includes
|
134
|
+
* class_include_or_extend_prepends_extends
|
135
|
+
* class_include_or_extend_prepends_includes_and_extends
|
136
|
+
|
137
|
+
Instance cluster methods:
|
138
|
+
|
139
|
+
* instance_extend_also_extends
|
140
|
+
* instance_extend_prepends_extends
|
141
|
+
|
142
|
+
Module or instance cluster methods:
|
143
|
+
|
144
|
+
* module_include_or_extend_or_instance_extend_also_includes_or_extends
|
145
|
+
* module_include_or_extend_or_instance_extend_also_extends
|
146
|
+
* module_include_or_instance_extend_also_includes_or_extends
|
147
|
+
* module_include_or_instance_extend_also_extends
|
148
|
+
* module_or_instance_extend_also_extends
|
149
|
+
* module_include_or_extend_or_instance_extend_prepends_includes_or_extends
|
150
|
+
* module_include_or_instance_extend_prepends_includes_or_extends
|
151
|
+
* module_include_or_extend_or_instance_extend_prepends_extends
|
152
|
+
* module_include_or_instance_extend_prepends_extends
|
153
|
+
* module_or_instance_extend_prepends_extends
|
154
|
+
|
155
|
+
Class or module cluster methods:
|
156
|
+
|
157
|
+
* module_or_class_include_also_includes
|
158
|
+
* module_or_class_include_also_extends
|
159
|
+
* module_or_class_include_also_includes_and_extends
|
160
|
+
* module_or_class_extend_also_includes
|
161
|
+
* module_or_class_extend_also_extends
|
162
|
+
* module_or_class_extend_also_includes_and_extends
|
163
|
+
* module_or_class_include_prepends_includes
|
164
|
+
* module_or_class_include_prepends_extends
|
165
|
+
* module_or_class_include_prepends_includes_and_extends
|
166
|
+
* module_or_class_extend_prepends_includes
|
167
|
+
* module_or_class_extend_prepends_extends
|
168
|
+
* module_or_class_extend_prepends_includes_and_extends
|
169
|
+
* module_or_class_include_or_extend_also_includes
|
170
|
+
* module_or_class_include_or_extend_also_extends
|
171
|
+
* module_or_class_include_or_extend_also_includes_and_extends
|
172
|
+
* module_or_class_include_or_extend_prepends_includes
|
173
|
+
* module_or_class_include_or_extend_prepends_extends
|
174
|
+
* module_or_class_include_or_extend_prepends_includes_and_extends
|
175
|
+
|
176
|
+
Class or module or instance cluster methods:
|
177
|
+
|
178
|
+
* module_include_or_extend_or_instance_extend_also_includes_or_extends
|
179
|
+
* module_include_or_extend_or_instance_extend_also_extends
|
180
|
+
* module_include_or_instance_extend_also_includes_or_extends
|
181
|
+
* module_include_or_instance_extend_also_extends
|
182
|
+
* module_or_instance_extend_also_extends
|
183
|
+
* module_include_or_extend_or_instance_extend_prepends_includes_or_extends
|
184
|
+
* module_include_or_instance_extend_prepends_includes_or_extends
|
185
|
+
* module_include_or_extend_or_instance_extend_prepends_extends
|
186
|
+
* module_include_or_instance_extend_prepends_extends
|
187
|
+
* module_or_instance_extend_prepends_extends
|
188
|
+
|
189
|
+
Class or instance cluster methods:
|
190
|
+
|
191
|
+
* class_include_or_extend_or_instance_extend_also_includes_or_extends
|
192
|
+
* class_include_or_extend_or_instance_extend_also_extends
|
193
|
+
* class_include_or_instance_extend_also_includes_or_extends
|
194
|
+
* class_include_or_instance_extend_also_extends
|
195
|
+
* class_or_instance_extend_also_extends
|
196
|
+
* class_include_or_extend_or_instance_extend_prepends_includes_or_extends
|
197
|
+
* class_include_or_instance_extend_prepends_includes_or_extends
|
198
|
+
* class_include_or_extend_or_instance_extend_prepends_extends
|
199
|
+
* class_include_or_instance_extend_prepends_extends
|
200
|
+
* class_or_instance_extend_prepends_extends
|
201
|
+
|
95
202
|
Cascade methods (cascades to modules and classes):
|
96
203
|
|
97
204
|
* include_cascades_includes
|
@@ -155,7 +262,7 @@ Cascade to module methods (does not cascade to classes):
|
|
155
262
|
* include_or_extend_cascades_to_module_prepending_extends
|
156
263
|
* include_or_extend_cascades_to_module_prepending_includes_and_extends
|
157
264
|
|
158
|
-
|
265
|
+
Module block methods:
|
159
266
|
|
160
267
|
* module_include
|
161
268
|
* module_extend
|
@@ -163,12 +270,23 @@ Block methods:
|
|
163
270
|
* prepend_module_include
|
164
271
|
* prepend_module_extend
|
165
272
|
* prepend_module_include_or_extend
|
273
|
+
|
274
|
+
Class block methods:
|
275
|
+
|
166
276
|
* class_include
|
167
277
|
* class_extend
|
168
278
|
* class_include_or_extend
|
169
279
|
* prepend_class_include
|
170
280
|
* prepend_class_extend
|
171
281
|
* prepend_class_include_or_extend
|
282
|
+
|
283
|
+
Instance block methods:
|
284
|
+
|
285
|
+
* instance_extend
|
286
|
+
* prepend_instance_extend
|
287
|
+
|
288
|
+
Class or module block methods:
|
289
|
+
|
172
290
|
* class_or_module_include
|
173
291
|
* class_or_module_extend
|
174
292
|
* class_or_module_include_or_extend
|
@@ -176,6 +294,33 @@ Block methods:
|
|
176
294
|
* prepend_class_or_module_extend
|
177
295
|
* prepend_class_or_module_include_or_extend
|
178
296
|
|
297
|
+
Module or instance block methods:
|
298
|
+
|
299
|
+
* module_or_instance_extend
|
300
|
+
* module_include_or_instance_extend
|
301
|
+
* module_include_or_extend_or_instance_extend
|
302
|
+
* prepend_module_or_instance_extend
|
303
|
+
* prepend_module_include_or_instance_extend
|
304
|
+
* prepend_module_include_or_extend_or_instance_extend
|
305
|
+
|
306
|
+
Class or instance block methods:
|
307
|
+
|
308
|
+
* class_or_instance_extend
|
309
|
+
* class_include_or_instance_extend
|
310
|
+
* class_include_or_extend_or_instance_extend
|
311
|
+
* prepend_class_or_instance_extend
|
312
|
+
* prepend_class_include_or_instance_extend
|
313
|
+
* prepend_class_include_or_extend_or_instance_extend
|
314
|
+
|
315
|
+
Class or module or instance block methods:
|
316
|
+
|
317
|
+
* class_or_module_or_instance_extend
|
318
|
+
* class_or_module_include_or_instance_extend
|
319
|
+
* class_or_module_include_or_extend_or_instance_extend
|
320
|
+
* prepend_class_or_module_or_instance_extend
|
321
|
+
* prepend_class_or_module_include_or_instance_extend
|
322
|
+
* prepend_class_or_module_include_or_extend_or_instance_extend
|
323
|
+
|
179
324
|
# License #
|
180
325
|
|
181
326
|
(The MIT License)
|
data/README.rdoc
CHANGED
@@ -82,6 +82,113 @@ Cluster methods:
|
|
82
82
|
* include_or_extend_prepends_extends
|
83
83
|
* include_or_extend_prepends_includes_and_extends
|
84
84
|
|
85
|
+
Module cluster methods:
|
86
|
+
|
87
|
+
* module_include_also_includes
|
88
|
+
* module_include_also_extends
|
89
|
+
* module_include_also_includes_and_extends
|
90
|
+
* module_extend_also_includes
|
91
|
+
* module_extend_also_extends
|
92
|
+
* module_extend_also_includes_and_extends
|
93
|
+
* module_include_prepends_includes
|
94
|
+
* module_include_prepends_extends
|
95
|
+
* module_include_prepends_includes_and_extends
|
96
|
+
* module_extend_prepends_includes
|
97
|
+
* module_extend_prepends_extends
|
98
|
+
* module_extend_prepends_includes_and_extends
|
99
|
+
* module_include_or_extend_also_includes
|
100
|
+
* module_include_or_extend_also_extends
|
101
|
+
* module_include_or_extend_also_includes_and_extends
|
102
|
+
* module_include_or_extend_prepends_includes
|
103
|
+
* module_include_or_extend_prepends_extends
|
104
|
+
* module_include_or_extend_prepends_includes_and_extends
|
105
|
+
|
106
|
+
Class cluster methods:
|
107
|
+
|
108
|
+
* class_include_also_includes
|
109
|
+
* class_include_also_extends
|
110
|
+
* class_include_also_includes_and_extends
|
111
|
+
* class_extend_also_includes
|
112
|
+
* class_extend_also_extends
|
113
|
+
* class_extend_also_includes_and_extends
|
114
|
+
* class_include_prepends_includes
|
115
|
+
* class_include_prepends_extends
|
116
|
+
* class_include_prepends_includes_and_extends
|
117
|
+
* class_extend_prepends_includes
|
118
|
+
* class_extend_prepends_extends
|
119
|
+
* class_extend_prepends_includes_and_extends
|
120
|
+
* class_include_or_extend_also_includes
|
121
|
+
* class_include_or_extend_also_extends
|
122
|
+
* class_include_or_extend_also_includes_and_extends
|
123
|
+
* class_include_or_extend_prepends_includes
|
124
|
+
* class_include_or_extend_prepends_extends
|
125
|
+
* class_include_or_extend_prepends_includes_and_extends
|
126
|
+
|
127
|
+
Instance cluster methods:
|
128
|
+
|
129
|
+
* instance_extend_also_extends
|
130
|
+
* instance_extend_prepends_extends
|
131
|
+
|
132
|
+
Module or instance cluster methods:
|
133
|
+
|
134
|
+
* module_include_or_extend_or_instance_extend_also_includes_or_extends
|
135
|
+
* module_include_or_extend_or_instance_extend_also_extends
|
136
|
+
* module_include_or_instance_extend_also_includes_or_extends
|
137
|
+
* module_include_or_instance_extend_also_extends
|
138
|
+
* module_or_instance_extend_also_extends
|
139
|
+
* module_include_or_extend_or_instance_extend_prepends_includes_or_extends
|
140
|
+
* module_include_or_instance_extend_prepends_includes_or_extends
|
141
|
+
* module_include_or_extend_or_instance_extend_prepends_extends
|
142
|
+
* module_include_or_instance_extend_prepends_extends
|
143
|
+
* module_or_instance_extend_prepends_extends
|
144
|
+
|
145
|
+
Class or module cluster methods:
|
146
|
+
|
147
|
+
* module_or_class_include_also_includes
|
148
|
+
* module_or_class_include_also_extends
|
149
|
+
* module_or_class_include_also_includes_and_extends
|
150
|
+
* module_or_class_extend_also_includes
|
151
|
+
* module_or_class_extend_also_extends
|
152
|
+
* module_or_class_extend_also_includes_and_extends
|
153
|
+
* module_or_class_include_prepends_includes
|
154
|
+
* module_or_class_include_prepends_extends
|
155
|
+
* module_or_class_include_prepends_includes_and_extends
|
156
|
+
* module_or_class_extend_prepends_includes
|
157
|
+
* module_or_class_extend_prepends_extends
|
158
|
+
* module_or_class_extend_prepends_includes_and_extends
|
159
|
+
* module_or_class_include_or_extend_also_includes
|
160
|
+
* module_or_class_include_or_extend_also_extends
|
161
|
+
* module_or_class_include_or_extend_also_includes_and_extends
|
162
|
+
* module_or_class_include_or_extend_prepends_includes
|
163
|
+
* module_or_class_include_or_extend_prepends_extends
|
164
|
+
* module_or_class_include_or_extend_prepends_includes_and_extends
|
165
|
+
|
166
|
+
Class or module or instance cluster methods:
|
167
|
+
|
168
|
+
* module_include_or_extend_or_instance_extend_also_includes_or_extends
|
169
|
+
* module_include_or_extend_or_instance_extend_also_extends
|
170
|
+
* module_include_or_instance_extend_also_includes_or_extends
|
171
|
+
* module_include_or_instance_extend_also_extends
|
172
|
+
* module_or_instance_extend_also_extends
|
173
|
+
* module_include_or_extend_or_instance_extend_prepends_includes_or_extends
|
174
|
+
* module_include_or_instance_extend_prepends_includes_or_extends
|
175
|
+
* module_include_or_extend_or_instance_extend_prepends_extends
|
176
|
+
* module_include_or_instance_extend_prepends_extends
|
177
|
+
* module_or_instance_extend_prepends_extends
|
178
|
+
|
179
|
+
Class or instance cluster methods:
|
180
|
+
|
181
|
+
* class_include_or_extend_or_instance_extend_also_includes_or_extends
|
182
|
+
* class_include_or_extend_or_instance_extend_also_extends
|
183
|
+
* class_include_or_instance_extend_also_includes_or_extends
|
184
|
+
* class_include_or_instance_extend_also_extends
|
185
|
+
* class_or_instance_extend_also_extends
|
186
|
+
* class_include_or_extend_or_instance_extend_prepends_includes_or_extends
|
187
|
+
* class_include_or_instance_extend_prepends_includes_or_extends
|
188
|
+
* class_include_or_extend_or_instance_extend_prepends_extends
|
189
|
+
* class_include_or_instance_extend_prepends_extends
|
190
|
+
* class_or_instance_extend_prepends_extends
|
191
|
+
|
85
192
|
Cascade methods (cascades to modules and classes):
|
86
193
|
|
87
194
|
* include_cascades_includes
|
@@ -145,7 +252,7 @@ Cascade to module methods (does not cascade to classes):
|
|
145
252
|
* include_or_extend_cascades_to_module_prepending_extends
|
146
253
|
* include_or_extend_cascades_to_module_prepending_includes_and_extends
|
147
254
|
|
148
|
-
|
255
|
+
Module block methods:
|
149
256
|
|
150
257
|
* module_include
|
151
258
|
* module_extend
|
@@ -153,12 +260,23 @@ Block methods:
|
|
153
260
|
* prepend_module_include
|
154
261
|
* prepend_module_extend
|
155
262
|
* prepend_module_include_or_extend
|
263
|
+
|
264
|
+
Class block methods:
|
265
|
+
|
156
266
|
* class_include
|
157
267
|
* class_extend
|
158
268
|
* class_include_or_extend
|
159
269
|
* prepend_class_include
|
160
270
|
* prepend_class_extend
|
161
271
|
* prepend_class_include_or_extend
|
272
|
+
|
273
|
+
Instance block methods:
|
274
|
+
|
275
|
+
* instance_extend
|
276
|
+
* prepend_instance_extend
|
277
|
+
|
278
|
+
Class or module block methods:
|
279
|
+
|
162
280
|
* class_or_module_include
|
163
281
|
* class_or_module_extend
|
164
282
|
* class_or_module_include_or_extend
|
@@ -166,6 +284,33 @@ Block methods:
|
|
166
284
|
* prepend_class_or_module_extend
|
167
285
|
* prepend_class_or_module_include_or_extend
|
168
286
|
|
287
|
+
Module or instance block methods:
|
288
|
+
|
289
|
+
* module_or_instance_extend
|
290
|
+
* module_include_or_instance_extend
|
291
|
+
* module_include_or_extend_or_instance_extend
|
292
|
+
* prepend_module_or_instance_extend
|
293
|
+
* prepend_module_include_or_instance_extend
|
294
|
+
* prepend_module_include_or_extend_or_instance_extend
|
295
|
+
|
296
|
+
Class or instance block methods:
|
297
|
+
|
298
|
+
* class_or_instance_extend
|
299
|
+
* class_include_or_instance_extend
|
300
|
+
* class_include_or_extend_or_instance_extend
|
301
|
+
* prepend_class_or_instance_extend
|
302
|
+
* prepend_class_include_or_instance_extend
|
303
|
+
* prepend_class_include_or_extend_or_instance_extend
|
304
|
+
|
305
|
+
Class or module or instance block methods:
|
306
|
+
|
307
|
+
* class_or_module_or_instance_extend
|
308
|
+
* class_or_module_include_or_instance_extend
|
309
|
+
* class_or_module_include_or_extend_or_instance_extend
|
310
|
+
* prepend_class_or_module_or_instance_extend
|
311
|
+
* prepend_class_or_module_include_or_instance_extend
|
312
|
+
* prepend_class_or_module_include_or_extend_or_instance_extend
|
313
|
+
|
169
314
|
== License
|
170
315
|
|
171
316
|
(The MIT License)
|
data/lib/module-cluster.rb
CHANGED
@@ -4,6 +4,8 @@ module ModuleCluster
|
|
4
4
|
module Block
|
5
5
|
module Class
|
6
6
|
end
|
7
|
+
module Instance
|
8
|
+
end
|
7
9
|
module Module
|
8
10
|
end
|
9
11
|
end
|
@@ -14,15 +16,25 @@ module ModuleCluster
|
|
14
16
|
module Block
|
15
17
|
module Class
|
16
18
|
end
|
19
|
+
module ClassOrModule
|
20
|
+
end
|
21
|
+
module ClassOrInstance
|
22
|
+
end
|
23
|
+
module Instance
|
24
|
+
end
|
17
25
|
module Module
|
18
26
|
end
|
19
|
-
module
|
27
|
+
module ModuleOrInstance
|
20
28
|
end
|
21
29
|
end
|
22
30
|
module ClusterStack
|
23
31
|
end
|
24
32
|
module Cluster
|
25
33
|
end
|
34
|
+
module ClassCluster
|
35
|
+
end
|
36
|
+
module ClassOrInstanceCluster
|
37
|
+
end
|
26
38
|
module ClusterCascades
|
27
39
|
end
|
28
40
|
module ClusterCascadesToClass
|
@@ -31,28 +43,58 @@ module ModuleCluster
|
|
31
43
|
end
|
32
44
|
module Deprecated
|
33
45
|
end
|
46
|
+
module InstanceCluster
|
47
|
+
end
|
48
|
+
module ModuleCluster
|
49
|
+
end
|
50
|
+
module ModuleOrClassCluster
|
51
|
+
end
|
52
|
+
module ModuleOrInstanceCluster
|
53
|
+
end
|
34
54
|
end
|
35
55
|
end
|
36
56
|
|
37
|
-
|
38
|
-
require_relative 'module-cluster/ModuleCluster/
|
39
|
-
require_relative 'module-cluster/ModuleCluster/
|
57
|
+
|
58
|
+
require_relative 'module-cluster/_private_/ModuleCluster/CascadeFeatures/ClusterStack.rb'
|
59
|
+
require_relative 'module-cluster/_private_/ModuleCluster/CascadeFeatures/PerformCascades.rb'
|
60
|
+
require_relative 'module-cluster/_private_/ModuleCluster/CascadeFeatures.rb'
|
61
|
+
|
62
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ExtendForCascade.rb'
|
63
|
+
|
64
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Set.rb'
|
65
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Includes.rb'
|
66
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Extends.rb'
|
67
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/PrependsIncludes.rb'
|
68
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/PrependsExtends.rb'
|
69
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Block/Set.rb'
|
70
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Block/Class.rb'
|
71
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Block/Instance.rb'
|
72
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Block/Module.rb'
|
73
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack/Block.rb'
|
74
|
+
require_relative 'module-cluster/_private_/ModuleCluster/ClusterStack.rb'
|
75
|
+
|
40
76
|
require_relative 'module-cluster/ModuleCluster/Define/Block/Class.rb'
|
77
|
+
require_relative 'module-cluster/ModuleCluster/Define/Block/Instance.rb'
|
41
78
|
require_relative 'module-cluster/ModuleCluster/Define/Block/Module.rb'
|
79
|
+
require_relative 'module-cluster/ModuleCluster/Define/Block/ClassOrInstance.rb'
|
42
80
|
require_relative 'module-cluster/ModuleCluster/Define/Block/ClassOrModule.rb'
|
81
|
+
require_relative 'module-cluster/ModuleCluster/Define/Block/ModuleOrInstance.rb'
|
82
|
+
require_relative 'module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrInstance.rb'
|
43
83
|
require_relative 'module-cluster/ModuleCluster/Define/Block.rb'
|
84
|
+
|
44
85
|
require_relative 'module-cluster/ModuleCluster/Define/Cluster.rb'
|
86
|
+
require_relative 'module-cluster/ModuleCluster/Define/ModuleCluster.rb'
|
87
|
+
require_relative 'module-cluster/ModuleCluster/Define/ClassCluster.rb'
|
88
|
+
require_relative 'module-cluster/ModuleCluster/Define/ModuleOrClassCluster.rb'
|
89
|
+
require_relative 'module-cluster/ModuleCluster/Define/ModuleOrInstanceCluster.rb'
|
90
|
+
require_relative 'module-cluster/ModuleCluster/Define/ClassOrInstanceCluster.rb'
|
91
|
+
require_relative 'module-cluster/ModuleCluster/Define/InstanceCluster.rb'
|
45
92
|
require_relative 'module-cluster/ModuleCluster/Define/ClusterCascades.rb'
|
46
93
|
require_relative 'module-cluster/ModuleCluster/Define/ClusterCascadesToClass.rb'
|
47
94
|
require_relative 'module-cluster/ModuleCluster/Define/ClusterCascadesToModule.rb'
|
95
|
+
|
48
96
|
require_relative 'module-cluster/ModuleCluster/Define/Deprecated.rb'
|
49
|
-
|
50
|
-
|
51
|
-
require_relative 'module-cluster/ModuleCluster/ClusterStack/PrependsIncludes.rb'
|
52
|
-
require_relative 'module-cluster/ModuleCluster/ClusterStack/PrependsExtends.rb'
|
53
|
-
require_relative 'module-cluster/ModuleCluster/ClusterStack/Block/Class.rb'
|
54
|
-
require_relative 'module-cluster/ModuleCluster/ClusterStack/Block/Module.rb'
|
55
|
-
require_relative 'module-cluster/ModuleCluster/ClusterStack/Block.rb'
|
56
|
-
require_relative 'module-cluster/ModuleCluster/ClusterStack.rb'
|
97
|
+
|
98
|
+
|
57
99
|
require_relative 'module-cluster/ModuleCluster.rb'
|
58
100
|
|