module ScientificNameClean::InfraspeciesString3

Public Instance Methods

canonical() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1834
def canonical
  aid.canonical(a)
end
details() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1845
def details
  def a.details
    {:infraspecies => {:string => value, :rank => "n/a"}}
  end
  aid.details(a)
end
pos() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1838
def pos
  def a.pos
    {interval.begin => ["infraspecies", a.interval.end]}
  end
  aid.pos(a)
end
value() click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 1830
def value
  aid.apply(a)
end