From 069ee270b3c1448c5de133a92bbcb8fc7dcf4765 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 28 Feb 2012 23:39:35 -0500 Subject: [PATCH] Wiping the slate --- redis-with-ruby/in-and-out.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redis-with-ruby/in-and-out.rb b/redis-with-ruby/in-and-out.rb index 950e8ec..042ae6d 100644 --- a/redis-with-ruby/in-and-out.rb +++ b/redis-with-ruby/in-and-out.rb @@ -19,6 +19,8 @@ def main inst = Fancy.new('yup!') + ['foo', 'derp', 'hamsters'].each { |k| redis.del(k) } + puts redis.set('foo', 'bar') puts redis.set('derp', inst.to_yaml) puts redis.sadd('hamsters', 'albert')