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::ClassOrInstanceCluster do
4
+ describe ::ModuleCluster::Define::ClassOrInstanceCluster do
5
5
 
6
6
  ####################################
7
7
  # self.should_include_or_extend? #
8
8
  ####################################
9
9
 
10
10
  it 'should return true if class or instance, false otherwise' do
11
- ModuleCluster::Define::ClassOrInstanceCluster.should_include_or_extend?( Kernel ).should == false
12
- ModuleCluster::Define::ClassOrInstanceCluster.should_include_or_extend?( Class ).should == true
13
- ModuleCluster::Define::ClassOrInstanceCluster.should_include_or_extend?( Object.new ).should == true
11
+ ::ModuleCluster::Define::ClassOrInstanceCluster.should_include_or_extend?( Kernel ).should == false
12
+ ::ModuleCluster::Define::ClassOrInstanceCluster.should_include_or_extend?( Class ).should == true
13
+ ::ModuleCluster::Define::ClassOrInstanceCluster.should_include_or_extend?( Object.new ).should == true
14
14
  end
15
15
 
16
16
  ##########################
@@ -18,9 +18,9 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
18
18
  ##########################
19
19
 
20
20
  it 'should report false' do
21
- ModuleCluster::Define::ClassOrInstanceCluster.should_cascade?( Kernel ).should == false
22
- ModuleCluster::Define::ClassOrInstanceCluster.should_cascade?( Class ).should == false
23
- ModuleCluster::Define::ClassOrInstanceCluster.should_cascade?( Object.new ).should == false
21
+ ::ModuleCluster::Define::ClassOrInstanceCluster.should_cascade?( Kernel ).should == false
22
+ ::ModuleCluster::Define::ClassOrInstanceCluster.should_cascade?( Class ).should == false
23
+ ::ModuleCluster::Define::ClassOrInstanceCluster.should_cascade?( Object.new ).should == false
24
24
  end
25
25
 
26
26
  #########################################################################
@@ -28,7 +28,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
28
28
  #########################################################################
29
29
 
30
30
  it 'can include a module when this one is included in a class or extend an instance when this one is used to extend an instance' do
31
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock01
31
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01
32
32
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
33
33
  module Module1
34
34
  end
@@ -39,41 +39,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
39
39
  respond_to?( :extended ).should == true
40
40
  module ModuleProof
41
41
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01
42
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
43
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
42
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
43
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
44
44
  eigenclass = class << self ; self ; end
45
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
46
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
45
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
46
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
47
47
  end
48
48
  module ModuleProof2
49
49
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01
50
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
51
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
50
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
51
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
52
52
  eigenclass = class << self ; self ; end
53
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
54
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
53
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
54
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
55
55
  end
56
56
  class ClassProof
57
57
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01
58
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == true
59
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == true
58
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == true
59
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == true
60
60
  eigenclass = class << self ; self ; end
61
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
62
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
61
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
62
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
63
63
  end
64
64
  class ClassProof2
65
65
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01
66
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
67
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
66
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == false
67
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == false
68
68
  eigenclass = class << self ; self ; end
69
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == true
70
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == true
69
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == true
70
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == true
71
71
  end
72
72
  Object.new.instance_eval do
73
73
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01
74
74
  eigenclass = class << self ; self ; end
75
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == true
76
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == true
75
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module1 ).should == true
76
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock01::Module2 ).should == true
77
77
  end
78
78
  end
79
79
  end
@@ -83,7 +83,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
83
83
  #############################################################
84
84
 
85
85
  it 'can include a module when this one is included in a class or extend with another module when this one is used to extend a class or extend an instance when this one is used to extend an instance' do
86
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock02
86
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02
87
87
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
88
88
  module Module1
89
89
  end
@@ -94,41 +94,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
94
94
  respond_to?( :extended ).should == true
95
95
  module ModuleProof
96
96
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02
97
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
98
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
97
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
98
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
99
99
  eigenclass = class << self ; self ; end
100
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
101
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
100
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
101
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
102
102
  end
103
103
  module ModuleProof2
104
104
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02
105
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
106
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
105
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
106
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
107
107
  eigenclass = class << self ; self ; end
108
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
109
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
108
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
109
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
110
110
  end
111
111
  class ClassProof
112
112
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02
113
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
114
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
113
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
114
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
115
115
  eigenclass = class << self ; self ; end
116
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == true
117
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == true
116
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == true
117
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == true
118
118
  end
119
119
  class ClassProof2
120
120
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02
121
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
122
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
121
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == false
122
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == false
123
123
  eigenclass = class << self ; self ; end
124
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == true
125
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == true
124
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == true
125
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == true
126
126
  end
127
127
  Object.new.instance_eval do
128
128
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02
129
129
  eigenclass = class << self ; self ; end
130
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == true
131
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == true
130
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module1 ).should == true
131
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock02::Module2 ).should == true
132
132
  end
133
133
  end
134
134
  end
@@ -138,7 +138,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
138
138
  ###############################################################
139
139
 
140
140
  it 'can include a module when this one is included in a class or extend with another module when this one is used to extend an instance' do
141
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock03
141
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03
142
142
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
143
143
  module Module1
144
144
  end
@@ -149,41 +149,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
149
149
  respond_to?( :extended ).should == true
150
150
  module ModuleProof
151
151
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03
152
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
153
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
152
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
153
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
154
154
  eigenclass = class << self ; self ; end
155
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
156
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
155
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
156
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
157
157
  end
158
158
  module ModuleProof2
159
159
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03
160
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
161
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
160
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
161
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
162
162
  eigenclass = class << self ; self ; end
163
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
164
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
163
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
164
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
165
165
  end
166
166
  class ClassProof
167
167
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03
168
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == true
169
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == true
168
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == true
169
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == true
170
170
  eigenclass = class << self ; self ; end
171
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
172
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
171
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
172
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
173
173
  end
174
174
  class ClassProof2
175
175
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03
176
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
177
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
176
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
177
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
178
178
  eigenclass = class << self ; self ; end
179
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
180
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
179
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == false
180
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == false
181
181
  end
182
182
  Object.new.instance_eval do
183
183
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03
184
184
  eigenclass = class << self ; self ; end
185
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == true
186
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == true
185
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module1 ).should == true
186
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock03::Module2 ).should == true
187
187
  end
188
188
  end
189
189
  end
@@ -193,7 +193,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
193
193
  ###################################################
194
194
 
195
195
  it 'can extend with another module when this one is included in a class or used to extend an instance' do
196
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock04
196
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04
197
197
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
198
198
  module Module1
199
199
  end
@@ -204,41 +204,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
204
204
  respond_to?( :extended ).should == true
205
205
  module ModuleProof
206
206
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04
207
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
208
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
207
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
208
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
209
209
  eigenclass = class << self ; self ; end
210
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
211
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
210
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
211
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
212
212
  end
213
213
  module ModuleProof2
214
214
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04
215
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
216
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
215
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
216
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
217
217
  eigenclass = class << self ; self ; end
218
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
219
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
218
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
219
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
220
220
  end
221
221
  class ClassProof
222
222
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04
223
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
224
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
223
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
224
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
225
225
  eigenclass = class << self ; self ; end
226
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == true
227
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == true
226
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == true
227
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == true
228
228
  end
229
229
  class ClassProof2
230
230
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04
231
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
232
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
231
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
232
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
233
233
  eigenclass = class << self ; self ; end
234
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
235
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
234
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == false
235
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == false
236
236
  end
237
237
  Object.new.instance_eval do
238
238
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04
239
239
  eigenclass = class << self ; self ; end
240
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == true
241
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == true
240
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module1 ).should == true
241
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock04::Module2 ).should == true
242
242
  end
243
243
  end
244
244
  end
@@ -248,7 +248,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
248
248
  ###########################################
249
249
 
250
250
  it 'can extend with another module when this one is used to extend a class or instance' do
251
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock05
251
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05
252
252
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
253
253
  module Module1
254
254
  end
@@ -259,41 +259,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
259
259
  respond_to?( :extended ).should == true
260
260
  module ModuleProof
261
261
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05
262
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
263
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
262
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
263
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
264
264
  eigenclass = class << self ; self ; end
265
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
266
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
265
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
266
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
267
267
  end
268
268
  module ModuleProof2
269
269
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05
270
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
271
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
270
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
271
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
272
272
  eigenclass = class << self ; self ; end
