Skip to content

Instantly share code, notes, and snippets.

@ysr23
Created April 24, 2013 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ysr23/5452776 to your computer and use it in GitHub Desktop.
Save ysr23/5452776 to your computer and use it in GitHub Desktop.
response_unified.each {|r|
r = Hash[r.map {|k, v| [mappings[k], v] }]
}
puts response_unified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment