Module: MongoTree::Strategies::FullTreeRoot::InstanceMethods
- Defined in:
- lib/mongo_tree/strategies/full_tree_root.rb
Instance Method Summary collapse
Instance Method Details
#ancestors ⇒ Object
42 43 44 |
# File 'lib/mongo_tree/strategies/full_tree_root.rb', line 42 def ancestors [] end |
#depth ⇒ Object
30 31 32 |
# File 'lib/mongo_tree/strategies/full_tree_root.rb', line 30 def depth 0 end |
#parent ⇒ Object
34 35 36 |
# File 'lib/mongo_tree/strategies/full_tree_root.rb', line 34 def parent nil end |
#siblings ⇒ Object
38 39 40 |
# File 'lib/mongo_tree/strategies/full_tree_root.rb', line 38 def siblings [] end |