Skip to content

Instantly share code, notes, and snippets.

@ysr23
Created April 24, 2013 14:56
Show Gist options
  • 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