| Class | HoptoadNotifier::Backtrace::Line |
| In: |
lib/hoptoad_notifier/backtrace.rb
|
| Parent: | Object |
| INPUT_FORMAT | = | %r{^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in `([^']+)')?$}.freeze | regexp (optionnally allowing leading X: for windows support) |
| file | [R] | The file portion of the line (such as app/models/user.rb) |
| file | [W] | |
| method | [R] | The method of the line (such as index) |
| method | [W] | |
| number | [R] | The line number portion of the line |
| number | [W] |
Parses a single line of a given backtrace @param [String] unparsed_line The raw line from caller or some backtrace @return [Line] The parsed backtrace line