Class: Mutant::Repository::SubjectFilter
- Inherits:
-
Object
- Object
- Mutant::Repository::SubjectFilter
- Includes:
- Adamantium
- Defined in:
- lib/mutant/repository.rb
Overview
Subject filter based on repository diff
Instance Method Summary collapse
-
#call(subject) ⇒ Boolean
private
Test if subject was touched in diff.
Instance Method Details
#call(subject) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if subject was touched in diff
17 18 19 |
# File 'lib/mutant/repository.rb', line 17 def call(subject) diff.touches?(subject.source_path, subject.source_lines) end |