Module: ScientificName::SpeciesName1
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2918 2919 2920 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2918 def canonical a.value + " " + b.value end |
#details ⇒ Object
2921 2922 2923 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2921 def details {:genus => a.value, :species => b.value, :cross => 'before'} end |
#value ⇒ Object
2915 2916 2917 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2915 def value "× " + a.value + " " + b.value end |