fix chdir (pass the current directory)

This commit is contained in:
Akira Yumiyama
2013-11-16 14:36:31 +09:00
parent 12dce91db8
commit a036be21bc
+1 -1
View File
@@ -46,7 +46,7 @@ class Dir
wd = self.getwd
begin
self._chdir(path)
block.call
block.call(path)
ensure
my._chdir(wd)
end