Returns URL-escaped string following RFC 3986.
Sets the value of field 'Content-Type'
; returns the new value; see Content-Type request header:
req = Net::HTTP::Get.new(uri) req.set_content_type('application/json') # => ["application/json"]
Net::HTTPHeader#content_type=
is an alias for Net::HTTPHeader#set_content_type
.
Yields to a block and preserves the previous set of objects being printed.
Check whether the object_id id
is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.
Adds the object_id id
to the set of objects being pretty printed, so as to not repeat objects.
Removes an object from the set of objects being pretty printed.
A convenience method, like object_group
, but also reformats the Object’s object_id.
Run UDP/IP server loop on the given sockets.
The return value of Socket.udp_server_sockets
is appropriate for the argument.
It calls the block for each message received.
Returns true, if circular data structures should be checked, otherwise returns false.
Initialize a new compiler with the given option overrides, used to visit a subtree with the given options.
Parse a complex from the string representation.
Create a new compiler with the given options.
Activate TLS_FALLBACK_SCSV for this context. See RFC 7507.
Configures store to look up CA certificates from the system default certificate store as needed basis. The location of the store can usually be determined by:
OpenSSL::X509::DEFAULT_CERT_FILE
OpenSSL::X509::DEFAULT_CERT_DIR
See also the man page X509_STORE_set_default_paths(3).
Permit block/lambda nodes to mark newlines within themselves.
Mark if/unless nodes as newlines.
Permit statements lists to mark newlines within themselves.
Visit a pattern within a pattern match. This is used to bypass the parenthesis node that can be used to wrap patterns.
a and b ^^^^^^^