method

add_spec

add_spec(spec)
public

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