Closed liveh2o closed 12 years ago
Meant for this to be a separate pull request, but...
Also added some sugar to make heredity a little easier to use. Now you can just include the Heredity
module and it will include Heredity::InheritableClassInstanceVariables
for you.
...so that inheritable attributes aren't reset.
Fixes a problem where including the module multiple times (e.g. in separate modules that are then included into the same class where clobbering each other's inheritable attributes.