grosser.it
Ruby Hash leaves (leafs)
Get all leaves of a Hash (like recursive values). Usage {:x => 1, :y => {:z => 2}}.leaves == [1,2] Code class Hash # {‘x’=>{‘y’=>{‘z’=>1,&#8217…