Class: Rake::Pipeline::PipelineFinalizingFilter
- Inherits:
-
ConcatFilter
- Object
- Filter
- ConcatFilter
- Rake::Pipeline::PipelineFinalizingFilter
- Defined in:
- lib/rake-pipeline/filters/pipeline_finalizing_filter.rb
Overview
A built-in filter that copies a pipeline’s generated files over to its output.
Instance Attribute Summary
Attributes inherited from Filter
#file_wrapper_class, #output_name_generator, #output_root, #pipeline, #rake_application, #rake_tasks
Instance Method Summary collapse
-
#input_files ⇒ Array[FileWrapper]
output files, excluding any files that were originally inputs to the pipeline, meaning they weren’t processed by any filter and should not be copied to the output.
Methods inherited from ConcatFilter
#encoding, #generate_output, #initialize
Methods inherited from Filter
#additional_dependencies, #generate_rake_tasks, #initialize, #output_files, #outputs, processes_binary_files
Constructor Details
This class inherits a constructor from Rake::Pipeline::ConcatFilter
Instance Method Details
#input_files ⇒ Array[FileWrapper]
output files, excluding any files that were originally inputs to the pipeline, meaning they weren’t processed by any filter and should not be copied to the output.
13 14 15 16 |
# File 'lib/rake-pipeline/filters/pipeline_finalizing_filter.rb', line 13 def input_files pipeline_input_files = pipeline.input_files super.reject { |file| pipeline_input_files.include?(file) } end |