Module: ScientificNameClean::AuthorWord1

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



5381
5382
5383
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5381

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

#posObject



5376
5377
5378
5379
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5376

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

#valueObject



5372
5373
5374
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5372

def value
  text_value.strip
end