# File lib/greek_string_utils.rb, line 61 def remove_accents(string) string.to_s.chars.map do |char| case char when 'ά' then 'α' when 'έ' then 'ε' when 'ή' then 'η' when 'ί' then 'ι' when 'ό' then 'ο' when 'ύ' then 'υ' when 'ώ' then 'ω' when 'Ά' then 'Α' when 'Έ' then 'Ε' when 'Ή' then 'Η' when 'Ί' then 'Ι' when 'Ϊ' then 'Ι' when 'Ό' then 'Ο' when 'Ύ' then 'Υ' when 'Ώ' then 'Ω' when 'ϊ' then 'ι' when 'ϋ' then 'υ' when 'ΐ' then 'ι' when 'ΰ' then 'υ' else char end end.join end