Sha256: fc9cac13bd5a6122e34daa80b4deea32128397a8154bfe2af9ff56b1f45c11f6
Contents?: true
Size: 166 Bytes
Versions: 4
Compression:
Stored size: 166 Bytes
Contents
module DiacriticsFu def self.escape(str) ActiveSupport::Multibyte::Handlers::UTF8Handler.normalize(str,:d).split(//u).reject { |e| e.length > 1 }.join end end
Version data entries
4 entries across 4 versions & 2 rubygems