Method: DataMapper::OrderedSet::Cache::API#clear
- Defined in:
- lib/dm-core/support/ordered_set.rb
#clear ⇒ API
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
156 157 158 159 |
# File 'lib/dm-core/support/ordered_set.rb', line 156 def clear @cache.clear self end |