From: Bill Kelly Date: 2003-04-22T03:39:38+09:00 Subject: Re: What's the difference between IO and File Hi, One difference between > lines = IO.readlines(file) and > lines = File.open(file).readlines is that, I think, IO.readlines is handling closing the file for you, whereas the latter is relying on the garbage collector to (eventually) close the file? Regards, Bill