Flowdock
method

demodulize

Importance_1
v1.2.6 - Show latest stable - 0 notes - 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"
Show source
Register or log in to add new notes.