demodulize()
Instance Public methods
Removes the module part from the constant expression in the string.
1 2 | 'ActiveRecord::CoreExtensions::String::Inflections' .demodulize # => "Inflections" 'Inflections' .demodulize # => "Inflections" |
See also deconstantize
.
Please login to continue.