Module: Redis2::Connection
- Defined in:
- lib/redis2/connection/ruby.rb,
lib/redis2/connection/hiredis.rb,
lib/redis2/connection/registry.rb,
lib/redis2/connection/synchrony.rb,
lib/redis2/connection/command_helper.rb
Defined Under Namespace
Modules: CommandHelper, SocketMixin Classes: Hiredis, Redis2Client, Ruby, 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. Redis2::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.
8 9 10 |
# File 'lib/redis2/connection/registry.rb', line 8 def self.drivers @drivers ||= [] end |