diff options
| author | Markus Reiter | 2017-02-22 07:19:16 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-02-23 09:23:22 +0100 |
| commit | 9dda84ad6be7fbc48c10e54f9c1af0c3a6b4afa6 (patch) | |
| tree | 65ba6c3a9ba87081a51d6d9372c3765da595266f /Library/Homebrew/extend | |
| parent | 0b33428e79e6834fe7c8871953c8420be3c29f69 (diff) | |
| download | brew-9dda84ad6be7fbc48c10e54f9c1af0c3a6b4afa6.tar.bz2 | |
Add integration test helper methods.
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index cfb028704..9f6861a9a 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -335,7 +335,7 @@ class Pathname alias to_str to_s unless method_defined?(:to_str) def cd - Dir.chdir(self) { yield } + Dir.chdir(self) { yield self } end def subdirs |
