method

from_name

Importance_1
v2_1_10 - Show latest stable - 0 notes - 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)
Show source
Register or log in to add new notes.