Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
6891 6892 6893 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6891 def apply(sp) "" end |
#canonical(sp) ⇒ Object
6895 6896 6897 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6895 def canonical(sp) "" end |
#details(sp) ⇒ Object
6904 6905 6906 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6904 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
6899 6900 6901 6902 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6899 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]} end |
#value ⇒ Object
6887 6888 6889 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6887 def value text_value.strip end |