Method: MongoNestedSet::InstanceMethods#ancestors
- Defined in:
- lib/mongo_nested_set.rb
#ancestors ⇒ Object
Returns an array of all parents
290 291 292 |
# File 'lib/mongo_nested_set.rb', line 290 def ancestors without_self self_and_ancestors end |