Subject: File question
From: Justin To <tekmc hotmail.com>
Date: Mon, 30 Jun 2008 10:16:47 +0900
Hi, just wondering how I would skip the first line of a file?
File.open('file.txt', 'r').each do |line|
# start on the 2nd line
end
Thanks!
--
Posted via http://www.ruby-forum.com/.