Merge pull request #10636 from nandahkrishna/fix-cask-eql

Fix eql? in Cask::Cask
This commit is contained in:
Nanda H Krishna 2021-02-18 02:35:32 +05:30 committed by GitHub
commit c454257ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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