Sha256: a11f336b5f80fbdd0af9dccef445c75b88c995656403cca729d5525226d53651
Contents?: true
Size: 236 Bytes
Versions: 59
Compression:
Stored size: 236 Bytes
Contents
class HashWrapper < Hash def init(hash, key) @hash = hash @key = key @hash[@key] ||= Hash.new end def [](subkey) @hash[@key][subkey] end def []=(subkey, obj) @hash[@key][subkey] = obj end end
Version data entries
59 entries across 59 versions & 1 rubygems