Module: ScientificName::SubspeciesNames1
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
1987 1988 1989 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1987 def canonical a.canonical + b.canonical end |
#details ⇒ Object
1991 1992 1993 1994 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1991 def details c = a.details[:subspecies] + b.details_subspecies a.details.merge({:subspecies => c, :is_valid => false}) end |
#value ⇒ Object
1983 1984 1985 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1983 def value a.value + b.value end |