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 | 08b7b7509cc012583a561abd078855280582435c (patch) | |
| tree | 80ac56a845826427e18e27f9fb65827cd8caaf04 /lib | |
| parent | 77169e2e4971b84e5fe40356028e10c5cbf97d29 (diff) | |
| download | ruby-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')
| -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 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' diff --git a/lib/rational.rb b/lib/rational.rb index 51824f5e8..515c273d5 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 |
