Created
July 17, 2012 11:32
-
-
Save spritle/3128910 to your computer and use it in GitHub Desktop.
Redis test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "redis" | |
redis = Redis.new(:host => "localhost", :port => 6379) | |
redis.set "foo", "bar" | |
redis.get "foo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment