class String

Public Instance Methods

to_slug(key=:default) click to toggle source

call slugity on self @param key [Symbol] the matcher to use @return [String] the slugged string

# File lib/slugity/extend_string.rb, line 9
def to_slug key=:default
  slugity self, key
end