diff options
| author | Jack Nagel | 2014-06-08 20:04:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-08 20:04:16 -0500 |
| commit | 4fb9a136658e0600da345cb47c4eb50c3abebc73 (patch) | |
| tree | 178cf977dcf2225559dea307383d8da17d1c99ec /Library | |
| parent | 6c9edd47ae8259c82dc5dbeadaa01525ed7edc9b (diff) | |
| download | homebrew-4fb9a136658e0600da345cb47c4eb50c3abebc73.tar.bz2 | |
Just access the ivar directly
Diffstat (limited to 'Library')
| -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 01746f770..018877e84 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -428,7 +428,7 @@ class Pathname # https://bugs.ruby-lang.org/issues/9915 prepend Module.new { def inspect - super.force_encoding(instance_variable_get(:@path).encoding) + super.force_encoding(@path.encoding) end } end |