273
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
274
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
273
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
274
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
275
275
  end
276
276
  class ClassProof
277
277
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05
278
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
279
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
278
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
279
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
280
280
  eigenclass = class << self ; self ; end
281
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
282
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
281
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
282
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
283
283
  end
284
284
  class ClassProof2
285
285
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05
286
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
287
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
286
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == false
287
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == false
288
288
  eigenclass = class << self ; self ; end
289
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == true
290
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == true
289
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == true
290
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == true
291
291
  end
292
292
  Object.new.instance_eval do
293
293
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05
294
294
  eigenclass = class << self ; self ; end
295
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == true
296
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == true
295
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module1 ).should == true
296
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock05::Module2 ).should == true
297
297
  end
298
298
  end
299
299
  end
@@ -303,7 +303,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
303
303
  #############################################################################
304
304
 
305
305
  it 'can include a module before this one is included in a class or extend an instance before this one is used to extend an instance' do
306
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock06
306
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06
307
307
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
308
308
  module Module1
309
309
  end
@@ -314,41 +314,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
314
314
  respond_to?( :extended ).should == true
315
315
  module ModuleProof
316
316
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06
317
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
318
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
317
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
318
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
319
319
  eigenclass = class << self ; self ; end
320
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
321
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
320
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
321
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
322
322
  end
323
323
  module ModuleProof2
324
324
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06
325
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
326
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
325
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
326
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
327
327
  eigenclass = class << self ; self ; end
328
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
329
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
328
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
329
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
330
330
  end
331
331
  class ClassProof
332
332
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06
333
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == true
334
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == true
333
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == true
334
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == true
335
335
  eigenclass = class << self ; self ; end
336
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
337
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
336
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
337
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
338
338
  end
339
339
  class ClassProof2
340
340
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06
341
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
342
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
341
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == false
342
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == false
343
343
  eigenclass = class << self ; self ; end
344
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == true
345
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == true
344
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == true
345
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == true
346
346
  end
347
347
  Object.new.instance_eval do
348
348
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06
349
349
  eigenclass = class << self ; self ; end
350
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == true
351
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == true
350
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module1 ).should == true
351
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock06::Module2 ).should == true
352
352
  end
353
353
  end
354
354
  end
@@ -358,7 +358,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
358
358
  ###################################################################
359
359
 
360
360
  it 'can include a module before this one is included in a class or extend with another module before this one is used to extend a class or extend an instance before this one is used to extend an instance' do
361
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock07
361
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07
362
362
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
363
363
  module Module1
364
364
  end
@@ -369,41 +369,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
369
369
  respond_to?( :extended ).should == true
370
370
  module ModuleProof
371
371
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07
372
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
373
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
372
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
373
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
374
374
  eigenclass = class << self ; self ; end
375
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
376
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
375
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
376
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
377
377
  end
378
378
  module ModuleProof2
379
379
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07
380
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
381
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
380
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
381
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
382
382
  eigenclass = class << self ; self ; end
383
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
384
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
383
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
384
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
385
385
  end
386
386
  class ClassProof
387
387
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07
388
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == true
389
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == true
388
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == true
389
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == true
390
390
  eigenclass = class << self ; self ; end
391
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
392
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
391
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
392
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
393
393
  end
394
394
  class ClassProof2
395
395
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07
396
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
397
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
396
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
397
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
398
398
  eigenclass = class << self ; self ; end
399
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
400
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
399
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == false
400
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == false
401
401
  end
402
402
  Object.new.instance_eval do
403
403
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07
404
404
  eigenclass = class << self ; self ; end
405
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == true
406
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == true
405
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module1 ).should == true
406
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock07::Module2 ).should == true
407
407
  end
408
408
  end
409
409
  end
@@ -413,7 +413,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
413
413
  #################################################################
414
414
 
415
415
  it 'can include a module before this one is included in a class or extend with another module before this one is used to extend an instance' do
416
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock08
416
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08
417
417
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
418
418
  module Module1
419
419
  end
@@ -424,41 +424,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
424
424
  respond_to?( :extended ).should == true
425
425
  module ModuleProof
426
426
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08
427
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
428
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
427
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
428
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
429
429
  eigenclass = class << self ; self ; end
