Create a new OptionalKeywordParameterNode
node
Create a new OptionalParameterNode
node
Create a new RationalNode
node
Create a new ShareableConstantNode
node
Create a new StatementsNode
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: [*"!".."/"]) #=> ",.,++%/''."
Is local fetching enabled?
Displays an alert statement
. Asks a question
if given.
Compile a CallAndWriteNode
node
Compile a CallOrWriteNode
node
Dispatch enter and leave events for AliasGlobalVariableNode
nodes and continue walking the tree.
Dispatch enter and leave events for CallAndWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for CallOperatorWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for CallOrWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for ConstantPathTargetNode
nodes and continue walking the tree.
Dispatch enter and leave events for GlobalVariableTargetNode
nodes and continue walking the tree.
Dispatch enter and leave events for InstanceVariableTargetNode
nodes and continue walking the tree.
Dispatch enter and leave events for LocalVariableTargetNode
nodes and continue walking the tree.