Fix eql? in Cask::Cask
This commit is contained in:
parent
74fd6c823c
commit
a0b7580dc4
@ -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?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user