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
4720 4721 4722 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4720 def details details_with_arg(:basionymAuthorTeam) end |
#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
4724 4725 4726 4727 4728 4729 4730 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4724 def details_with_arg( = "basionymAuthorTeam") { :authorship => text_value, .to_sym => { :authorTeam => a.text_value.strip }.merge(a.details).merge(b.details) } end |
#pos ⇒ Object
4716 4717 4718 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4716 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
4712 4713 4714 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4712 def value a.value + " " + b.value end |