diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-16 15:34:35 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-16 15:34:35 +0000 |
commit | 3041f600563df6a3b401ee44d0c31b690d2f82fc (patch) | |
tree | 80ac56a845826427e18e27f9fb65827cd8caaf04 | |
parent | 530be6ed155ba19ce578929ac8341d4e930976c2 (diff) | |
download | ruby-3041f600563df6a3b401ee44d0c31b690d2f82fc.tar.gz |
warn only when $VERBOSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/complex.rb | 2 | ||||
-rw-r--r-- | lib/rational.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index 0627862cb9..9c57ecdf7a 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' diff --git a/lib/rational.rb b/lib/rational.rb index 51824f5e8c..515c273d54 100644 --- a/lib/rational.rb +++ b/lib/rational.rb @@ -1,6 +1,6 @@ # :enddoc: -warn 'lib/rational.rb is deprecated' +warn('lib/rational.rb is deprecated') if $VERBOSE class Fixnum |