instance method
path
Ruby on Rails 4.2.9
Since v3.0.20 Last seen in v4.2.9Signature
path()
Returns the path which was unable to be loaded.
Source
# File activesupport/lib/active_support/core_ext/load_error.rb, line 11
def path
@path ||= begin
REGEXPS.find do |regex|
message =~ regex
end
$1
end
end
Defined in activesupport/lib/active_support/core_ext/load_error.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in LoadError