filter( options = Hash.new ) { |row| ... }filter( input, options = Hash.new ) { |row| ... }filter( input, output, options = Hash.new ) { |row| ... }
Class Public methods
This method is a convenience for building Unix-like filters for CSV data. Each row is yielded to the provided block
which can alter it as needed. After the block returns, the row is appended
to output altered or not.
The input and output arguments can be anything ::new accepts (generally String or IO objects). If