Module: ScientificNameClean::SimpleAuthorship3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
- #details ⇒ Object
- #details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
- #pos ⇒ Object
- #value ⇒ Object
Instance Method Details
#details ⇒ Object
4359 4360 4361 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4359 def details details_with_arg(:basionymAuthorTeam) end |
#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
4363 4364 4365 4366 4367 4368 4369 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4363 def details_with_arg( = "basionymAuthorTeam") { :authorship => text_value, .to_sym => { :authorTeam => a.text_value.strip }.merge(a.details).merge(b.details) } end |
#pos ⇒ Object
4355 4356 4357 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4355 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
4351 4352 4353 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4351 def value a.value + " " + b.value end |