class ActiveSupport::Cache::Strategy::LocalCache::LocalStore

for serving as a temporary memory cache for a single thread.
Simple memory backed cache. This cache is not thread safe and is intended only

def clear(options = nil)

def clear(options = nil)
  @data.clear
end

def delete_entry(key)

def delete_entry(key)
  !!@data.delete(key)
end

def fetch_entry(key) # :nodoc:

:nodoc:
def fetch_entry(key) # :nodoc:
  @data.fetch(key) { @data[key] = yield }
end

def initialize

def initialize
  @data = {}
end

def read_entry(key)

def read_entry(key)
  @data[key]
end

def read_multi_entries(keys)

def read_multi_entries(keys)
  @data.slice(*keys)
end

def write_entry(key, entry)

def write_entry(key, entry)
  @data[key] = entry
  true
end