What's the best Ruby idiom for reading data from a data file one line at a time 
so that I could run the program with something like:
my_app.rb < data.txt
 

Thanks very much!

 
Christopher J. Meisenzahl CPS, CSTE
Senior Software Testing Consultant
Spherion
christopher.j.meisenzahl / citicorp.com