Class: Poepod::FileProcessor

Inherits:
Processor show all
Defined in:
lib/poepod/file_processor.rb

Overview

Processes files for concatenation, handling binary and dot files

Constant Summary

Constants inherited from Processor

Processor::EXCLUDE_DEFAULT

Instance Method Summary collapse

Methods inherited from Processor

#process

Constructor Details

#initialize(patterns, output_file, config_file: nil, include_binary: false, include_dot_files: false, exclude: nil, base_dir: nil) ⇒ FileProcessor

Returns a new instance of FileProcessor.



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/poepod/file_processor.rb', line 9

def initialize(
  patterns,
  output_file,
  config_file: nil,
  include_binary: false,
  include_dot_files: false,
  exclude: nil,
  base_dir: nil
)
  super(
    config_file,
    include_binary: include_binary,
    include_dot_files: include_dot_files,
    exclude: exclude,
    base_dir: base_dir,
  )
  @patterns = patterns
  @output_file = output_file
end