method

dasherize

dasherize(underscored_word)
public

Replaces underscores with dashes in the string.

Example:

  "puni_puni" # => "puni-puni"