lib/farseer/result.rb in farseer-0.6.0 vs lib/farseer/result.rb in farseer-0.7.0
- old
+ new
@@ -9,11 +9,11 @@
end
attr_reader :token, :rest
def eql?(other)
self.class.eql?(other.class) and
- self.token.eql?(other.token) and
- self.rest.eql?(other.rest)
+ token.eql?(other.token) and
+ rest.eql?(other.rest)
end
alias == eql?
end
end