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.
Files changed (89) hide show
  1. data/README.md +21 -0
  2. data/README.rdoc +21 -0
  3. data/lib/module-cluster/ModuleCluster/Define/Block/CascadingClass.rb +83 -0
  4. data/lib/module-cluster/ModuleCluster/Define/Block/CascadingClassOrModule.rb +70 -0
  5. data/lib/module-cluster/ModuleCluster/Define/Block/CascadingModule.rb +79 -0
  6. data/lib/module-cluster/ModuleCluster/Define/Block/CascadingModuleOrSubclass.rb +22 -0
  7. data/lib/module-cluster/ModuleCluster/Define/Block/Class.rb +15 -7
  8. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrInstance.rb +15 -7
  9. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModule.rb +15 -7
  10. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrInstance.rb +15 -7
  11. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrSubclass.rb +11 -3
  12. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrSubclass.rb +10 -2
  13. data/lib/module-cluster/ModuleCluster/Define/Block/Instance.rb +15 -3
  14. data/lib/module-cluster/ModuleCluster/Define/Block/Module.rb +15 -7
  15. data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrInstance.rb +15 -7
  16. data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrSubclass.rb +10 -2
  17. data/lib/module-cluster/ModuleCluster/Define/Block/Subclass.rb +13 -2
  18. data/lib/module-cluster/ModuleCluster/Define/Block.rb +1 -1
  19. data/lib/module-cluster/ModuleCluster/Define/ClassCluster.rb +19 -19
  20. data/lib/module-cluster/ModuleCluster/Define/ClassOrInstanceCluster.rb +34 -34
  21. data/lib/module-cluster/ModuleCluster/Define/Cluster.rb +19 -19
  22. data/lib/module-cluster/ModuleCluster/Define/ClusterCascades.rb +19 -19
  23. data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToClass.rb +19 -19
  24. data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToModule.rb +19 -19
  25. data/lib/module-cluster/ModuleCluster/Define/Deprecated.rb +1 -1
  26. data/lib/module-cluster/ModuleCluster/Define/InstanceCluster.rb +3 -3
  27. data/lib/module-cluster/ModuleCluster/Define/ModuleCluster.rb +19 -19
  28. data/lib/module-cluster/ModuleCluster/Define/ModuleOrClassCluster.rb +43 -43
  29. data/lib/module-cluster/ModuleCluster/Define/ModuleOrInstanceCluster.rb +34 -34
  30. data/lib/module-cluster/ModuleCluster/Define/Status.rb +1 -1
  31. data/lib/module-cluster/ModuleCluster/Define.rb +1 -1
  32. data/lib/module-cluster/ModuleCluster/Suspend/Hooks.rb +1 -1
  33. data/lib/module-cluster/ModuleCluster/Suspend/WithoutHooks.rb +1 -1
  34. data/lib/module-cluster/ModuleCluster/Suspend.rb +1 -1
  35. data/lib/module-cluster/ModuleCluster.rb +1 -1
  36. data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/ClusterStack.rb +3 -3
  37. data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/PerformCascades.rb +85 -32
  38. data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/Subclass.rb +6 -3
  39. data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures.rb +5 -5
  40. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Class.rb +9 -9
  41. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Inherited.rb +3 -3
  42. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Instance.rb +5 -5
  43. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Module.rb +9 -9
  44. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block/Set.rb +1 -0
  45. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Block.rb +1 -1
  46. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Extends.rb +13 -13
  47. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Includes.rb +10 -10
  48. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/PrependsExtends.rb +13 -13
  49. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/PrependsIncludes.rb +10 -10
  50. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Set/MultiSetProxy.rb +1 -1
  51. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Status.rb +1 -1
  52. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack/Suspend.rb +1 -1
  53. data/lib/module-cluster/_private_/ModuleCluster/ClusterStack.rb +1 -1
  54. data/lib/module-cluster/_private_/ModuleCluster/ExtendForCascade/Subclass.rb +1 -1
  55. data/lib/module-cluster/_private_/ModuleCluster/ExtendForCascade.rb +1 -1
  56. data/lib/module-cluster.rb +14 -2
  57. data/spec/ModuleCluster/Define/Block/CascadingClassOrModule_spec.rb +285 -0
  58. data/spec/ModuleCluster/Define/Block/CascadingClass_spec.rb +241 -0
  59. data/spec/ModuleCluster/Define/Block/CascadingModuleOrSubclass_spec.rb +56 -0
  60. data/spec/ModuleCluster/Define/Block/CascadingModule_spec.rb +278 -0
  61. data/spec/ModuleCluster/Define/Block/ClassOrInstance_spec.rb +13 -13
  62. data/spec/ModuleCluster/Define/Block/ClassOrModuleOrInstance_spec.rb +13 -13
  63. data/spec/ModuleCluster/Define/Block/ClassOrModuleOrSubclass_spec.rb +2 -3
  64. data/spec/ModuleCluster/Define/Block/ClassOrModule_spec.rb +13 -13
  65. data/spec/ModuleCluster/Define/Block/ClassOrSubclass_spec.rb +2 -2
  66. data/spec/ModuleCluster/Define/Block/Class_spec.rb +13 -13
  67. data/spec/ModuleCluster/Define/Block/Instance_spec.rb +5 -5
  68. data/spec/ModuleCluster/Define/Block/ModuleOrInstance_spec.rb +1 -1
  69. data/spec/ModuleCluster/Define/Block/ModuleOrSubclass_spec.rb +2 -4
  70. data/spec/ModuleCluster/Define/Block/Module_spec.rb +13 -13
  71. data/spec/ModuleCluster/Define/Block/Subclass_spec.rb +8 -8
  72. data/spec/ModuleCluster/Define/Block_spec.rb +9 -9
  73. data/spec/ModuleCluster/Define/ClassCluster_spec.rb +227 -227
  74. data/spec/ModuleCluster/Define/ClassOrInstanceCluster_spec.rb +197 -197
  75. data/spec/ModuleCluster/Define/ClusterCascadesToClass_spec.rb +228 -228
  76. data/spec/ModuleCluster/Define/ClusterCascadesToModule_spec.rb +232 -232
  77. data/spec/ModuleCluster/Define/ClusterCascades_spec.rb +224 -224
  78. data/spec/ModuleCluster/Define/Cluster_spec.rb +221 -221
  79. data/spec/ModuleCluster/Define/InstanceCluster_spec.rb +29 -29
  80. data/spec/ModuleCluster/Define/ModuleCluster_spec.rb +227 -227
  81. data/spec/ModuleCluster/Define/ModuleOrClassCluster_spec.rb +227 -227
  82. data/spec/ModuleCluster/Define/ModuleOrInstanceCluster_spec.rb +197 -197
  83. data/spec/ModuleCluster/Suspend/Hooks_spec.rb +120 -120
  84. data/spec/ModuleCluster/Suspend/WithoutHooks_spec.rb +120 -120
  85. data/spec/ModuleCluster_spec.rb +2 -2
  86. data/spec/_private_/ModuleCluster/CascadeFeatures/PerformCascades_spec.rb +192 -192
  87. data/spec/_private_/ModuleCluster/ClusterStack/Set/MultiSetProxy_spec.rb +129 -129
  88. data/spec/_private_/ModuleCluster/ClusterStack/Suspend_spec.rb +17 -17
  89. metadata +9 -1
