parallel-ancestry 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc
CHANGED
@@ -21,3 +21,4 @@ Added unique-array for children and parents, which means now :include? etc. use
|
|
21
21
|
== 6/18/2012
|
22
22
|
|
23
23
|
Added is_extending parameter (default = false) to :initialize_inheriting_instance.
|
24
|
+
Fix for subclass inheritance passing subclass instance (self) rather than class instance.
|
@@ -99,7 +99,7 @@ module ::ParallelAncestry::Inheritance
|
|
99
99
|
instance.extend( ::ModuleCluster::Define::Block::Subclass )
|
100
100
|
|
101
101
|
instance.subclass do |inheriting_subclass|
|
102
|
-
inheritance_module.initialize_inheriting_instance(
|
102
|
+
inheritance_module.initialize_inheriting_instance( self, inheriting_subclass, true )
|
103
103
|
end
|
104
104
|
|
105
105
|
else
|