method

qualified_const_get

rails latest stable - Class: Module

Method deprecated or moved

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

qualified_const_get(path)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/module/qualified_const.rb, line 44
  def qualified_const_get(path)
    ActiveSupport::Deprecation.warn(      Module#qualified_const_get is deprecated in favour of the builtin      Module#const_get and will be removed in Rails 5.1..squish)

    ActiveSupport::QualifiedConstUtils.raise_if_absolute(path)

    ActiveSupport::QualifiedConstUtils.names(path).inject(self) do |mod, name|
      mod.const_get(name)
    end
  end