Created
May 17, 2017 11:17
-
-
Save tai2/527aa57a1c1cafa48dfc82ad21602c2b 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].map do |y| | |
y[:z].map do |z| | |
z[:w] | |
end | |
end | |
ws.flatten.uniq {|w| w[:key]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment