method

from_name

v2_6_3 - Show latest stable - Class: Process::GID
from_name(p1)
public

Get the group ID by the name. If the group is not found, ArgumentError will be raised.

Process::GID.from_name("wheel") #=> 0
Process::GID.from_name("nosuchgroup") #=> can't find group for nosuchgroup (ArgumentError)