Module: ScientificNameClean::SimpleAuthorship1
- 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
4319 4320 4321 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4319 def details details_with_arg(:basionymAuthorTeam) end |
#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
4323 4324 4325 4326 4327 4328 4329 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4323 def details_with_arg( = "basionymAuthorTeam") { :authorship => text_value, .to_sym => { :authorTeam => a.text_value.strip }.merge(a.details).merge(b.details) } end |
#pos ⇒ Object
4315 4316 4317 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4315 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
4311 4312 4313 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4311 def value a.value + " " + b.value end |