method
dasherize
v1.2.6 -
Show latest stable
- Class:
Inflector
dasherize(underscored_word)public
Replaces underscores with dashes in the string.
Example
"puni_puni" #=> "puni-puni"
dasherize(underscored_word)Replaces underscores with dashes in the string.
Example
"puni_puni" #=> "puni-puni"