Module: ScientificNameClean::AuthorWord1

Defined in:
lib/biodiversity/parser/scientific_name_clean.rb

Instance Method Summary collapse

Instance Method Details

#detailsObject



5691
5692
5693
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5691

def details
  {:author => [value]}
end

#posObject



5686
5687
5688
5689
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5686

def pos
  #cheating because there are several words in some of them
  {interval.begin => ["author_word", interval.end]}
end

#valueObject



5682
5683
5684
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5682

def value
  text_value.strip
end