Module: ScientificName::SpeciesName5
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2790 2791 2792 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2790 def canonical a.value + " " + b.value end |
#details ⇒ Object
2793 2794 2795 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2793 def details {:genus => a.value, :species => b.value, :cross => 'inside'} end |
#value ⇒ Object
2787 2788 2789 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2787 def value a.value + " × " + b.value end |