Flowdock
method

demodulize

Importance_1
Ruby on Rails latest stable (v3.2.13) - 0 notes - Class: ActiveSupport::Inflector
demodulize(path) public

Removes the module part from the expression in the string:

"ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections"
"Inflections".demodulize                                       # => "Inflections"

See also deconstantize.

Show source
Register or log in to add new notes.