Permalink
Browse files

fix chdir (pass the current directory)

  • Loading branch information...
akiray03 committed Nov 16, 2013
1 parent 12dce91 commit a036be21bc8dfe86eafbd5d33ec9cc9104edf60e
Showing with 1 addition and 1 deletion.
  1. +1 −1 mrblib/dir.rb
View
@@ -46,7 +46,7 @@ def self.chdir(path, &block)
wd = self.getwd
begin
self._chdir(path)
- block.call
+ block.call(path)
ensure
my._chdir(wd)
end

0 comments on commit a036be2

Please sign in to comment.