method
dasherize
v2.0.3 -
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"