Module: ScientificName::SpeciesName7

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



3185
3186
3187
# File 'lib/biodiversity/parser/scientific_name.rb', line 3185

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

#detailsObject



3188
3189
3190
# File 'lib/biodiversity/parser/scientific_name.rb', line 3188

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

#valueObject



3182
3183
3184
# File 'lib/biodiversity/parser/scientific_name.rb', line 3182

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