Module: ScientificName::SpeciesName9

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



3211
3212
3213
# File 'lib/biodiversity/parser/scientific_name.rb', line 3211

def canonical
  value
end

#detailsObject



3215
3216
3217
# File 'lib/biodiversity/parser/scientific_name.rb', line 3215

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

#valueObject



3208
3209
3210
# File 'lib/biodiversity/parser/scientific_name.rb', line 3208

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