module Store

Public Class Methods

cache(cache_key, new, old) click to toggle source
# File lib/store.rb, line 13
def Store.cache(cache_key, new, old)
  Cache.write(cache_key, new, old)
end
read(set, key) click to toggle source
# File lib/store.rb, line 4
def Store.read(set, key)
  set[key]
end
write(set, key, value) click to toggle source
# File lib/store.rb, line 8
def Store.write(set, key, value)
  set[key] = value
  key
end