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