Sha256: ec8725a68620b3335981fd150384214cd46180db3830237b9b9cb85c7907b8ae
Contents?: true
Size: 198 Bytes
Versions: 6527
Compression:
Stored size: 198 Bytes
Contents
class MemoryCache attr_reader :memory def initialize @memory = {} end def get(request) memory[request] end def set(request, response) memory[request] = response end end
Version data entries
6,527 entries across 6,524 versions & 27 rubygems