Module: ScientificNameClean::AnnotationIdentification0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(sp) ⇒ Object
7289 7290 7291 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7289 def apply(sp) "" end |
#canonical(sp) ⇒ Object
7293 7294 7295 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7293 def canonical(sp) "" end |
#details(sp) ⇒ Object
7302 7303 7304 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7302 def details(sp) {:annotation_identification => value, :ignored => sp.details} end |
#pos(sp) ⇒ Object
7297 7298 7299 7300 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7297 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]} end |
#value ⇒ Object
7285 7286 7287 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7285 def value text_value.strip end |