Introducing Hash#dig_and_collect, a useful extension to the Ruby Hash#dig method
alfredomotta.substack.com
In this blog post I will introduce Hash#dig_and_collect , a simple utility method that is built on top of Hash#dig to help you navigate nested hashes mixed up with arrays. Why Hash#dig is great The introduction of the Hash#dig[note]Ruby Hash#dig documentation
Introducing Hash#dig_and_collect, a useful extension to the Ruby Hash#dig method
Introducing Hash#dig_and_collect, a useful…
Introducing Hash#dig_and_collect, a useful extension to the Ruby Hash#dig method
In this blog post I will introduce Hash#dig_and_collect , a simple utility method that is built on top of Hash#dig to help you navigate nested hashes mixed up with arrays. Why Hash#dig is great The introduction of the Hash#dig[note]Ruby Hash#dig documentation