instance method
cleanup
Ruby on Rails 4.2.9
Since v3.0.20Signature
cleanup(options = nil)
Cleanup the cache by removing expired entries.
Options are passed to the underlying cache implementation.
All implementations may not support this method.
Parameters
-
optionsopt = nil
Source
# File activesupport/lib/active_support/cache.rb, line 450
def cleanup(options = nil)
raise NotImplementedError.new("#{self.class.name} does not support cleanup")
end
Defined in activesupport/lib/active_support/cache.rb line 450
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store