Module: RCheck::Backtrace
- Defined in:
- lib/rcheck/backtrace.rb
Defined Under Namespace
Classes: Line
Class Method Summary collapse
Class Method Details
.parse(lines) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/rcheck/backtrace.rb', line 5 def self.parse(lines) lines.reject do |line| Conf[:filters].any? { |f| f.match(line) } and !Conf[:anti_filters].any? { |f| f.match(line) } end.map { |str| Line.new str } end |