method
demodulize
Ruby on Rails latest stable (v2.1.0)
-
0 notes -
Class: ActiveSupport::CoreExtensions::String::Inflections
demodulize()
public
Removes the module part from the constant expression in the string.
"ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections" "Inflections".demodulize # => "Inflections"

