method

dasherize

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::String::Inflections
dasherize() public

Replaces underscores with dashes in the string.

Example

  "puni_puni" #=> "puni-puni"
Show source
Register or log in to add new notes.