Sha256: 8a553175c513da960ff6377c3c39e7df1b239133d7794c404776c361e5fdbed3
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true require "redis" # See https://github.com/redis/redis-rb/pull/908 class Redis::Client def disconnect if connected? result = connection.disconnect @connector.on_disconnect(self) result end end end class Redis::Client::Connector def on_disconnect(client) end end
Version data entries
5 entries across 5 versions & 1 rubygems