Module: ScientificName::SpeciesName7

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



3012
3013
3014
# File 'lib/biodiversity/parser/scientific_name.rb', line 3012

def canonical
  a.value + " " + c.value
end

#detailsObject



3015
3016
3017
# File 'lib/biodiversity/parser/scientific_name.rb', line 3015

def details
  {:genus => a.value, :subgenus => b.details, :species => c.value}
end

#valueObject



3009
3010
3011
# File 'lib/biodiversity/parser/scientific_name.rb', line 3009

def value
  a.value + " " + b.value + " " + c.value
end