clear(options = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/file_store.rb, line 25
      def clear(options = nil)
        root_dirs = Dir.entries(cache_path).reject{|f| f.in?(EXCLUDED_DIRS)}
        FileUtils.rm_r(root_dirs.collect{|f| File.join(cache_path, f)})
      end
Register or log in to add new notes.