Module: Redis::Connection
- Included in:
- Commands
- Defined in:
- lib/redis/connection/ruby.rb,
lib/redis/connection/hiredis.rb,
lib/redis/connection/registry.rb,
lib/redis/connection/synchrony.rb,
lib/redis/connection/command_helper.rb
Defined Under Namespace
Modules: CommandHelper, SocketMixin Classes: Hiredis, RedisClient, Ruby, SSLSocket, Synchrony, TCPSocket, UNIXSocket
Class Method Summary collapse
-
.drivers ⇒ Object
Store a list of loaded connection drivers in the Connection module.
Class Method Details
.drivers ⇒ Object
Store a list of loaded connection drivers in the Connection module. Redis::Client uses the last required driver by default, and will be aware of the loaded connection drivers if the user chooses to override the default connection driver.
9 10 11 |
# File 'lib/redis/connection/registry.rb', line 9 def self.drivers @drivers ||= [] end |