mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
dead code removed from RubyRedis
This commit is contained in:
parent
3ba37089b5
commit
fc9aeaeaf8
@ -39,10 +39,6 @@ class RedisClient
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def convert_to_bool(r)
|
|
||||||
r == 0 ? false : r
|
|
||||||
end
|
|
||||||
|
|
||||||
def initialize(opts={})
|
def initialize(opts={})
|
||||||
opts = {:host => 'localhost', :port => '6379', :db => 0}.merge(opts)
|
opts = {:host => 'localhost', :port => '6379', :db => 0}.merge(opts)
|
||||||
@host = opts[:host]
|
@host = opts[:host]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user