module Miniss::Etc


Rudimentary implementation of Ruby's Etc module.

The Etc module provides access to information typically stored in files in the /etc directory on Unix systems.

Only implements the methods required for miniss.

Defined in:


Class Method Summary

Class Method Detail

def self.getpwuid(uid) : String #

Returns the username with the given integer uid.

Returns an empty string if the user is not found in /etc/passwd.

NOTE Ruby's getpwuid().


Miniss::Etc.getpwuid(0) # => "root"