Module: ScientificNameClean::InfraspeciesMult2

Defined in:
lib/biodiversity/parser/scientific_name_clean.rb

Instance Method Summary collapse

Instance Method Details

#detailsObject



1618
1619
1620
1621
1622
1623
1624
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 1618

def details
  if super[:annotation_identification]
    {:infraspecies => [{:annotation_identification => super[:annotation_identification], :ignored => super[:ignored]}]}
  else
    {:infraspecies => [super[:infraspecies]]}
  end
end