module ScientificNameDirty::LatinWord1
Public Instance Methods
value()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 411 def value res = "" text_value.split("").each do |l| l = "ae" if l == "æ" l = "oe" if l == "œ" res << l end res.tr("àâåãäáçčëéèíìïňññóòôøõöúùüŕřŗššşž", "aaaaaacceeeiiinnnoooooouuurrrsssz") end