Module: ScientificName::AuthorNameSeparator0
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#apply(a, b) ⇒ Object
1525 1526 1527 1528 1529 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1525 def apply(a,b) sep = text_value.strip sep = " et" if ["&","and","et"].include? sep a.value + sep + " " + b.value end |
#details(a, b) ⇒ Object
1531 1532 1533 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1531 def details(a,b) {:authors => {:names => a.details[:authors][:names] + b.details[:authors][:names]}} end |