No description provided.
add meta programmaitcally defined class instance variable reader and
remove code duplication from activeresouece base class
Good initiative! But I believe that code could instead be refactored to use the new class_attribute instead. What do you think?
Not without major surgery. class_attribute relies on captured variable on the callstack (it doesn't use class instance variable underneath) and class_attribute insists on defining class writer for attributes.
It would be good to have a reader for reading class instance variables btw, otherwise we can make the method "inheritable_class_instance_reader" local as well.