From: "sketchitup@..." Date: 2007-07-26T01:45:00+09:00 Subject: Detecting the end of a text file... I'm just beginning to learn the Ruby progamming language, although I have some previous programming experience in Java. I would like to know if how I can detect the end of a file when parsing a text file in Ruby. I don't want to throw an error or exception when I reach the end of the file, I just want to tell my parser to stop parsing. Thanks for the help. The SketchUp Artist