Create a new KeywordRestParameterNode node
Create a new LocalVariableReadNode node
Create a new LocalVariableTargetNode node
Create a new MatchLastLineNode node
Create a new MatchWriteNode node
Create a new MultiWriteNode node
Create a new PinnedVariableNode node
Create a new PostExecutionNode node
Create a new RestParameterNode node
Create a new RetryNode node
Create a new StatementsNode node
Create a new TrueNode node
Generate a random alphanumeric string.
The argument n specifies the length, in characters, of the alphanumeric string to be generated. The argument chars specifies the character list which the result is consist of.
If n is not specified or is nil, 16 is assumed. It may be larger in the future.
The result may contain A-Z, a-z and 0-9, unless chars is specified.
require 'random/formatter' Random.alphanumeric #=> "2BuBuLf3WfSKyQbR" # or prng = Random.new prng.alphanumeric(10) #=> "i6K93NdqiH" Random.alphanumeric(4, chars: [*"0".."9"]) #=> "2952" # or prng = Random.new prng.alphanumeric(10, chars: [*"!".."/"]) #=> ",.,++%/''."
Writes pemmable, which must respond to to_pem to path with the given permissions. If passed cipher and passphrase those arguments will be passed to to_pem.
The host to connect to either from the RUBYGEMS_HOST environment variable or from the user’s configuration
Check if gem name version version is installed.
Zlib::GzipReader wrapper that unzips data.
Zlib::GzipWriter wrapper that zips data.
Set the real user ID of the calling process to user. Not available on all platforms.
Set the real group ID of the calling process to group. Not available on all platforms.
Sets the (user) real and/or effective user IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms.
Sets the (group) real and/or effective group IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms.