Take a chunk of a String
cut by width with escape sequences.
Returns the full name (name-version) of this Gem. Platform information is included (name-version-platform) if it is specified and not the default Ruby platform.
Full path of the target library file. If the file is not in this gem, return nil.
Location of RubyGems.org credentials
Indicated, based on the requested domain, if local gems should be considered.
Returns the full name (name-version) of this Gem. Platform information is included if it is not the default Ruby platform. This mimics the behavior of Gem::Specification#full_name
.
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.
remove trailing zeros segments before first letter or at the end of the version
The default value for specification attribute name
Duplicates Array
and Gem::Requirement
attributes from other_spec
so state isn’t shared.