From a037a838c34ca6896ddc33dc3e4477d083727ba1 Mon Sep 17 00:00:00 2001 From: Wilson Bilkovich Date: Fri, 16 May 2008 21:57:41 -0400 Subject: [PATCH] Fix an infinite loop in Numeric#== --- kernel/core/numeric.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/core/numeric.rb b/kernel/core/numeric.rb index b21c8be90..4d642cc91 100644 --- a/kernel/core/numeric.rb +++ b/kernel/core/numeric.rb @@ -98,6 +98,7 @@ class Numeric end def ==(other) + return true if other.equal?(self) !!(other == self) end -- 2.11.4.GIT