class Connection

Public Class Methods

new(host=nil, port=nil) click to toggle source
# File lib/redisant/connection.rb, line 2
def initialize host=nil, port=nil
              $redis = Redis.new( host: host || '127.0.0.1', port: port || 6379 )
      end