# File lib/criteria/file.rb, line 7 def initialize(filename, *cols) @_filename = filename @_types = [] @_cols = [] @criterion_type = FileCriterion @split = /\s*,\s*/ @skip = 0 cols.each { | x | if(x.is_a? Array) @_cols << x[0] @_types << (x[1] || String) else @_cols << x @_types << String end } end