Last Updated: February 25, 2016
·
1.079K
· sjeanpierre

Hash value inheritance

If value in the hash below is nil, lookup will happen against other hash

myhash = Hash.new {|hash, key| hash[key] = OTHER_HASH[key]}