method
dasherize
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::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"