Subject: Re: Need help with writefile line ranges within extensive file
From: Alpha Blue <jdezenzio gmail.com>
Date: Fri, 4 Dec 2009 02:00:03 +0900
References: 351929351934351938351939
In-reply-to: 351939
Jesús Gabriel y Galán wrote:
> Here you are not closing the file.
>
> Use a = File.readlines(@filename)
>
> instead.
>
> Jesus.
Thanks mate - appreciate it. I'm cleaning it up now.
--
Posted via http://www.ruby-forum.com/.