Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hash = {
- :first => {
- :second => [1,2,3,4]
- }
- }
- hash.dig(:first, :second) = [1,2,3,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement