module RedisClient::Decorator

def create(commands_mixin)

def create(commands_mixin)
  client_decorator = Class.new(Client)
  client_decorator.include(commands_mixin)
  pipeline_decorator = Class.new(Pipeline)
  pipeline_decorator.include(commands_mixin)
  client_decorator.const_set(:Pipeline, pipeline_decorator)
  client_decorator
end