]> git.saurik.com Git - redis.git/blame - client-libraries/ruby/examples/basic.rb
Lua client updated
[redis.git] / client-libraries / ruby / examples / basic.rb
CommitLineData
ed9b544e 1require 'rubygems'
2require 'redis'
3
4r = Redis.new
5
6r.delete('foo')
7
8puts
9
10p'set foo to "bar"'
11r['foo'] = 'bar'
12
13puts
14
15p 'value of foo'
16p r['foo']