method

each

ruby latest stable - Class: Gem::Specification
each()
public

Enumerate every known spec. See ::dirs= and ::add_spec to set the list of specs.