Module: ScientificName::CompositeScientificName1
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
39 40 41 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 39 def canonical a.canonical + " × " + b.canonical end |
#details ⇒ Object
42 43 44 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 42 def details {:hybrid => {:scientific_name1 => a.details, :scientific_name2 => b.details}} end |
#value ⇒ Object
36 37 38 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 36 def value a.value + " × " + b.value end |