From fc9aeaeaf8d6d9a96b1b22ec5641c8e4290bc673 Mon Sep 17 00:00:00 2001 From: antirez <antirez@gmail.com> Date: Thu, 21 May 2009 13:31:00 +0200 Subject: [PATCH] dead code removed from RubyRedis --- client-libraries/ruby_2/rubyredis.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client-libraries/ruby_2/rubyredis.rb b/client-libraries/ruby_2/rubyredis.rb index e4921a23b..620bab179 100644 --- a/client-libraries/ruby_2/rubyredis.rb +++ b/client-libraries/ruby_2/rubyredis.rb @@ -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]