class String

def dasherize

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

def dasherize: () -> untyped

This signature was generated using 3 samples from 1 application.

See ActiveSupport::Inflector.dasherize.

'puni_puni'.dasherize # => "puni-puni"

Replaces underscores with dashes in the string.
def dasherize
  ActiveSupport::Inflector.dasherize(self)
end