Response class for Proxy Authentication Required
responses (status code 407).
The client must first authenticate itself with the proxy.
References:
Response class for Unprocessable Entity
responses (status code 422).
The request was well-formed but had semantic errors.
References:
Response class for Insufficient Storage (WebDAV)
responses (status code 507).
The server is unable to store the representation needed to complete the request.
References:
Response class for Network Authentication Required
responses (status code 511).
The client needs to authenticate to gain network access.
References:
Simple option list providing mapping from short and/or long option string to OptionParser::Switch
and mapping from acceptable argument to matching pattern and converter pair. Also provides summary feature.
Raises when switch is undefined.
Raises when the given argument does not match required format.
PrettyPrint::SingleLine
is used by PrettyPrint.singleline_format
It is passed to be similar to a PrettyPrint
object itself, by responding to:
but instead, the output has no line breaks
This represents a source of Ruby
code that has been parsed. It is used in conjunction with locations to allow them to resolve line numbers and source ranges.
Specialized version of Prism::Source
for source code that includes ASCII characters only. This class is used to apply performance optimizations that cannot be applied to sources that include multibyte characters.
In the extremely rare case that a source includes multi-byte characters but is marked as binary because of a magic encoding comment and it cannot be eagerly converted to UTF-8, this class will be used as well. This is because at that point we will treat everything as single-byte characters.
InlineComment
objects are the most common. They correspond to comments in the source file like this one that start with #.
This represents a magic comment that was encountered during parsing.
Gem::DependencyList
is used for installing and uninstalling gems in the correct order to avoid conflicts.
Raised when trying to activate a gem, and that gem does not exist on the system. Instead of rescuing from this class, make sure to rescue from the superclass Gem::LoadError
to catch all types of load errors.
An error that indicates we weren’t able to fetch some data from a source
Base exception class for RubyGems. All exception raised by RubyGems are a subclass of this one.
Raised when attempting to uninstall a gem that isn’t in GEM_HOME.
Potentially raised when a specification is validated.