lib/utilrb/models/registration.rb
# Returns the model that is parent of this one
#
# The default implementation returns superclass if it is extended by
# this Registration module, and nil otherwise
Returns the model that is parent of this one
The default implementation returns superclass if it is extended by
this Registration module, and nil otherwise
Returns the model that is parent of this one The default implementation returns superclass if it is extended by this Registration module and nil otherwise
def supermodel
                if superclass.respond_to?(:register_submodel)
                    superclass
                end
            end
def supermodel if superclass . respond_to? ( :register_submodel ) superclass end end
Returns the model that is parent of this one
The default implementation returns superclass if it is extended by
this Registration module, and nil otherwise
Returns the model that is parent of this one The default implementation returns superclass if it is extended by this Registration module and nil otherwise