Skip to content
instance method

Gem::SpecificationRecord#add_spec

add_spec(spec)

Adds spec to the record, keeping the collection properly sorted.

See also .new #all .from_path #all= also in 4.1 · 3.4