Sha256: 99317ab441404cd41a93b491c30c6c93c4de1e8a297ded39ef32e548f12591e7
Contents?: true
Size: 184 Bytes
Versions: 2
Compression:
Stored size: 184 Bytes
Contents
class Hash class Nested < Hash include DeepFreezable def [](key) if key? key super(key) else self[key] = Nested.new end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hash_ext-0.6.2 | lib/hash_ext/nested.rb |
hash_ext-0.6.1 | lib/hash_ext/nested.rb |