diff options
Diffstat (limited to 'lib/complex.rb')
-rw-r--r-- | lib/complex.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 |