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 but is intended only

def clear(options = nil)

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

def delete_entry(key, options)

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

def initialize

def initialize
  super
  @data = {}
end

def read_entry(key, options)

def read_entry(key, options)
  @data[key]
end

def synchronize # :nodoc:

:nodoc:
Since it isn't thread safe, don't allow synchronizing.
def synchronize # :nodoc:
  yield
end

def write_entry(key, value, options)

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