Module: ScientificName::SpeciesName5
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3151 3152 3153 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 3151 def canonical a.value + " " + b.value end |
#details ⇒ Object
3154 3155 3156 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 3154 def details {:genus => a.value, :species => b.value, :cross => 'inside'} end |
#value ⇒ Object
3148 3149 3150 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 3148 def value a.value + " × " + b.value end |