loading...

Dig method in Ruby

sanemane profile image Sandip Mane ・1 min read

#dig method was added in Ruby 2.3 to Array and Hash classes. It makes digging the Array and Hash easy while making the code readable.


Follow this link for the complete post:
https://www.sandipmane.dev/dig-method-in-ruby

Discussion

pic
Editor guide
Collapse
bizzibody profile image
Ian bradbury

I didn’t know that. Thanks.