Class: Evilution::Runner::SubjectPipeline Private
- Inherits:
-
Object
- Object
- Evilution::Runner::SubjectPipeline
- Defined in:
- lib/evilution/runner/subject_pipeline.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #call ⇒ Object private
-
#initialize(config, parser:) ⇒ SubjectPipeline
constructor
private
A new instance of SubjectPipeline.
- #target_files ⇒ Object private
Constructor Details
#initialize(config, parser:) ⇒ SubjectPipeline
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.
Returns a new instance of SubjectPipeline.
8 9 10 11 |
# File 'lib/evilution/runner/subject_pipeline.rb', line 8 def initialize(config, parser:) @config = config @parser = parser end |
Instance Method Details
#call ⇒ Object
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.
13 14 15 16 17 18 19 |
# File 'lib/evilution/runner/subject_pipeline.rb', line 13 def call subjects = parse_subjects subjects = filter_by_descendants(subjects) if descendants_target? subjects = filter_by_target(subjects) if method_target? subjects = filter_by_line_ranges(subjects) if config.line_ranges? subjects end |
#target_files ⇒ Object
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.
21 22 23 |
# File 'lib/evilution/runner/subject_pipeline.rb', line 21 def target_files @target_files ||= resolve_target_files end |