Module: ScientificNameDirty::LatinWord1
- Defined in:
- lib/biodiversity/parser/scientific_name_dirty.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
411 412 413 414 415 416 417 418 419 420 |
# 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 |