module ScientificNameClean::SpeciesWordHybrid1

Public Instance Methods

canonical() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6692
def canonical
  b.value
end
details() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6704
def details
  {:species => {:string => b.value}}
end
hybrid() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6696
def hybrid
  true
end
pos() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6700
def pos
  {b.interval.begin => ["species", b.interval.end]}
end
value() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 6688
def value
  a.value + " " + b.value
end