aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-04-28 11:12:02 +0200
committerMarkus Reiter2017-04-30 21:11:27 +0200
commitcb1ac3f9987dd27ddd6401c6ce0b5f02c4068e7e (patch)
tree0aa9afd038dfce7b7b04023254331ce8673f43b7 /Library
parentf8ad9d7efd5f3f489ed3c1671f16eb2a2eaef822 (diff)
downloadbrew-cb1ac3f9987dd27ddd6401c6ce0b5f02c4068e7e.tar.bz2
Don’t implement `PATH#eql?`.
Diffstat (limited to 'Library')
-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?