class ActiveSupport::Cache::Store

def cleanup(options = nil)

All implementations may not support this method.

Options are passed to the underlying cache implementation.

Cleanup the cache by removing expired entries.
def cleanup(options = nil)
  raise NotImplementedError.new("#{self.class.name} does not support cleanup")
end