lib/liszt/redis_list.rb
# Clear all items from the list.
Clear all items from the list.
Clear all items from the list .
def clear
      redis.multi do
        redis.del(@key)
        redis.rpush(@key, '*')
      end
    end
def clear redis . multi do redis . del ( @key ) redis . rpush ( @key , '*' ) end end
Clear all items from the list.
Clear all items from the list .