Sha256: e21cc88ef89f1b98f216180fd4e653aa370d3e4aa5404826c55f9c7a73450069
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
module ActionDispatch class ExceptionWrapper def extract_sources exception.backtrace.map do |trace| file, line = trace.split(":") line_number = line.to_i { code: source_fragment(file, line_number) || {}, file: file, line_number: line_number } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
web-console-2.0.0.beta2 | lib/action_dispatch/exception_wrapper.rb |