Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
7733 7734 7735 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7733 def apply(sp) "" end |
#canonical(sp) ⇒ Object
7737 7738 7739 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7737 def canonical(sp) "" end |
#details(sp) ⇒ Object
7746 7747 7748 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7746 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
7741 7742 7743 7744 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7741 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]} end |
#value ⇒ Object
7729 7730 7731 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7729 def value text_value.strip end |