summaryrefslogtreecommitdiff
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
commit7710478bdc2cfdd43d7950e2013f30d2ed557a50 (patch)
treecf4f58798a88888861c6af3dce49876adf4a28e6 /lib/complex.rb
parent114f01bd9d1a9dc28d62a1a25b31a210bf871bbc (diff)
* lib/complex.rb, lib/rational.rb: added warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 c7c1a03..0627862 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!)