Flowdock
method

demodulize

Importance_1
v3.0.9 - Show latest stable - 0 notes - Class: String
demodulize() public

Removes the module part from the constant expression in the string.

"ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections"
"Inflections".demodulize                                       # => "Inflections"
Show source
Register or log in to add new notes.