Method: DataImp::Parser#process_file

Defined in:
lib/data_imp/parser.rb

#process_file(&block) ⇒ Object



35
36
37
38
39
# File 'lib/data_imp/parser.rb', line 35

def process_file &block
  open(filename) do |file|
    process file, &block
  end
end