module MockRedis::ConnectionMethod
Public Instance Methods
connection()
click to toggle source
# File lib/mock_redis/connection_method.rb, line 3 def connection { :host => @base.host, :port => @base.port, :db => @base.db, :id => @base.id, :location => "#{@base.host}:#{@base.port}" } end