method

to_constant_name

rails latest stable - Class: ActiveSupport::Dependencies

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

to_constant_name(desc)
public

Convert the provided const desc to a qualified constant name (as a string). A module, class, symbol, or string may be provided.