diff options
Diffstat (limited to 'lib/complex.rb')
-rw-r--r-- | lib/complex.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index 9300f391e8..110a28ee7e 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -305,13 +305,8 @@ class Complex < Numeric Complex(@real, -@image) end alias conj conjugate - - # - # Compares the absolute values of the two numbers. - # - def <=> (other) - self.abs <=> other.abs - end + + undef <=> # # Test for numerical equality (<tt>a == a + 0<i>i</i></tt>). |