Module: ScientificNameClean::SimpleAuthorship4

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



4501
4502
4503
4504
4505
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4501

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

#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object



4507
4508
4509
4510
4511
4512
4513
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4507

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