Module: ScientificNameClean::AuthorWord1

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



5235
5236
5237
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5235

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

#posObject



5230
5231
5232
5233
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5230

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

#valueObject



5226
5227
5228
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 5226

def value
  text_value.strip
end