Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
6652 6653 6654 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6652 def apply(sp) "" end |
#canonical(sp) ⇒ Object
6656 6657 6658 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6656 def canonical(sp) "" end |
#details(sp) ⇒ Object
6665 6666 6667 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6665 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
6660 6661 6662 6663 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6660 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]} end |
#value ⇒ Object
6648 6649 6650 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6648 def value text_value.strip end |