Module: ScientificNameClean::ScientificName51
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
117 118 119 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 117 def canonical a.canonical + " × " + b.canonical end |
#details ⇒ Object
129 130 131 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 129 def details [a.details, b.details.merge({:genus => a.details[:genus]})] end |
#hybrid ⇒ Object
125 126 127 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 125 def hybrid true end |
#pos ⇒ Object
121 122 123 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 121 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
113 114 115 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 113 def value a.value + " × " + b.value end |