module ScientificNameClean::MultinomialName9

Public Instance Methods

canonical() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1151
def canonical
  if defined? aid.apply
    a.canonical + aid.canonical(b)
  else
    a.canonical + " " + b.canonical
  end
end
details() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1171
def details
  if defined? aid.apply
    a.details.merge(aid.details(b))
  else
    a.details.merge(b.details)
  end
end
hybrid() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1167
def hybrid
  b.hybrid rescue false
end
pos() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1159
def pos
  if defined? aid.apply
    a.pos.merge(aid.pos(b))
  else
    a.pos.merge(b.pos)
  end
end
value() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1143
def value
  if defined? aid.apply
    a.value + aid.apply(b)
  else
    a.value + " " + b.value
  end
end