next Ruby has no internal pointer in array objects like PHP. Because of this, there is no direct equivalent to PHP's next function. {{related: array/current array/end array/prev array/reset array/each }}