method
raise_if_absolute
v4.1.8 -
Show latest stable
- Class:
QualifiedConstUtils
raise_if_absolute(path)public
No documentation available.
# File activesupport/lib/active_support/core_ext/module/qualified_const.rb, line 7
def self.raise_if_absolute(path)
raise NameError.new("wrong constant name #$&") if path =~ /\A::[^:]+/
end