module Slugity
Constants
- VERSION
Public Instance Methods
slugity(string, matcher=:default)
click to toggle source
Converts the given string into a slug
@param string [String] the string to slugity @param matcher [Symbol] the matcher to use @return [String] the slug version of the provided string
# File lib/slugity.rb, line 12 def slugity string, matcher=:default Slugity::Convert.slug string, matcher end
stringity(string, matcher=:default)
click to toggle source
Converts the given string with the provided matcher
@param string [String] @param matcher [Symbol] the matcher to use @return [String] the converted version of the provided string
# File lib/slugity.rb, line 21 def stringity string, matcher=:default Slugity::Convert.string string, matcher end