group()
Class Public methods
Provides a convenient Ruby iterator which executes a block for each entry in the /etc/group file.
The code block is passed an Group struct.
See ::getgrent above for details.
Example:
require 'etc' Etc.group {|g| puts g.name + ": " + g.mem.join(', ') }
Please login to continue.