From: Dan Connelly Date: 2012-06-17T23:58:18+09:00 Subject: Re: simple IO question; full path not working Slightly off topic, but if you want an exception, couldn't you just use f.readline? That automatically throws EOFError. -- Posted via http://www.ruby-forum.com/.