> -----Original Message----- > From: Yukihiro Matsumoto [mailto:matz / zetabits.com] > Sent: Friday, March 23, 2001 10:27 AM > To: ruby-talk ML > Subject: [ruby-talk:13123] Re: Block form of Dir.chdir > > In message "[ruby-talk:13121] Block form of Dir.chdir" > on 01/03/23, "Aristarkh A Zagorodnikov" <xm / w3d.ru> writes: /skipped/ > | You save absolute path, and then just restore it ... why > warn about this? > > For example, another thread or method invoked with in a block may > change the working directory. Hmmm ... It's quite understandable, but what to do if this is the intended functionality ? Aristarkh A Zagorodnikov, Lead Programmer, W3D Group http://www.w3d.ru /// xm / w3d.ru /// ICQ UIN 36987938