Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
6640 6641 6642 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6640 def apply(sp) '' end |
#canonical(sp) ⇒ Object
6644 6645 6646 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6644 def canonical(sp) '' end |
#details(sp) ⇒ Object
6653 6654 6655 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6653 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
6648 6649 6650 6651 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6648 def pos(sp) interval_end = text_value[-1] == ' ' ? interval.end - 1 : interval.end {interval.begin => ['annotation_identification', interval.end]} end |
#value ⇒ Object
6636 6637 6638 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6636 def value text_value.strip end |