cascading_configuration 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ class ::CascadingConfiguration::Core::InstanceController < ::Module
|
|
15
15
|
instance_controller = nil
|
16
16
|
|
17
17
|
unless instance_controller = @instance_controller[ instance ]
|
18
|
-
instance_controller = new( instance, default_encapsulation_or_name,
|
18
|
+
instance_controller = new( instance, default_encapsulation_or_name, extending )
|
19
19
|
end
|
20
20
|
|
21
21
|
return instance_controller
|
@@ -118,7 +118,7 @@ class ::CascadingConfiguration::Core::InstanceController < ::Module
|
|
118
118
|
|
119
119
|
hex_id_string = '0x%x' % ( @instance.__id__ << 1 )
|
120
120
|
constant = 'ID_' << hex_id_string
|
121
|
-
self.class.const_set(
|
121
|
+
self.class.const_set( :Controller, self )
|
122
122
|
|
123
123
|
return self
|
124
124
|
|