Module: ScientificName::SpeciesName5

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



3151
3152
3153
# File 'lib/biodiversity/parser/scientific_name.rb', line 3151

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

#detailsObject



3154
3155
3156
# File 'lib/biodiversity/parser/scientific_name.rb', line 3154

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

#valueObject



3148
3149
3150
# File 'lib/biodiversity/parser/scientific_name.rb', line 3148

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