Skip to content

Instantly share code, notes, and snippets.

@josuebrunel
Created March 17, 2015 14:35
Show Gist options
  • Save josuebrunel/dbf2871c61ba80c37b64 to your computer and use it in GitHub Desktop.
Save josuebrunel/dbf2871c61ba80c37b64 to your computer and use it in GitHub Desktop.
json_data.keys().each do | key |
new_json_data[key] = json_data[key] unless ['sic', 'fihm'].include?(key) and json_data.has_key?(key)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment