Internal interface to Random
; Generate random data n bytes.
Generates formatted random number from raw random bytes. See Random#rand
.
Displays an error statement
to the error output location. Asks a question
if given.
Displays a warning statement
to the warning output location. Asks a question
if given.
Terminates the RubyGems process with the given exit_code
Set
the effective user ID, and if possible, the saved user ID of the process to the given user. Returns the new effective user ID. Not available on all platforms.
[Process.uid, Process.euid] #=> [0, 0] Process::UID.grant_privilege(31) #=> 31 [Process.uid, Process.euid] #=> [0, 31]
Set
the effective group ID, and if possible, the saved group ID of the process to the given group. Returns the new effective group ID. Not available on all platforms.
[Process.gid, Process.egid] #=> [0, 0] Process::GID.grant_privilege(31) #=> 33 [Process.gid, Process.egid] #=> [0, 33]
A block’s parameters.
-> { it } ^^^^^^^^^
-> { _1 + _2 } ^^^^^^^^^^^^^^
def foo(*bar); end
^^^^
def foo(*); end
^
A block’s parameters.
def foo(…); bar(…); end
^^^
-> { _1 + _2 } ^^^^^^^^^^^^^^
def foo(bar = 1); end
^^^^^^^