Verifies entry
in a .gem file.
Call hooks on installed gems
Return the list of all array-oriented instance variables.
Return the list of all instance variables.
Is name
a required attribute?
Required specification attributes
Is this specification missing its extensions? When this returns true you probably want to build_extensions
True if this gem has the same attributes as other
.
Uninstalls gem spec
Display a warning on stderr. Will ask question
if it is not nil.
Terminate the application with exit code status
, running any exit handlers that might have been defined.
Used for stable sort via indentation level
Ruby’s sort is not “stable” meaning that when multiple elements have the same value, they are not guaranteed to return in the same order they were put in.
So when multiple code lines have the same indentation level, they’re sorted by their index value which is unique and consistent.
This is mostly needed for consistency of the test suite
Opening characters like ‘{` need closing characters # like `}`.
When a mis-match count is detected, suggest the missing member.
For example if there are 3 ‘}` and only two `{` return `“{”`
Pipes come in pairs. If there’s an odd number of pipes then we are missing one
Discards any changes that have not been committed
do nothing
Checks the user
and password
.
If password
is not provided, then user
is split, using URI::Generic.split_userinfo
, to pull user
and +password.
See also URI::Generic.check_user
, URI::Generic.check_password
.
Protected setter for the user
component, and password
if available (with validation).
See also URI::Generic.userinfo=
.
Returns the userinfo ui
as [user, password]
if properly formatted as ‘user:password’.