module SexySlug::UsuallyTransliterableChar

Constants

PATTERN
TRANSLITERATIONS

Public Class Methods

call(string) click to toggle source
# File lib/sexy_slug/usually_transliterable_char.rb, line 2
def self.call(string)
  string.gsub(PATTERN) { |match| TRANSLITERATIONS[match] }
end