Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
06374c4b
Commit
06374c4b
authored
May 21, 2009
by
antirez
Browse files
minor indentation fix
parent
0dd8fce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
client-libraries/ruby_2/rubyredis.rb
View file @
06374c4b
...
@@ -8,15 +8,15 @@
...
@@ -8,15 +8,15 @@
require
'socket'
require
'socket'
begin
begin
if
(
RUBY_VERSION
>=
'1.9'
)
if
(
RUBY_VERSION
>=
'1.9'
)
require
'timeout'
require
'timeout'
RedisTimer
=
Timeout
RedisTimer
=
Timeout
else
else
require
'system_timer'
require
'system_timer'
RedisTimer
=
SystemTimer
RedisTimer
=
SystemTimer
end
end
rescue
LoadError
rescue
LoadError
RedisTimer
=
nil
RedisTimer
=
nil
end
end
class
RedisClient
class
RedisClient
...
...
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