I'd prefer this conditional be in the block form; think it makes it easier to follow. Generally I find this loop a bit tricky to follow anyway.