Invoke the command with the given list of normal arguments and additional build arguments.
Adds a section with title
and content
to the parser help view. Used for adding command arguments and default arguments.
Writes the file containing the arguments for building this gem’s extensions.
Returns every spec that matches name
and optional requirements
.
@return [Array] specs of default gems that are ‘==` to the given `spec`.
Returns true if the document is valid with all lines removed. By default it checks all blocks in present in the frontier array, but can be used for arbitrary arrays of codeblocks as well
Lines that have a ‘on_ignored_nl` type token and NOT a `BEG` type seem to be a good proxy for the ability to join multiple lines into one.
This predicate method is used to determine when those two criteria have been met.
The one known case this doesn’t handle is:
Ripper.lex <<~EOM a && b || c EOM
For some reason this introduces ‘on_ignore_newline` but with BEG type
Add the install/update options to the option parser.
Default description for the gem install and update commands.
Globs for files matching pattern
inside of directory
, returning absolute paths to the matching files.
Corrects path
(usually returned by ‘URI.parse().path` on Windows), that comes with a leading slash.
Pushes a new {DependencyState}. If the {#specification_provider} says to {SpecificationProvider#allow_missing?} that particular requirement, and there are no possibilities for that requirement, then ‘state` is not pushed, and the vertex in {#activated} is removed, and we continue resolving the remaining requirements. @param [DependencyState] state @return [void]
@param [DependencyGraph] graph the graph to find vertices from @return [Edge] The edge this action adds
@param [DependencyGraph] graph the graph to find vertices from @return [Edge] The edge this action adds
@macro action
Indicates progress roughly once every second @return [void]
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.
Returns the octet string representation of the elliptic curve point.
conversion_form specifies how the point is converted. Possible values are:
:compressed
:uncompressed
:hybrid