/\s*(#{Regexp.union(SexySlug.t('logogram').keys)})\s*/
2 3 4
# File 'lib/sexy_slug/logogram.rb', line 2 def self.call(string) string.gsub(PATTERN) { ' ' + SexySlug.t("logogram.#{$1}") + ' ' } end