#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
#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
Top comments (1)
I didn’t know that. Thanks.