Module: ScientificNameDirty::LatinWord1
- Defined in:
- lib/biodiversity/parser/scientific_name_dirty.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
404 405 406 407 408 409 410 411 412 413 |
# File 'lib/biodiversity/parser/scientific_name_dirty.rb', line 404 def value res = "" text_value.split("").each do |l| l = "ae" if l == "æ" l = "oe" if l == "œ" res << l end res.tr("àâåãäáçčëéèíìïňññóòôøõöúùüŕřŗššşž", "aaaaaacceeeiiinnnoooooouuurrrsssz") end |