module ActiveSupport::Inflector

def dasherize(underscored_word)

Experimental RBS support (using type sampling data from the type_fusion project).

def dasherize: (String underscored_word) -> untyped

This signature was generated using 2 samples from 1 application.

dasherize('puni_puni') # => "puni-puni"

Replaces underscores with dashes in the string.
def dasherize(underscored_word)
  underscored_word.tr("_", "-")
end