Sha256: 8c85b38fc516a7a566f0188bae2fbce6fb3f43d7705fbcd65cc9104fd095247b

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

require 'rubygems'
require 'i18n'

module Replace_accented_character

  I18n.config.available_locales = :en

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

    return elements

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google_api_hashtag-0.1.5 lib/replace_accented_character.rb
google_api_hashtag-0.1.4 lib/replace_accented_character.rb