method
new
ruby latest stable - Class:
Gem::SourceIndex
new(specs_or_dirs = [])public
Constructs a source index instance from the provided specifications, which is a Hash of gem full names and Gem::Specifications.
new(specs_or_dirs = [])Constructs a source index instance from the provided specifications, which is a Hash of gem full names and Gem::Specifications.