Class: ActiveSupport::Cache::FileStore

Inherits:
Object
  • Object
show all
Defined in:
lib/cms/extensions/active_support/cache/file_store.rb

Instance Method Summary collapse

Instance Method Details

#flushObject


4
5
6
# File 'lib/cms/extensions/active_support/cache/file_store.rb', line 4

def flush
  FileUtils.rm_rf cache_path if File.exist?(cache_path)
end