summaryrefslogtreecommitdiffstats
path: root/lib/complex.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-16 15:34:35 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-16 15:34:35 +0000
commit08b7b7509cc012583a561abd078855280582435c (patch)
tree80ac56a845826427e18e27f9fb65827cd8caaf04 /lib/complex.rb
parent77169e2e4971b84e5fe40356028e10c5cbf97d29 (diff)
downloadruby-08b7b7509cc012583a561abd078855280582435c.tar.gz
ruby-08b7b7509cc012583a561abd078855280582435c.tar.xz
ruby-08b7b7509cc012583a561abd078855280582435c.zip
warn only when $VERBOSE.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/complex.rb')
-rw-r--r--lib/complex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/complex.rb b/lib/complex.rb
index 0627862cb..9c57ecdf7 100644
--- a/lib/complex.rb
+++ b/lib/complex.rb
@@ -1,6 +1,6 @@
# :enddoc:
-warn 'lib/complex.rb is deprecated'
+warn('lib/complex.rb is deprecated') if $VERBOSE
require 'cmath'