Module: ScientificName::SpeciesName5

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



2978
2979
2980
# File 'lib/biodiversity/parser/scientific_name.rb', line 2978

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

#detailsObject



2981
2982
2983
# File 'lib/biodiversity/parser/scientific_name.rb', line 2981

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

#valueObject



2975
2976
2977
# File 'lib/biodiversity/parser/scientific_name.rb', line 2975

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