getgrent

getgrent()
Class Public methods

Returns an entry from the /etc/group file.

The first time it is called it opens the file and returns the first entry; each successive call returns the next entry, or nil if the end of the file has been reached.

To close the file when processing is complete, call ::endgrent.

Each entry is returned as a Group struct

doc_ruby_on_rails
2015-04-05 12:06:23
Comments
Leave a Comment

Please login to continue.