class Sprockets::Cache::MemoryStore

def get(key)

Returns Object or nil or the value is not set.

key - String cache key.

This API should not be used directly, but via the Cache wrapper API.

Public: Retrieve value from cache.
def get(key)
  exists = true
  value = @cache.delete(key) { exists = false }
  if exists
    @cache[key] = value
  else
    nil
  end
end