Sha256: f7353c04a3c5478d9dde439a02f3c4d0f2e0bbe08a243040b2166c5e5d1c8544
Contents?: true
Size: 214 Bytes
Versions: 12
Compression:
Stored size: 214 Bytes
Contents
class Cache < Hash # A regular hash will raise a KeyError when we try to fetch a key that does # not exist def fetch(*args) super rescue nil end def write(key, value) self[key] = value end end
Version data entries
12 entries across 12 versions & 1 rubygems