Results for: "remove_const"

Consumes size bytes from the buffer

Returns whether the HTTP session is to be closed.

Returns a list of encodings in Content-Encoding field as an array of strings.

The encodings are downcased for canonicalization.

No documentation available
No documentation available
No documentation available

Search through all unresolved deps and sub-dependencies and return specs that contain the file matching path.

Create a new BackReferenceReadNode node.

Extract platform given on the command line

Starts tracing object allocations.

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.

Returns a URL-encoded string derived from the given string str.

The returned string:

Encoding:

In either case, the returned string has forced encoding Encoding::US_ASCII.

Related: URI.encode_uri_component (encodes ' ' as '%20').

Returns a string decoded from the given URL-encoded string str.

The given string is first encoded as Encoding::ASCII-8BIT (using String#b), then decoded (as below), and finally force-encoded to the given encoding enc.

The returned string:

Related: URI.decode_uri_component (preserves '+').

Return the value that should be dumped for the command_line option.

Add the install/update options to the option parser.

Returns a relative path from the given base_directory to the receiver.

If self is absolute, then base_directory must be absolute too.

If self is relative, then base_directory must be relative too.

This method doesn’t access the filesystem. It assumes no symlinks.

ArgumentError is raised when it cannot find a relative path.

Note that this method does not handle situations where the case sensitivity of the filesystem in use differs from the operating system default.

Receive UDP/IP packets from the given sockets. For each packet received, the block is called.

The block receives msg and msg_src. msg is a string which is the payload of the received packet. msg_src is a Socket::UDPSource object which is used for reply.

Socket.udp_server_loop can be implemented using this method as follows.

udp_server_sockets(host, port) {|sockets|
  loop {
    readable, _, _ = IO.select(sockets)
    udp_server_recv(readable) {|msg, msg_src| ... }
  }
}

Return the native thread ID which is used by the Ruby thread.

The ID depends on the OS. (not POSIX thread ID returned by pthread_self(3))

NOTE: If the thread is not associated yet or already deassociated with a native thread, it returns nil. If the Ruby implementation uses M:N thread model, the ID may change depending on the timing.

Implement the hash pattern matching interface for Result.

def compact_child_nodes: () -> Array

def compact_child_nodes: () -> Array

def compact_child_nodes: () -> Array

def compact_child_nodes: () -> Array

def compact_child_nodes: () -> Array

def compact_child_nodes: () -> Array

Search took: 5ms  ·  Total Results: 5438