Module: ScientificNameClean::AuthorWord1

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



6017
6018
6019
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6017

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

#posObject



6012
6013
6014
6015
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6012

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

#valueObject



6008
6009
6010
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6008

def value
  text_value.strip
end