Module: MongoModel::AbstractClass::ClassMethods

Defined in:
lib/mongomodel/concerns/abstract_class.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#abstract_classObject

Returns the value of attribute abstract_class


11
12
13
# File 'lib/mongomodel/concerns/abstract_class.rb', line 11

def abstract_class
  @abstract_class
end

Instance Method Details

#abstract_class?Boolean

Returns:


13
14
15
# File 'lib/mongomodel/concerns/abstract_class.rb', line 13

def abstract_class?
  abstract_class == true
end