From: Raymond O'connor Date: 2007-02-20T08:48:07+09:00 Subject: Deconstructor to close file I'm trying to write a logger class. I open the file in the initialize method. Is there a destructor that I can override to close the file, or can I just assume the file is closed automatically? Am I going about this all wrong, and should instead just open and close the file each time I write to it? Thanks, Ray -- Posted via http://www.ruby-forum.com/.