Sha256: 019ccbafe611e425587fdecf6c095082a6ba1285f38ec08ea92f89a6b3fdf212
Contents?: true
Size: 266 Bytes
Versions: 2
Compression:
Stored size: 266 Bytes
Contents
module Remove_non_latin def process list_item = super elements = [] list_item.each do |item| temp_value = item.encode('UTF-8', :invalid => :replace, :undef => :replace) 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.1 | lib/remove_non_latin.rb |
google_api_hashtag-0.1.0 | lib/remove_non_latin.rb |