Module: ScientificName::SpeciesName5
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2978 2979 2980 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2978 def canonical a.value + " " + b.value end |
#details ⇒ Object
2981 2982 2983 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2981 def details {:genus => a.value, :species => b.value, :cross => 'inside'} end |
#value ⇒ Object
2975 2976 2977 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2975 def value a.value + " × " + b.value end |