Methods
Class Public methods
new(location, template) Link
Source: show
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 245 def initialize(location, template) super(location) @template = template end
Instance Public methods
spot(exc) Link
Source: show
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 250 def spot(exc) if RubyVM::AbstractSyntaxTree.respond_to?(:node_id_for_backtrace_location) location = @template.spot(__getobj__) else location = super end if location @template.translate_location(__getobj__, location) end end