aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/PATH.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/PATH.rb b/Library/Homebrew/PATH.rb
index d6b549a1e..0d4b9139d 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?