@@ -1,16 +1,16 @@
1
1
 
2
2
  require_relative '../../../lib/module-cluster.rb'
3
3
 
4
- describe ModuleCluster::Define::ModuleCluster do
4
+ describe ::ModuleCluster::Define::ModuleCluster do
5
5
 
6
6
  ####################################
7
7
  # self.should_include_or_extend? #
8
8
  ####################################
9
9
 
10
10
  it 'should return true if module (not class), false otherwise' do
11
- ModuleCluster::Define::ModuleCluster.should_include_or_extend?( Kernel ).should == true
12
- ModuleCluster::Define::ModuleCluster.should_include_or_extend?( Class ).should == false
13
- ModuleCluster::Define::ModuleCluster.should_include_or_extend?( Object.new ).should == false
11
+ ::ModuleCluster::Define::ModuleCluster.should_include_or_extend?( Kernel ).should == true
12
+ ::ModuleCluster::Define::ModuleCluster.should_include_or_extend?( Class ).should == false
13
+ ::ModuleCluster::Define::ModuleCluster.should_include_or_extend?( Object.new ).should == false
14
14
  end
15
15
 
16
16
  ##########################
@@ -18,9 +18,9 @@ describe ModuleCluster::Define::ModuleCluster do
18
18
  ##########################
19
19
 
20
20
  it 'should report false' do
21
- ModuleCluster::Define::ModuleCluster.should_cascade?( Kernel ).should == false
22
- ModuleCluster::Define::ModuleCluster.should_cascade?( Class ).should == false
23
- ModuleCluster::Define::ModuleCluster.should_cascade?( Object.new ).should == false
21
+ ::ModuleCluster::Define::ModuleCluster.should_cascade?( Kernel ).should == false
22
+ ::ModuleCluster::Define::ModuleCluster.should_cascade?( Class ).should == false
23
+ ::ModuleCluster::Define::ModuleCluster.should_cascade?( Object.new ).should == false
24
24
  end
