Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
6688 6689 6690 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6688 def apply(sp) "" end |
#canonical(sp) ⇒ Object
6692 6693 6694 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6692 def canonical(sp) "" end |
#details(sp) ⇒ Object
6701 6702 6703 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6701 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
6696 6697 6698 6699 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6696 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]} end |
#value ⇒ Object
6684 6685 6686 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6684 def value text_value.strip end |