Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
fc9aeaea
Commit
fc9aeaea
authored
May 21, 2009
by
antirez
Browse files
dead code removed from RubyRedis
parent
3ba37089
Changes
1
Hide whitespace changes
Inline
Side-by-side
client-libraries/ruby_2/rubyredis.rb
View file @
fc9aeaea
...
@@ -39,10 +39,6 @@ class RedisClient
...
@@ -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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment