Module: MongoTree::Strategies::MaterializedPath::ClassMethods

Defined in:
lib/mongo_tree/strategies/materialized_path.rb

Instance Method Summary collapse

Instance Method Details

#rootsObject



29
30
31
# File 'lib/mongo_tree/strategies/materialized_path.rb', line 29

def roots
  self.all(:depth => 0)
end