parallel-ancestry 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
|