End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
module · Ruby 3.2
Process::UID
9 class methods
The Process::UID module contains a collection of module functions which can be used to portably get, set, and switch the current process’s real, effective, and saved user IDs.