From 9467d7a02430cbe76368148fe8097d7d029e6def Mon Sep 17 00:00:00 2001 From: tadf Date: Sat, 20 Sep 2008 22:49:56 +0000 Subject: * complex.c: an instance method image has been removed and uses "imag" instead of "image". * complex.c: two instance method re and im are removed. * rational.c: follows the above changes. * include/ruby/ruby.h: ditto. * gc.c: ditto. * lib/cmath.rb: ditto. * lib/mathn.rb: ditto. * lib/complex.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/complex.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/complex.rb') diff --git a/lib/complex.rb b/lib/complex.rb index 70e168e912..c03ee63c3e 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -10,3 +10,9 @@ def Complex.generic? (other) other.kind_of?(Float) || other.kind_of?(Rational) end + +class Complex + + alias image imag + +end -- cgit v1.2.3