Created
July 20, 2010 14:26
-
-
Save michaeldwan/483025 to your computer and use it in GitHub Desktop.
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
>> redis = Redis.new | |
=> #<Redis client v2.0.3 connected to redis://127.0.0.1:6379/0 (Redis v1.2.6)> | |
>> redis.smembers('missing') | |
=> nil | |
>> redis.sadd('missing', 'hello') | |
=> true | |
>> redis.smembers('missing') | |
=> ["hello"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment