Class: Catalog::Nomenclature

Inherits:
Catalog
  • Object
show all
Defined in:
lib/catalog/nomenclature.rb

Instance Method Summary collapse

Instance Method Details

#namesArray of TaxonName

Returns all names observed in this catalog. For example the index.

Returns:

  • (Array of TaxonName)

    all names observed in this catalog. For example the index.



5
6
7
8
9
10
11
# File 'lib/catalog/nomenclature.rb', line 5

def names
  n = []
  entries.each do |e|
    n += e.all_names
  end   
  n.uniq
end