-
-
Save havenwood/c8f560eb7b910fbdcd10ed7a34014069 to your computer and use it in GitHub Desktop.
<Intelo> on #ruby IRC example question
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
# I have: | |
[[1, 1], [["a", "a"], ["b", "b"]], [2, 2], [["c", "c"], ["d", "d"]], [3, 3]] | |
# And I want: | |
{1=>1, "a"=>"a", "b"=>"b", 2=>2, "c"=>"c", "d"=>"d", 3=>3} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment