From cb1ac3f9987dd27ddd6401c6ce0b5f02c4068e7e Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 28 Apr 2017 11:12:02 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20implement=20`PATH#eql=3F`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Homebrew/PATH.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/PATH.rb b/Library/Homebrew/PATH.rb index d6b549a1e4..0d4b9139db 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?