method
dasherize
v4.2.7 -
Show latest stable
- Class:
ActiveSupport::Inflector
dasherize(underscored_word)public
Replaces underscores with dashes in the string.
'puni_puni'.dasherize # => "puni-puni"
dasherize(underscored_word)Replaces underscores with dashes in the string.
'puni_puni'.dasherize # => "puni-puni"