method

new

v1_9_3_125 - Show 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.