Module: ScientificNameClean::AuthorWord1

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



5394
5395
5396
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5394

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

#posObject



5389
5390
5391
5392
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5389

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

#valueObject



5385
5386
5387
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5385

def value
  text_value.strip
end