Module: MongoModel::AbstractClass

Extended by:
ActiveSupport::Concern
Included in:
EmbeddedDocument
Defined in:
lib/mongomodel/concerns/abstract_class.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#inherited(subclass) ⇒ Object


5
6
7
8
# File 'lib/mongomodel/concerns/abstract_class.rb', line 5

def inherited(subclass)
  super
  subclass.abstract_class = false
end