Module: ScientificName::SubspeciesNames1
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2175 2176 2177 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2175 def canonical a.canonical + b.canonical end |
#details ⇒ Object
2179 2180 2181 2182 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2179 def details c = a.details[:subspecies] + b.details_subspecies a.details.merge({:subspecies => c, :is_valid => false}) end |
#value ⇒ Object
2171 2172 2173 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 2171 def value a.value + b.value end |