Method: ActiveSupport::Cache::FileStore#flush
- Defined in:
- lib/cms/extensions/active_support/cache/file_store.rb
#flush ⇒ Object
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 |