module Rediska

Codes are mostly referenced from MockRedis' implementation.

Constants

Redis
TRANSACTION_COMMANDS
VERSION

Attributes

configuration[RW]

Public Instance Methods

configure() { |configuration| ... } click to toggle source
# File lib/rediska.rb, line 11
def configure
  Redis::Connection.drivers << Rediska::Connection

  self.configuration ||= Configuration.new
  yield configuration if block_given?
end