method

add_spec

ruby latest stable - Class: Gem::Specification
add_spec(spec)
public

Adds spec to the known specifications, keeping the collection properly sorted.