Hi,
In message "[ruby-talk:13714] Dir methods"
on 01/04/17, Johann Hibschman <johann / physics.berkeley.edu> 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.
matz.