method
demodulize
v2.0.3 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::String::Inflections
demodulize()public
Removes the module part from the expression in the string
Examples
"ActiveRecord::CoreExtensions::String::Inflections".demodulize #=> "Inflections" "Inflections".demodulize #=> "Inflections"