module SexySlug::Logogram
Constants
- PATTERN
Public Class Methods
call(string)
click to toggle source
# File lib/sexy_slug/logogram.rb, line 2 def self.call(string) string.gsub(PATTERN) { ' ' + SexySlug.t("logogram.#{$1}") + ' ' } end