Skip to content

Instantly share code, notes, and snippets.

@portertech
Created July 27, 2011 22:35
Show Gist options
  • Save portertech/1110518 to your computer and use it in GitHub Desktop.
Save portertech/1110518 to your computer and use it in GitHub Desktop.
# File 'lib/redis.rb', line 119
def hgetall(key)
Hash[*@client.call(:hgetall, key)]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment