Module: Redlics::Connection
Overview
Connection namespace
Instance Method Summary collapse
-
#create(options = {}) ⇒ ConnectionPool
Create a new connection pool for Redis connection.
Instance Method Details
#create(options = {}) ⇒ ConnectionPool
Create a new connection pool for Redis connection.
16 17 18 19 20 |
# File 'lib/redlics/connection.rb', line 16 def create( = {}) ConnectionPool.new(()) do build_connection() end end |