class String

def demodulize

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

def demodulize: () -> String

This signature was generated using 6 samples from 1 application.

See also +deconstantize+.

See ActiveSupport::Inflector.demodulize.

''.demodulize # => ''
'::Inflections'.demodulize # => "Inflections"
'Inflections'.demodulize # => "Inflections"
'ActiveSupport::Inflector::Inflections'.demodulize # => "Inflections"

Removes the module part from the constant expression in the string.
def demodulize
  ActiveSupport::Inflector.demodulize(self)
end