module Hikkoshi::Support::Slugify
Constants
- RE_INVALID
Public Instance Methods
slugify(text, delimiter="-")
click to toggle source
# File lib/hikkoshi/support/slugify.rb, line 5 def slugify(text, delimiter="-") text.split(RE_INVALID).join(delimiter).downcase end