Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
7676 7677 7678 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7676 def apply(sp) "" end |
#canonical(sp) ⇒ Object
7680 7681 7682 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7680 def canonical(sp) "" end |
#details(sp) ⇒ Object
7689 7690 7691 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7689 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
7684 7685 7686 7687 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7684 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]} end |
#value ⇒ Object
7672 7673 7674 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7672 def value text_value.strip end |