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
4952 4953 4954 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4952 def details details_with_arg(:basionymAuthorTeam) end |
#details_with_arg(authorTeamType = "basionymAuthorTeam") ⇒ Object
4956 4957 4958 4959 4960 4961 4962 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4956 def details_with_arg( = "basionymAuthorTeam") { :authorship => text_value, .to_sym => { :authorTeam => a.text_value.strip }.merge(a.details).merge(b.details) } end |
#pos ⇒ Object
4948 4949 4950 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4948 def pos a.pos.merge(b.pos) end |
#value ⇒ Object
4944 4945 4946 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4944 def value a.value + " " + b.value end |