Method: DataMapper::DescendantSet#clear
- Defined in:
- lib/dm-core/support/descendant_set.rb
#clear ⇒ DescendantSet
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Removes all entries and returns self
84 85 86 |
# File 'lib/dm-core/support/descendant_set.rb', line 84 def clear @descendants.clear end |