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')