Results for: "String# "

Sets the last win32 socket Error of the current executing Thread to error

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.

Raises NoMemoryError when allocating an instance of the given classes.

No longer raises NoMemoryError when allocating an instance of the given classes.

The index to insert activated gem paths into the $LOAD_PATH. The activated gem’s paths are inserted before site lib directory by default.

This integer returns the maximum level of data structure nesting in the generated JSON, max_nesting = 0 if no maximum is checked.

This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.

Extracts ifindex from IPV6_PKTINFO ancillary data.

IPV6_PKTINFO is defined by RFC 3542.

addr = Addrinfo.ip("::1")
ifindex = 0
ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex)
p ancdata.ipv6_pktinfo_ifindex #=> 0

Creates a regular expression to match IPv4 addresses

Sets the encoding to be used for the response body; returns the encoding.

The given value may be:

See Encoding.

Examples:

http = Net::HTTP.new(hostname)
http.response_body_encoding = Encoding::US_ASCII # => #<Encoding:US-ASCII>
http.response_body_encoding = 'US-ASCII'         # => "US-ASCII"
http.response_body_encoding = 'ASCII'            # => "ASCII"
No documentation available
No documentation available

Compile a MissingNode node

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

Copy a MissingNode node

def forced_utf8_encoding?: () -> bool

def forced_utf8_encoding?: () -> bool

def forced_utf8_encoding?: () -> bool

def forced_utf8_encoding?: () -> bool

def forced_utf8_encoding?: () -> bool

def forced_utf8_encoding?: () -> bool

def forced_utf8_encoding?: () -> bool

The content of the line where this location starts before this location.

No documentation available
Search took: 5ms  ·  Total Results: 3654