Sha256: 0de3bf78e3589abf3f491496fb2ba73f7e3ac877156eb989d1655f13508de686
Contents?: true
Size: 211 Bytes
Versions: 4
Compression:
Stored size: 211 Bytes
Contents
module Helpers class Cache def initialize @memory = {} end def get(request) @memory[request] end def set(request, response) @memory[request] = response end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
overview-0.0.10.pre.32 | lib/helpers/cache.rb |
overview-0.0.9.pre.30 | lib/helpers/cache.rb |
overview-0.0.8.pre.28 | lib/helpers/cache.rb |
overview-0.0.7.pre.26 | lib/helpers/cache.rb |