From: Tony Arcieri Date: 2012-09-18T03:07:57+09:00 Subject: Re: Dir.mktmpdir doesn't remove it at exit? --e0cb4e43d34129579a04c9e9a75a Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 17, 2012 at 10:57 AM, Roger Pack wrote: > so in your opinion *should* it remove the "temp dir" at exit, or not? You need both options. The block form gives you automatic cleanup (as the block form of many things do). The non-block form is nice if you want to manage your own temporary directories -- Tony Arcieri --e0cb4e43d34129579a04c9e9a75a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Sep 17, 2012 at 10:57 AM, Roger Pack <lists@ruby-forum.com> wrote:
so in your opinion *should* it remove the "temp dir" at exit, or = not?

You need both options. The block form = gives you automatic cleanup (as the block form of many things do). The non-= block form is nice if you want to manage your own temporary directories=A0<= /div>

--
Tony Arcieri

--e0cb4e43d34129579a04c9e9a75a--