def write_list(name, val)
      raise "RedisAssist: tried to store a #{val.class.name} as Array" unless val.is_a?(Array)
      lists[name] = val
    end
def write_list(name, val)
      raise "RedisAssist: tried to store a #{val.class.name} as Array" unless val.is_a?(Array)
      lists[name] = val
    end
Transform and write a list value