From: Tim Hunter Date: 2008-11-16T05:42:18+09:00 Subject: Re: IO#lineno= doesn't work the way I expected Chad Perrin wrote: > 2. Is there a way to do what I actually need -- specifically, to > iterate over an entire file *except* the first line, only reading one > line at a time into RAM -- without writing a C extension for Ruby? Why not iterate over the entire file and just ignore the first line? IO#readline or IO#gets will get you a line at a time. -- RMagick: http://rmagick.rubyforge.org/