Class: Redis::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/redis/patches/client.rb

Overview

Instance Method Summary collapse

Instance Method Details

#disconnectObject



7
8
9
10
11
12
13
# File 'lib/redis/patches/client.rb', line 7

def disconnect
  if connected?
    result = connection.disconnect
    @connector.on_disconnect(self)
    result
  end
end