method

rewind

ruby latest stable - Class: Enumerator
rewind()
public

Rewinds the enumeration sequence to the beginning.

If the enclosed object responds to a “rewind” method, it is called.