Skip to content

Instantly share code, notes, and snippets.

@codespectator
Created May 10, 2013 09:27
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 codespectator/5553425 to your computer and use it in GitHub Desktop.
Save codespectator/5553425 to your computer and use it in GitHub Desktop.
redis = Redis.new(:url => 'redis://localhost:7372')
redis.set('test','test')
=> nil
redis.get('test')
=> nil
redis.client.connection.connected?
=> true
redis.client.connected?
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment