Last active
May 17, 2017 08:15
-
-
Save tai2/f78d452f9ba1b6b346313f5fe6b7a7c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ws = {} | |
x[:y].each do |_, y| | |
y[:z].each do |_, z| | |
z[:w].each do |_, w| | |
ws[w[:key]] = w | |
end | |
end | |
end | |
ws.values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment