Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can access an item in a hash in a similar manner with Ruby now.

https://ruby-doc.org/core-2.3.1/Hash.html#method-i-dig



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: