Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::NameTuple.new
new(name, version, platform=Gem::Platform::RUBY)
lib/rubygems/name_tuple.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/name_tuple.rb, line 9
def initialize(name, version, platform=Gem::Platform::RUBY)
@name = name
@version = version
platform &&= platform.to_s
platform = Gem::Platform::RUBY if !platform || platform.empty?
@platform = platform
end
No documentation available