5 ms·Dot syntax and dig for Ruby hashes2 points by thunderbong 5y agotransfire 5y agoPretty sure your dig! implementation would be faster with a traditional for loop (aka #each).transfire 5y agoAlso, class Hash alias / fetch end