Module: Mongoid::Hierarchy::ClassMethods
- Defined in:
- lib/mongoid/hierarchy.rb
Instance Method Summary (collapse)
-
- (true, false) hereditary?
Determines if the document is a subclass of another document.
Instance Method Details
- (true, false) hereditary?
Determines if the document is a subclass of another document.
120 121 122 |
# File 'lib/mongoid/hierarchy.rb', line 120 def hereditary? Mongoid::Document > superclass end |