From a07a26c9ac8f232907fc48d44970d7de7c6726c8 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 30 Nov 2005 04:50:04 +0000 Subject: * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of expression. [ruby-dev:27868] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/complex.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'lib/complex.rb') diff --git a/lib/complex.rb b/lib/complex.rb index 9300f391e..110a28ee7 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 (a == a + 0i). -- cgit