Returns the else clause of the case node. This method is deprecated in favor of else_clause.
Returns the subsequent if/elsif/else clause of the if node. This method is deprecated in favor of subsequent.
Returns the subsequent rescue clause of the rescue node. This method is deprecated in favor of subsequent.
Returns the else clause of the unless node. This method is deprecated in favor of else_clause.
Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.
For example:
def usage "#{program_name} FILE [FILE ...]" end def arguments "FILE name of file to find" end
Writes out this config file, replacing its source.
Changes in rubygems to lazily loading ‘rubygems/command` (in order to lazily load `optparse` as a side effect) affect bundler’s custom installer which uses ‘Gem::Command` without requiring it (up until bundler 2.2.29). This hook is to compensate for that missing require.
TODO: Remove when rubygems no longer supports running on bundler older than 2.2.29.
Unpacks the gem into the given directory.
A list of file names contained in this gem
Initialization tasks without the “yield self” or define operations.
Add deps
Gem::Dependency
objects to the set.
Concatenates the new
requirements onto this requirement.
true if this gem has no requirements.
Removes all sources from the SourceList
.
Return any possible conflicts against the currently loaded specs.
A short summary of this gem’s description.
Display an informational alert. Will ask question
if it is not nil.
Used for testing, extremely not performant
Components of the URI
in the order.
Components of the URI
in the order.