Method: Redis#time
- Defined in:
- lib/redis.rb
#time ⇒ Array<Fixnum>
Return the server time.
284 285 286 287 288 289 290 |
# File 'lib/redis.rb', line 284 def time synchronize do |client| client.call([:time]) do |reply| reply.map(&:to_i) if reply end end end |