Module: ScientificName::AuthorNameSeparator0
- Defined in:
- lib/biodiversity/parser/scientific_name.rb
Instance Method Summary collapse
Instance Method Details
#apply(a, b) ⇒ Object
1379 1380 1381 1382 1383 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1379 def apply(a,b) sep = text_value.strip sep = " " + sep if sep == "&" a.value + sep + " " + b.value end |
#details(a, b) ⇒ Object
1385 1386 1387 |
# File 'lib/biodiversity/parser/scientific_name.rb', line 1385 def details(a,b) {:authors => {:names => a.details[:authors][:names] + b.details[:authors][:names]}} end |