Module: ScientificNameClean::AuthorWord1

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



3898
3899
3900
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3898

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

#posObject



3893
3894
3895
3896
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3893

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

#valueObject



3889
3890
3891
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3889

def value
  text_value.strip
end