Is name
a required attribute?
Required specification attributes
Keeps track of all currently known specifications
DOC: This method needs documented or nodoc’d
Singular accessor for require_paths
Singular accessor for require_paths
Checks if this specification meets the requirement of dependency
.
Does a sanity check on the specification.
Raises InvalidSpecificationException if the spec does not pass the checks.
Only runs checks that are considered necessary for the specification to be functional.
Returns a Gem::StubSpecification
for every specification in the record named name
only returns stubs that match Gem.platforms
Return a download reporter object chosen from the current verbosity
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"
Invoked by any method that performs a non-reverse DNS lookup. The most notable method is Addrinfo.getaddrinfo
, but there are many other.
The method is expected to return an array of strings corresponding to ip addresses the hostname
is resolved to, or nil
if it can not be resolved.
Fairly exhaustive list of all possible call-sites:
Addrinfo.marshal_load
Returns an exception object for the last conversion. Returns nil if the last conversion did not produce an error.
“error” means that Encoding::InvalidByteSequenceError
and Encoding::UndefinedConversionError
for Encoding::Converter#convert
and :invalid_byte_sequence, :incomplete_input and :undefined_conversion for Encoding::Converter#primitive_convert
.
ec = Encoding::Converter.new("utf-8", "iso-8859-1") p ec.primitive_convert(src="\xf1abcd", dst="") #=> :invalid_byte_sequence p ec.last_error #=> #<Encoding::InvalidByteSequenceError: "\xF1" followed by "a" on UTF-8> p ec.primitive_convert(src, dst, nil, 1) #=> :destination_buffer_full p ec.last_error #=> nil
Creates a new digest instance using the specified algorithm
. The default is SHA256.
Discard statistics collected for --yjit-stats
.
Format and print out counters as a String
. This returns a non-empty content only when --yjit-stats
is enabled.
Is this tar entry a directory?