method
dasherize
dasherize(underscored_word)
public
Replaces underscores with dashes in the string.
Example:
"puni_puni" # => "puni-puni"
Register or
log in
to add new notes.
clescuyer -
September 24, 2009 - (>= v2.2.1)
0 thanks
This method has been moved
This method has been moved to ActiveSupport::Inflector#dasherize


