Module: Replace_accented_character

Defined in:
lib/replace_accented_character.rb

Instance Method Summary collapse

Instance Method Details

#processObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/replace_accented_character.rb', line 8

def process
  list_item = super
  elements = []
  list_item.each do |item|
    temp_value = I18n.transliterate(item)
    elements.push(temp_value)
  end

  return elements

end