Method: ActiveSupport::Cache::Store#cleanup
- Defined in:
- activesupport/lib/active_support/cache.rb
#cleanup(options = nil) ⇒ Object
Cleans up the cache by removing expired entries.
Options are passed to the underlying cache implementation.
Some implementations may not support this method.
747 748 749 |
# File 'activesupport/lib/active_support/cache.rb', line 747 def cleanup( = nil) raise NotImplementedError.new("#{self.class.name} does not support cleanup") end |