Yukihiro Matsumoto writes:

> |It would be nice if Dir implemented a method "in_directory", implemented
> |as follows:

> In the latest development snapshot (1.7.0),

>   Dir.chdir(dir) do
>     ...
>   end

> works as you want.

Aha!  You *have* been borrowing Guido's time machine.  I knew it.

-- 
Johann Hibschman                           johann / physics.berkeley.edu