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
4746 4747 4748 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4746 def details details_with_arg(:basionymAuthorTeam) end |
#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
4750 4751 4752 4753 4754 4755 4756 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4750 def details_with_arg( = "basionymAuthorTeam") { :authorship => text_value, .to_sym => { :authorTeam => a.text_value.strip }.merge(a.details).merge(b.details) } end |
#pos ⇒ Object
4742 4743 4744 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4742 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
4738 4739 4740 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4738 def value a.value + " " + b.value end |