Fix eql? in Cask::Cask

This commit is contained in:
nandahkrishna 2021-02-17 01:18:25 +05:30
parent 74fd6c823c
commit a0b7580dc4
No known key found for this signature in database
GPG Key ID: 067E5FCD58ADF3AA

View File

@ -162,7 +162,7 @@ module Cask
end end
def eql?(other) def eql?(other)
token == other.token instance_of?(other.class) && token == other.token
end end
alias == eql? alias == eql?