diff options
| author | Jack Nagel | 2014-06-08 20:04:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-08 20:04:16 -0500 |
| commit | fb3f95923b2ecdf3867888b0908c64ce12924d1d (patch) | |
| tree | fd5d5c88563860811c14f45a184067f51fcc8c02 | |
| parent | d27dc1d02f0195855e5bd9f1c8ba61bb37c483d3 (diff) | |
| download | brew-fb3f95923b2ecdf3867888b0908c64ce12924d1d.tar.bz2 | |
Just access the ivar directly
| -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 |
