Module: Wurk::Preflight::RedisGuard::Closed
- Defined in:
- lib/wurk/preflight/redis_guard.rb
Overview
Opens no socket at all, so no command of any kind reaches the server.
Instance Method Summary collapse
Instance Method Details
#connect(_config) ⇒ Object
30 31 32 |
# File 'lib/wurk/preflight/redis_guard.rb', line 30 def connect(_config) raise Refused, RedisGuard.('opened a Redis connection', 'runs no Redis command') end |