25
25
 
26
26
  ##################################
@@ -28,7 +28,7 @@ describe ModuleCluster::Define::ModuleCluster do
28
28
  ##################################
29
29
 
30
30
  it 'can include other modules when this one is included in a module' do
31
- module ModuleCluster::Define::ModuleCluster::Mock01
31
+ module ::ModuleCluster::Define::ModuleCluster::Mock01
32
32
  extend ::ModuleCluster::Define::ModuleCluster
33
33
  module Module1
34
34
  end
@@ -38,19 +38,19 @@ describe ModuleCluster::Define::ModuleCluster do
38
38
  respond_to?( :included ).should == true
39
39
  module ModuleProof
40
40
  include ::ModuleCluster::Define::ModuleCluster::Mock01
41
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == true
42
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == true
41
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == true
42
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == true
43
43
  eigenclass = class << self ; self ; end
44
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == false
45
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == false
44
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == false
45
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == false
46
46
  end
47
47
  class ClassProof
48
48
  include ::ModuleCluster::Define::ModuleCluster::Mock01
49
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == false
50
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == false
49
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == false
50
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == false
51
51
  eigenclass = class << self ; self ; end
52
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == false
53
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == false
52
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module1 ).should == false
53
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock01::Module2 ).should == false
54
54
  end
55
55
  end
56
56
  end
@@ -60,7 +60,7 @@ describe ModuleCluster::Define::ModuleCluster do
60
60
  #################################
61
61
 
62
62
  it 'can extend other modules when this one is included in a module' do
63
- module ModuleCluster::Define::ModuleCluster::Mock02
63
+ module ::ModuleCluster::Define::ModuleCluster::Mock02
64
64
  extend ::ModuleCluster::Define::ModuleCluster
65
65
  module Module1
66
66
  end
@@ -70,19 +70,19 @@ describe ModuleCluster::Define::ModuleCluster do
70
70
  respond_to?( :included ).should == true
71
71
  module ModuleProof
72
72
  include ::ModuleCluster::Define::ModuleCluster::Mock02
73
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == false
74
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == false
73
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == false
74
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == false
75
75
  eigenclass = class << self ; self ; end
76
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == true
77
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == true
76
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == true
77
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == true
78
78
  end
79
79
  class ClassProof
80
80
  include ::ModuleCluster::Define::ModuleCluster::Mock02
81
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == false
82
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == false
81
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == false
82
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == false
83
83
  eigenclass = class << self ; self ; end
84
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == false
85
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == false
84
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module1 ).should == false
85
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock02::Module2 ).should == false
86
86
  end
87
87
  end
88
88
  end
@@ -92,7 +92,7 @@ describe ModuleCluster::Define::ModuleCluster do
92
92
  ##############################################
93
93
 
94
94
  it 'can include and extend other modules when this one is included in a module' do
95
- module ModuleCluster::Define::ModuleCluster::Mock03
95
+ module ::ModuleCluster::Define::ModuleCluster::Mock03
96
96
  extend ::ModuleCluster::Define::ModuleCluster
97
97
  module Module1
98
98
  end
@@ -102,19 +102,19 @@ describe ModuleCluster::Define::ModuleCluster do
102
102
  respond_to?( :included ).should == true
103
103
  module ModuleProof
104
104
  include ::ModuleCluster::Define::ModuleCluster::Mock03
105
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == true
106
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == true
105
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == true
106
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == true
107
107
  eigenclass = class << self ; self ; end
108
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == true
109
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == true
108
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == true
109
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == true
110
110
  end
111
111
  class ClassProof
112
112
  include ::ModuleCluster::Define::ModuleCluster::Mock03
113
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == false
114
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == false
113
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == false
114
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == false
115
115
  eigenclass = class << self ; self ; end
116
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == false
117
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == false
116
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module1 ).should == false
117
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock03::Module2 ).should == false
118
118
  end
119
119
  end
120
120
  end
@@ -124,7 +124,7 @@ describe ModuleCluster::Define::ModuleCluster do
124
124
  #################################
125
125
 
126
126
  it 'can include other modules when this one extends a module' do
127
- module ModuleCluster::Define::ModuleCluster::Mock04
127
+ module ::ModuleCluster::Define::ModuleCluster::Mock04
128
128
  extend ::ModuleCluster::Define::ModuleCluster
129
129
  module Module1
130
130
  end
@@ -134,19 +134,19 @@ describe ModuleCluster::Define::ModuleCluster do
134
134
  respond_to?( :extended ).should == true
