method
parse_backtrace
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Runner::SpecParser
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
parse_backtrace(backtrace)
protected
Hide source
# File lib/spec/runner/spec_parser.rb, line 64 def parse_backtrace(backtrace) Array(backtrace).collect do |trace_line| trace_line =~ /(.*)\:(\d*)(\:|$)/ file, number = $1, $2 [file, Integer(number)] end end