summaryrefslogtreecommitdiffstats
path: root/lib/complex.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-16 15:18:58 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-16 15:18:58 +0000
commit6b36781f0299cda260b3bc2f576023511a3842a4 (patch)
treecf4f58798a88888861c6af3dce49876adf4a28e6 /lib/complex.rb
parent8f1e7d8ba07cee4e8d1ecaf4155091964aa0d9f1 (diff)
downloadruby-6b36781f0299cda260b3bc2f576023511a3842a4.tar.gz
ruby-6b36781f0299cda260b3bc2f576023511a3842a4.tar.xz
ruby-6b36781f0299cda260b3bc2f576023511a3842a4.zip
* lib/complex.rb, lib/rational.rb: added warning messages.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/complex.rb')
-rw-r--r--lib/complex.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/complex.rb b/lib/complex.rb
index c7c1a03b9..0627862cb 100644
--- a/lib/complex.rb
+++ b/lib/complex.rb
@@ -1,5 +1,7 @@
# :enddoc:
+warn 'lib/complex.rb is deprecated'
+
require 'cmath'
unless defined?(Math.exp!)