lib/sycsvpro/extractor.rb
def execute
      File.open(out_file, 'w') do |o|
        File.new(in_file, 'r').each_with_index do |line, index|
          extraction = col_filter.process(row_filter.process(line.chomp, row: index))
          o.puts extraction unless extraction.nil?
        end
      end
    end
def execute
      File.open(out_file, 'w') do |o|
        File.new(in_file, 'r').each_with_index do |line, index|
          extraction = col_filter.process(row_filter.process(line.chomp, row: index))
          o.puts extraction unless extraction.nil?
        end
      end
    end
def execute File . open ( out_file , 'w' ) do | o | File . new ( in_file , 'r' ) . each_with_index do | line , index | extraction = col_filter . process ( row_filter . process ( line . chomp , row : index ) ) o . puts extraction unless extraction . nil? end end end
Creates a new extractor
 Executes the extractor
Creates a new extractor Executes the extractor