Results for: "remove_const"

Description

Returns the full path for a WS URI, as required by Net::HTTP::Get.

If the URI contains a query, the full path is URI#path + ‘?’ + URI#query. Otherwise, the path is simply URI#path.

Example:

uri = URI::WS.build(path: '/foo/bar', query: 'test=true')
uri.request_uri #  => "/foo/bar?test=true"

Similar to read, but raises EOFError at end of string unless the +exception: false+ option is passed in.

Reads at most maxlen bytes in the non-blocking manner.

When no data can be read without blocking it raises OpenSSL::SSL::SSLError extended by IO::WaitReadable or IO::WaitWritable.

IO::WaitReadable means SSL needs to read internally so read_nonblock should be called again when the underlying IO is readable.

IO::WaitWritable means SSL needs to write internally so read_nonblock should be called again after the underlying IO is writable.

OpenSSL::Buffering#read_nonblock needs two rescue clause as follows:

# emulates blocking read (readpartial).
begin
  result = ssl.read_nonblock(maxlen)
rescue IO::WaitReadable
  IO.select([io])
  retry
rescue IO::WaitWritable
  IO.select(nil, [io])
  retry
end

Note that one reason that read_nonblock writes to the underlying IO is when the peer requests a new TLS/SSL handshake. See openssl the FAQ for more details. www.openssl.org/support/faq.html

By specifying a keyword argument exception to false, you can indicate that read_nonblock should not raise an IO::Wait*able exception, but return the symbol :wait_writable or :wait_readable instead. At EOF, it will return nil instead of raising EOFError.

returns a Time that represents the Last-Modified field.

A convenience method which is same as follows:

text ','
breakable
No documentation available
No documentation available

Creates a new digest instance using the specified algorithm. The default is SHA256.

No documentation available

Invokes system, but silences all output.

Discard statistics collected for --yjit-stats.

No documentation available

for settings’ keys

Compile a EmbeddedStatementsNode node

Compile a RegularExpressionNode node

Dispatch enter and leave events for EmbeddedStatementsNode nodes and continue walking the tree.

Dispatch enter and leave events for RegularExpressionNode nodes and continue walking the tree.

Copy a EmbeddedStatementsNode node

Copy a RegularExpressionNode node

No documentation available
No documentation available
No documentation available
No documentation available

Enumerates the outdated local gems yielding the local specification and the latest remote version.

This method may take some time to return as it must check each local gem against the server’s index.

No documentation available
Search took: 3ms  ·  Total Results: 4862