change class_inheritable_accessor method with class_attribute