diff --git a/Library/Homebrew/PATH.rb b/Library/Homebrew/PATH.rb index d6b549a1e48e29ffbaa104e9ad861f02df61b9c9..0d4b9139db1c1f34b35f81abee1710ed63c3e0cc 100644 --- a/Library/Homebrew/PATH.rb +++ b/Library/Homebrew/PATH.rb @@ -23,7 +23,7 @@ class PATH end alias to_s to_str - def eql?(other) + def ==(other) if other.respond_to?(:to_ary) return true if to_ary == other.to_ary end @@ -34,7 +34,6 @@ class PATH false end - alias == eql? def empty? @paths.empty?