diff options
author | antirez <antirez@gmail.com> | 2009-05-21 13:31:00 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2009-05-21 13:31:00 +0200 |
commit | fc9aeaeaf8d6d9a96b1b22ec5641c8e4290bc673 (patch) | |
tree | 44011f134af5b40d14bbe14aa15dedba111a8bef /client-libraries | |
parent | 3ba37089b57156619b07efd7a1587730217eca4d (diff) | |
download | redis-fc9aeaeaf8d6d9a96b1b22ec5641c8e4290bc673.tar.gz |
dead code removed from RubyRedis
Diffstat (limited to 'client-libraries')
-rw-r--r-- | client-libraries/ruby_2/rubyredis.rb | 4 |
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] |