Class: ActiveSupport::Cache::FileStore
- Inherits:
-
Object
- Object
- ActiveSupport::Cache::FileStore
- Defined in:
- lib/cms/extensions/active_support/cache/file_store.rb
Instance Method Summary collapse
Instance Method Details
#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 |