summaryrefslogtreecommitdiff
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
commit3041f600563df6a3b401ee44d0c31b690d2f82fc (patch)
tree80ac56a845826427e18e27f9fb65827cd8caaf04 /lib/complex.rb
parent530be6ed155ba19ce578929ac8341d4e930976c2 (diff)
warn only when $VERBOSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 0627862..9c57ecd 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'