Class: Minitest::Distributed::Filters::ExcludeFileFilter
- Inherits:
-
FileFilterBase
- Object
- FileFilterBase
- Minitest::Distributed::Filters::ExcludeFileFilter
- Extended by:
- T::Sig
- Includes:
- FilterInterface
- Defined in:
- lib/minitest/distributed/filters/exclude_file_filter.rb
Instance Attribute Summary
Attributes inherited from FileFilterBase
Instance Method Summary collapse
Methods inherited from FileFilterBase
Constructor Details
This class inherits a constructor from Minitest::Distributed::Filters::FileFilterBase
Instance Method Details
#call(runnable) ⇒ Object
12 13 14 |
# File 'lib/minitest/distributed/filters/exclude_file_filter.rb', line 12 def call(runnable) tests.include?(DefinedRunnable.identifier(runnable)) ? [] : [runnable] end |