Merge pull request #10636 from nandahkrishna/fix-cask-eql
Fix eql? in Cask::Cask
This commit is contained in:
commit
c454257ab0
@ -162,7 +162,7 @@ module Cask
|
||||
end
|
||||
|
||||
def eql?(other)
|
||||
token == other.token
|
||||
instance_of?(other.class) && token == other.token
|
||||
end
|
||||
alias == eql?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user