Module: Rails::LineFiltering
- Defined in:
- lib/rails/test_unit/line_filtering.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#run(reporter, options = {}) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/rails/test_unit/line_filtering.rb', line 5 def run(reporter, = {}) if [:patterns] && [:patterns].any? { |p| p =~ /:\d+/ } [:filter] = \ CompositeFilter.new(self, [:filter], [:patterns]) end super end |