Module: ScientificNameClean::SimpleAuthorship4

Defined in:
lib/biodiversity/parser/scientific_name_clean.rb

Instance Method Summary collapse

Instance Method Details

#detailsObject



4966
4967
4968
4969
4970
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4966

def details
  details = details_with_arg(:basionymAuthorTeam)
  details[:basionymAuthorTeam].merge!(super)
  details
end

#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object



4972
4973
4974
4975
4976
4977
4978
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4972

def details_with_arg(authorTeamType = "basionymAuthorTeam")
  { :authorship => text_value,
    authorTeamType.to_sym => {
      :authorTeam => text_value,
    }
  }
end