class method
Gem::Resolver::IndexSpecification.new
new(set, name, version, source, platform)
lib/rubygems/resolver/index_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/resolver/index_specification.rb, line 18
def initialize(set, name, version, source, platform)
super()
@set = set
@name = name
@version = version
@source = source
@platform = Gem::Platform.new(platform.to_s)
@original_platform = platform.to_s
@spec = nil
end
An IndexSpecification is created from the index format described in ‘gem help generate_index`.
The set contains other specifications for this (URL) source.
The name, version and platform are the name, version and platform of the gem.