Module: ScientificNameClean::UninomialString0

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

Instance Method Summary collapse

Instance Method Details

#canonicalObject



3538
3539
3540
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3538

def canonical
  value
end

#detailsObject



3550
3551
3552
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3550

def details
  {:uninomial => {:string => value}}
end

#hybridObject



3546
3547
3548
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3546

def hybrid
  false
end

#posObject



3542
3543
3544
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3542

def pos
  {interval.begin => ['uninomial', interval.end]}
end