135
135
  module ModuleProof
136
136
  extend ::ModuleCluster::Define::ModuleCluster::Mock04
137
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == true
138
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == true
137
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == true
138
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == true
139
139
  eigenclass = class << self ; self ; end
140
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == false
141
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == false
140
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == false
141
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == false
142
142
  end
143
143
  class ClassProof
144
144
  extend ::ModuleCluster::Define::ModuleCluster::Mock04
145
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == false
146
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == false
145
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == false
146
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == false
147
147
  eigenclass = class << self ; self ; end
148
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == false
149
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == false
148
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module1 ).should == false
149
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock04::Module2 ).should == false
150
150
  end
151
151
  end
152
152
  end
@@ -156,7 +156,7 @@ describe ModuleCluster::Define::ModuleCluster do
156
156
  ################################
157
157
 
158
158
  it 'can extend other modules when this one extends a module' do
159
- module ModuleCluster::Define::ModuleCluster::Mock05
159
+ module ::ModuleCluster::Define::ModuleCluster::Mock05
160
160
  extend ::ModuleCluster::Define::ModuleCluster
161
161
  module Module1
162
162
  end
@@ -166,25 +166,25 @@ describe ModuleCluster::Define::ModuleCluster do
166
166
  respond_to?( :extended ).should == true
167
167
  module ModuleProof
168
168
  extend ::ModuleCluster::Define::ModuleCluster::Mock05
169
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
170
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
169
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
170
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
171
171
  eigenclass = class << self ; self ; end
172
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == true
173
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == true
172
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == true
173
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == true
174
174
  end
175
175
  class ClassProof
176
176
  extend ::ModuleCluster::Define::ModuleCluster::Mock05
177
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
178
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
177
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
178
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
179
179
  eigenclass = class << self ; self ; end
180
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
181
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
180
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
181
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
182
182
  end
183
183
  Object.new.instance_eval do
184
184
  extend ::ModuleCluster::Define::ModuleCluster::Mock05
185
185
  eigenclass = class << self ; self ; end
186
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
187
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
186
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module1 ).should == false
187
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock05::Module2 ).should == false
188
188
  end
189
189
  end
190
190
  end
@@ -194,7 +194,7 @@ describe ModuleCluster::Define::ModuleCluster do
194
194
  #############################################
195
195
 
196
196
  it 'can include and extend other modules when this one extends a module' do
197
- module ModuleCluster::Define::ModuleCluster::Mock06
197
+ module ::ModuleCluster::Define::ModuleCluster::Mock06
198
198
  extend ::ModuleCluster::Define::ModuleCluster
199
199
  module Module1
200
200
  end
@@ -204,25 +204,25 @@ describe ModuleCluster::Define::ModuleCluster do
204
204
  respond_to?( :extended ).should == true
205
205
  module ModuleProof
206
206
  extend ::ModuleCluster::Define::ModuleCluster::Mock06
207
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == true
208
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == true
207
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == true
208
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == true
209
209
  eigenclass = class << self ; self ; end
210
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == true
211
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == true
210
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == true
211
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == true
212
212
  end
213
213
  class ClassProof
214
214
  extend ::ModuleCluster::Define::ModuleCluster::Mock06
215
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == false
216
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == false
215
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == false
216
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == false
217
217
  eigenclass = class << self ; self ; end
218
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == false
219
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == false
218
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == false
219
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == false
220
220
  end
221
221
  Object.new.instance_eval do
222
222
  extend ::ModuleCluster::Define::ModuleCluster::Mock06
223
223
  eigenclass = class << self ; self ; end
224
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == false
225
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == false
224
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module1 ).should == false
225
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock06::Module2 ).should == false
226
226
  end
227
227
  end
228
228
  end
@@ -232,7 +232,7 @@ describe ModuleCluster::Define::ModuleCluster do
232
232
  ######################################
233
233
 
234
234
  it 'can include other modules before this one when this one is included in a module' do
235
- module ModuleCluster::Define::ModuleCluster::Mock07
235
+ module ::ModuleCluster::Define::ModuleCluster::Mock07
236
236
  extend ::ModuleCluster::Define::ModuleCluster
237
237
  module Module1
238
238
  end
@@ -242,19 +242,19 @@ describe ModuleCluster::Define::ModuleCluster do
242
242
  respond_to?( :append_features ).should == true
243
243
  module ModuleProof
244
244
  include ::ModuleCluster::Define::ModuleCluster::Mock07
245
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == true
246
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == true
245
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == true
246
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == true
247
247
  eigenclass = class << self ; self ; end
248
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == false
249
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == false
248
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == false
249
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == false
250
250
  end
