Class: Mnemosyne::Probes::Redis::Command::Probe
- Inherits:
-
Mnemosyne::Probe
- Object
- Mnemosyne::Probe
- Mnemosyne::Probes::Redis::Command::Probe
- Defined in:
- lib/mnemosyne/probes/redis/command.rb
Defined Under Namespace
Modules: ClientPatch
Instance Method Summary collapse
Methods inherited from Mnemosyne::Probe
#install, subscribe, subscriptions
Methods included from Logging
Instance Method Details
#setup ⇒ Object
8 9 10 11 12 13 |
# File 'lib/mnemosyne/probes/redis/command.rb', line 8 def setup # Redis v5+ used redis-client, which has it's own probe return if Gem::Version.new(::Redis::VERSION) >= Gem::Version.new('5') ::Redis::Client.prepend ClientPatch end |