Change the current process’s real and effective user ID to that specified by user. Returns the new user ID. Not available on all platforms.
[Process.uid, Process.euid] #=> [0, 0] Process::UID.change_privilege(31) #=> 31 [Process.uid, Process.euid] #=> [31, 31]
Change the current process’s real and effective group ID to that specified by group. Returns the new group ID. Not available on all platforms.
[Process.gid, Process.egid] #=> [0, 0] Process::GID.change_privilege(33) #=> 33 [Process.gid, Process.egid] #=> [33, 33]
The number of bytes that are immediately available for reading.
Sets the trust settings of the context. This overrides the default value set by Store#trust=
.
See also the man page X509_VERIFY_PARAM_set_trust(3).
Sets the default trust settings used by the certificate verification with the store.
OpenSSL::X509::StoreContext#trust=
can be used to change the value for a single verification operation.
See also the man page X509_VERIFY_PARAM_set_trust(3).
True if the requested gem has already been installed.
Installing a git gem only involves building the extensions and generating the executables.
This is a null install as this specification is already installed. options
are ignored.
This is a null install as a locked specification is considered installed. options
are ignored.
Installs this specification using the Gem::Installer
options
. The install method yields a Gem::Installer
instance, which indicates the gem will be installed, or nil
, which indicates the gem is already installed.
After installation spec
is updated to point to the just-installed specification.
This is a null install as this gem was unpacked into a directory. options
are ignored.
This integer returns the maximum level of data structure nesting in the generated JSON
, max_nesting
= 0 if no maximum is checked.