method

add_spec

ruby latest stable - Class: Gem::SourceIndex

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

add_spec(gem_spec, name = gem_spec.full_name)
public

Add a gem specification to the source index.