method
dasherize
v5.1.7 -
Show latest stable
- Class:
String
dasherize()public
Replaces underscores with dashes in the string.
'puni_puni'.dasherize # => "puni-puni"
dasherize()Replaces underscores with dashes in the string.
'puni_puni'.dasherize # => "puni-puni"