marți, 7 martie 2017

Making Ruby Hash#dig even more awesome. Introducing Hash#dig_and_collect


On this weblog submit I'll introduce [crayon-58bf34b7b1702203685593-i/] , a easy utility technique that's constructed on prime of [crayon-58bf34b7b1715435849143-i/] that can assist you navigate nested hashes combined up with arrays. Why Hash#dig is nice The introduction of the [crayon-58bf34b7b171b994398123-i/] technique in Ruby 2.three utterly modified the way in which I navigate deeply nested hashes. For instance, given this [crayon-58bf34b7b1721570842249-i/] : [crayon-58bf34b7b1727242681548/] to […]

Niciun comentariu:

Trimiteți un comentariu