method

endpwent

ruby latest stable - Class: Etc
endpwent()
public

Ends the process of scanning through the /etc/passwd file begun with ::getpwent, and closes the file.