251
251
  class ClassProof
252
252
  include ::ModuleCluster::Define::ModuleCluster::Mock07
253
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == false
254
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == false
253
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == false
254
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == false
255
255
  eigenclass = class << self ; self ; end
256
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == false
257
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == false
256
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module1 ).should == false
257
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock07::Module2 ).should == false
258
258
  end
259
259
  end
260
260
  end
@@ -264,7 +264,7 @@ describe ModuleCluster::Define::ModuleCluster do
264
264
  #####################################
265
265
 
266
266
  it 'can extend other modules before this one when this one is included in a module' do
267
- module ModuleCluster::Define::ModuleCluster::Mock08
267
+ module ::ModuleCluster::Define::ModuleCluster::Mock08
268
268
  extend ::ModuleCluster::Define::ModuleCluster
269
269
  module Module1
270
270
  end
@@ -274,19 +274,19 @@ describe ModuleCluster::Define::ModuleCluster do
274
274
  respond_to?( :append_features ).should == true
275
275
  module ModuleProof
276
276
  include ::ModuleCluster::Define::ModuleCluster::Mock08
277
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == false
278
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == false
277
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == false
278
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == false
279
279
  eigenclass = class << self ; self ; end
280
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == true
281
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == true
280
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == true
281
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == true
282
282
  end
283
283
  class ClassProof
284
284
  include ::ModuleCluster::Define::ModuleCluster::Mock08
285
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == false
286
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == false
285
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == false
286
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == false
287
287
  eigenclass = class << self ; self ; end
288
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == false
289
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == false
288
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module1 ).should == false
289
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock08::Module2 ).should == false
290
290
  end
291
291
  end
292
292
  end
@@ -296,7 +296,7 @@ describe ModuleCluster::Define::ModuleCluster do
296
296
  ##################################################
297
297
 
298
298
  it 'can include and extend other modules before this one when this one is included in a module' do
299
- module ModuleCluster::Define::ModuleCluster::Mock09
299
+ module ::ModuleCluster::Define::ModuleCluster::Mock09
300
300
  extend ::ModuleCluster::Define::ModuleCluster
301
301
  module Module1
302
302
  end
@@ -306,19 +306,19 @@ describe ModuleCluster::Define::ModuleCluster do
306
306
  respond_to?( :append_features ).should == true
307
307
  module ModuleProof
308
308
  include ::ModuleCluster::Define::ModuleCluster::Mock09
309
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == true
310
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == true
309
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == true
310
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == true
311
311
  eigenclass = class << self ; self ; end
312
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == true
313
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == true
312
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == true
313
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == true
314
314
  end
315
315
  class ClassProof
316
316
  include ::ModuleCluster::Define::ModuleCluster::Mock09
317
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == false
318
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == false
317
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == false
318
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == false
319
319
  eigenclass = class << self ; self ; end
320
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == false
321
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == false
320
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module1 ).should == false
321
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock09::Module2 ).should == false
322
322
  end
323
323
  end
324
324
  end
@@ -328,7 +328,7 @@ describe ModuleCluster::Define::ModuleCluster do
328
328
  #####################################
329
329
 
330
330
  it 'can include other modules before this one when this one extends a module' do
331
- module ModuleCluster::Define::ModuleCluster::Mock10
331
+ module ::ModuleCluster::Define::ModuleCluster::Mock10
332
332
  extend ::ModuleCluster::Define::ModuleCluster
333
333
  module Module1
334
334
  end
@@ -338,19 +338,19 @@ describe ModuleCluster::Define::ModuleCluster do
338
338
  respond_to?( :extend_object ).should == true
339
339
  module ModuleProof
340
340
  extend ::ModuleCluster::Define::ModuleCluster::Mock10
341
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == true
342
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == true
341
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == true
342
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == true
343
343
  eigenclass = class << self ; self ; end
344
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == false
345
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == false
344
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == false
345
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == false
346
346
  end
347
347
  class ClassProof
348
348
  extend ::ModuleCluster::Define::ModuleCluster::Mock10
349
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == false
350
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == false
349
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == false
350
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == false
351
351
  eigenclass = class << self ; self ; end
352
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == false
353
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == false
352
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module1 ).should == false
353
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock10::Module2 ).should == false
354
354
  end
355
355
  end
356
356
  end
@@ -360,7 +360,7 @@ describe ModuleCluster::Define::ModuleCluster do
360
360
  ####################################
361
361
 
362
362
  it 'can extend other modules before this one when this one extends a module' do
