Walk the tree and mark nodes that are on a new line, loosely emulating the behavior of CRuby’s ‘:line` tracepoint event.
Returns a string representation of the syntax tree with the errors displayed inline.
Register the Symbol
command
as a gem command.
Unregister the Symbol
command
as a gem command.
Return a sorted list of all command names as strings.
Does this dependency match spec
?
NOTE: This is not a convenience method. Unlike match?
this method returns true when spec
is a prerelease version even if this dependency is not a prerelease dependency.
Defaults to use Ruby’s program prefix and suffix.
Indicate if this NameTuple
matches the current platform.
This is ported over from the yaml_tree in 1.9.3
Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
A recommended version for use with a ~> Requirement.