method
dasherize
v2.0.3 -
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"