class RedisWebManager::Connection

Public Instance Methods

db() click to toggle source
# File lib/redis_web_manager/connection.rb, line 13
def db
  @db ||= connection[:db]
end
host() click to toggle source
# File lib/redis_web_manager/connection.rb, line 5
def host
  @host ||= connection[:host]
end
id() click to toggle source
# File lib/redis_web_manager/connection.rb, line 17
def id
  @id ||= connection[:id]
end
location() click to toggle source
# File lib/redis_web_manager/connection.rb, line 21
def location
  @location ||= connection[:location]
end
port() click to toggle source
# File lib/redis_web_manager/connection.rb, line 9
def port
  @port ||= connection[:port]
end

Private Instance Methods

connection() click to toggle source
# File lib/redis_web_manager/connection.rb, line 27
def connection
  @connection ||= redis.connection
end