End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::NameTuple#full_name
full_name
lib/rubygems/name_tuple.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/name_tuple.rb, line 49
def full_name
case @platform
when nil, 'ruby', ''
"#{@name}-#{@version}"
else
"#{@name}-#{@version}-#{@platform}"
end.dup.tap(&Gem::UNTAINT)
end
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.