method

source_extracts

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ExceptionWrapper
source_extracts() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 90
    def source_extracts
      backtrace.map do |trace|
        file, line_number = extract_file_and_line_number(trace)

        {
          code: source_fragment(file, line_number),
          line_number: line_number
        }
      end
    end
Register or log in to add new notes.