Method: Redis#ping

Defined in:
lib/redis.rb

#pingString

Ping the server.

Returns:

  • (String)

    PONG



82
83
84
85
86
# File 'lib/redis.rb', line 82

def ping
  synchronize do |client|
    client.call([:ping])
  end
end