lib/utilrb/models/registration.rb
# Registers submodels when a subclass is created (when models are
# represented as classes)
Registers submodels when a subclass is created (when models are
represented as classes)
Registers submodels when a subclass is created ( when models are represented as classes )
def inherited(subclass)
                subclass.definition_location = call_stack
                super
                register_submodel(subclass)
                subclass.permanent_model = true
            end
def inherited ( subclass ) subclass . definition_location = call_stack super register_submodel ( subclass ) subclass . permanent_model = true end
Registers submodels when a subclass is created (when models are
represented as classes)
Registers submodels when a subclass is created ( when models are represented as classes )
subclass
<not_specific>