method
dasherize
v1.2.6 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::String::Inflections
dasherize()public
Replaces underscores with dashes in the string.
Example
"puni_puni" #=> "puni-puni"
dasherize()Replaces underscores with dashes in the string.
Example
"puni_puni" #=> "puni-puni"