method
spot
v8.0.0 -
Show latest stable
- Class:
ActionDispatch::ExceptionWrapper::SourceMapLocation
spot(exc)public
No documentation available.
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 239
def spot(exc)
if RubyVM::AbstractSyntaxTree.respond_to?(:node_id_for_backtrace_location) && __getobj__.is_a?(Thread::Backtrace::Location)
location = @template.spot(__getobj__)
else
location = super
end
if location
@template.translate_location(__getobj__, location)
end
end