Created
September 24, 2016 10:12
-
-
Save alexjfisher/4cad33baccd97c17fb43062eb35d30f7 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
return hash.reduce({}) do |acc, kv| | |
acc[id + kv[0]] = { 'key' => kv[0], 'value' => kv[1] } | |
acc | |
end |
Author
alexjfisher
commented
Sep 24, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment