Adds a section with title
and content
to the parser help view. Used for adding command arguments and default arguments.
Remove everything in the DependencyList
that matches but doesn’t satisfy items in dependencies
(a hash of gem names to arrays of dependencies).
Search through all unresolved deps and sub-dependencies and return specs that contain the file matching path
.
Creates the initial state for the resolution, based upon the {#requested} dependencies @return [DependencyState] the initial state for the resolution
This integer returns the current initial length of the buffer.
This sets the initial length of the buffer to length
, if length
> 0, otherwise its value isn’t changed.
Used to detect if the gem is bundled in older version of Ruby, but not detectable as default gem (see BasicSpecification#default_gem?).
Reset nil attributes to their default values to make the spec valid
Unwinds the states stack because a conflict has been encountered @return [void]
@return [Integer] The index to which the resolution should unwind in the
case of conflict.