Module: ScientificName::NamePart5

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



1843
1844
1845
# File 'lib/biodiversity/parser/scientific_name.rb', line 1843

def canonical
  value
end

#detailsObject



1847
1848
1849
# File 'lib/biodiversity/parser/scientific_name.rb', line 1847

def details
  a.details.merge({:subspecies => {:type => "n/a", :value =>b.value}})
end

#valueObject



1839
1840
1841
# File 'lib/biodiversity/parser/scientific_name.rb', line 1839

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