363
- module ModuleCluster::Define::ModuleCluster::Mock11
363
+ module ::ModuleCluster::Define::ModuleCluster::Mock11
364
364
  extend ::ModuleCluster::Define::ModuleCluster
365
365
  module Module1
366
366
  end
@@ -370,25 +370,25 @@ describe ModuleCluster::Define::ModuleCluster do
370
370
  respond_to?( :extend_object ).should == true
371
371
  module ModuleProof
372
372
  extend ::ModuleCluster::Define::ModuleCluster::Mock11
373
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
374
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
373
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
374
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
375
375
  eigenclass = class << self ; self ; end
376
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == true
377
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == true
376
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == true
377
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == true
378
378
  end
379
379
  class ClassProof
380
380
  extend ::ModuleCluster::Define::ModuleCluster::Mock11
381
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
382
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
381
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
382
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
383
383
  eigenclass = class << self ; self ; end
384
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
385
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
384
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
385
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
386
386
  end
387
387
  Object.new.instance_eval do
388
388
  extend ::ModuleCluster::Define::ModuleCluster::Mock11
389
389
  eigenclass = class << self ; self ; end
390
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
391
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
390
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module1 ).should == false
391
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock11::Module2 ).should == false
392
392
  end
393
393
  end
394
394
  end
@@ -398,7 +398,7 @@ describe ModuleCluster::Define::ModuleCluster do
398
398
  #################################################
399
399
 
400
400
  it 'can include and extend other modules before this one when this one extends a module' do
401
- module ModuleCluster::Define::ModuleCluster::Mock12
401
+ module ::ModuleCluster::Define::ModuleCluster::Mock12
402
402
  extend ::ModuleCluster::Define::ModuleCluster
403
403
  module Module1
404
404
  end
@@ -408,25 +408,25 @@ describe ModuleCluster::Define::ModuleCluster do
408
408
  respond_to?( :extend_object ).should == true
409
409
  module ModuleProof
410
410
  extend ::ModuleCluster::Define::ModuleCluster::Mock12
411
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == true
412
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == true
411
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == true
412
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == true
413
413
  eigenclass = class << self ; self ; end
414
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == true
415
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == true
414
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == true
415
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == true
416
416
  end
417
417
  class ClassProof
418
418
  extend ::ModuleCluster::Define::ModuleCluster::Mock12
419
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == false
420
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == false
419
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == false
420
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == false
421
421
  eigenclass = class << self ; self ; end
422
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == false
423
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == false
422
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == false
423
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == false
424
424
  end
425
425
  Object.new.instance_eval do
426
426
  extend ::ModuleCluster::Define::ModuleCluster::Mock12
427
427
  eigenclass = class << self ; self ; end
428
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == false
429
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == false
428
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module1 ).should == false
429
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock12::Module2 ).should == false
430
430
  end
431
431
  end
432
432
  end
@@ -436,7 +436,7 @@ describe ModuleCluster::Define::ModuleCluster do
436
436
  ############################################
437
437
 
438
438
  it 'can include other modules when this one is included in or extends a module' do
439
- module ModuleCluster::Define::ModuleCluster::Mock13
439
+ module ::ModuleCluster::Define::ModuleCluster::Mock13
440
440
  extend ::ModuleCluster::Define::ModuleCluster
441
441
  module Module1
442
442
  end
@@ -446,35 +446,35 @@ describe ModuleCluster::Define::ModuleCluster do
446
446
  respond_to?( :append_features ).should == true
447
447
  module ModuleProof
448
448
  include ::ModuleCluster::Define::ModuleCluster::Mock13
449
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == true
450
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == true
449
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == true
450
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == true
451
451
  eigenclass = class << self ; self ; end
452
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
453
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
452
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
453
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
454
454
  end
455
455
  module ModuleProof2
456
456
  extend ::ModuleCluster::Define::ModuleCluster::Mock13
457
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == true
458
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == true
457
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == true
458
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == true
459
459
  eigenclass = class << self ; self ; end
460
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
461
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
460
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
461
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
462
462
  end
463
463
  class ClassProof
464
464
  include ::ModuleCluster::Define::ModuleCluster::Mock13
465
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
466
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
465
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
466
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
467
467
  eigenclass = class << self ; self ; end
468
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
469
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
468
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
469
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
470
470
  end
471
471
  class ClassProof2
472
472
  include ::ModuleCluster::Define::ModuleCluster::Mock13
473
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
474
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
473
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
474
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
475
475
  eigenclass = class << self ; self ; end
476
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
477
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
476
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module1 ).should == false
477
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock13::Module2 ).should == false
478
478
  end
479
479
  end
480
480
  end
@@ -484,7 +484,7 @@ describe ModuleCluster::Define::ModuleCluster do
484
484
  ###########################################
