method
cleanup
v3.2.8 -
Show latest stable
- Class:
ActiveSupport::Cache::FileStore
cleanup(options = nil)public
No documentation available.
# File activesupport/lib/active_support/cache/file_store.rb, line 30
def cleanup(options = nil)
options = merged_options(options)
each_key(options) do |key|
entry = read_entry(key, options)
delete_entry(key, options) if entry && entry.expired?
end
end