module ScientificNameClean::AuthorSeparator0

Public Instance Methods

apply(a,b) click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 5026
def apply(a,b)
  sep = text_value.strip
  sep = " &" if ["&", "&","and","et"].include? sep
  a.value + sep + " " + b.value
end
details(a,b) click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 5036
def details(a,b)
  {:author => a.details[:author] + b.details[:author]}
end
pos(a,b) click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 5032
def pos(a,b)
  a.pos.merge(b.pos)
end