module ScientificNameClean::SimpleAuthorship3

Public Instance Methods

details() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 4487
def details
  details_with_arg(:basionymAuthorTeam)
end
details_with_arg(authorTeamType = "basionymAuthorTeam") click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 4491
def details_with_arg(authorTeamType = "basionymAuthorTeam")
  { :authorship => text_value,
    authorTeamType.to_sym => {
      :authorTeam => a.text_value.strip
    }.merge(a.details).merge(b.details)
  }
end
pos() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 4483
def pos
  a.pos.merge(b.pos)
end
value() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 4479
def value
  a.value + " " + b.value
end