Module: ScientificNameClean::AuthorWord1

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

Instance Method Summary collapse

Instance Method Details

#detailsObject



6074
6075
6076
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6074

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

#posObject



6069
6070
6071
6072
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6069

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

#valueObject



6065
6066
6067
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6065

def value
  text_value.strip
end