summaryrefslogtreecommitdiff
path: root/client-libraries
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-05-21 13:31:00 +0200
committerantirez <antirez@gmail.com>2009-05-21 13:31:00 +0200
commitfc9aeaeaf8d6d9a96b1b22ec5641c8e4290bc673 (patch)
tree44011f134af5b40d14bbe14aa15dedba111a8bef /client-libraries
parent3ba37089b57156619b07efd7a1587730217eca4d (diff)
downloadredis-fc9aeaeaf8d6d9a96b1b22ec5641c8e4290bc673.tar.gz
dead code removed from RubyRedis
Diffstat (limited to 'client-libraries')
-rw-r--r--client-libraries/ruby_2/rubyredis.rb4
1 files changed, 0 insertions, 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]