lib/sycsvpro/filter.rb
def create_filter(values)
        values.scan(/(?<=,|^)(BEGIN.*?END|\/.*?\/|.*?)(?=,|$)/i).flatten.each do |value|
          send(value)
        end unless values.nil?
      end
def create_filter(values)
        values.scan(/(?<=,|^)(BEGIN.*?END|\/.*?\/|.*?)(?=,|$)/i).flatten.each do |value|
          send(value)
        end unless values.nil?
      end
def create_filter ( values ) values . scan ( / \/ \/ /i ) . flatten . each do | value | send ( value ) end unless values . nil? end
Creates a filter based on the provided rows and columns select criteria
Creates a filter based on the provided rows and columns select criteria