Create a new AliasMethodNode
node
Create a new BlockLocalVariableNode
node
Create a new ClassVariableAndWriteNode
node
Create a new ClassVariableOperatorWriteNode
node
Create a new ClassVariableOrWriteNode
node
Create a new ClassVariableReadNode
node
Create a new ClassVariableTargetNode
node
Create a new ClassVariableWriteNode
node
Create a new EmbeddedVariableNode
node
Create a new GlobalVariableAndWriteNode
node
Create a new GlobalVariableOperatorWriteNode
node
Create a new GlobalVariableOrWriteNode
node
Create a new GlobalVariableReadNode
node
Create a new GlobalVariableTargetNode
node
Create a new GlobalVariableWriteNode
node
Create a new LocalVariableAndWriteNode
node
Create a new LocalVariableOperatorWriteNode
node
Create a new LocalVariableOrWriteNode
node
Create a new LocalVariableReadNode
node
Create a new LocalVariableTargetNode
node
Create a new LocalVariableWriteNode
node
Create a new PinnedVariableNode
node
Create a new SourceFileNode
node
Create a new WhileNode
node
Initiates the SSL/TLS handshake as a client in non-blocking manner.
# emulates blocking connect begin ssl.connect_nonblock rescue IO::WaitReadable IO.select([s2]) retry rescue IO::WaitWritable IO.select(nil, [s2]) retry end
By specifying a keyword argument exception to false
, you can indicate that connect_nonblock
should not raise an IO::WaitReadable
or IO::WaitWritable
exception, but return the symbol :wait_readable
or :wait_writable
instead.