module-cluster 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +21 -0
- data/README.rdoc +21 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/CascadingClass.rb +83 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/CascadingClassOrModule.rb +70 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/CascadingModule.rb +79 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/CascadingModuleOrSubclass.rb +22 -0
- data/lib/module-cluster/ModuleCluster/Define/Block/Class.rb +15 -7
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrInstance.rb +15 -7
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModule.rb +15 -7
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrInstance.rb +15 -7
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrSubclass.rb +11 -3
- data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrSubclass.rb +10 -2
- data/lib/module-cluster/ModuleCluster/Define/Block/Instance.rb +15 -3
- data/lib/module-cluster/ModuleCluster/Define/Block/Module.rb +15 -7
- data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrInstance.rb +15 -7
- data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrSubclass.rb +10 -2
- data/lib/module-cluster/ModuleCluster/Define/Block/Subclass.rb +13 -2
- data/lib/module-cluster/ModuleCluster/Define/Block.rb +1 -1
- data/lib/module-cluster/ModuleCluster/Define/ClassCluster.rb +19 -19
- data/lib/module-cluster/ModuleCluster/Define/ClassOrInstanceCluster.rb +34 -34
- data/lib/module-cluster/ModuleCluster/Define/Cluster.rb +19 -19
- data/lib/module-cluster/ModuleCluster/Define/ClusterCascades.rb +19 -19
- data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToClass.rb +19 -19
- data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToModule.rb +19 -19
- data/lib/module-cluster/ModuleCluster/Define/Deprecated.rb +1 -1
- data/lib/module-cluster/ModuleCluster/Define/InstanceCluster.rb +3 -3
- data/lib/module-cluster/ModuleCluster/Define/ModuleCluster.rb +19 -19
- data/lib/module-cluster/ModuleCluster/Define/ModuleOrClassCluster.rb +43 -43
- data/lib/module-cluster/ModuleCluster/Define/ModuleOrInstanceCluster.rb +34 -34
- data/lib/module-cluster/ModuleCluster/Define/Status.rb +1 -1
- data/lib/module-cluster/ModuleCluster/Define.rb +1 -1
- data/lib/module-cluster/ModuleCluster/Suspend/Hooks.rb +1 -1
- data/lib/module-cluster/ModuleCluster/Suspend/WithoutHooks.rb +1 -1
- data/lib/module-cluster/ModuleCluster/Suspend.rb +1 -1
- data/lib/module-cluster/ModuleCluster.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/ClusterStack.rb +3 -3
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/PerformCascades.rb +85 -32
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/Subclass.rb +6 -3
- data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures.rb +5 -5
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Class.rb +9 -9
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Inherited.rb +3 -3
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Instance.rb +5 -5
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Module.rb +9 -9
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Set.rb +1 -0
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Extends.rb +13 -13
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Includes.rb +10 -10
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/PrependsExtends.rb +13 -13
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/PrependsIncludes.rb +10 -10
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Set/MultiSetProxy.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Status.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Suspend.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/ClusterStack.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/ExtendForCascade/Subclass.rb +1 -1
- data/lib/module-cluster/_private_/ModuleCluster/ExtendForCascade.rb +1 -1
- data/lib/module-cluster.rb +14 -2
- data/spec/ModuleCluster/Define/Block/CascadingClassOrModule_spec.rb +285 -0
- data/spec/ModuleCluster/Define/Block/CascadingClass_spec.rb +241 -0
- data/spec/ModuleCluster/Define/Block/CascadingModuleOrSubclass_spec.rb +56 -0
- data/spec/ModuleCluster/Define/Block/CascadingModule_spec.rb +278 -0
- data/spec/ModuleCluster/Define/Block/ClassOrInstance_spec.rb +13 -13
- data/spec/ModuleCluster/Define/Block/ClassOrModuleOrInstance_spec.rb +13 -13
- data/spec/ModuleCluster/Define/Block/ClassOrModuleOrSubclass_spec.rb +2 -3
- data/spec/ModuleCluster/Define/Block/ClassOrModule_spec.rb +13 -13
- data/spec/ModuleCluster/Define/Block/ClassOrSubclass_spec.rb +2 -2
- data/spec/ModuleCluster/Define/Block/Class_spec.rb +13 -13
- data/spec/ModuleCluster/Define/Block/Instance_spec.rb +5 -5
- data/spec/ModuleCluster/Define/Block/ModuleOrInstance_spec.rb +1 -1
- data/spec/ModuleCluster/Define/Block/ModuleOrSubclass_spec.rb +2 -4
- data/spec/ModuleCluster/Define/Block/Module_spec.rb +13 -13
- data/spec/ModuleCluster/Define/Block/Subclass_spec.rb +8 -8
- data/spec/ModuleCluster/Define/Block_spec.rb +9 -9
- data/spec/ModuleCluster/Define/ClassCluster_spec.rb +227 -227
- data/spec/ModuleCluster/Define/ClassOrInstanceCluster_spec.rb +197 -197
- data/spec/ModuleCluster/Define/ClusterCascadesToClass_spec.rb +228 -228
- data/spec/ModuleCluster/Define/ClusterCascadesToModule_spec.rb +232 -232
- data/spec/ModuleCluster/Define/ClusterCascades_spec.rb +224 -224
- data/spec/ModuleCluster/Define/Cluster_spec.rb +221 -221
- data/spec/ModuleCluster/Define/InstanceCluster_spec.rb +29 -29
- data/spec/ModuleCluster/Define/ModuleCluster_spec.rb +227 -227
- data/spec/ModuleCluster/Define/ModuleOrClassCluster_spec.rb +227 -227
- data/spec/ModuleCluster/Define/ModuleOrInstanceCluster_spec.rb +197 -197
- data/spec/ModuleCluster/Suspend/Hooks_spec.rb +120 -120
- data/spec/ModuleCluster/Suspend/WithoutHooks_spec.rb +120 -120
- data/spec/ModuleCluster_spec.rb +2 -2
- data/spec/_private_/ModuleCluster/CascadeFeatures/PerformCascades_spec.rb +192 -192
- data/spec/_private_/ModuleCluster/ClusterStack/Set/MultiSetProxy_spec.rb +129 -129
- data/spec/_private_/ModuleCluster/ClusterStack/Suspend_spec.rb +17 -17
- metadata +9 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
module ModuleCluster::Define::InstanceCluster
|
2
|
+
module ::ModuleCluster::Define::InstanceCluster
|
3
3
|
|
4
4
|
include ::ModuleCluster::CascadeFeatures::ClusterStack
|
5
5
|
include ::ModuleCluster::Suspend::WithoutHooks
|
@@ -31,7 +31,7 @@ module ModuleCluster::Define::InstanceCluster
|
|
31
31
|
##################################
|
32
32
|
|
33
33
|
def instance_extend_also_extends( *extends, & runtime_extends_block )
|
34
|
-
return cluster_stack.instance_extend_extends( ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
34
|
+
return cluster_stack.instance_extend_extends( ::ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
35
35
|
end
|
36
36
|
|
37
37
|
######################################
|
@@ -39,7 +39,7 @@ module ModuleCluster::Define::InstanceCluster
|
|
39
39
|
######################################
|
40
40
|
|
41
41
|
def instance_extend_prepends_extends( *extends, & runtime_extends_block )
|
42
|
-
return cluster_stack.instance_extend_prepends_extends( ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
42
|
+
return cluster_stack.instance_extend_prepends_extends( ::ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
43
43
|
end
|
44
44
|
|
45
45
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
module ModuleCluster::Define::ModuleCluster
|
2
|
+
module ::ModuleCluster::Define::ModuleCluster
|
3
3
|
|
4
4
|
include ::ModuleCluster::CascadeFeatures::ClusterStack
|
5
5
|
include ::ModuleCluster::Suspend::WithoutHooks
|
@@ -31,7 +31,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
31
31
|
##################################
|
32
32
|
|
33
33
|
def module_include_also_includes( *includes, & runtime_includes_block )
|
34
|
-
return cluster_stack.module_include_includes( ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
34
|
+
return cluster_stack.module_include_includes( ::ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
35
35
|
end
|
36
36
|
|
37
37
|
#################################
|
@@ -39,7 +39,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
39
39
|
#################################
|
40
40
|
|
41
41
|
def module_include_also_extends( *extends, & runtime_extends_block )
|
42
|
-
return cluster_stack.module_include_extends( ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
42
|
+
return cluster_stack.module_include_extends( ::ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
43
43
|
end
|
44
44
|
|
45
45
|
##############################################
|
@@ -49,7 +49,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
49
49
|
def module_include_also_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
50
50
|
include_set = module_include_also_includes( *includes_and_extends, & runtime_includes_and_extends_block )
|
51
51
|
extend_set = module_include_also_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
52
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
52
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
53
53
|
end
|
54
54
|
|
55
55
|
#################################
|
@@ -57,7 +57,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
57
57
|
#################################
|
58
58
|
|
59
59
|
def module_extend_also_includes( *includes, & runtime_includes_block )
|
60
|
-
return cluster_stack.module_extend_includes( ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
60
|
+
return cluster_stack.module_extend_includes( ::ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
61
61
|
end
|
62
62
|
|
63
63
|
################################
|
@@ -65,7 +65,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
65
65
|
################################
|
66
66
|
|
67
67
|
def module_extend_also_extends( *extends, & runtime_extends_block )
|
68
|
-
return cluster_stack.module_extend_extends( ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
68
|
+
return cluster_stack.module_extend_extends( ::ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
69
69
|
end
|
70
70
|
|
71
71
|
#############################################
|
@@ -75,7 +75,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
75
75
|
def module_extend_also_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
76
76
|
include_set = module_extend_also_includes( *includes_and_extends, & runtime_includes_and_extends_block )
|
77
77
|
extend_set = module_extend_also_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
78
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
78
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
79
79
|
end
|
80
80
|
|
81
81
|
######################################
|
@@ -83,7 +83,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
83
83
|
######################################
|
84
84
|
|
85
85
|
def module_include_prepends_includes( *includes, & runtime_includes_block )
|
86
|
-
return cluster_stack.module_include_prepends_includes( ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
86
|
+
return cluster_stack.module_include_prepends_includes( ::ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
87
87
|
end
|
88
88
|
|
89
89
|
#####################################
|
@@ -91,7 +91,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
91
91
|
#####################################
|
92
92
|
|
93
93
|
def module_include_prepends_extends( *extends, & runtime_extends_block )
|
94
|
-
return cluster_stack.module_include_prepends_extends( ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
94
|
+
return cluster_stack.module_include_prepends_extends( ::ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
95
95
|
end
|
96
96
|
|
97
97
|
##################################################
|
@@ -101,7 +101,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
101
101
|
def module_include_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
102
102
|
include_set = module_include_prepends_includes( *includes_and_extends, & runtime_includes_and_extends_block )
|
103
103
|
extend_set = module_include_prepends_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
104
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
104
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
105
105
|
end
|
106
106
|
|
107
107
|
#####################################
|
@@ -109,7 +109,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
109
109
|
#####################################
|
110
110
|
|
111
111
|
def module_extend_prepends_includes( *includes, & runtime_includes_block )
|
112
|
-
return cluster_stack.module_extend_prepends_includes( ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
112
|
+
return cluster_stack.module_extend_prepends_includes( ::ModuleCluster::Define::Cluster, __method__, includes, runtime_includes_block )
|
113
113
|
end
|
114
114
|
|
115
115
|
####################################
|
@@ -117,7 +117,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
117
117
|
####################################
|
118
118
|
|
119
119
|
def module_extend_prepends_extends( *extends, & runtime_extends_block )
|
120
|
-
return cluster_stack.module_extend_prepends_extends( ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
120
|
+
return cluster_stack.module_extend_prepends_extends( ::ModuleCluster::Define::Cluster, __method__, extends, runtime_extends_block )
|
121
121
|
end
|
122
122
|
|
123
123
|
#################################################
|
@@ -127,7 +127,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
127
127
|
def module_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
128
128
|
include_set = module_extend_prepends_includes( *includes_and_extends, & runtime_includes_and_extends_block )
|
129
129
|
extend_set = module_extend_prepends_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
130
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
130
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
131
131
|
end
|
132
132
|
|
133
133
|
############################################
|
@@ -137,7 +137,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
137
137
|
def module_include_or_extend_also_includes( *includes, & runtime_includes_block )
|
138
138
|
include_set = module_include_also_includes( *includes, & runtime_includes_block )
|
139
139
|
extend_set = module_extend_also_includes( *includes, & runtime_includes_block )
|
140
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
140
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
141
141
|
end
|
142
142
|
|
143
143
|
###########################################
|
@@ -147,7 +147,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
147
147
|
def module_include_or_extend_also_extends( *extends, & runtime_extends_block )
|
148
148
|
include_set = module_include_also_extends( *extends, & runtime_extends_block )
|
149
149
|
extend_set = module_extend_also_extends( *extends, & runtime_extends_block )
|
150
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
150
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
151
151
|
end
|
152
152
|
|
153
153
|
########################################################
|
@@ -157,7 +157,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
157
157
|
def module_include_or_extend_also_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
158
158
|
include_set = module_include_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
159
159
|
extend_set = module_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
160
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
160
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
161
161
|
end
|
162
162
|
|
163
163
|
################################################
|
@@ -167,7 +167,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
167
167
|
def module_include_or_extend_prepends_includes( *includes, & runtime_includes_block )
|
168
168
|
include_set = module_include_prepends_includes( *includes, & runtime_includes_block )
|
169
169
|
extend_set = module_extend_prepends_includes( *includes, & runtime_includes_block )
|
170
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
170
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
171
171
|
end
|
172
172
|
|
173
173
|
###############################################
|
@@ -177,7 +177,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
177
177
|
def module_include_or_extend_prepends_extends( *extends, & runtime_extends_block )
|
178
178
|
include_set = module_include_prepends_extends( *extends, & runtime_extends_block )
|
179
179
|
extend_set = module_extend_prepends_extends( *extends, & runtime_extends_block )
|
180
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
180
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
181
181
|
end
|
182
182
|
|
183
183
|
############################################################
|
@@ -187,7 +187,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
187
187
|
def module_include_or_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
188
188
|
include_set = module_include_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
189
189
|
extend_set = module_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
190
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
190
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
191
191
|
end
|
192
192
|
|
193
193
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
module ModuleCluster::Define::ModuleOrClassCluster
|
2
|
+
module ::ModuleCluster::Define::ModuleOrClassCluster
|
3
3
|
|
4
4
|
include ::ModuleCluster::CascadeFeatures::ClusterStack
|
5
5
|
include ::ModuleCluster::Suspend::WithoutHooks
|
@@ -31,9 +31,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
31
31
|
###########################################
|
32
32
|
|
33
33
|
def module_or_class_include_also_includes( *includes, & runtime_includes_block )
|
34
|
-
include_set = cluster_stack.module_include_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
35
|
-
extend_set = cluster_stack.class_include_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
36
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
34
|
+
include_set = cluster_stack.module_include_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
35
|
+
extend_set = cluster_stack.class_include_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
36
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
37
37
|
end
|
38
38
|
|
39
39
|
##########################################
|
@@ -41,9 +41,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
41
41
|
##########################################
|
42
42
|
|
43
43
|
def module_or_class_include_also_extends( *extends, & runtime_extends_block )
|
44
|
-
include_set = cluster_stack.module_include_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
45
|
-
extend_set = cluster_stack.class_include_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
46
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
44
|
+
include_set = cluster_stack.module_include_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
45
|
+
extend_set = cluster_stack.class_include_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
46
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
47
47
|
end
|
48
48
|
|
49
49
|
#######################################################
|
@@ -51,9 +51,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
51
51
|
#######################################################
|
52
52
|
|
53
53
|
def module_or_class_include_also_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
54
|
-
include_set = cluster_stack.module_include_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
55
|
-
extend_set = cluster_stack.class_include_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
56
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
54
|
+
include_set = cluster_stack.module_include_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
55
|
+
extend_set = cluster_stack.class_include_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
56
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
57
57
|
end
|
58
58
|
|
59
59
|
##########################################
|
@@ -61,9 +61,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
61
61
|
##########################################
|
62
62
|
|
63
63
|
def module_or_class_extend_also_includes( *includes, & runtime_includes_block )
|
64
|
-
include_set = cluster_stack.module_extend_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
65
|
-
extend_set = cluster_stack.class_extend_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
66
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
64
|
+
include_set = cluster_stack.module_extend_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
65
|
+
extend_set = cluster_stack.class_extend_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
66
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
67
67
|
end
|
68
68
|
|
69
69
|
#########################################
|
@@ -71,9 +71,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
71
71
|
#########################################
|
72
72
|
|
73
73
|
def module_or_class_extend_also_extends( *extends, & runtime_extends_block )
|
74
|
-
include_set = cluster_stack.module_extend_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
75
|
-
extend_set = cluster_stack.class_extend_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
76
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
74
|
+
include_set = cluster_stack.module_extend_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
75
|
+
extend_set = cluster_stack.class_extend_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
76
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
77
77
|
end
|
78
78
|
|
79
79
|
######################################################
|
@@ -81,9 +81,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
81
81
|
######################################################
|
82
82
|
|
83
83
|
def module_or_class_extend_also_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
84
|
-
include_set = cluster_stack.module_extend_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
85
|
-
extend_set = cluster_stack.class_extend_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
86
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
84
|
+
include_set = cluster_stack.module_extend_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
85
|
+
extend_set = cluster_stack.class_extend_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
86
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
87
87
|
end
|
88
88
|
|
89
89
|
###############################################
|
@@ -91,9 +91,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
91
91
|
###############################################
|
92
92
|
|
93
93
|
def module_or_class_include_prepends_includes( *includes, & runtime_includes_block )
|
94
|
-
include_set = cluster_stack.module_include_prepends_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
95
|
-
extend_set = cluster_stack.class_include_prepends_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
96
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
94
|
+
include_set = cluster_stack.module_include_prepends_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
95
|
+
extend_set = cluster_stack.class_include_prepends_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
96
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
97
97
|
end
|
98
98
|
|
99
99
|
##############################################
|
@@ -101,9 +101,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
101
101
|
##############################################
|
102
102
|
|
103
103
|
def module_or_class_include_prepends_extends( *extends, & runtime_extends_block )
|
104
|
-
include_set = cluster_stack.module_include_prepends_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
105
|
-
extend_set = cluster_stack.class_include_prepends_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
106
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
104
|
+
include_set = cluster_stack.module_include_prepends_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
105
|
+
extend_set = cluster_stack.class_include_prepends_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
106
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
107
107
|
end
|
108
108
|
|
109
109
|
###########################################################
|
@@ -111,9 +111,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
111
111
|
###########################################################
|
112
112
|
|
113
113
|
def module_or_class_include_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
114
|
-
include_set = cluster_stack.module_include_prepends_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
115
|
-
extend_set = cluster_stack.class_include_prepends_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
116
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
114
|
+
include_set = cluster_stack.module_include_prepends_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
115
|
+
extend_set = cluster_stack.class_include_prepends_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
116
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
117
117
|
end
|
118
118
|
|
119
119
|
##############################################
|
@@ -121,9 +121,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
121
121
|
##############################################
|
122
122
|
|
123
123
|
def module_or_class_extend_prepends_includes( *includes, & runtime_includes_block )
|
124
|
-
include_set = cluster_stack.module_extend_prepends_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
125
|
-
extend_set = cluster_stack.class_extend_prepends_includes( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
126
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
124
|
+
include_set = cluster_stack.module_extend_prepends_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
125
|
+
extend_set = cluster_stack.class_extend_prepends_includes( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes, runtime_includes_block )
|
126
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
127
127
|
end
|
128
128
|
|
129
129
|
#############################################
|
@@ -131,9 +131,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
131
131
|
#############################################
|
132
132
|
|
133
133
|
def module_or_class_extend_prepends_extends( *extends, & runtime_extends_block )
|
134
|
-
include_set = cluster_stack.module_extend_prepends_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
135
|
-
extend_set = cluster_stack.class_extend_prepends_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
136
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
134
|
+
include_set = cluster_stack.module_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
135
|
+
extend_set = cluster_stack.class_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, extends, runtime_extends_block )
|
136
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
137
137
|
end
|
138
138
|
|
139
139
|
##########################################################
|
@@ -141,9 +141,9 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
141
141
|
##########################################################
|
142
142
|
|
143
143
|
def module_or_class_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
144
|
-
include_set = cluster_stack.module_extend_prepends_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
145
|
-
extend_set = cluster_stack.class_extend_prepends_includes_and_extends( ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
146
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
144
|
+
include_set = cluster_stack.module_extend_prepends_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
145
|
+
extend_set = cluster_stack.class_extend_prepends_includes_and_extends( ::ModuleCluster::Define::ModuleOrClassCluster, __method__, includes_and_extends, runtime_includes_and_extends_block )
|
146
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
147
147
|
end
|
148
148
|
|
149
149
|
#####################################################
|
@@ -153,7 +153,7 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
153
153
|
def module_or_class_include_or_extend_also_includes( *includes, & runtime_includes_block )
|
154
154
|
include_set = module_or_class_include_also_includes( *includes, & runtime_includes_block )
|
155
155
|
extend_set = module_or_class_extend_also_includes( *includes, & runtime_includes_block )
|
156
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
156
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
157
157
|
end
|
158
158
|
|
159
159
|
####################################################
|
@@ -163,7 +163,7 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
163
163
|
def module_or_class_include_or_extend_also_extends( *extends, & runtime_extends_block )
|
164
164
|
include_set = module_or_class_include_also_extends( *extends, & runtime_extends_block )
|
165
165
|
extend_set = module_or_class_extend_also_extends( *extends, & runtime_extends_block )
|
166
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
166
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
167
167
|
end
|
168
168
|
|
169
169
|
#################################################################
|
@@ -173,7 +173,7 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
173
173
|
def module_or_class_include_or_extend_also_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
174
174
|
include_set = module_or_class_include_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
175
175
|
extend_set = module_or_class_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
176
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
176
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
177
177
|
end
|
178
178
|
|
179
179
|
#########################################################
|
@@ -183,7 +183,7 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
183
183
|
def module_or_class_include_or_extend_prepends_includes( *includes, & runtime_includes_block )
|
184
184
|
include_set = module_or_class_include_prepends_includes( *includes, & runtime_includes_block )
|
185
185
|
extend_set = module_or_class_extend_prepends_includes( *includes, & runtime_includes_block )
|
186
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
186
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
187
187
|
end
|
188
188
|
|
189
189
|
########################################################
|
@@ -193,7 +193,7 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
193
193
|
def module_or_class_include_or_extend_prepends_extends( *extends, & runtime_extends_block )
|
194
194
|
include_set = module_or_class_include_prepends_extends( *extends, & runtime_extends_block )
|
195
195
|
extend_set = module_or_class_extend_prepends_extends( *extends, & runtime_extends_block )
|
196
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
196
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
197
197
|
end
|
198
198
|
|
199
199
|
#####################################################################
|
@@ -203,7 +203,7 @@ module ModuleCluster::Define::ModuleOrClassCluster
|
|
203
203
|
def module_or_class_include_or_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
204
204
|
include_set = module_or_class_include_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
205
205
|
extend_set = module_or_class_extend_prepends_includes_and_extends( *includes_and_extends, & runtime_includes_and_extends_block )
|
206
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
206
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
207
207
|
end
|
208
208
|
|
209
209
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
module ModuleCluster::Define::ModuleOrInstanceCluster
|
2
|
+
module ::ModuleCluster::Define::ModuleOrInstanceCluster
|
3
3
|
|
4
4
|
include ::ModuleCluster::CascadeFeatures::ClusterStack
|
5
5
|
include ::ModuleCluster::Suspend::WithoutHooks
|
@@ -27,10 +27,10 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
27
27
|
##########################################################################
|
28
28
|
|
29
29
|
def module_include_or_extend_or_instance_extend_also_includes_or_extends( *includes_or_extends, & runtime_includes_or_extends_block )
|
30
|
-
include_set = cluster_stack.module_include_includes( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
31
|
-
extend_set = cluster_stack.module_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
32
|
-
extend_set_two = cluster_stack.instance_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
33
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
30
|
+
include_set = cluster_stack.module_include_includes( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
31
|
+
extend_set = cluster_stack.module_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
32
|
+
extend_set_two = cluster_stack.instance_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
33
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
34
34
|
end
|
35
35
|
|
36
36
|
##############################################################
|
@@ -38,10 +38,10 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
38
38
|
##############################################################
|
39
39
|
|
40
40
|
def module_include_or_extend_or_instance_extend_also_extends( *includes_or_extends, & runtime_includes_or_extends_block )
|
41
|
-
include_set = cluster_stack.module_include_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
42
|
-
extend_set = cluster_stack.module_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
43
|
-
extend_set_two = cluster_stack.instance_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
44
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
41
|
+
include_set = cluster_stack.module_include_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
42
|
+
extend_set = cluster_stack.module_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
43
|
+
extend_set_two = cluster_stack.instance_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
44
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
45
45
|
end
|
46
46
|
|
47
47
|
################################################################
|
@@ -49,9 +49,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
49
49
|
################################################################
|
50
50
|
|
51
51
|
def module_include_or_instance_extend_also_includes_or_extends( *includes_or_extends, & runtime_includes_or_extends_block )
|
52
|
-
include_set = cluster_stack.module_include_includes( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
53
|
-
extend_set = cluster_stack.instance_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
54
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
52
|
+
include_set = cluster_stack.module_include_includes( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
53
|
+
extend_set = cluster_stack.instance_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
54
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
55
55
|
end
|
56
56
|
|
57
57
|
####################################################
|
@@ -59,9 +59,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
59
59
|
####################################################
|
60
60
|
|
61
61
|
def module_include_or_instance_extend_also_extends( *extends, & runtime_extends_block )
|
62
|
-
include_set = cluster_stack.module_include_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
63
|
-
extend_set = cluster_stack.instance_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
64
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
62
|
+
include_set = cluster_stack.module_include_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
63
|
+
extend_set = cluster_stack.instance_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
64
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
65
65
|
end
|
66
66
|
|
67
67
|
############################################
|
@@ -69,9 +69,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
69
69
|
############################################
|
70
70
|
|
71
71
|
def module_or_instance_extend_also_extends( *extends, & runtime_extends_block )
|
72
|
-
include_set = cluster_stack.module_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
73
|
-
extend_set = cluster_stack.instance_extend_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
74
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
72
|
+
include_set = cluster_stack.module_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
73
|
+
extend_set = cluster_stack.instance_extend_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
74
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
75
75
|
end
|
76
76
|
|
77
77
|
##############################################################################
|
@@ -79,10 +79,10 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
79
79
|
##############################################################################
|
80
80
|
|
81
81
|
def module_include_or_extend_or_instance_extend_prepends_includes_or_extends( *includes_or_extends, & runtime_includes_or_extends_block )
|
82
|
-
include_set = cluster_stack.module_include_prepends_includes( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
83
|
-
extend_set = cluster_stack.module_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
84
|
-
extend_set_two = cluster_stack.instance_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
85
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
82
|
+
include_set = cluster_stack.module_include_prepends_includes( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
83
|
+
extend_set = cluster_stack.module_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
84
|
+
extend_set_two = cluster_stack.instance_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
85
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
86
86
|
end
|
87
87
|
|
88
88
|
####################################################################
|
@@ -90,9 +90,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
90
90
|
####################################################################
|
91
91
|
|
92
92
|
def module_include_or_instance_extend_prepends_includes_or_extends( *includes_or_extends, & runtime_includes_or_extends_block )
|
93
|
-
include_set = cluster_stack.module_include_prepends_includes( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
94
|
-
extend_set = cluster_stack.instance_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
95
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
93
|
+
include_set = cluster_stack.module_include_prepends_includes( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
94
|
+
extend_set = cluster_stack.instance_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
95
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
96
96
|
end
|
97
97
|
|
98
98
|
##################################################################
|
@@ -100,9 +100,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
100
100
|
##################################################################
|
101
101
|
|
102
102
|
def module_include_or_extend_or_instance_extend_prepends_extends( *includes_or_extends, & runtime_includes_or_extends_block )
|
103
|
-
include_set = cluster_stack.module_include_prepends_includes( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
104
|
-
extend_set = cluster_stack.instance_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
105
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
103
|
+
include_set = cluster_stack.module_include_prepends_includes( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
104
|
+
extend_set = cluster_stack.instance_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, includes_or_extends, runtime_includes_or_extends_block )
|
105
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
106
106
|
end
|
107
107
|
|
108
108
|
########################################################
|
@@ -110,9 +110,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
110
110
|
########################################################
|
111
111
|
|
112
112
|
def module_include_or_instance_extend_prepends_extends( *extends, & runtime_extends_block )
|
113
|
-
include_set = cluster_stack.module_include_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
114
|
-
extend_set = cluster_stack.instance_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
115
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
113
|
+
include_set = cluster_stack.module_include_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
114
|
+
extend_set = cluster_stack.instance_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
115
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
116
116
|
end
|
117
117
|
|
118
118
|
################################################
|
@@ -120,9 +120,9 @@ module ModuleCluster::Define::ModuleOrInstanceCluster
|
|
120
120
|
################################################
|
121
121
|
|
122
122
|
def module_or_instance_extend_prepends_extends( *extends, & runtime_extends_block )
|
123
|
-
include_set = cluster_stack.module_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
124
|
-
extend_set = cluster_stack.instance_extend_prepends_extends( ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
125
|
-
return ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
123
|
+
include_set = cluster_stack.module_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
124
|
+
extend_set = cluster_stack.instance_extend_prepends_extends( ::ModuleCluster::Define::ModuleOrInstanceCluster, __method__, extends, runtime_extends_block )
|
125
|
+
return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( include_set, extend_set )
|
126
126
|
end
|
127
127
|
|
128
128
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
module ModuleCluster::CascadeFeatures::ClusterStack
|
2
|
+
module ::ModuleCluster::CascadeFeatures::ClusterStack
|
3
3
|
|
4
4
|
#########################
|
5
5
|
# self.cluster_stacks #
|
@@ -21,7 +21,7 @@ module ModuleCluster::CascadeFeatures::ClusterStack
|
|
21
21
|
|
22
22
|
unless cluster_stack_for_class_or_module = cluster_stacks[ class_or_module ]
|
23
23
|
|
24
|
-
cluster_stack_for_class_or_module = ModuleCluster::ClusterStack.new
|
24
|
+
cluster_stack_for_class_or_module = ::ModuleCluster::ClusterStack.new
|
25
25
|
|
26
26
|
cluster_stacks[ class_or_module ] = cluster_stack_for_class_or_module
|
27
27
|
|
@@ -37,7 +37,7 @@ module ModuleCluster::CascadeFeatures::ClusterStack
|
|
37
37
|
|
38
38
|
def cluster_stack
|
39
39
|
|
40
|
-
return ModuleCluster::CascadeFeatures::ClusterStack.cluster_stack( self )
|
40
|
+
return ::ModuleCluster::CascadeFeatures::ClusterStack.cluster_stack( self )
|
41
41
|
|
42
42
|
end
|
43
43
|
|