]> git.saurik.com Git - redis.git/commitdiff
dead code removed from RubyRedis
authorantirez <antirez@gmail.com>
Thu, 21 May 2009 11:31:00 +0000 (13:31 +0200)
committerantirez <antirez@gmail.com>
Thu, 21 May 2009 11:31:00 +0000 (13:31 +0200)
client-libraries/ruby_2/rubyredis.rb

index e4921a23becc1a067e72480d83f2419ee6c492b4..620bab179a52563ea61c4e14c6796e3a91a482f3 100644 (file)
@@ -39,10 +39,6 @@ class RedisClient
         }
     }
 
-    def convert_to_bool(r)
-        r == 0 ? false : r
-    end
-
     def initialize(opts={})
         opts = {:host => 'localhost', :port => '6379', :db => 0}.merge(opts)
         @host = opts[:host]