module Mail::Utilities

def dasherize( str )

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

def dasherize: (Symbol str) -> String

This signature was generated using 1 sample from 1 application.

dasherize( string ) #=> 'resent-from-field'
string = :resent_from_field

Example:

a field name.
Swaps out all underscores (_) for hyphens (-) good for stringing from symbols
def dasherize( str )
  str.to_s.tr(Constants::UNDERSCORE, Constants::HYPHEN)
end