Flowdock
method

source_extracts

Importance_0
v4.2.1 - 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 88
    def source_extracts
      backtrace.map do |trace|
        file, line = trace.split(":")
        line_number = line.to_i

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