Hi,

I have a function with the following code

def first_parse
  @in_file.each_line do |line|
    puts line
    @line += 1;
    tokens = line.split
    handle_command(tokens, line)
  end
  puts "End of file reached"
  @heap.dump(@obj_file)
end

The problem is that I parse the entire file (@in_file), and my app 
exits, but I never execute the puts "End of file reached".  Anyone have 
any ideas why?

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