Processor.rb
-------

require 'Parser'

Parser.parse("Exhibitors.csv", ",")

def self.processRecord(tile_name, category_name, block_name_arr)

........

end



Parser.rb
---------

require 'Processor'

class Parser

def self.parse(dataFile, delimiter)

..........
processRecord(tile, category, [block1, block2, block3, block4])
..........

end


When i run Processor, it gives a NameError on 
Parser.parse("Exhibitors.csv", ",")

Please help.

-- 
Posted via http://www.ruby-forum.com/.