lib/sycsvpro/filter.rb
def pivot_each_column(values=[])
      pivot.each do |column, parameters|
        value = values[parameters[:col].to_i]
        value = value.strip.gsub(/^"|"$/, "") unless value.nil?
        match = false
        begin
          match = eval(parameters[:operation].gsub('[value]', value))
        rescue Exception => e

        end
        yield column, match
      end
    end
def pivot_each_column(values=[])
      pivot.each do |column, parameters|
        value = values[parameters[:col].to_i]
        value = value.strip.gsub(/^"|"$/, "") unless value.nil?
        match = false
        begin
          match = eval(parameters[:operation].gsub('[value]', value))
        rescue Exception => e

        end
        yield column, match
      end
    end
Yields the column value and whether the filter matches the column