Results for: "strip"

Create a new EmbeddedStatementsNode node

Create a new EmbeddedVariableNode node

Create a new FlipFlopNode node

Create a new GlobalVariableReadNode node

Create a new GlobalVariableTargetNode node

Create a new IndexAndWriteNode node

Create a new IndexOperatorWriteNode node

Create a new IndexOrWriteNode node

Create a new InterpolatedMatchLastLineNode node

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 ShareableConstantNode 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: [*"!".."/"]) #=> ",.,++%/''."
No documentation available

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.

Search took: 5ms  ·  Total Results: 2417