Sha256: e7802e3a82b5a89115f29521e6c1d015b7d600a73f22977da4b81c5331f99811

Contents?: true

Size: 124 Bytes

Versions: 103

Compression:

Stored size: 124 Bytes

Contents

require 'redis'

r = Redis.new

r.del('foo')

puts

p'set foo to "bar"'
r['foo'] = 'bar'

puts

p 'value of foo'
p r['foo']

Version data entries

103 entries across 101 versions & 16 rubygems

Version Path
redis-3.0.1 examples/basic.rb
classiccms-0.3.0 vendor/bundle/gems/redis-2.2.2/examples/basic.rb
redis-3.0.0 examples/basic.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/redis-2.2.2/examples/basic.rb
redis-3.0.0.rc2 examples/basic.rb
gorsuch-redis-3.0.0.rc1 examples/basic.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/redis-2.2.2/examples/basic.rb
redis-3.0.0.rc1 examples/basic.rb
yam-redis-with-retries-2.2.2.1 examples/basic.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/redis-2.2.2/examples/basic.rb
redis-2.2.2 examples/basic.rb
redis-2.2.1 examples/basic.rb
modesty-0.1.0 vendor/redis-rb/examples/basic.rb
redis-2.2.0 examples/basic.rb
lunar-0.4.1 vendor/redis/examples/basic.rb
lunar-0.4.0 vendor/redis/examples/basic.rb
lunar-0.3.0 vendor/redis/examples/basic.rb
lunar-0.2.3 vendor/redis/examples/basic.rb
lunar-0.2.2 vendor/redis/examples/basic.rb
lunar-0.2.1 vendor/redis/examples/basic.rb