method

new

ruby latest stable - Class: Gem::Resolver::IndexSpecification
new(set, name, version, source, platform)
public

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.