instance method
Gem::BasicSpecification#full_name
full_name
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/basic_specification.rb, line 147
def full_name
if platform == Gem::Platform::RUBY || platform.nil?
"#{name}-#{version}"
else
"#{name}-#{version}-#{platform}"
end
end
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.
See also
#full_gem_path
#full_name_with_location
#extensions_dir
#full_require_paths
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0