Dispatch enter and leave events for BackReferenceReadNode
nodes and continue walking the tree.
Dispatch enter and leave events for ConstantOperatorWriteNode
nodes and continue walking the tree.
Dispatch enter and leave events for KeywordRestParameterNode
nodes and continue walking the tree.
Dispatch enter and leave events for RequiredKeywordParameterNode
nodes and continue walking the tree.
Copy a RequiredKeywordParameterNode
node
Returns the last win32 socket Error
of the current executing Thread
or nil if none
Sets the last win32 socket Error
of the current executing Thread
to error
Stop tracing object allocations.
Note that if ::trace_object_allocations_start
is called n-times, then tracing will stop after calling ::trace_object_allocations_stop
n-times.
Constant time memory comparison for fixed length strings, such as results of HMAC
calculations.
Returns true
if the strings are identical, false
if they are of the same length but not identical. If the length is different, ArgumentError
is raised.
Returns integer 443
, the default port to use for HTTPS requests:
Net::HTTP.https_default_port # => 443
Returns whether the request may have a body:
Net::HTTP::Post.new(uri).request_body_permitted? # => true Net::HTTP::Get.new(uri).request_body_permitted? # => false