method

dasherize

Importance_1
v2.1.0 - Show latest stable - 1 note - Class: Inflector
dasherize(underscored_word) public

Replaces underscores with dashes in the string.

Example:

  "puni_puni" # => "puni-puni"
Show source
Register or log in to add new notes.
September 24, 2009 - (>= v2.2.1)
0 thanks