Module: ScientificName::SpeciesName5

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



2790
2791
2792
# File 'lib/biodiversity/parser/scientific_name.rb', line 2790

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

#detailsObject



2793
2794
2795
# File 'lib/biodiversity/parser/scientific_name.rb', line 2793

def details
  {:genus => a.value, :species => b.value, :cross => 'inside'}
end

#valueObject



2787
2788
2789
# File 'lib/biodiversity/parser/scientific_name.rb', line 2787

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