method

setgrent

ruby latest stable - Class: Etc
setgrent()
public

Resets the process of reading the /etc/group file, so that the next call to ::getgrent will return the first entry again.