485
485
 
486
486
  it 'can extend other modules when this one is included in or extends a module' do
487
- module ModuleCluster::Define::ModuleCluster::Mock14
487
+ module ::ModuleCluster::Define::ModuleCluster::Mock14
488
488
  extend ::ModuleCluster::Define::ModuleCluster
489
489
  module Module1
490
490
  end
@@ -494,35 +494,35 @@ describe ModuleCluster::Define::ModuleCluster do
494
494
  respond_to?( :included ).should == true
495
495
  module ModuleProof
496
496
  include ::ModuleCluster::Define::ModuleCluster::Mock14
497
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
498
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
497
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
498
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
499
499
  eigenclass = class << self ; self ; end
500
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == true
501
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == true
500
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == true
501
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == true
502
502
  end
503
503
  module ModuleProof2
504
504
  extend ::ModuleCluster::Define::ModuleCluster::Mock14
505
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
506
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
505
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
506
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
507
507
  eigenclass = class << self ; self ; end
508
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == true
509
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == true
508
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == true
509
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == true
510
510
  end
511
511
  class ClassProof
512
512
  include ::ModuleCluster::Define::ModuleCluster::Mock14
513
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
514
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
513
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
514
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
515
515
  eigenclass = class << self ; self ; end
516
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
517
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
516
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
517
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
518
518
  end
519
519
  class ClassProof2
520
520
  extend ::ModuleCluster::Define::ModuleCluster::Mock14
521
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
522
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
521
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
522
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
523
523
  eigenclass = class << self ; self ; end
524
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
525
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
524
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module1 ).should == false
525
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock14::Module2 ).should == false
526
526
  end
527
527
  end
528
528
  end
@@ -532,7 +532,7 @@ describe ModuleCluster::Define::ModuleCluster do
532
532
  ########################################################
533
533
 
534
534
  it 'can include and extend other modules when this one is included in or extends a module' do
535
- module ModuleCluster::Define::ModuleCluster::Mock15
535
+ module ::ModuleCluster::Define::ModuleCluster::Mock15
536
536
  extend ::ModuleCluster::Define::ModuleCluster
537
537
  module Module1
538
538
  end
@@ -542,35 +542,35 @@ describe ModuleCluster::Define::ModuleCluster do
542
542
  respond_to?( :included ).should == true
543
543
  module ModuleProof
544
544
  include ::ModuleCluster::Define::ModuleCluster::Mock15
545
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
546
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
545
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
546
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
547
547
  eigenclass = class << self ; self ; end
548
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
549
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
548
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
549
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
550
550
  end
551
551
  module ModuleProo2
552
552
  extend ::ModuleCluster::Define::ModuleCluster::Mock15
553
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
554
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
553
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
554
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
555
555
  eigenclass = class << self ; self ; end
556
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
557
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
556
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == true
557
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == true
558
558
  end
559
559
  class ClassProof
560
560
  include ::ModuleCluster::Define::ModuleCluster::Mock15
561
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
562
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
561
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
562
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
563
563
  eigenclass = class << self ; self ; end
564
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
565
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
564
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
565
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
566
566
  end
567
567
  class ClassProof2
568
568
  extend ::ModuleCluster::Define::ModuleCluster::Mock15
569
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
570
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
569
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
570
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
571
571
  eigenclass = class << self ; self ; end
572
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
573
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
572
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module1 ).should == false
573
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock15::Module2 ).should == false
574
574
  end
575
575
  end
576
576
  end
@@ -580,7 +580,7 @@ describe ModuleCluster::Define::ModuleCluster do
580
580
  ################################################
581
581
 
582
582
  it 'can include other modules before this one when this one is included in or extends a module' do
583
- module ModuleCluster::Define::ModuleCluster::Mock16
583
+ module ::ModuleCluster::Define::ModuleCluster::Mock16
584
584
  extend ::ModuleCluster::Define::ModuleCluster
585
585
  module Module1
586
586
  end
@@ -590,35 +590,35 @@ describe ModuleCluster::Define::ModuleCluster do
590
590
  respond_to?( :append_features ).should == true
591
591
  module ModuleProof
592
592
  include ::ModuleCluster::Define::ModuleCluster::Mock16
593
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == true
594
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == true
593
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == true
594
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == true
595
595
  eigenclass = class << self ; self ; end
596
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
597
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
596
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
597
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
598
598
  end
599
599
  module ModuleProof2
600
600
  extend ::ModuleCluster::Define::ModuleCluster::Mock16
601
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == true
602
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == true
601
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == true
602
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == true
603
603
  eigenclass = class << self ; self ; end
