Module: ScientificNameDirty::ValidNameLetters0
- Defined in:
- lib/biodiversity/parser/scientific_name_dirty.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
454 455 456 457 458 459 460 461 462 463 464 |
# File 'lib/biodiversity/parser/scientific_name_dirty.rb', line 454 def value res = '' text_value.split('').each do |l| l = 'ae' if l == 'æ' l = 'oe' if l == 'œ' res << l end res.tr('àâåãäáçčëéèíìïňññóòôøõöúùüŕřŗššşž', 'aaaaaacceeeiiinnnoooooouuurrrsssz') end |