method

raise_if_absolute

rails latest stable - Class: ActiveSupport::QualifiedConstUtils

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.

raise_if_absolute(path)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/module/qualified_const.rb, line 9
    def self.raise_if_absolute(path)
      raise NameError.new("wrong constant name #$&") if path =~ /\A::[^:]+/
    end