module Annotatable::ClassMethods
def inherited_with_annotatable(subclass)
def inherited_with_annotatable(subclass) inherited_without_annotatable(subclass) (["inherited_annotations"] + (@inherited_annotations || [])).each do |t| ivar = "@#{t}" subclass.instance_variable_set(ivar, instance_variable_get(ivar)) end end