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