Skip to content

Instantly share code, notes, and snippets.

@marwinism
Created June 4, 2013 11:35
Show Gist options
  • Save marwinism/5705293 to your computer and use it in GitHub Desktop.
Save marwinism/5705293 to your computer and use it in GitHub Desktop.
res.each do |r|
@var = r["UserID"]
end
hash = {}
hash.each { |k,v| string << @var << "=>" << @var}
return hash
puts hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment