Method: Switches::Backends::Redis#initialize
- Defined in:
- lib/switches/backends/redis.rb
#initialize(uri, instance) ⇒ Redis
Returns a new instance of Redis.
9 10 11 12 |
# File 'lib/switches/backends/redis.rb', line 9 def initialize(uri, instance) @uri = uri @instance = instance end |