class ActiveSupport::Cache::MemoryStore

def clear(options = nil)

Delete all data stored in a given cache store.
def clear(options = nil)
  synchronize do
    @data.clear
    @cache_size = 0
  end
end