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
4447 4448 4449 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4447 def details details_with_arg(:basionymAuthorTeam) end |
#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
4451 4452 4453 4454 4455 4456 4457 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4451 def details_with_arg( = "basionymAuthorTeam") { :authorship => text_value, .to_sym => { :authorTeam => a.text_value.strip }.merge(a.details).merge(b.details) } end |
#pos ⇒ Object
4443 4444 4445 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4443 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
4439 4440 4441 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4439 def value a.value + " " + b.value end |