class method self.raise_if_absolute

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v4.2.9

Available in: v3.2.22.5 v4.0.13 v4.1.16 v4.2.9

Signature

self.raise_if_absolute(path)

No documentation comment.

Parameters

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

Defined in activesupport/lib/active_support/core_ext/module/qualified_const.rb line 7 · View on GitHub · Improve this page · Find usages on GitHub

Defined in QualifiedConstUtils

Type at least 2 characters to search.

↑↓ navigate · open · esc close