module ScientificNameClean::AnnotationIdentification1
Public Instance Methods
apply(sp)
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6914 def apply(sp) " " + value + " " + sp.value end
canonical(sp)
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6918 def canonical(sp) " " + sp.canonical end
details(sp)
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6927 def details(sp) {:annotation_identification => value, :species => sp.details} end
pos(sp)
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6922 def pos(sp) interval_end = text_value[-1] == " " ? interval.end - 1 : interval.end {interval.begin => ["annotation_identification", interval.end]}.merge(sp.pos) end
value()
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6910 def value text_value.strip end