430
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
431
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
430
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
431
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
432
432
  end
433
433
  module ModuleProof2
434
434
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08
435
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
436
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
435
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
436
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
437
437
  eigenclass = class << self ; self ; end
438
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
439
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
438
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
439
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
440
440
  end
441
441
  class ClassProof
442
442
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08
443
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == true
444
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == true
443
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == true
444
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == true
445
445
  eigenclass = class << self ; self ; end
446
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
447
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
446
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
447
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
448
448
  end
449
449
  class ClassProof2
450
450
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08
451
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
452
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
451
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
452
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
453
453
  eigenclass = class << self ; self ; end
454
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
455
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
454
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == false
455
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == false
456
456
  end
457
457
  Object.new.instance_eval do
458
458
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08
459
459
  eigenclass = class << self ; self ; end
460
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == true
461
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == true
460
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module1 ).should == true
461
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock08::Module2 ).should == true
462
462
  end
463
463
  end
464
464
  end
@@ -468,7 +468,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
468
468
  #######################################################
469
469
 
470
470
  it 'can extend with another module before this one is included in a class or used to extend an instance' do
471
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock09
471
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09
472
472
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
473
473
  module Module1
474
474
  end
@@ -479,41 +479,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
479
479
  respond_to?( :extended ).should == true
480
480
  module ModuleProof
481
481
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09
482
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
483
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
482
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
483
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
484
484
  eigenclass = class << self ; self ; end
485
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
486
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
485
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
486
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
487
487
  end
488
488
  module ModuleProof2
489
489
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09
490
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
491
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
490
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
491
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
492
492
  eigenclass = class << self ; self ; end
493
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
494
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
493
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
494
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
495
495
  end
496
496
  class ClassProof
497
497
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09
498
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
499
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
498
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
499
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
500
500
  eigenclass = class << self ; self ; end
501
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == true
502
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == true
501
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == true
502
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == true
503
503
  end
504
504
  class ClassProof2
505
505
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09
506
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
507
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
506
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
507
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
508
508
  eigenclass = class << self ; self ; end
509
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
510
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
509
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == false
510
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == false
511
511
  end
512
512
  Object.new.instance_eval do
513
513
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09
514
514
  eigenclass = class << self ; self ; end
515
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == true
516
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == true
515
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module1 ).should == true
516
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock09::Module2 ).should == true
517
517
  end
518
518
  end
519
519
  end
@@ -523,7 +523,7 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
523
523
  ###############################################
524
524
 
525
525
  it 'can extend with another module before this one is used to extend a class or instance' do
526
- module ModuleCluster::Define::ClassOrInstanceCluster::Mock10
526
+ module ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10
527
527
  extend ::ModuleCluster::Define::ClassOrInstanceCluster
528
528
  module Module1
529
529
  end
@@ -534,41 +534,41 @@ describe ModuleCluster::Define::ClassOrInstanceCluster do
534
534
  respond_to?( :extended ).should == true
535
535
  module ModuleProof
536
536
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10
537
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
538
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
537
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
538
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
539
539
  eigenclass = class << self ; self ; end
540
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
541
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
540
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
541
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
542
542
  end
543
543
  module ModuleProof2
544
544
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10
545
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
546
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
545
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
546
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
547
547
  eigenclass = class << self ; self ; end
548
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
549
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
548
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
549
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
550
550
  end
551
551
  class ClassProof
552
552
  include ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10
553
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
554
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
553
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
554
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
555
555
  eigenclass = class << self ; self ; end
556
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
557
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
556
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
557
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
558
558
  end
559
559
  class ClassProof2
560
560
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10
561
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
562
- ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
561
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == false
562
+ ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == false
563
563
  eigenclass = class << self ; self ; end
564
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == true
565
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == true
564
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == true
565
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == true
566
566
  end
567
567
  Object.new.instance_eval do
568
568
  extend ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10
569
569
  eigenclass = class << self ; self ; end
570
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == true
571
- eigenclass.ancestors.include?( ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == true
570
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module1 ).should == true
571
+ eigenclass.ancestors.include?( ::ModuleCluster::Define::ClassOrInstanceCluster::Mock10::Module2 ).should == true
572
572
  end
573
573
  end
574
574
  end