abrandoned / heredity

gem to provide class inheritable attributes outside of rails and other framework integrated mechanisms
MIT License
1 stars 3 forks source link

Add inherited hooks to Class directly. #3

Closed liveh2o closed 11 years ago

liveh2o commented 11 years ago

Something odd was happening when both the inherited hooks and inheritable class instance variable were loaded together. So instead of extending two modules that both override inherited, just inject the inherited hooks into the Class class directly.