class ActionDispatch::ExceptionWrapper::SourceMapLocation
:nodoc:
def initialize(location, template)
def initialize(location, template) super(location) @template = template end
def spot(exc)
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