604
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
605
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
604
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
605
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
606
606
  end
607
607
  class ClassProof
608
608
  include ::ModuleCluster::Define::ModuleCluster::Mock16
609
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
610
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
609
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
610
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
611
611
  eigenclass = class << self ; self ; end
612
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
613
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
612
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
613
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
614
614
  end
615
615
  class ClassProof2
616
616
  extend ::ModuleCluster::Define::ModuleCluster::Mock16
617
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
618
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
617
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
618
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
619
619
  eigenclass = class << self ; self ; end
620
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
621
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
620
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module1 ).should == false
621
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock16::Module2 ).should == false
622
622
  end
623
623
  end
624
624
  end
@@ -628,7 +628,7 @@ describe ModuleCluster::Define::ModuleCluster do
628
628
  ###############################################
629
629
 
630
630
  it 'can extend other modules before this one when this one is included in or extends a module' do
631
- module ModuleCluster::Define::ModuleCluster::Mock17
631
+ module ::ModuleCluster::Define::ModuleCluster::Mock17
632
632
  extend ::ModuleCluster::Define::ModuleCluster
633
633
  module Module1
634
634
  end
@@ -638,41 +638,41 @@ describe ModuleCluster::Define::ModuleCluster do
638
638
  respond_to?( :extend_object ).should == true
639
639
  module ModuleProof
640
640
  include ::ModuleCluster::Define::ModuleCluster::Mock17
641
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
642
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
641
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
642
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
643
643
  eigenclass = class << self ; self ; end
644
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == true
645
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == true
644
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == true
645
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == true
646
646
  end
647
647
  module ModuleProof2
648
648
  extend ::ModuleCluster::Define::ModuleCluster::Mock17
649
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
650
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
649
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
650
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
651
651
  eigenclass = class << self ; self ; end
652
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == true
653
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == true
652
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == true
653
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == true
654
654
  end
655
655
  class ClassProof
656
656
  include ::ModuleCluster::Define::ModuleCluster::Mock17
657
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
658
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
657
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
658
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
659
659
  eigenclass = class << self ; self ; end
660
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
661
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
660
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
661
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
662
662
  end
663
663
  class ClassProof2
664
664
  extend ::ModuleCluster::Define::ModuleCluster::Mock17
665
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
666
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
665
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
666
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
667
667
  eigenclass = class << self ; self ; end
668
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
669
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
668
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
669
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
670
670
  end
671
671
  Object.new.instance_eval do
672
672
  extend ::ModuleCluster::Define::ModuleCluster::Mock17
673
673
  eigenclass = class << self ; self ; end
674
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
675
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
674
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module1 ).should == false
675
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock17::Module2 ).should == false
676
676
  end
677
677
  end
678
678
  end
@@ -682,7 +682,7 @@ describe ModuleCluster::Define::ModuleCluster do
682
682
  ############################################################
683
683
 
684
684
  it 'can include and extend other modules before this one when this one is included in or extends a module' do
685
- module ModuleCluster::Define::ModuleCluster::Mock18
685
+ module ::ModuleCluster::Define::ModuleCluster::Mock18
686
686
  extend ::ModuleCluster::Define::ModuleCluster
687
687
  module Module1
688
688
  end
@@ -692,35 +692,35 @@ describe ModuleCluster::Define::ModuleCluster do
692
692
  respond_to?( :append_features ).should == true
693
693
  module ModuleProof
694
694
  include ::ModuleCluster::Define::ModuleCluster::Mock18
695
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
696
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
695
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
696
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
697
697
  eigenclass = class << self ; self ; end
698
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
699
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
698
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
699
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
700
700
  end
701
701
  module ModuleProof2
702
702
  extend ::ModuleCluster::Define::ModuleCluster::Mock18
703
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
704
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
703
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
704
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
705
705
  eigenclass = class << self ; self ; end
706
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
707
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
706
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == true
707
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == true
708
708
  end
709
709
  class ClassProof
710
710
  include ::ModuleCluster::Define::ModuleCluster::Mock18
711
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
712
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
711
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
712
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
713
713
  eigenclass = class << self ; self ; end
714
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
715
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
714
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
715
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
716
716
  end
717
717
  class ClassProof2
718
718
  extend ::ModuleCluster::Define::ModuleCluster::Mock18
719
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
720
- ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
719
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
720
+ ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
721
721
  eigenclass = class << self ; self ; end
722
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
723
- eigenclass.ancestors.include?( ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
722
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module1 ).should == false
723
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ModuleCluster::Mock18::Module2 ).should == false
724
724
  end
725
725
  end
726
726
  end