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