summaryrefslogtreecommitdiff
path: root/trunk/lib/complex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/complex.rb')
-rw-r--r--trunk/lib/complex.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/trunk/lib/complex.rb b/trunk/lib/complex.rb
deleted file mode 100644
index 1845f30b1f..0000000000
--- a/trunk/lib/complex.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require 'cmath'
-
-Object.instance_eval{remove_const :Math}
-Math = CMath
-
-def Complex.generic? (other)
- other.kind_of?(Integer) ||
- other.kind_of?(Float) ||
- other.kind_of?(Rational)
-end