codefire/nfcollector — comment on commit d727382dae1ce89462fdb1d635ca237d84da14f2
File: lib/nfcollector/payload_processor.rb line 44
By seangeo:

I noted above how this has a weird and inefficient API. It might be better to do this:

```ruby

if writer.should_include?(row_time)
writer.write(row
else
writer.close
writer = generate_copy_file_writer
end
```

Same goes for the TagFileWriter.